To verify SSH connectivity in a NSP DR cluster

Purpose

Perform the following procedure to verify that the standby nsp-file-service-app pod can SSH to the primary nspos pod.

Steps
 

Enter the following as the root or NSP admin user on the NSP cluster host in the standby data center:

kubectl exec -n $(kubectl get pods -A | awk '/nsp-file-service-app/ {print $1;exit}') nsp-file-service-app-0 -it -- bash ↵

A root shell opens on the nsp-file-service-app pod.


Enter the following to attempt an SSH connection to the primary nspos pod:

ssh -i /opt/nsp/apps/nsp-file-service-app/nspSSHcerts/hostcert -p 8566 -o StrictHostKeyChecking=no address

where address is the NSP cluster advertised address

If the command returns an error message, the SSH connection attempt has failed.


If the connection attempt fails, resolve the connection issue; you must not attempt a DR switchover unless the problem is resolved.

End of steps