atlas管理命令介绍

通过atlas的管理命令可以很方便上线,下线服务器,添加用户,添加ip白名单,同时可以把配置变更保存到配置文件。


环境介绍:

主:192.168.6.91

从:192.168.6.85

待加入的:192.168.6.149


atlas管理命令:

atlas管理命令介绍


查看后端服务器及状态:

atlas管理命令介绍


新增 192.168.6.149作为从库:

atlas管理命令介绍


将服务器192.168.6.85下线:

atlas管理命令介绍


将服务器192.168.6.85上线:

atlas管理命令介绍


新增 192.168.6.149作为主库:

atlas管理命令介绍


将192.168.6.85,192.168.6.91,192.168.6.149这三个ip加入白名单:

atlas管理命令介绍


将192.168.6.149移出白名单:

atlas管理命令介绍


查看用户列表:

atlas管理命令介绍


添加一个用户,使用密文密码:

atlas管理命令介绍


添加一个用户,使用明文密码:

atlas管理命令介绍


变量保存到配置文件 save config

atlas管理命令介绍