Hi,
I am in cluster 2 node (active- active) environment with 4 instances. Instance 1 and 4 are busy instance so, I don't want those two instances to run on a same node in any situation. I am trying to configure a mail alert if these two instances(1 and 4) failed over to same node, for that I want names of all SQL servers in a cluster using T-SQL code.
Please provide me a SQL code to list of all instances in a cluster.
Regards
siddhardha