Using Corba and Virtual Address
My application (which is a Service) is running on a 6 servers cluster. Each server has its own Physical IP address. My application run on one server but can failover to another member of the cluster.
The cluster has a Virtual IP address. I want my application to communicate with destination application (outside the cluster) by Virtual IP address. I have firewalls and I want only open ports for the Virtual IP address and not all the physical addresses.
I have tried running my application with the following parameters:
-Dcom.sun.CORBA.LocalHost=<Virtual IP address>
-Dcom.sun.CORBA.ORBServerHost=<Virtual IP address>
-Dorg.omg.CORBA.ORBInitialHost=<Virtual IP address>
But none of these helped. The target application still communicate back to the physical IP address.
How should I configure my application?
I am using Java Corba classes which means that I do not have a ORB Server (Visibroker, IONA, etc) installed.