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
 
1 

Log in as the root user on the NSP cluster host in either data center.


2 

Open a console window.


3 

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


4 

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


5 

Close the open console windows.

End of steps