Configuring for failovers - a typical setup

In this configuration, you have two physical nodes. One node runs AIX 5.3 (sysA) and another node that runs AIX 6.1 (sysB). The node that runs AIX 6.1 has WPARs configured.

Figure: An application service group that can fail over onto a WPAR

An application service group that can fail over onto a WPAR

In the main.cf configuration file, define the container name, type of container, and whether it is enabled or not. The following is an example of the ContainerInfo lines in the main.cf file:

ContainerInfo@sysA = {Name = W1, Type = WPAR, Enabled = 2}

ContainerInfo@sysB = {Name = W1, Type = WPAR, Enabled = 1}

On sysA, you set the value of Enabled to 2 to ignore WPARs so that the application runs on the physical system. When sysA fails over to sysB, the application runs inside the WPAR after the failover because Enabled is set to 1 on sysB. The application can likewise fail over to sysA from sysB.