C Zero Downtime Migration Process Phases

The migration job process in Zero Downtime Migration runs in operational phases as a workflow.

Example C-1 Listing Zero Downtime Migration Process Phases

Run the ZDMCLI migrate database command with the listphases option to list the operational phases for your migration job, as shown here.

zdmuser> cd /u01/app/oracle/zdm/grid/bin
zdmuser> ./zdmcli migrate database -sourcedb zdmsdb -sourcenode ocic31 -srcauth zdmauth
 -srcarg1 user:opc -srcarg2 identity_file:/home/oracle/.ssh/zdm_service_node.ppk -srcarg3 sudo_location:/usr/bin/sudo
 -targetnode rptest
-targethome /u01/app/oracle/product/12.2.0.1/dbhome_1
-backupuser backup_user@example.com -rsp /u01/zdm_template_zdmsdb.rsp
-tgtauth zdmauth -tgtarg1 user:opc
-tgtarg2 identity_file:/home/oracle/.ssh/zdm_service_node.ppk
-tgtarg3 sudo_location:/usr/bin/sudo -listphases

Table C-1 Zero Downtime Migration Process Phase Descriptions

Phase name Description
ZDM_GET_SRC_INFO Get information about the source database
ZDM_GET_TGT_INFO Get information about the target database
ZDM_SETUP_SRC Set up Zero Downtime Migration helper modules on the source server
ZDM_SETUP_TGT Set up Zero Downtime Migration helper modules on the target server
ZDM_PREUSERACTIONS Run migration pre-useractions, if any, at the source
ZDM_PREUSERACTIONS_TGT Run migration pre-useractions, if any, at the target
ZDM_OBC_INST_SRC Install Oracle Database Cloud Backup Module at the source
ZDM_OBC_INST_TGT Install Oracle Database Cloud Backup Module at the target
ZDM_GEN_RMAN_PASSWD Generate random password for encrypting RMAN backup
ZDM_BACKUP_FULL_SRC Perform full backup of the source database
ZDM_BACKUP_INCREMENTAL_SRC Perform incremental backup of the source database
ZDM_VALIDATE_SRC Perform validations at the source
ZDM_VALIDATE_TGT Perform validations at the target
ZDM_DISCOVER_SRC Perform database discovery at the source for setting up Data Guard
ZDM_COPYFILES Copy Oracle password file and TDE wallets from source to target
ZDM_OSS_STANDBY_SETUP_TDE_TGT Copy TDE wallet files from the source to the target keystore location
ZDM_PREPARE_TGT Prepare target for Data Guard standby creation
ZDM_CLONE_TGT Create Data Guard standby from the Cloud backup
ZDM_FINALIZE_TGT Finalize Data Guard standby preparation of the target
ZDM_CONFIGURE_DG_SRC Register the Cloud standby with the source
ZDM_SWITCHOVER_SRC Initiate switchover actions at the source
ZDM_SWITCHOVER_TGT Complete switchover actions at the target
ZDM_POSTUSERACTIONS Perform any post-migration useractions at the source
ZDM_POSTUSERACTIONS_TGT Perform any post-migration useractions at the target
ZDM_CLEANUP_SRC Perform clean up at the source
ZDM_CLEANUP_TGT Perform clean up at the target