cmviewcl: High Availability Cluster Information on HP-UX



Share this article :

cmviewcl displays the current status information of a cluster. Output can be displayed for the whole cluster or it may be limited to particular nodes or packages. To view cluster information, a user must be superuser(UID=0), or have an access policy of MONITOR allowed in the cluster configuration  file, or have a policy of PACKAGE_ADMIN in a package’s configuration file.

# cmviewcl

CLUSTER      STATUS
server       up

NODE         STATUS       STATE
server1      up           running

PACKAGE      STATUS       STATE        AUTO_RUN     NODE
child1       up           running      enabled      server1

NODE         STATUS       STATE
server2      up           running
server3      up           running

PACKAGE      STATUS       STATE        AUTO_RUN     NODE
child2       up           running      enabled      server2
child3       up           running      enabled      server2
child4       up           running      enabled      server2

Options

• -v: Verbose output will be displayed.

• -c cluster_name: Name of the cluster to view.  If this option is omitted, cmviewcl will display information about the current cluster that the local node belongs to.

• -n node_name: View  information  only  about  the specific node_name(s), including information about the packages that are running on these nodes.

• -p package_name: View information only about the specific package_name(s).

• -l package|cluster|node|group: Limit the output to display only package, cluster, node, or group specific information.

 Output Informations

• CLUSTER: Name of the cluster.  This name will be used to identify the cluster.

• STATUS: Status of the cluster, node, package, etc.  Status is either “up”, “down”, “starting”, “halting” or “unknown”.  “unknown”  is a  special  status  to  denote that we cannot collect enough information to exactly determine whether the item is up or down, e.g., when some of the nodes in the cluster cannot be reached over the network.

• NODE: Name of the node.

• STATE: The  action  that  the  node  or  package is currently taking (if any).  The normal state is running.  However, a node may be reforming which means that a new node is joining the cluster, or one or more nodes have lost connection with each other.

Note:
Additional options and output information can be found from cmviewcl man page or here

Related posts

Disable User Account Expiry in HP-UX
lanscan: Display HP-UX LAN Device Configuration & Status
lanadmin: HP-UX Local Area Network Administration Program
cmhaltpkg: Halt a High Availability Package on HPUX
© 2017 ITsiti. All Rights Reserved
Powered by KEEM