Example - Choosing the original Secondary as the Primary going forward

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

To choose the original Secondary 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, seattle is the new Secondary site.
    hagrp -offline app_grp -sys seattle

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

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

Note:

Any updates made on the elected Secondary during the primary-elect phase will be lost.

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