Sun Cluster Data Services Developer's Guide for Solaris OS

Administrative Commands

The Sun Cluster commands for administering RGM objects are scrgadm, scswitch, and scstat -g.

The scrgadm command enables you to view, create, configure, and delete a resource type, a resource group, and the resource objects that are used by the RGM. This command is part of the administrative interface for the cluster, but is not to be used in the same programming context as the application interface that is described in the rest of this chapter. However, scrgadm is the tool for constructing the cluster configuration in which the API operates. Understanding the administrative interface sets the context for understanding the application interface. See the scrgadm(1M) man page for details about the administrative tasks that you can perform with the command.

The scswitch command switches resource groups online and offline on specified nodes. This command also enables or disables a resource or its monitor. See the scswitch(1M) man page for details about the administrative tasks that the command can perform.

The scstat -g command shows the current dynamic state of all resource groups and resources. See the scstat(1M) man page for details about the administrative tasks that the command can perform.