Hi,
I am trying to connect to various HA clusters using the SERVICE NAME that they are running on these clusters using SSH and execute some commands.
Problem: When the service is running on the primary node, ssh known_hosts file gets updated with the key from the primary node of the cluster and when the service falls over to the other nodes in the cluster, I cannot connect to the service until I change the identification key in my known_hosts file.
Since the connection I am making is using a script, I am trying to find any other way to get around this problem.
telnet is disabled for security reasons. I thought of dsh as well but I believe dsh also internally uses ssh which is of no use.
Any ideas are appreciated.
TIA
Cheers
Kumar
I am trying to connect to various HA clusters using the SERVICE NAME that they are running on these clusters using SSH and execute some commands.
Problem: When the service is running on the primary node, ssh known_hosts file gets updated with the key from the primary node of the cluster and when the service falls over to the other nodes in the cluster, I cannot connect to the service until I change the identification key in my known_hosts file.
Since the connection I am making is using a script, I am trying to find any other way to get around this problem.
telnet is disabled for security reasons. I thought of dsh as well but I believe dsh also internally uses ssh which is of no use.
Any ideas are appreciated.
TIA
Cheers
Kumar