Review the logs
If you encounter any issues during the migration process, review the logs in the following order:
- Check the job status:
Run the following command to view the current status and details of the job:
/home/opc> exacloudmigration get_job_status -i <job number>For example:/home/opc> exacloudmigration get_job_status -i 1 - Locate and review the main utility log file for the job:
/home/opc> ./exacloudmigration_data/logs/job_<jobid>_main.logFor example:/home/opc/exacloudmigration_data/logs/job_1_main.log - Refer to the Known Issues section.
If the issue is not listed or remains unresolved, proceed to the next step.
- From the utility log file (for example,
/home/opc/exacloudmigration_data/logs/job_1_main.log), locate the Work Request ID entry.For example:
Work request ID: ocid1.coreservicesworkrequest.region1.sea.abzwkljsbsmatss5hee5nftkft2ex4dalerypxsdquw6mvzs222clls44ozq - Review the Work Request in One View.
- Review DBaaS logs (for Data Guard failures)
If the failure occurred during Data Guard operations such as
dgassociation,switchover, orfailover, collect and review DBaaS diagnostic logs for one hour before and after the issue:dbaascli diag collect --startTime YYYY-MM-DDTHH24:MM:SS --endTime YYYY-MM-DDTHH24:MM:SS --dbNames <value> --waitForCompletion falseIf you need to collect logs for multiple databases, specify a comma-separated list for the
--dbNamesparameter.For example:
--dbNames db1,db2,db3
Parent topic: Logging and Troubleshooting