UNIX MATRIX - Where there is a shell, there is a way

UNIX,cluster, Solaris, SVM,ZFS, AIX Booting,Solaris basic,soft partition,Storage Area Network, NetAPP storage, Solaris zone, server installation, server support, AIX architecture, cluster availability, cluster guide,cluster requirements,SUN, AIX,NFS,Solaris troubleshooting

UNIX Document Center

Saturday, August 1, 2009

SUN Cluster Quick Reference 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

0 comments: