crsctl get node role

Use the crsctl get node role command to obtain the configured node role of nodes in the cluster.

Syntax

crsctl get node role {config | status} [node node_name | -all]

Usage Notes

  • Specify the config option to obtain the configured node role for a specific node.

  • Specify the status option to obtain the current status of a specific node.

  • You can specify a particular node for which to obtain role information. If you do not specify a particular node, then CRSCTL returns information about the local node.

Example

The crsctl get node role command returns output similar to the following:

Node 'adc6140524' configured role is 'hub'