How do I disable NSP DR failovers?
Purpose
Perform this procedure to disable the failover function in a DR NSP deployment.
Note: Disabling the NSP failover function is intended to be a temporary measure for system maintenance purposes only. It is strongly recommended that you re-enable failovers after any maintenance that requires failovers to be disabled.
Note: You require root user privileges on the NSP cluster host in a 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 disableAutoFailover ↵ The following is displayed: Auto-failover successfully disabled |
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 |