|
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:
- The location of the scripts are incorrect.
- The naming convention is wrong.
- The permissions on the directory are incorrect.
|
|
|
Resolving the
problem |
- 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 |
|
- 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
|
|
- 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:
|
|
|