blob: 1243e3a1d3c457d63761234f0e11e5c15c06a8cb [file] [log] [blame]
Tim Lindberg5bec5732013-03-21 15:33:27 -07001#! /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
8echo ""
9echo "****************************"
10echo "***** CASSANDRA STATUS *****"
11echo "****************************"
12dsh -w onos1 'cd ONOS; ./start-cassandra.sh status'
13
14echo ""
15echo "***********************"
16echo "***** ONOS STATUS *****"
17echo "***********************"
18dsh -g onos 'cd ONOS; ./start-onos.sh status; echo "Open ports on 9160: "; netstat -nat | grep 9160 | wc -l'
19
20echo ""
21echo "****************************"
22echo "***** ZOOKEEPER STATUS *****"
23echo "****************************"
24dsh -g onos '~/zookeeper-3.4.5/bin/zkServer.sh status'
25
26echo ""
27echo "**************************"
28echo "***** WEB GUI STATUS *****"
29echo "**************************"
30~/ONOS/start-rest.sh status