11.3.4 Configuring the High Availability scripts

We now need to create the High Availability scripts.

You need to configure at least the goActive, goStandby, and goInOp scripts, but we also show how to use the serverUp, serverDown, and highavailChange scripts.

You can start working with the samples available in the LoadBalancer_Install_Dir/servers/samples directory and customize them for your environment, or you can write them from scratch.

All scripts are created in the LoadBalancer_Install_Dir/servers/bin directory, and you need to name them exactly as indicated (Load Balancer is case sensitive).

Note: The scripts are identical for the primary and the backup servers, unless there is some particular command that you need to run on each machine. This might be the case, for example, if your backup server collocated while your primary server did not.

We used two AIX servers for the MAC forwarding configuration, so we wrote the scripts using ksh syntax.

For NAT forwarding, we did not configure High Availability completely on our Solaris system, but we point out the main differences here. Again, this applies only if you do not use collocation with NAT forwarding. If you want to use collocated servers with NAT forwarding, refer to the Load Balancer Administration Guide, GC31-6858.
xxxx