Migrate the Data
Run the migrate database command with the -eval
flag to
validate the migration components and output. When the precheck completes successfully, use
the same command without the -eval
flag to begin migrating to the
cloud.
Perform a Precheck
Run a precheck to validate the migration process components and evaluate the output to determine if adjustments are needed.
-eval
option as
many times as needed before running the actual migration job.
Migrate the Data with the ZDM Service
Run the migration command to begin the data migration. The command and
parameters are the same as the precheck, without the -eval
flag.
Troubleshoot the Migration
If your migration job encounters an error, refer to the migration job output logs, Zero Downtime Migration service logs, and server-specific operational phase logs present at the respective source or target database servers.
If the migration job encounters an exception, then the logs can provide some indication of the nature of the fault. The logs for the migration procedures executed in the source and target environments are stored on the servers in the respective source and target environments. The log file location is included in the migration output and in the output when you query a job status.
The following table lists the migration phases and the description for each phase name.
Phase Name | Description |
---|---|
ZDM_GET_SRC_INFO | Discover information about the source database |
ZDM_GET_TGT_INFO | Discover information about the target database |
ZDM_SETUP_SRC | Setup ZDM helper modules on the source server |
ZDM_SETUP_TGT | Setup ZDM helper modules on the target server |
ZDM_PREUSERACTIONS | Execute migration pre-user actions, if any, at the source |
ZDM_PREUSERACTIONS_TGT | Execute migration pre-user actions, 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 Oracle Recovery Manager (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 Oracle Data Guard |
ZDM_COPYFILES | Copy Oracle password file and Transparent Data Encryption (TDE) wallets from source to target |
ZDM_OSS_STANDBY_SETUP_TDE_TGT | Copy TDE wallet files from the source to the target keystone location |
ZDM_PREPARE_TGT | Prepare target for Oracle Data Guard standby creation |
ZDM_CLONE_TGT | Create Oracle Data Guard standby from the cloud backup |
ZDM_FINALIZE_TGT | Finalize Oracle 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 user actions at the source |
ZDM_POSTUSERACTIONS_TGT | Perform any post migration user actions at the target |
ZDM_CLEANUP_SRC | Perform cleanup at the source |
ZDM_CLEANUP_TGT | Perform cleanup at the target |
ZDM_POSTUSERACTIONS_TGT | Perform any post migration user actions at the target |
For more information about troubleshooting Zero Downtime Migration and known issues in the current release, see the Zero Downtime Migration Release Notes.