Codis-dashboard的配置和启停

Codis-dashboard是集群的管理工具

生成配置文件,即将现有的配置文件输出到指定目录位置:

./codis-dashboard --default-config | tee conf/dashboard.toml

修改配置文件信息:

vi conf/dashboard.toml

新建日志文件夹logs,用来存放dashboard的启停日志:

mkdir logs

后台启动dashboard:

nohup ./codis-dashboard --config=conf/dashboard.toml --log=logs/dashboard.log --log-level=WARN --ncpu 2 &

查看启动日志:

关闭dashboard:

./codis-admin --dashboard=192.168.84.128:18080 --shutdown

查看关闭日志:

猜你喜欢

转载自www.cnblogs.com/chenzheng8975/p/9552381.html