cl_status — Check status of the High-Availability Linux (Linux-HA) subsystem
cl_status sub-command options parameters
Indicate if heartbeat is running on the local system.
List the nodes in the cluster.
List the nodes of the given type.
![]() | Note |
|---|---|
Ping nodes are obsolete in Pacemaker cluster, having been replaced with the pingd resource agent. |
node
List the network interfaces used as heartbeat links.
node should be specified as
listed in the
ha.cf(5)
file for the cluster.
node link
Show the status of a heartbeat
link. node should be specified as
listed in the
ha.cf(5)
file for the cluster. link should
be as per the output of the listhblinks subcommand.
node client [timeout]
Show the status of heartbeat
clients. node and
client should be specified as
listed in the
ha.cf(5)
file for the cluster. Timeout is in milliseconds, the
default is 100ms.
Show the status of cluster resources. Status will be one of: local, foreign, all or none.
![]() | Note |
|---|---|
This option is deprecated, it is obsolete in Pacemaker clusters. |
-p parameter
Retrieve the value of cluster parameters. The parameters may be one of the following: apiauth, auto_failback, baud, debug, debugfile, deadping, deadtime, hbversion, hopfudge, initdead, keepalive, logfacility, logfile, msgfmt, nice_failback, node, normalpoll, stonith, udpport, warntime, watchdog.
![]() | Note |
|---|---|
Some of these options are deprecated; see ha.cf(5) |
The following options are supported by heartbeat:
-m
Make the output more human readable. The default output should be easier for scripts to parse. Available with all commands.
-p
List only 'ping' nodes. Available with listnodes sub-command.
![]() | Note |
|---|---|
Ping nodes are obsolete in Pacemaker cluster, having been replaced with the pingd resource agent. |
-n
List only 'normal' nodes. Available with listnodes sub-command.