Optimizing Performance of the NIC Proxy for NIC Host Redundancy
If you configure NIC host redundancy and the NIC proxy submits resolution requests to the NIC host at a high rate, the NIC proxy may take a significant amount of time to start communicating with a NIC host when that host makes the transition from the passive role to the active role. In this case, you will notice that many resolution requests are failing, and the NIC log files will indicate that the NIC proxy is sending requests to the former active NIC host.
This time delay occurs because the ORB tries to connect the NIC proxy to the former active NIC host for each outstanding resolution request. When the connection attempt fails, the ORB tries several times to reconnect the devices and waits for a specified interval of time between each attempt. To accelerate this process, modify the ORB properties that control these actions.
Depending on which NIC proxies are affected, you can modify the properties for one Web application only or for all Web applications in a JRE. For information about configuring the properties of an ORB other than JacORB, see the documentation for the ORB, and use the property descriptions below as a guideline. To configure the properties for JacORB:
cd <webAppDirectory>/WEB-INF/libTo configure the properties for all Web applications in the JRE: cd <jreInstallDirectory>/jre/lib
- With a text editor, open the jacorb.properties file.
- Modify the values of the properties jacorb.retries and jacorb.retry_interval.
- Save and close the jacorb.properties file.
jacorb.retries
- Number of times that the ORB tries to connect the NIC proxy to the NIC host.
- Value—Integer in the range 0-2147483647
- Guidelines—If you notice that many resolution requests are failing and the NIC log files indicate that the NIC proxy is sending requests to the former active NIC host, reduce the value of this property.
- Default—5
- Example—jacorb.retries=1
jacorb.retry_interval
- Time between the ORB's attempts to connect the NIC proxy to the NIC host.
- Value—Number of milliseconds in the range 0-2147483647
- Guidelines—If you notice that many resolution requests are failing and the NIC log files indicate that the NIC proxy is sending requests to the former active NIC host, reduce the value of this property.
- Default—500
- Example—jacorb.retry_interval=200