cluster kernel-service show

Contributors

Display cluster service state in the kernel

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

Description

The `cluster kernel-service show` command displays the following information from the master node for each node in the cluster:
  • Node name

  • The quorum status of that node

  • The availability status of that node

  • The operational status of that node

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.

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

The node in the cluster where the information be being reported from. If this parameter is not specified, the command displays information about all nodes in the cluster.

[-cluster-node <text>] - Cluster Node

The node in the cluster that the information listed is regarding. If this parameter is specified, the command displays information only about the nodes with the specified state value.

[-status-quorum {out of quorum|in quorum}] - Quorum Status

The quorum status of the node specified by -cluster-node . If this parameter is specified, the command displays information only about the nodes with the specified state value.

[-status-avail {false|true|unknown}] - Availability Status

The availability status of the node specified by -cluster-node . If this parameter is specified, the command displays information only about the nodes with the specified state value.

[-status-oper {unknown|operational|not-operational}] - Operational Status

The operational status of the node specified by -cluster-node . If this parameter is specified, the command displays information only about the nodes with the specified state value.

Examples

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

cluster1::*> cluster kernel-service show
Master            Cluster           Quorum        Availability  Operational
Node              Node              Status        Status        Status
----------------- ----------------- ------------- ------------- -------------
cluster1-01       cluster1-01       in-quorum     true          operational
                  cluster1-02       in-quorum     true          operational
2 entries were displayed.

cluster1::*> cluster kernel-service show -instance
Master Node: cluster1-01
       Cluster Node: cluster1-01
      Quorum Status: in-quorum
Availability Status: true
 Operational Status: operational
Master Node: cluster1-01
       Cluster Node: cluster1-02
      Quorum Status: in-quorum
Availability Status: true
 Operational Status: operational
2 entries were displayed.