blob: e7dc031e29dedbd1bdb3536f65d18d49831b2499 [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 "****************************"
Yuta HIGUCHIfb1905a2014-06-09 14:07:34 -070024dsh -g onos '~/zookeeper-3.4.6/bin/zkServer.sh status'
Tim Lindberg5bec5732013-03-21 15:33:27 -070025
26echo ""
27echo "**************************"
28echo "***** WEB GUI STATUS *****"
29echo "**************************"
30~/ONOS/start-rest.sh status