How do I enable NSP DR failovers?

Purpose

Perform this procedure to enable the failover function 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 enableAutoFailover ↵

The following is displayed:

Auto-failover successfully enabled


Perform How do I identify the NSP cluster DR roles? to verify that the cluster roles are unchanged.


Close the open console windows.

End of steps