6.10 Troubleshooting
For troubleshooting, review the following logs:
- ZDM Server Logs:
$ZDM_BASE/crsdata//rhp/zdmserver.log.XYZ - ZDM perl logs on source:
$ORACLE_BASE/zdm_<db_unique_name_<zdm job id>/log/ - ZDM perl logs on target:
$ORACLE_BASE/zdm_<db_unique_name_<zdm job id>/log/ - Export log file from the location specified for the entry
DATAPUMPSETTINGS_EXPORTDIRECTORYOBJECT_PATHin the response file - Import log file from the location specified for the entry
DATAPUMPSETTINGS_IMPORTDIRECTORYOBJECT_PATHin the response file
Following are the workflow phases as well as their brief description in order of their execution:
| Phase name | Description |
|---|---|
| ZDM_VALIDATE_TGT | Performs validations at the target |
| ZDM_VALIDATE_SRC | Perform validations at the source |
| ZDM_SETUP_XTTS_SRC | Sets up Zero Downtime Migration helper modules on the source server |
| ZDM_SETUP_XTTS_TGT | Sets up Zero Downtime Migration helper modules on the target server |
| ZDM_VALIDATE_DATAPUMP_SETTINGS_SRC | Validates the export directory object (if applicable), and checks for sufficient space and permission for specified user in the source database to export dumps. |
| ZDM_VALIDATE_DATAPUMP_SETTINGS_TGT | Verifies that the Data Pump import directory object exists. |
| ZDM_VALIDATE_XTTS_SRC | Performs XTTS related validations at the source such as self-containment of tablespaces |
| ZDM_VALIDATE_XTTS_TGT | Performs XTTS related validations at the target such as ensuring tabelspaces names are not in use already which are part of migration |
| ZDM_XTTS_BACKUP_FULL_SRC | Performs full backup of the sourcetablespaces (Initial L0) |
| ZDM_XTTS_BACKUP_INCR_SRC | Second backup of the source tablespaces (First L1) |
| ZDM_XTTS_COPYFILES | Copies files needed to perform restore at target such as source discovery file, transport xml, any TDE wallets. |
| ZDM_XTTS_RESTORE_FULL_TGT | Performs Initial restore of the tablespaces at the target |
| ZDM_XTTS_BACKUP_INCR_RO_SRC | Sets the tablespaces to read only and takes the third & final backup of the tablesapces (Second L1). Additionally RMAN exports the datapump dump of the metadata of tablespaces |
| ZDM_XTTS_COPYFILES_RO | Copies files needed to perform restore at target such as the latest transport xml and TDE wallets to account for any changes to the wallet |
| ZDM_PREPARE_DATAPUMP_SRC | Creates a new directory object for Data Pump, if required. |
| ZDM_PREPARE_DATAPUMP_TGT | Creates a new directory object for Data Pump, if required. |
| ZDM_DATAPUMP_EXPORT_METADATA_SRC | Performs export any additional source meta data other than the tablespace meta data exported by RMAN datapump execution such as Users, PL/SQL, Triggers, and so on. |
| ZDM_TRANSFER_DUMPS_METADATA_SRC | |
| ZDM_DATAPUMP_IMPORT_USER_TGT | Imports Users and Profiles as the first import so that the subsequent tablespace import can succeed |
| ZDM_XTTS_RESTORE_INCR_TGT | Executes RMAN to perform the final restore and import of the tablespace metadata exported by RMAN during ZDM_XTTS_BACKUP_INCR_RO_SRC phase |
| ZDM_DATAPUMP_IMPORT_TGT | Imports any additional metadata other than users, profiles & tablespaces not performed in previous imports |
| ZDM_POST_DATAPUMP_SRC | Removes any Data Pump directory object created by Zero Downtime Migration |
| ZDM_POST_DATAPUMP_TGT | Fixes any invalid objects in the target database. |
| ZDM_REFRESH_MVIEW_TGT | |
| ZDM_POST_ACTIONS | |
| ZDM_CLEANUP_SRC | Performs clean up at the source such as removing helper modules copied during the setup phase |
| ZDM_CLEANUP_TGT | Performs clean up at the target such as removing helper modules copied during the setup phase |
See the Zero Downtime Migration Hybrid Migration Response File Parameters Reference topic for details related to these parameters. The following parameters are applicable for hybrid migration:
MIGRATION_METHOD=OFFLINE_XTTSDATA_TRANSFER_MEDIUM=NFSSOURCEDATABASE_CONNECTIONDETAILS_HOSTSOURCEDATABASE_CONNECTIONDETAILS_PORTSOURCEDATABASE_CONNECTIONDETAILS_SERVICENAMESOURCEDATABASE_ADMINUSERNAMETARGETDATABASE_CONNECTIONDETAILS_HOSTTARGETDATABASE_CONNECTIONDETAILS_PORTTARGETDATABASE_CONNECTIONDETAILS_SERVICENAMETARGETDATABASE_ADMINUSERNAMEDATAPUMPSETTINGS_EXPORTDIRECTORYOBJECT_NAMEDATAPUMPSETTINGS_EXPORTDIRECTORYOBJECT_PATHDATAPUMPSETTINGS_IMPORTDIRECTORYOBJECT_NAMEDATAPUMPSETTINGS_IMPORTDIRECTORYOBJECT_PATHDATAPUMPSETTINGS_DATAPUMPPARAMETERS_EXPORTPARALLELISMDEGREEDATAPUMPSETTINGS_DATAPUMPPARAMETERS_IMPORTPARALLELISMDEGREEDATAPUMPSETTINGS_DATAPUMPPARAMETERS_NOCLUSTER=FALSEDATAPUMPSETTINGS_EXPORTVERSIONDUMPTRANSFERDETAILS_PUBLICREAD=FALSEIGNOREEXPORTERRORSIGNOREIMPORTERRORSRMANSETTINGS_BACKUPTAGRMANSETTINGS_COMPRESSIONALGORITHM=MEDIUMRMANSETTINGS_PUBLICREAD=FALSERMANSETTINGS_RETENTIONWINDOWRMANSETTINGS_SECTIONSIZE=64GRMANSETTINGS_SRCCHANNELS=10RMANSETTINGS_TGTCHANNELS=10SOURCEDATABASE_CONNECTIONDETAILS_BASTIONDETAILS_IDENTITYFILESOURCEDATABASE_CONNECTIONDETAILS_BASTIONDETAILS_IPSOURCEDATABASE_CONNECTIONDETAILS_BASTIONDETAILS_PORTSOURCEDATABASE_CONNECTIONDETAILS_BASTIONDETAILS_REMOTEHOSTIPSOURCEDATABASE_CONNECTIONDETAILS_BASTIONDETAILS_USERNAMESOURCEDATABASE_CONNECTIONDETAILS_PROXYDETAILS_HOSTNAMESOURCEDATABASE_CONNECTIONDETAILS_PROXYDETAILS_PORTSOURCEDATABASE_CONNECTIONDETAILS_PROXYDETAILS_PROTOCOLSOURCEDATABASE_ENVIRONMENT_DBTYPE=ORACLESOURCEDATABASE_ENVIRONMENT_NAME=ORACLETABLESPACEDETAILS_EXCLUDE=TARGETDATABASE_CONNECTIONDETAILS_BASTIONDETAILS_IDENTITYFILETARGETDATABASE_CONNECTIONDETAILS_BASTIONDETAILS_IPTARGETDATABASE_CONNECTIONDETAILS_BASTIONDETAILS_PORTTARGETDATABASE_CONNECTIONDETAILS_BASTIONDETAILS_REMOTEHOSTIPTARGETDATABASE_CONNECTIONDETAILS_BASTIONDETAILS_USERNAMETARGETDATABASE_CONNECTIONDETAILS_PROXYDETAILS_HOSTNAMETARGETDATABASE_CONNECTIONDETAILS_PROXYDETAILS_PORTTARGETDATABASE_CONNECTIONDETAILS_PROXYDETAILS_PROTOCOLTARGETDATABASE_DBTYPEWALLET_DATAPUMPENCRYPTIONWALLET_SOURCEADMINWALLET_TARGETADMINWALLET_TDEKEYSTOREWALLET_TGTTDEKEYSTOREWALLET_USERACTION