volume select replication demote

This command performs two operations:

You must set a volume offline before you demote it.

Format

volume select vol_name replication demote|demote partner_name

Variables 

vol_name

Name of a volume.

partner_name

Group name of a partner. Required only if you are demoting a volume to a failback replica set.

Examples

The following commands set the recovery volume vol5.1 offline and demote it to an inbound replica set:

volume select vol5.1 offline

> volume select vol5.1 replication demote

1553:125:member1:MgmtExec: 1-May-2007 10:34:10.180126:snapshotRestore.cc:789:INFO:8.2.9:Volume successfully restored from snapshot 'vol1.1-2007-04-05-09:36:14.13'. A new snapshot 'vol1.1-2007-05-01-10:34:10.109' was created from volume prior to being restored.

 

1558:130:member1:MgmtExec: 1-May-2007 10:34:10.410131:volumeSecondaryDemote.cc:1590:INFO:7.2.38:Recovery volume 'vol1.1' has been successfully demoted to a replica set.

The following commands set a volume offline and demote it to a failback replica set:

volume select data45 offline

> volume select data45 replication demote group2

Demoting a volume to a failback replica set enables you to replicate the recovery volume to the primary group. Do you want to demote the volume? (y/n) [n] y