AutoSys Workload Automation

Expand all | Collapse all

Does AutoSys Agent on AS400 cache IP Address?

  • 1.  Does AutoSys Agent on AS400 cache IP Address?

    Posted Jan 15, 2018 01:21 AM

    Hi,

    Few servers in our environment change IP address once in a while.

    Autosys agent on AS400 system caches IP address and doesn't resolve hostname & latest IP of other systems. however, AS400 operating system resolves correct IP.

    I couldn't find any agentparm configuration related to this in the Ca support portal.

     

    Kindly assist if any encountered similar issue and have fix for this.



  • 2.  Re: Does AutoSys Agent on AS400 cache IP Address?
    Best Answer

    Posted Jan 15, 2018 02:44 AM

    Hi Govardhan,

     

    It’s probably Java that is caching the DNS (name lookups). You may try setting the “networkaddress.cache.ttl” in the </path/to/CA_WA_Agent/jre/lib/security/java.security file to a shorter duration (60 seconds).

     

    Excerpt from the java.security file:

     

    #

    1. The Java-level namelookup cache policy for successful lookups:

    #

    1. any negative value: caching forever

    2. any positive value: the number of seconds to cache an address for

    3. zero: do not cache

    #

    1. default value is forever (FOREVER). For security reasons, this

    2. caching is made forever when a security manager is set. When a security

    3. manager is not set, the default behavior in this implementation

    4. is to cache for 30 seconds.

    #

    1. NOTE: setting this to anything other than the default value can have

    2.       serious security implications. Do not set it unless

    3.       you are sure you are not exposed to DNS spoofing attack.

    #

    #networkaddress.cache.ttl=-1

     

    If you prefer to have this coded in the agentparm.txt file instead, then try set the following and restart the System agent

     

    oscomponent.jvm.x.options=-Dsun.net.inetaddr.ttl=60

     

    Note: If you already have oscomponent.jvm.x.options set, then append “;-Dsun.net.inetaddr.ttl=60” to it instead of replacing the existing parameter.

     

    Thanks & Regards,

    Chandru



  • 3.  Re: Does AutoSys Agent on AS400 cache IP Address?

    Posted Jan 15, 2018 05:15 AM

    Chandru - Thanks a lot.