How do I display the NSP DR failover setting?

Purpose

Perform this procedure to identify whether failovers are enabled in a DR NSP deployment.

Note: You require root user privileges on the NSP cluster host 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 user on the NSP cluster host in either data center.


Open a console window.


Enter the following:

kubectl exec -n $(kubectl get pods -A | awk '/nspos-asm/ {print $1;exit}') -it $(kubectl get pods -A| awk '/nspos-asm/ {print $2;exit}') -c nspos-asm-app -- /opt/nsp/os/asm/bin/asmctl autoFailoverStatus ↵

The following is displayed:

Current Auto-failover is: value

where value is one of the following:

  • True—failovers are enabled

  • False—failovers are disabled


Close the console window.

End of steps