Example - Choosing the original Primary as the Primary going forward

In the following example, the original Primary site, seattle, will be chosen as the Primary site going forward. london is the elected Secondary site.

To choose the original Primary site as the Primary site going forward

  1. On the original Primary, bring the applications in the application service group online so that applications are active on both sites during the primary-elect phase. Bringing the applications online is performed outside of VCS control.
  2. On the elected Secondary site, offline the applications in the application service group (app_grp). In this example, london is the new Secondary site.
    hagrp -offline app_grp -sys london

    If you have multiple application service groups, you must repeat this step for each one.

  3. On the elected Secondary, specify the original Primary site as the elected Primary site with the -actionargs argument of the hares -action command. In this example, seattle is the name of the global cluster that is associated with the elected Primary site, seattle.
    hares -action RVGPrimary_resource \
    ElectPrimary -actionargs seattle -sys london
  4. Bring the service groups online that you took offline earlier.

Note:

If the problem was caused by a network disruption, any application data that was written to london during the disruption is lost.

seattle is now the Primary site and london is the Secondary site. If necessary, bring the applications on seattle back online. seattle now replicates data to london.