Reinstate standby

Makes disabled standby database as standby database.

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

The reinstate command supports the following options:

Syntax

exacloudmigration reinstate [-ahV] -i <inputFile> [-w <walletFile>] [-a|-l <dbNames>] [--dry-run]

Table 2-31 exacloudmigration reinstate Commands

Command Description
-a, --all Performs reinstate for all databases in the source VM cluster.
-i, --inputFile Specifies the database input file name with complete path.
-l, --dbNames Specifies a comma-delimited list of databases to perform reinstate.

Examples:

  • To perform reinstate for a database: -l dbname1
  • To perform reinstate for multiple databases: -l dbname1,dbname2,dbname3
-w, --walletFile Specifies the wallet file name with the path.
--dry-run Performs dry run without reinstate of Data Guard associations.
-h, --help Displays help information about the command and its options.
-V, --version Displays the version of the utility.

Examples:

  • To validate the database input template file and perform a --dry-run:
    /home/opc>./exacloudmigration reinstate -a -i inputs/infra_phxref/vmcluster_vmcluster1/database_inputs -w ewallet.p12 --dry-run

    Specify the password for reading the wallet file.

  • To validate a comma-delimited list of dbnames to verify the database input template file and perform a --dry-run:
    /home/opc>./exacloudmigration reinstate -i inputs/infra_phxref/vmcluster_vmcluster1/database_inputs -w ewallet.p12 -l dbname1,dbname2 --dry-run

    Specify the password for reading the wallet file.

  • To perform reinstate for all databases, following successful validation and dry run:
    /home/opc>./exacloudmigration reinstate -a -i inputs/infra_phxref/vmcluster_vmcluster1/database_inputs -w ewallet.p12

    Specify the password for reading the wallet file.

  • To perform reinstate using the comma-delimited list of database(s), following successful validation and dry run:
    /home/opc>./exacloudmigration reinstate -i inputs/infra_phxref/vmcluster_vmcluster1/database_inputs -w ewallet.p12 -l dbname1,dbname2

    Specify the password for reading the wallet file.

Note:

  • If the database wallet file is not used, the command prompts for the SYS password for each database.
  • If the database wallet file is used, but a password entry for any database is missing, the utility stops execution and displays an error indicating that the password does not exist in the wallet.