Tim Lindberg | 5bec573 | 2013-03-21 15:33:27 -0700 | [diff] [blame] | 1 | #! /bin/bash |
| 2 | |
| 3 | # This checks the overall status of Cassandra, onos, zookeeper, and the web server |
| 4 | # Checks status on all 8 onos nodes. |
| 5 | # Built to run only on the hw testbed from ONOS1. |
| 6 | # |
| 7 | |
| 8 | echo "" |
| 9 | echo "****************************" |
| 10 | echo "***** CASSANDRA STATUS *****" |
| 11 | echo "****************************" |
| 12 | dsh -w onos1 'cd ONOS; ./start-cassandra.sh status' |
| 13 | |
| 14 | echo "" |
| 15 | echo "***********************" |
| 16 | echo "***** ONOS STATUS *****" |
| 17 | echo "***********************" |
| 18 | dsh -g onos 'cd ONOS; ./start-onos.sh status; echo "Open ports on 9160: "; netstat -nat | grep 9160 | wc -l' |
| 19 | |
| 20 | echo "" |
| 21 | echo "****************************" |
| 22 | echo "***** ZOOKEEPER STATUS *****" |
| 23 | echo "****************************" |
| 24 | dsh -g onos '~/zookeeper-3.4.5/bin/zkServer.sh status' |
| 25 | |
| 26 | echo "" |
| 27 | echo "**************************" |
| 28 | echo "***** WEB GUI STATUS *****" |
| 29 | echo "**************************" |
| 30 | ~/ONOS/start-rest.sh status |