List all Data Guard associations for given VM cluster

List all Data Guard associations for the specified VM cluster.

Ensure that the database input file has been generated and modified according to the requirements.

The list_dg_associations command supports the following options:

Syntax

exacloudmigration list_dg_associations [-ahV] -i  | -s

exacloudmigration list_dg_associations Commands

CommandDescription
-a, --allLists Data Guard associations for all databases in the source VM cluster.
-i, --inputFileSpecifies the database input file name with complete path.
-s, --sourceVmClusterOCIDSpecifies the source VM cluster OCID.
-l, --dbNames

Specifies a comma-delimited list of database names to list the Data Guard associations.

Examples:

  • To list the Data Guard associations for a database: -l dbname1
  • To list the Data Guard associations for multiple databases: -l dbname1,dbname2,dbname3
-u, --profileSpecifies the OCI user profile name (Default profile is DEFAULT).
-h, --helpDisplays help information about the command and its options.
-V, --versionDisplays the version of the utility.

Examples:

  • To list all Data Guard associations for all databases:

    /home/opc>./exacloudmigration list_dg_associations -a -i inputs/infra_phxref/vmcluster_vmcluster1/database_inputs
  • To list Data Guard associations for a comma-delimited list of database(s) (ExaDB-D):

    /home/opc>./exacloudmigration list_dg_associations -s ocid1.cloudvmcluster.oc1.phx.anyhq5ftfhjtqccxyzabc -l dbname1,dbname2
  • To list Data Guard associations for a comma-delimited list of database(s) (ExaDB-C@C):

    /home/opc\>./exacloudmigration list\_dg\_associations -s ocid1.vmcluster.oc1.phx.anyhq5ftfhjtqccxyzabc -l dbname1,dbname2