Links

Update ZebClient Binary

This zc-cli option updates configuration files on all nodes in a ZebClient cluster gracefully.

Usage

  1. 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:
  1. 2.
    Cloose option 3 to update the binary
# Verify connection to all nodes
server0 is accessible from agent0 OK!
server1 is accessible from agent0 OK!
...
...
...
---
Enter ZebClient version (i.e. latest, v2.0, v2.0.0-rc35, v2.0.0-rc35-2): v2.0.0-rc35-2
>>> Downloading ZebClient binary version: v2.0.0-rc35-2 <<<
zebclient-linux-amd64 100%[====================================================================================================================================================================================================>] 33.39M 12.6MB/s in 2.7s
Ok!
---
# Copy ZebClient binary to all nodes
---
Copying the binary to application node: agent0...
zebclient-linux-amd64
sent 35,025,338 bytes received 35 bytes 70,050,746.00 bytes/sec
total size is 35,016,704 speedup is 1.00
---
Copying the binary to acceleration node: server0...
zebclient-linux-amd64
sent 35,025,338 bytes received 35 bytes 23,350,248.67 bytes/sec
total size is 35,016,704 speedup is 1.00
---
Copying the binary to acceleration node: server1...
it's the same node... skip copying...
---
Copying the binary to acceleration node: server2...
it's the same node... skip copying...
---
Copying the binary to acceleration node: server3...
zebclient-linux-amd64
sent 35,025,338 bytes received 35 bytes 70,050,746.00 bytes/sec
total size is 35,016,704 speedup is 1.00
---
Copying the binary to acceleration node: server4...
it's the same node... skip copying...
---
Copying the binary to acceleration node: server5...
it's the same node... skip copying...
---
Copying the binary to acceleration node: server6...
zebclient-linux-amd64
sent 35,025,338 bytes received 35 bytes 70,050,746.00 bytes/sec
total size is 35,016,704 speedup is 1.00
---
Copying the binary to acceleration node: server7...
it's the same node... skip copying...
---
Copying the binary to acceleration node: server8...
it's the same node... skip copying...
---
Copying the binary to acceleration node: server9...
zebclient-linux-amd64
sent 35,025,338 bytes received 35 bytes 70,050,746.00 bytes/sec
total size is 35,016,704 speedup is 1.00
---
Copying the binary to acceleration node: server10...
it's the same node... skip copying...
---
Copying the binary to acceleration node: server11...
it's the same node... skip copying...
---
Copying the binary to acceleration node: server12...
zebclient-linux-amd64
sent 35,025,338 bytes received 35 bytes 70,050,746.00 bytes/sec
total size is 35,016,704 speedup is 1.00
---
Copying the binary to acceleration node: server13...
it's the same node... skip copying...
---
Copying the binary to acceleration node: server14...
it's the same node... skip copying...
---
Copying the binary to acceleration node: server15...
zebclient-linux-amd64
sent 35,025,338 bytes received 35 bytes 70,050,746.00 bytes/sec
total size is 35,016,704 speedup is 1.00
---
Copying the binary to acceleration node: server16...
it's the same node... skip copying...
---
Copying the binary to acceleration node: server17...
it's the same node... skip copying...
---
# Stop ZebClient agent service
---
Stopping agent service on agent0...
ZebClient agent0 is now: inactive
---
# Stop ZebClient server service
Checking server server0
Backlog is cleared
Backlog cleared for server server0
Checking server server1
Backlog is cleared
Backlog cleared for server server1
Checking server server2
Backlog is cleared
Backlog cleared for server server2
Checking server server3
Backlog is cleared
Backlog cleared for server server3
Backlog is cleared
Backlog cleared for server server4
Checking server server5
Backlog is cleared
Backlog cleared for server server5
Checking server server6
Backlog is cleared
Backlog cleared for server server6
Checking server server7
Backlog is cleared
Backlog cleared for server server7
...
...
..
Starting server17 service...
ZebClient server17 is now: activating
---
# Start ZebClient agent
---
Starting agent0...
ZebClient agent0 is now: active
ZebClient version: v2.0.0-rc35-2
Verify ZCFS mountpoint on agent0:
---