Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Geographic Edition Remote Replication Guide for Sun ZFS Storage Appliance Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

## Migrating Services That Use Sun ZFS Storage Appliance Remote Replication With a Switchover

Perform a switchover of a Sun ZFS Storage protection group when you want to migrate services to the partner cluster in an orderly fashion.

A switchover consists of the following actions:

- Application services are unmanaged on the former primary cluster.

- The replication role is reversed and now continues to run from the new primary.

- Application services are brought online on the new primary cluster.

## How to Switch Over Sun ZFS Storage Appliance Remote Replication From the Primary Cluster to the Secondary Cluster

Before You Begin

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

- Data replication is active between the primary cluster and the secondary cluster. That is, the replication is enabled from the source to the target Sun ZFS Storage appliances.

- The Geographic Edition replication resource for this appliance replication shows the `Online` state.

- The Geographic Edition software is running on both clusters.

- The secondary cluster is a member of a partnership.

- Both cluster partners can be reached.

- The overall state of the protection group is set to `OK`.

- All components on the primary and secondary sites are up and well.

1. Assume the `root` role or assume a role that is assigned the Geo Management RBAC rights profile.

   For more information about RBAC, see Geographic Edition Software and RBAC in Oracle Solaris Cluster Geographic Edition System Administration Guide.

   Note - If you use a role with Geo Management RBAC rights, ensure that the `/var/cluster/geo` ACLs are correct on each node of both partner clusters. If necessary, assume the `root` role on the cluster node and set the correct ACLs.

       # chmod A+user:username:rwx:allow /var/cluster/geo

   The `/var/cluster/geo` directory must have the correct access control lists (ACL) applied for compatibility between the Geo Management RBAC rights profile and Sun ZFS Storage Appliance software.

2. Initiate the switchover.

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

       phys-paris-1# geopg switchover [-f] -m new-primary-cluster pg-name

   `-f`

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

   `-m` new-primary-cluster

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

   pg-name

     Specifies the name of the protection group.

Example 2-1 Forcing a Switchover From the Primary Cluster to the Secondary Cluster

The following example performs a switchover to the secondary cluster.

    phys-paris-1# geopg switchover -f -m cluster-newyork zfssa-pg

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |