Load Balancer High Availability "failover" is not failing over
 Technote (troubleshooting)
 
Problem(Abstract)
The user-created goActive or goStandby scripts are not being executed. When a failover occurs, you should see that the scripts are being executed in the server.log (found in the ...ibm/edge/lb/servers/logs/dispatcher directory). For example:

"Mar10 13:39:56.906 EST CMNU: Running script :
C:\PROGRA~1\IBM\edge\lb\servers\bin\goActive.cmd"
 
Cause
There are a number of reasons that these scripts are not being executed during a failover:
  1. The location of the scripts are incorrect.
  2. The naming convention is wrong.
  3. The permissions on the directory are incorrect.
 
Resolving the problem
  1. The sample scripts can be found in the following directory:

    ...ibm/edge/lb/servers/samples

    The scripts must be moved to the following directory in order to run:

    ...ibm/edge/lb/servers/bin

  2. For UNIX® platforms, the name of the scripts MUST be the following:
    • goActive
    • goStandby
    • goIdle
    • goInOp

    Note:
    There should be NO file extension.

    For Windows®, the scripts must have the extension .cmd in order to be executable:
    • goActive.cmd
    • goStandby.cmd
    • goIdle.cmd
    • goInOp.cmd

  3. Ensure that root has execute permissions on the files. A simple test would be to try and run these scripts manually and check to see if the desired result occurred.

    For example: goActive would add the cluster address(es) to the NIC card, and can be checked by using the following command on UNIX:

    ifconfig -a
 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Edge Component
Operating system(s): Windows
Software version: 6.0.2
Software edition:
Reference #: 1214796
IBM Group: Software Group
Modified date: Aug 19, 2005