Activating a Volume Group Replica

To create a new volume from a volume replica, you need to activate the replica. The activation process creates a new volume by cloning the replica.

Note

For volumes in a volume group configured for replication, activate the volume group replica instead of individual volume replicas if you want to ensure that all volume replicas are activated from the same coordinated synchronization point. See Limitations and Considerations.
    1. On the Volume Group Replicas list page, find the volume group replica you want to work with. If you need help finding the list page or the volume group replica, see Listing Volume Group Replicas.
    2. From the Actions menu (three dots), select Activate and then Confirm.
    3. In the Activate Volume Group Replica panel, enter the following information:
      • Compartment: Compartment to create the clone of the source volume group in.
      • Volume Group Name: Replica name.
    4. Select Activate.

    The new volume group appears in the list, in the provisioning state.

  • Use the oci bv volume-group create command and specify the --source-details '{"type": "volumeGroupReplicaId", "volumeGroupReplicaId", --compartment-id and --availability-domain parameters to activate a volume group replica:

    oci bv volume-group create --source-details '{"type": "volumeGroupReplicaId", "volumeGroupReplicaId": "<VOLUME_GROUP_REPLICA_ID>"}' --compartment-id <compartment_ID> --availability-domain <availability_domain> 

    For example:

    oci bv volume-group create --source-details '{"type": "volumeGroupReplicaId", "volumeGroupReplicaId": "ocid1.volumegroupreplica.oc1.phx.<unique_ID>"}' --compartment-id ocid1.compartment.oc1.phx.<unique_ID> --availability-domain ABbv:PHX-AD-1 

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the CreateVolumeGroup operation and specify the volumeGroupReplicas attribute in the CreateVolumeGroupDetails resource to activate a volume group replica.