Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

After some time, the standby database gets created:

...

Register Standby Database to Oracle Clusterware

It is advised to create database clusterware resource to let it to start the database automatically.

Code Block
srvctl add database -db TEST01_492_IAD -dbname TEST01 -instance TEST01 -dbtype "SINGLE" -diskgroup "DATA,RECO" -domain "sub06141618210.vcnoci2oci.oraclevcn.comoci2oci.lab" -node "machine2" -oraclehome "/u01/app/oracle/product/19.0.0.0/dbhome_1" -pwfile "+DATA/TEST01_492_IAD/password/pwdtest01_492_iad.277.1172143349" -spfile "+DATA/TEST01_492_IAD/parameterfile/spfileTEST01.ora" -startoption "MOUNT" -stopoption "ABORT" 
Info

Dbvisit creates Clusterware resource withouth parameter -instance with the srvctl command. If it is not specified, Oracle by default fills the instance name by db_unique_name parameter without underscore, which leads to missmatch of instance name and Dbvisit database name parameters.