Problem with prublic private interfaces


#1

I have configured cluster with 5 servers. For interconnecting I have used private address of servers. Now I need to connect to cluster by public interface (from different location) but cluster responds by private address, so the connection not possible.
How can I solve the problem? Is it possible to reconfigure cluster for using both interfaces?


#2

You can work around this by manipulating the hosts file. Use names instead of IPs when registering the cluster nodes. Make sure node names resolve to private IPs internally and across the interconnect, make sure the names resolve to the public IPs.