Viewing the Status of a Cluster
- On your primary node, log in to CloudControl from the Virtual Machine Console Window or via SSH using your htadmin credentials.
-
In the CloudControl TUI, select
8. Command prompt
.Note: The current cluster role is displayed whenever you start the CLI. For example:
[node1:primary ~]$
-
Run the following command:
asc ha --status
Cluster Status Example:
The following example is a HA cluster with three nodes. The command is run from the primary node, and one of the secondary nodes currently offline.
[node1:primary ~]$ asc ha --status Cluster name: htcc_cluster Stack: corosync Current DC: node1 (version 1.1.19-8.el7_6.2-c3c624ea3d) - partition with quorum Last updated: Thu Jan 24 18:18:53 2019 Last change: Thu Jan 24 18:05:56 2019 by root via cibadmin on node1 3 nodes configured 17 resources configured
Online: [ node1 node2 ] OFFLINE: [ node3 ]
Full list of resources: Resource Group: mastergroup vip (ocf::heartbeat:IPaddr2): Started node1 ht-rsync (systemd:ht-rsync): Started node1 ht-pgsql (systemd:ht-pgsql): Started node1 ht-pgsql-sync (systemd:ht-pgsql-sync): Started node1 httpd (systemd:httpd): Started node1 tomcat (systemd:tomcat): Started node1 hytrust-container-rest-service (systemd:hytrust-container-rest-service): Started node1 hytrust-trust-management-rest (systemd:hytrust-trust-management-rest): Started node1 hytrust-image-policy-webhook (systemd:hytrust-image-policy-webhook): Started node1 hytrust-compliance-rest-service (systemd:hytrust-compliance-rest-service): Started node1 hytrust-aws-rest (systemd:hytrust-aws-rest): Started node1 ht-certificate-mgmt (systemd:ht-certificate-mgmt): Started node1 ht-hardening-service (systemd:ht-hardening-service): Started node1 ht-licensing (systemd:ht-licensing): Started node1 ht-reporting (systemd:ht-reporting): Started node1 ht-clustermgr (systemd:ht-clustermgr): Started node1 [node1:primary ~]$