raccli reinstate dataguard

Not Oracle Cloud InfrastructureNot Oracle Cloud at Customer This topic does not apply to Oracle Cloud Infrastructure or to Oracle Cloud at Customer.

The reinstate dataguard subcommand of the raccli utility is used to reinstate a failed primary database as a standby database after a failover. Run this subcommand on a compute node of the current primary database.
raccli reinstate dataguard [-dbname database-name]  -passwd database-password

When the reinstate operation completes successfully, the once-primary database is reinstated as a member of the Data Guard configuration in the role of standby database.

Note:

If your database deployment is running Oracle Database 12c Release 2 (12.2) or later, then before you run the raccli reinstate dataguard command you must make sure the database you are reinstating is stopped or is started in MOUNT mode. To start the database in MOUNT mode, enter these commands:

srvctl stop database -d db-unique-name -o abort
srvctl start database -d db-unique-name -o mount

The raccli reinstate dataguard subcommand runs asynchronously. That is, it creates a job to perform the reinstate operation, reports the job ID of the created job, and then exits. To track the progress of the job to its completion, use the raccli describe job command.

If the subcommand fails, it reports a FAILURE status and provides a message describing the reason for the failure.

Options of this subcommand are as follows.

Option Description

-dbname database-name

(Optional) The database unique name of the database that you are reinstating.

-passwd database-password

The password of the database’s SYS user.