D Zero Downtime Migration Process Phases
The migration job process in Zero Downtime Migration runs in operational phases as a workflow.
Example D-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> $ZDM_HOME/bin/zdmcli migrate database -sourcedb zdmsdb
-sourcenode ocicdb1 -srcauth zdmauth -srcarg1 user:opc
-srcarg2 identity_file:/home/zdmuser/.ssh/zdm_service_host.ppk
-srcarg3 sudo_location:/usr/bin/sudo -targetnode ocidb1
-backupuser backup_user@example.com
-rsp /u01/app/zdmhome/rhp/zdm/template/zdm_template_zdmsdb.rsp
-tgtauth zdmauth -tgtarg1 user:opc
-tgtarg2 identity_file:/home/zdmuser/.ssh/zdm_service_host.ppk
-tgtarg3 sudo_location:/usr/bin/sudo -listphases
Table D-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_VALIDATE_SRC | Perform validations at the source |
ZDM_VALIDATE_TGT | Perform validations 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_BACKUP_FULL_SRC | Perform full backup of the source database |
ZDM_BACKUP_INCREMENTAL_SRC | Perform incremental backup of the source database |
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_SETUP_TDE_TGT | Copy TDE wallet files from the source to the target keystore location |
ZDM_OSS_RESTORE_TGT | Perform full database restore |
ZDM_BACKUP_DIFFERENTIAL_SRC | Perform differential backup of the source database |
ZDM_OSS_RECOVER_TGT | Peform incremental restore, recovery database, and opens database with reset logs |
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_POST_DATABASE_OPEN_TGT | Perform activities after database is opened, such as restore pluggable database state, DBA directories, RMAN configuration |
ZDM_DATAPATCH_TGT | Runs datapatch at the target |
ZDM_SHUTDOWN_SRC | Shuts down source database at the end of the migration |
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 |