ODA/KVM register dataguard

The command register-dataguard will register an existing DG configuration.

As a prereq, the configuration must be functional and the TNS alias must be defined in the tnsnames.ora (IFILE are not supported). Also, the case of all objects (db name, dbunique name, configuration name) must match between DG and the DG metadata.

# odacli register-dataguard
Standby site address: odapdbc01
BUI username for Standby site (default: oda-admin): 
BUI password for Standby site: 
root@odapdbc01's password: 
Database name for Data Guard configuration: emdev
Primary database SYS password: 
*******************************************************************************************
Data Guard default settings
Primary site network for Data Guard configuration: Public-network
Standby site network for Data Guard configuration: Public-network
Primary database listener port (TCP): 1521
Standby database listener port (TCP): 1521
Transport type: ASYNC
Protection mode: MAX_PERFORMANCE
Data Guard configuration name: emdevu_emdevp
Does the above Data Guard configuration match your actual configuration? (Y/N, default:N): Y
*******************************************************************************************
Register Data Guard emdevu_emdevp started
*******************************************************************************************
Step 1: Validate register Data Guard configuration request (Primary site)
Description: Validate DG Config Creation for db emdev
Job ID: 3bc75fd7-997b-4fbc-afbd-98ebd0d3e8e5
Started August 31, 2023 17:24:43 PM IST
Validate if database ID exists
Validate if dg config name exists
Create auto login wallet for remote db
Set Sqlnet and TNS for remote db
Validate database role
Validate if database is configured with Data Guard already
Validate tnsnames.ora
Validate database connection
Validate if data guard in good status
Precheck switchover DataGuard
Validate if input matches DGMGRL output
Validate if flashback enabled
Remove auto login wallet
Finished August 31, 2023 17:25:21 PM IST
*******************************************************************************************
Step 2: Validate register Data Guard configuration request (Standby site)
Description: Validate DG Config Creation for db emdev
Job ID: e990bd93-c73a-454d-85f4-5cf412b77235
Started August 31, 2023 17:25:24 PM IST
Validate if database ID exists
Validate if dg config name exists
Create auto login wallet for remote db
Set Sqlnet and TNS for remote db
Validate database role
Validate if database is configured with Data Guard already
Validate tnsnames.ora
Validate database connection
Validate if data guard in good status
Validate if input matches DGMGRL output
Validate if flashback enabled
Remove auto login wallet
Finished August 31, 2023 17:25:38 PM IST
*******************************************************************************************
Step 3: Create Data Guard status (Primary site)
Description: DG Status operation for db emdev - RegisterDg
Job ID: c20fa5c3-0d7d-40cf-b6cd-3bcc8054d40a
Started August 31, 2023 17:25:39 PM IST
Create Data Guard status
Finished August 31, 2023 17:25:46 PM IST
*******************************************************************************************
Step 4: Create Data Guard status (Standby site)
Description: DG Status operation for db emdev - RegisterDg
Job ID: 36ae09c2-5904-4fe9-b4d7-7ce415863be3
Started August 31, 2023 17:25:47 PM IST
Create Data Guard status
Finished August 31, 2023 17:25:57 PM IST
*******************************************************************************************
Register Data Guard emdevu_emdevp completed
*******************************************************************************************