I have set up an NLB with two servers (nodes) which are running the same service. The filtering is single host, because I don’t want them to run at the same time, because there is data in the cache DB, so every time there is new data or a failover I would need to restart the second service to update it.
How can I know which server in the cluster is answering? (I don’t mind whether this uses a command, a script, C#, or whatever. I haven’t yet decided what to use: I just want whatever’s easiest.)
I am using SQL Server 2008 R2.
Secondly (and less importantly): Is there a good monitoring tool for this purpose? I was looking into Spiceworks, Zabbix or Nagios.