I want to connect to Milestone Server using a service created using Milestone SDK. Right now, since, I have installed all the Milestone components on one VM, I am using IP address of the VM to connect to the Milestone Server.
I wanted to ask, in case we have setup Milestone Server failover cluster, which IP address we should be using to connect to the Milestone Server using the service
Generally a cluster works because it has its own IP address, in that way you will always be able to communicate through that address as long as one server in the cluster will be up. When setting this up you must make sure you communicate with the Management Server through the cluster address no matter if you use the Smart Client or develop your own client.
I would say that the client you develop need not be special, what I mean by that is that if you switch from an non-cluster to a cluster setup you just connect to and communicate with another address, but no other changes to the client.
In the knowledge base articles and support community you might find more about how to set up and use failover cluster.. https://supportcommunity.milestonesys.com/KBRedir?art=000034505&lang=en_US