Skip to main content

cluster show

Contributors
Suggest changes

Display cluster node members

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The cluster show command displays information about the nodes in a cluster.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-node {<nodename>|local}] - Node

Selects the nodes that match this parameter value.

[-node-uuid <UUID>] - UUID (privilege: advanced)

Selects the nodes that match this parameter value.

[-epsilon {true|false}] - Epsilon (privilege: advanced)

Selects the nodes that match this parameter value. In a cluster, only one node can be designated as Epsilon at any given time. You can designate a node as Epsilon to add weight to its voting in a cluster with an even number of nodes.

[-eligibility {true|false}] - Eligibility

Selects the nodes that match this parameter value (true means eligible to participate in the cluster).

[-health {true|false}] - Health

Selects the nodes that match this parameter value (true means online).

Examples

The following example displays information about all nodes in the cluster:

cluster1::> cluster show
Node                  Health  Eligibility
--------------------- ------- ------------
node0                 true    true
node1                 true    true
node2                 true    true
node3                 true    true

The following example displays information about the node named node1:

cluster1::> cluster show -node node1
Node: node1
Eligibility: true
     Health: true