I’m trying to understand how connecting to cluster work. So say I have 3 machines with CB and all are clustered together.
From my understanding after reading the manual, my apps can call query any one of the 3 machines and the work load will be automatically balanced among all three of them. So say I setup my app to connect only to Machine A and god forbid, Machine A goes down. I understand that I Machine B and Machine C will take over with the work (assuming I setup the automatic fail over in CB). Since I only have Machine A IP in my application, that will still translate to Machine A is down and not reachable even though the cluster is still up and running and Machine B and Machine C is still accessible. Is that a correct statement?
So if that’s the case, is there a way to configure my PHP-SDK client to include all the IPs from the 3 machines so that if Machine A is down, the apps will automatically go to Machine B or Machine C.
With my lack of understanding of how CB clustering work, I was thinking of adding HA Proxy into the mix but I read it somewhere that it’s a bad idea to add a HA in the between Client connection and CB cluster.
So may I request someone to please enlightened me on my confusion? Many thanks in advance for all your help.