Problem:
- Product Name: VisiBroker
- Product Version: All
- Product Component: Smart Agent
- Platform/OS version: All
Smart Agent (osagent) and VisiBroker applications that looks for the presence of Smart Agent will only broadcast through UDP in all subnetwork associated with the machine. For instance, if a Client machine is configured to have the following IP address:
169.80.90.3 172.12.45.3
and the Server machine is configured to have only one IP address:
10.2.3.4
In this configuration, osagent and applications on one subnet cannot find osagents on another subnetworks. For example, the Smart Agent running in 10.2.3.4 can only be found by applications or other Smart Agents in 10.2.3.* subnetwork. The OBJECT_NOT_EXIST exception will be raised to the client process hosted at 169.80.90.3 or 172.12.45.3.
Resolution:
For the Smart Agent and VisiBroker applications to broadcast on different subnetwork not assigned to the machine, the "OSAGENT_ADDR_FILE" environment variable or the property "vbroker.agent.addrFile" can be used to resolve the OBJECT_NOT_EXIST exception issue.
You need to define a file (e.g. agentaddr) containing the following address as our example:
10.2.3.4
169.80.90.3
172.12.45.3
And use the file as:
1. When using the property: vbroker.agent.addrFile=/agentaddr
2. When using the environment variable: OSAGENT_ADDR_FILE=/agentaddr
All machines where the Smart Agent, Client and Server applications should set the property "vbroker.agent.addrFile" and or environment variable "OSAGENT_ADDR_FILE" and using the same file.
#VisiBroker
#Security