JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Geographic Edition Data Replication Guide for Sun StorageTek Availability Suite
search filter icon
search icon

Document Information

Preface

1.  Replicating Data With Sun StorageTek Availability Suite Software

2.  Administering Sun StorageTek Availability Suite Protection Groups

3.  Migrating Services That Use Sun StorageTek Availability Suite Data Replication

Detecting Cluster Failure on a System That Uses Sun StorageTek Availability Suite Data Replication

Detecting Primary Cluster Failure

Detecting Secondary Cluster Failure

Migrating Services That Use Sun StorageTek Availability Suite With a Switchover

How to Switch Over a Sun StorageTek Availability Suite Protection Group From Primary to Secondary

Actions Performed by the Geographic Edition Software During a Switchover

Forcing a Takeover on Systems That Use Sun StorageTek Availability Suite

How to Force Immediate Takeover of Sun StorageTek Availability Suite Services by a Secondary Cluster

Actions Performed by the Geographic Edition Software During a Takeover

Recovering Sun StorageTek Availability Suite Data After a Takeover

How to Resynchronize and Revalidate the Protection Group Configuration

How to Perform a Failback-Switchover on a System That Uses Sun StorageTek Availability Suite Replication

How to Perform a Failback-Takeover on a System That Uses Sun StorageTek Availability Suite Replication

Recovering From a Sun StorageTek Availability Suite Data Replication Error

How to Recover From a Data Replication Error

A.  Geographic Edition Properties for Sun StorageTek Availability Suite

Index

Migrating Services That Use Sun StorageTek Availability Suite With a Switchover

You perform a switchover of a Sun StorageTek Availability Suite protection group when you want to migrate services to the partner cluster in an orderly fashion. A switchover consists of the following:

This section provides the following information:

How to Switch Over a Sun StorageTek Availability Suite Protection Group From Primary to Secondary

Before You Begin

For a switchover to occur, data replication must be active between the primary cluster and the secondary cluster. Additionally, the data volumes on the two clusters must be in a synchronized state.

Before you switch over a protection group from the primary cluster to the secondary cluster, ensure that the following conditions are met:

  1. Log in to a cluster node.

    You must be assigned the Geo Management RBAC rights profile to complete this procedure. For more information about RBAC, see Geographic Edition Software and RBAC in Oracle Solaris Cluster Geographic Edition System Administration Guide.

  2. Initiate the switchover.

    The application resource groups that are a part of the protection group are stopped and started during the switchover.

    # geopg switchover [-f] -m newprimarycluster protectiongroupname 
    -f

    Forces the command to perform the operation without asking you for confirmation

    -m newprimarycluster

    Specifies the name of the cluster that is to be the primary cluster for the protection group

    protectiongroupname

    Specifies the name of the protection group

Example 3-1 Forcing a Switchover From Primary to Secondary

This example performs a switchover to the secondary cluster.

# geopg switchover -f -m cluster-newyork avspg

Actions Performed by the Geographic Edition Software During a Switchover

When you run the geopg switchover command, the software confirms that the volume sets that are associated with the device groups are in the replicating state. Then, the software performs the following actions on the original primary cluster:

On the original secondary cluster, the command takes the following actions:

If the command completes successfully, the secondary cluster, cluster-newyork, becomes the new primary cluster for the protection group. The original primary cluster, cluster-paris, becomes the new secondary cluster. Volume sets associated with a device group of the protection group have their role reversed according to the role of the protection group on the local cluster. The application resource group is online on the new primary cluster. Data replication from the new primary cluster to the new secondary cluster begins.

This command returns an error if any of the previous operations fails. Run the geoadm status command to view the status of each component. For example, the Configuration status of the protection group might be set to Error, depending on the cause of the failure. The protection group might be activated or deactivated.

If the Configuration status of the protection group is set to Error, revalidate the protection group by using the procedures described in How to Validate a Sun StorageTek Availability Suite Protection Group.

If the configuration of the protection group is not the same on each partner cluster, you need to resynchronize the configuration by using the procedures described in How to Resynchronize a Sun StorageTek Availability Suite Protection Group.