Configure a database for failover

In the event of a system failure, it is possible to configure your database so that it is automatically moved to another system. This is made possible by using a cluster event called failover. Failover is a cluster event where the primary database server or applications server switches over to a backup server due to a failure of the primary server. A failover occurs when the system automatically switches over to one or more backup systems in the event of a system failure.

The first step to configure a database for failover is to create a cluster. To create a simple cluster using the New Cluster wizard, follow these steps:

  1. In System i Navigator, expand Management Central.
  2. Right-click Clusters, and select New Cluster.

Once a cluster is available, you must then add a switchable hardware group to your cluster. To switch a resource - a switchable hardware group, switchable software product, or switchable data group - from the primary node to the backup node in the recovery domain, the following conditions must be true:

To switch a resource, follow these steps:

  1. In System i Navigator, expand Management Central.
  2. Expand Clusters.
  3. Expand the cluster containing the desired resource.
  4. Click Switchable Hardware, Switchable Software, or Switchable Data.
  5. Right-click the desired resource, and select Switch