Sun Cluster System Administration Guide for Solaris OS

Guidelines for Managing a Failover or Switchover

If the primary cluster fails, the application must be switched over to the secondary cluster as soon as possible. To enable the secondary cluster to take over, the DNS must be updated.

The DNS associates a client with the logical host name of an application. After a failover or switchover, the DNS mapping to the primary cluster must be removed, and a DNS mapping to the secondary cluster must be created. Figure 4–8 shows how the DNS maps a client to a cluster.

Figure 4–8 DNS Mapping of a Client to a Cluster

 Figure shows how the DNS maps a client to a cluster.

To update the DNS, use the nsupdate command. For information, see the nsupdate(1M) man page. For an example of how to manage a failover or switchover, see Example of How to Manage a Failover or Switchover.

After repair, the primary cluster can be brought back online. To switch back to the original primary cluster, perform the following tasks:

  1. Synchronize the primary cluster with the secondary cluster to ensure that the primary volume is up-to-date.

  2. Update the DNS so that clients can access the application on the primary cluster.