#Edit dashboard.toml:
coordinator_name = "zookeeper"
coordinator_addr = "192.168.56.101:2181,192.168.56.102:2181,192.168.56.103:2181"
product_name = "codis-demo"
#Edit proxy.toml:
product_name = "codis-demo"
admin_addr = " 0.0.0.0:11080"
proxy_addr = "0.0.0.0:19000"
#Start codis-dashboard span>
./admin/codis-dashboard-admin.sh start
#Start codis-proxy
./admin/codis-proxy-admin .sh start
#start codis-server
./admin/codis-server-admin.sh start
#Start codis-fe
nohup ./bin/codis-fe --ncpu=1 --log=fe.log - log-level=WARN --zookeeper=192.168.56.101:2181 --listen=0. 0.0.0:9090 &
#Enter the page to configure http ://192.168.56.101:9090/#codis-demo
#< span style="color: #008000">If you encounter the following error
# [ERROR] store: acquire lock of codis-demo failed
#[error] : zk: node already exists
./codis-admin --remove-lock --product=codis-demo --zookeeper=192.168.56.101:2181
p>
#Edit dashboard.toml:
coordinator_name = "zookeeper"
coordinator_addr = "192.168.56.101: 2181,192.168.56.102:2 181,192.168.56.103:2181"
product_name = "codis-demo"
#Edit proxy.toml:
product_name = "codis-demo"
admin_addr = "0.0.0.0:11080< /span>"
proxy_addr = "0.0.0.0:19000"
#Start codis-dashboard
./admin/codis-dashboard- admin.sh start
#Start codis-proxy
./admin/codis-proxy-admin.sh start
#Start codis-server
./admin/codis-server-admin. sh start
#Start codis-fe< br />nohup ./bin/codis-fe --ncpu=1 --log=fe.log --log-level=WARN --zookeeper=192.168.56.101:2181 --listen=0.0.0.0:9090 &< br />
#Enter the page to configure http://192.168.56.101: 9090/#codis-demo
#If you encounter the following error
#[ERROR] store: acquire lock of codis-demo failed
#< span style="color: #008000">[error]: zk: node already exists
./codis-admin --remove-lock --product=codis-demo --zookeeper=192.168. 56.101:2181