volume select replication create-replica

Creates a replica that represents the contents of the volume at the current time.

Note: Before you can create a replica, you must establish a partnership with the group that will store the replicas, as described in partner create, and then enable replication on the volume, as described in volume select replication enable.

If you plan to use manual transfer replication, do not create the first replica until you are ready to start the transfer process.

A replica set is the set of replicas for a volume. The replica set name is based on the volume name. The names of individual replicas are based on the volume name and a timestamp.

The process of creating a replica is initiated from the primary group, which is the group where the volume resides. The replica will exist as part of a replica set, residing on the secondary group. To access the data in a replica, you must clone the replica or promote the replica set on the secondary group.

Format

volume select vol_name replication create-replica partner_name

Variables 

vol_name

Name of a volume.

partner_name

Group name of the partner that will store the replica.

Example

The following command creates a replica of volume vol4 on partner psgroup2:

> volume select vol4 replication create-replica psgroup2
Replica creation is in progress.