Contained WithinFind More DocumentationFeatured Support Resources | Descargar este libro en PDF (1391 KB)
scstat(1M)NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | EXIT STATUS | ATTRIBUTES | SEE ALSO | NOTES NAME
SYNOPSIS
DESCRIPTION
The scstat command displays the current state of Sun Cluster and its components. Only one instance of the scstat command needs to run on any machine in the Sun Cluster configuration. When run without any options, scstat displays the status for all components of the cluster. This display includes the following information: You need solaris.cluster.device.read, solaris.cluster.transport.read, solaris.cluster.resource.read, solaris.cluster.node.read, solaris.cluster.quorum.read, and solaris.cluster.system.read RBAC authorization to use this command without options. See rbac(5). Resources and Resource GroupsThe resource state, resource group state, and resource status are all maintained on a per-node basis. For example, a given resource has a distinct state on each cluster node and a distinct status on each cluster node. The resource state is set by the Resource Group Manager (RGM) on each node, based only on which methods have been invoked on the resource. For example, after the STOP method has run successfully on a resource on a given node, the resource's state will be OFFLINE on that node. If the STOP method exits nonzero or times out, then the state of the resource is Stop_failed. Possible resource states include: Online, Offline, Start_failed, Stop_failed, Monitor_failed, Online_not_monitored, Starting, and Stopping. Possible resource group states are: Unmanaged, Online, Offline, Pending_online, Pending_offline, Error_stop_failed, Online_faulted, and Pending_online_blocked. In addition to resource state, the RGM also maintains a resource status that can be set by the resource itself by using the API. The field Status Message actually consists of two components: status keyword and status message. Status message is optionally set by the resource and is an arbitrary text string that is printed after the status keyword. Descriptions of possible values for a resource's status are as follows: Device GroupsDevice group status reflects the availability of the devices in that group. The following are possible values for device group status and their descriptions: IP Network Multipathing GroupsIP Network Multipathing group status reflects the availability of the backup group and the adapters in the group. The following are possible values for IP Network Multipathing group status and their descriptions: The following are possible values for IP Network Multipathing adapter status and their descriptions: OPTIONS
You can specify command options to request the status for specific components. If more than one option is specified, the scstat command prints the status in the specified order. The following options are supported: EXAMPLESExample 1 Using the scstat CommandThe following command displays the status of all resource groups followed by the status of all components related to the specified host:
The output that is displayed appears in the order in which the options are specified. These results are the same results you would see by typing the two commands:
and
EXIT STATUS
The following exit values are returned: ATTRIBUTESSee attributes(5) for descriptions of the following attributes:
SEE ALSONOTESAn online quorum device means that the device was available for contributing to the formation of quorum when quorum was last established. From the context of the quorum algorithm, the device is online because it actively contributed to the formation of quorum. However, an online quorum device might not necessarily continue to be in a healthy enough state to contribute to the formation of quorum when quorum is re-established. The current version of Sun Cluster does not include a disk monitoring facility or regular probes to the quorum devices. NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | EXIT STATUS | ATTRIBUTES | SEE ALSO | NOTES |
|||||||||