Nodeagent restarts all application servers on the node when DNS server is down

Technote (troubleshooting)


Problem(Abstract)

Nodeagent restarts all application servers on the node when DNS server is down if the system is not configured to use IPv6 in /etc/hosts. This problem occurs on IBM WebSphere Application Server V5.1 and V6.0 (all releases) and does not occur on V5.0.

Cause

In Java™ 2 SDK 1.4, JVM performs both IPv6 and IPv4 queries. If the system is not configured to use IPv6 in /etc/hosts, IPv6 queries will fail when DNS server is down. Nodeagent checks the status of applications on the node at one minute interval by way of the network. If nodeagent can not connect to an application server, it will assume that the server is hung and try to restart the server. So if nodeagent fails to lookup the hostname of its node, it will restart all the application servers in the same node.

Resolving the problem

To solve this problem, you can select either way from the following 2 options;

  • Java solution
    Set the JVM custom property java.net.preferIPv4Stack to all servers including nodeagent and dmgr.
    1. Open the administrative console and navigate to:

      System Administration > Application Servers > server_name > Process Definition > Java Virtual Machine > Custom Properties

    2. Add the following name and value pair:

      Name: java.net.preferIPv4Stack
      Value: true

    3. Click Apply, then save all changes.

    4. Restart the application server.

  • AIX solution
    The following AIX APARs address this issue:

    For AIX V520: IY47908
    For AIX V510: IY48783

    Ensure that you AIX V5.1 and V5.2 systems are at the latest maintenance level.

    Run the following:

    vi /etc/netsvc.conf
    hosts=local,bind4


    or

    export NSORDER=local,bind4

Related information

WebSphere wsadmin SOAP connector leads to performance i
WSAdmin.sh/bat tool takes approximately 20 minutes
HostName lookup causes a JVM hang or slow response

Cross reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere Application Server
System Management/Repository

Software version:

5.1, 6.0, 6.0.2, 6.1, 7.0, 8.0, 8.5, 8.5.5

Operating system(s):

AIX, HP-UX, Linux, Solaris, Windows

Software edition:

Network Deployment

Reference #:

1251377

Modified date:

2006-12-07

Translate my page

Machine Translation

Content navigation