Update ZebClient Configuration
This
zc-cli
option updates configuration files on all nodes in a ZebClient cluster and performs several tasks, including verifying connections to all nodes, checking the existence of config files, creating backups of config files, and updating the workspace directory.- 1.Run
zc-cli
$ zc-cli
# zc-cli tool v0.1-beta #
Your Linux distro is: ubuntu
Your Linux user is: ubuntu
sed: can't read /usr/local/bin/zc-add-lxc.sh: No such file or directory
---
Menu options:
1) Get config files
2) Update ZebClient config files
3) Update ZebClient binary
4) Shutdown ZebClient Cluster
5) Startup ZebClient Cluster
6) Add Application Node
0) 'Exit'
Choose your option:
- 2.Cloose option 1 to get the config
# Copy ZebClient agent config file
---
Copying agent0 config file...
agent.yaml
sent 5,444 bytes received 35 bytes 10,958.00 bytes/sec
total size is 5,356 speedup is 0.98
---
# Copy ZebClient server config file
...
...
...
- 3.After exiting from zc-cli, go the the
~/zc-workspace/config-files
and open the config you want to change. Please check 'Change Config in new Application Node' to see whcih config can be changed - 4.run
zc-cli
again, but this time choose option 2
$ zc-cli
# zc-cli tool v0.1-beta #
Your Linux distro is: ubuntu
Your Linux user is: ubuntu
sed: can't read /usr/local/bin/zc-add-lxc.sh: No such file or directory
---
Menu options:
1) Get config files
2) Update ZebClient config files
3) Update ZebClient binary
4) Shutdown ZebClient Cluster
5) Startup ZebClient Cluster
6) Add Application Node
0) 'Exit'
Choose your option:2
- 5.Now you have updated all the configuration
# Verify connection to all nodes
server0 is accessible from agent0 OK!
server1 is accessible from agent0 OK!
server3 is accessible from agent0 OK!
server4 is accessible from agent0 OK!
server5 is accessible from agent0 OK!
server6 is accessible from agent0 OK!
server7 is accessible from agent0 OK!
...
...
...
Starting server16 service...
ZebClient server16 is now: active
---
Starting server17 service...
ZebClient server17 is now: active
---
# Start ZebClient agent
---
Starting agent0...
ZebClient agent0 is now: active
ZebClient version: v2.1-rc8
Verify ZCFS mountpoint on agent0: ZCFS:zebclient on /fs
---
Last modified 10d ago