Sun Cluster Geographic Edition Data Replication Guide for Oracle Data Guard

ProcedureHow to Resynchronize and Revalidate the Protection Group Configuration

Follow this procedure to resynchronize and revalidate data on the original primary cluster, cluster-paris, with the data on the current primary cluster cluster-newyork.

Before You Begin

Before you resynchronize and revalidate the protection group configuration, a takeover has occurred on cluster-newyork. The clusters now have the following roles:

  1. If the original primary cluster, cluster-paris, has been down, confirm that the cluster is booted and that the Sun Cluster Geographic Edition infrastructure is enabled on the cluster.

    For more information about booting a cluster, see Booting a Cluster in Sun Cluster Geographic Edition System Administration Guide.

  2. Resynchronize the original primary cluster, cluster-paris, with the current primary cluster cluster-newyork.

    The cluster cluster-paris forfeits its own configuration and replicates the cluster-newyork configuration locally. Resynchronize both the partnership and protection group configurations.

    1. On cluster-paris, deactivate the protection group on the local cluster.


      phys-paris-1# geopg stop -e local protectiongroupname
      
      -e local

      Specifies the scope of the command.

      By specifying a local scope, the command operates on the local cluster only.


      Note –

      The property values, such as global and local, are not case sensitive.


      protectiongroupname

      Specifies the name of the protection group.

      If the protection group is already deactivated, the state of the resource group in the protection group is probably Error because the application resource groups are managed and offline.

      If you deactivate the protection group, the application resource groups are no longer managed, clearing the Error state.

    2. On cluster-paris, resynchronize the partnership.


      phys-paris-1# geops update partnershipname
      

      Note –

      You need to perform this step only once, even if you are resynchronizing multiple protection groups.


      For more information about synchronizing partnerships, see Resynchronizing a Partnership in Sun Cluster Geographic Edition System Administration Guide.

    3. On cluster-paris, resynchronize each protection group.

      Because the role of the protection group on cluster-newyork is primary, this step ensures that the role of the protection group on cluster-paris is secondary.


      phys-paris-1# geopg update protectiongroupname
      

      For more information about synchronizing protection groups, see Resynchronizing an Oracle Data Guard Protection Group.

  3. On cluster-paris, validate the configuration for each protection group.


    phys-paris-1# geopg validate protectiongroupname
    

    For more information, see How to Validate an Oracle Data Guard Protection Group.

  4. On cluster-paris, activate each protection group.

    When you activate a protection group, the protection group's application resource groups are also brought online.


    phys-paris-1# geopg start -e global protectiongroupname
    
    -e global

    Specifies the scope of the command.

    By specifying a global scope, the command operates on both clusters where the protection group is located.


    Note –

    The property values, such as global and local, are not case sensitive.


    protectiongroupname

    Specifies the name of the protection group.


    Caution – Caution –

    Do not use the -n option because the data needs to be synchronized from the current primary cluster, cluster-newyork, to the current standby cluster, cluster-paris.

    Because the protection group has a role of secondary, the data is synchronized from the current primary cluster, cluster-newyork, to the current standby cluster, cluster-paris.

    For more information about the geopg start command, see How to Activate an Oracle Data Guard Protection Group.


  5. Confirm that all data is synchronized.

    1. Confirm that the state of the protection group on cluster-newyork is OK.


      phys-newyork-1# geoadm status
      

      Refer to the Protection Group section of the output.

    2. Confirm that all resources in the replication resource group, ODGprotectiongroupname-odg-rep-rg, report a status of OK.


      phys-newyork-1# clresource status -v ODGprotectiongroupname-odg-rep-rs