Listing Volume Group Replicas

Learn how to list volume group replicas in a specific compartment and availability domain.

    1. Open the navigation menu  and select Storage. Under Block Storage, select Volume Group Replicas.

      The Volume Group Replicas list page opens. All volume group replicas in the selected compartment are displayed in a table.

    2. To view the volume group replicas in a different compartment, use the Compartment filter to switch compartments.

      You must have permission to work in a compartment to see the resources in it. If you're not sure which compartment to use, contact an administrator. For more information, see Understanding Compartments.

    Filtering List Results

    Use filters to limit the volume group replicas in the list. Perform one of the following actions depending on the options that you see:

    • From the Search and Filter box above the list table, select one or more filters and specify the values that you want to use to narrow the list. In general, the filters correspond to the columns shown in the list table, although some filters represent attributes that aren't shown in the table. The Compartment filter is always displayed next to Applied filters.
    • On the left side of the list page, select a value from one of the available filters, such as compartment, state, or tags.

    Change the order of the items in the list table by using the sort icons next to the column names.

    For information about searching for resources and managing the columns in the list table, if those features are available, see Listing Resources.

    Actions

    In the list table, select the name of a volume group replica to open its details page, where you can view its status and perform other tasks.

    To perform an action on a volume group replica directly from the list table, select an available option from the Actions menu in the row for that volume group replica:

    • View details: Open the details page for the volume group replica.
    • Activate: Activate the volume group replica.
    • Copy OCID: Copy the OCID of the volume group replica to the clipboard.
  • Use the oci bv volume-group-replica command and specify the --availability-domain and --compartment-id parameters to list volume group replicas:

    oci bv volume-group-replica list --availability-domain <availability_domain> --compartment-id <compartment_ID>

    For example:

    oci bv volume-group-replica list --availability-domain ABbv:PHX-AD-1 --compartment-id ocid1.compartment.oc1.phx.<unique_ID> 

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

  • Run the ListVolumeGroupReplicas operation and specify the availabilityDomain and compartmentId attributes to list volume group replicas.