SVRCTL Commands Cluster Health

SCAN Information
echo “Status SCAN————————————-”
echo “================================================”
srvctl status scan

Status SCAN————————————-
================================================
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node host121
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node host120
SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node host120

echo
echo “Status listener———————————”
echo “================================================”
srvctl status listener

echo
echo “Status config SCAN——————————”
echo “================================================”
srvctl config scan

echo
echo “Status config SCAN_LISTENER———————”
echo “================================================”
srvctl config scan_listener

echo
echo “Services config ——————————–”
echo “================================================”
# srvctl status service -d TEST01
Service TEST01_SVC_01 is running on instance(s) TEST011,TEST012

srvctl config – will list databases configured in the cluster

once the databases are listed you can look at the config of each one via this command
srvctl config database -d ;

shutdown on one node

srvctl stop database -d -i ;

login as dbaroot

crsctl stop crs

Leave a Reply

Your email address will not be published. Required fields are marked *