Useful Sun Cluster commands
Some useful Sun Cluster commands
Shut down a resource group:
scswitch -F -g [RESOURCE_GROUP_NAME]
Bring up a resource group:
scswitch -Z -g [RESOURCE_GROUP_NAME]
Move failover resource group to node_name:
scswitch -z -g [RESOURCE_GROUP_NAME] -h [NODE_NAME]
Restart resource group:
scswitch -R -h [NODE_NAME] -g [RESOURCE_GROUP_NAME]
Evacuate all resources from node_name:
scswitch -S -h [NODE_NAME]
Disable resource:
scswitch -n -j [RESOURCE]
Enable resource:
scswitch -e -j [RESOURCE]
Clear STOP_FAILED on resource:
scswitch -c -j [RESOURCE] -h [NODE_NAME] -f STOP_FAILED
Disable resource’s fault monitor:
scswitch -n -M -j [RESOURCE]
Enable resource’s fault monitor:
scswitch -e -M -j [RESOURCE]
Enable resource’s fault monitor:
scswitch -e -M -j [RESOURCE]
Lists currently configured DID’s:
scdidadm -L
Put a new device under cluster control:
scgdevs
Displays status of the cluster, resources, resource groups, etc.:
scstat
Display useful setup info about cluster nodes, cluster transport, disksets, etc.:
scconf -p -v

Brian Keith said:
Mar 26, 08 at 16:31Dude! Would you be willing to either let me copy your “Useful Sun Cluster commands” to the Sun Cluster Wiki (with full attribution and a link to this page) or let me add a link to this page from the Sun Cluster Wiki (http:/wikis.sun.com/display/SunCluster)?
Thanks.
-briank
BrianK, whatever you prefer…
-some dude
Sun Cluster’s scconf « Some dude’s notes said:
May 09, 08 at 18:48[...] Posts Useful Sun Cluster commandsSC/RSC console [...]
aashok said:
Nov 04, 09 at 05:15Thanks dude, sometime what we are looking is not able to get from the commands, as output is not given, I suggestion is while writing if we can add commands output it looks really nice and solve the whole purpose of learning.