How can you configure the HTTPRequest node in IBM Integration Bus (IIB) or WebSphere Message Broker (WMB) to allow for back end dynamic DNS changes?
The HTTPRequest node that is included with IIB or WMB caches the resolved IP address of the target host. This can result in problems when using a back end host that dynamically routes and resolves IP addresses, because the HTTPRequest node uses the cached value instead of the new IP address.
To force the HTTPRequest node to identify changes in DNS entry without restarting the broker, you must disable the DNS caching.
To disable the DNS caching of the HTTPRequest node, complete the following steps:
- Open the file located at $JAVA_HOME/jre/lib/security/java.security
and set the value of the 'networkaddress.cache.ttl' property to '0' (zero).
- In a IIB or WMB command window, enter the following command to change the JVM system property:
mqsichangeproperties LUXBGN01 -e <EG_name>-o ComIbmJVMManager
-n jvmSystemProperty -v"-Dsun.net.inetaddr.ttl=0".
|Business Integration||IBM Integration Bus||9.0||All Editions|
WMB MB WebSphere Message Broker IBM Integration Bus IIB IBMIB MQ Integrator WBIMB WBI-MB MQSI WMQI