Problem:
- Product Name: Borland Enterprise Server
- Product Version: 6.5
- Product Component: ORB Smart Agent
- Platform/OS Version: Unix
To configure osagent running in a machine with re-locatable IP addresses (multihome).
Resolution:
The following instructions are applicable to the scenario in which osagent and Server are running on a machine which has HOST IP address as well as re-locatable IP address ( multihome machine) and if you want to restrict osagent to listen and broadcast services only on the re-locatable IP. Clients may be accessing server from out of network using stringified object reference.
(1) Export the OSAGENT_ADDR environment variable setting to re-locatable IP or run osagent using the "-a" option. For example, osagent -a 128.96.169.189
(2) Create a "localaddr" file.Contents of the file for the multihomed host may looks like
#entries of format address subnet_mask broadcast address
199.10.9.5 255.255.255.0 199.10.9.255
To find out the subnet mask and the broadcast address values in the machine environment, use the command, ifconfig -a.
By default, VisiBroker searches for the "localaddr" file in the VBROKER_ADM directory. You can override this location by setting the OSAGENT_LOCAL_FILE environment variable to point to this file or you could use the vbroker.agent.localFile property while starting the osagent.
#VisiBroker
#Security


