Name: oneoff-diagnostics
Owner: CloudBees
Description: null
Created: 2018-01-05 00:30:42.0
Updated: 2018-01-05 00:40:09.0
Pushed: 2018-01-05 01:34:42.0
Homepage: null
Size: 7
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Usage:
Assuming a cje installation at $PROJECT_PATH
Copy check-versions.sh to the bastion host ($HOST) for the installation in question:
check-versions.sh <server>:$PROJECT_PATH
run
d +x check-versions.sh
eck-versions.sh local
You should see something along the lines of:
tos@ip-172-31-20-30 project]$ ./test.sh local
king controller-1
cted 3.10.0-693.11.6.el7.x86_64, got 0.0-693.11.6.el7.x86_64
king controller-2
cted 3.10.0-693.11.1.el7.x86_64, got 0.0-693.11.6.el7.x86_64
king controller-3
cted 3.10.0-693.11.6.el7.x86_64, got 0.0-693.11.6.el7.x86_64
king worker-1
cted 3.10.0-693.11.6.el7.x86_64, got 0.0-693.11.6.el7.x86_64
king worker-2
cted 3.10.0-693.11.1.el7.x86_64, got 0.0-693.11.6.el7.x86_64
king worker-3
cted 3.10.0-693.11.1.el7.x86_64, got 0.0-693.11.6.el7.x86_64
Run copy leader.sh to a cje project directory run ./leader.sh output:
tos@ip-172-31-20-30 project]$ ./leader.sh
er@10.16.1.39:5050