How do I display the NSP cluster status?

Purpose

The following steps describe how to view the status of standalone or redundant NSP clusters.

Note: You require root user privileges on each NSP cluster VM in each data center.

Note: A leading # character in a command line represents the root user prompt, and is not to be included in a typed command.

Steps
 

Log in as the root or NSP admin user on any NSP cluster VM.


Open a console window.


In a standalone deployment, enter the following:

kubectl exec -n $(kubectl get pods -A | awk '/nsp-role-manager/ {print $1;exit}') -it $(kubectl get pods -A | awk '/nsp-role-manager/ {print $2;exit}') -c role-manager -- /opt/nsp/os/rolemgr/bin/rmgrctl status ↵

Cluster status output like the following is displayed:

Site:   cluster_name

Status: active

Since:  timestamp


In a DR deployment, enter the following:

kubectl exec -n $(kubectl get pods -A | awk '/nsp-role-manager/ {print $1;exit}') -it $(kubectl get pods -A | awk '/nsp-role-manager/ {print $2;exit}') -c role-manager -- /opt/nsp/os/rolemgr/bin/rmgrctl statusAll ↵

Cluster status output like the following is displayed:

Site:   primary_cluster_name

Status: active

Since:  timestamp

Site:   standby_cluster_name

Status: standby

Since:  timestamp


Close the console window.

End of steps