Overview
This article describes the procedure to enable or disable debug logging for Oracle Direct to Cloud backups and restores.
Enable and disable debug logging for Oracle Direct to Cloud
Enable debug logging
Log in to the Oracle Server.
Open the terminal with Admin rights and Stop the Phoenix Agent service using the command:
Agent Version 6.x.x:/etc/init.d/PhoenixOracle stop
Agent Version 7.x.x:service Druva-EnterpriseWorkloads stop
Verify if any Phoenix processes are still running. If any process is still found running, kill the process with the following command:
Agent Version 6.x.x:ps -ef | grep -i PhoenixOracle
Agent Version 7.x.x:ps -ef | grep -i EnterpriseWorkloads
Kill -9 <process id>Take a backup of the Configuration File
Agent Version 6.x.x: Browse to /etc/Phoenix/ORACLE/
and take backup of Phoenix.cfg.
Agent Version 7.x.x: Take the backup of the following 2 yml files:
/etc/Druva/EnterpriseWorkloads/oracle/OraclePlugin.yml
/etc/Druva/EnterpriseWorkloads/Config.yml
Open the file in VI editor and change the debug value from 0 to 9
Agent Version 6.x.x: Open Phoenix.cfg in VI editor and change value of DEBUGLEVEL = 0 to DEBUGLEVEL = 9.
Agent Version 7.x.x: Set debug_level to 9 in the following 2 yml files.
/etc/Druva/EnterpriseWorkloads/oracle/OraclePlugin.yml
/etc/Druva/EnterpriseWorkloads/Config.ymlSave-Quit the changes.
Start Phoenix Agent Client Service and initiate a backup/restore job.
Agent Version 6.x.x: /etc/init.d/PhoenixBackupStore start
Agent Version 7.x.x: service Druva-EnterpriseWorkloads start
Disable debug logging
Login to the Oracle Server.
Open terminal with Admin rights and Stop the Phoenix Agent service using the command:
Agent Version 6.x.x:/etc/init.d/PhoenixOracle stop
Agent Version 7.x.x:service Druva-EnterpriseWorkloads stop
Verify if any Phoenix processes are still running. If any process is still found running, kill the process with the following command:
Agent Version 6.x.x:ps -ef | grep -i PhoenixOracle
Agent Version 7.x.x:ps -ef | grep -i EnterpriseWorkloads
Take a backup of the Configuration File
Agent Version 6.x.x: Browse to /etc/Phoenix/ORACLE/ and take backup of Phoenix.cfg.
Agent Version 7.x.x: Take the backup of the following 2 yml files:
/etc/Druva/EnterpriseWorkloads/oracle/OraclePlugin.yml
/etc/Druva/EnterpriseWorkloads/Config.ymlOpen the file in VI editor and change the debug value from 0 to 9
Agent Version 6.x.x: Open Phoenix.cfg in VI editor and change value of DEBUGLEVEL = 9 to DEBUGLEVEL = 0.
Agent Version 7.x.x: Set debug_level to 0 in the following 2 yml files.
/etc/Druva/EnterpriseWorkloads/oracle/OraclePlugin.yml
/etc/Druva/EnterpriseWorkloads/Config.ymlSave-Quit the changes.
Start Agent Client Service and initiate a backup/restore job.
Agent Version 6.x.x: /etc/init.d/PhoenixBackupStore start
Agent Version 7.x.x: service Druva-EnterpriseWorkloads start
Upload logs
After the job completes or terminates, zip and upload the following files to the case:
Agent Version 6.x.x: Zip of /var/log/PhoenixOracle and /var/log/Phoenix/crashdumps
Agent Version 7.x.x: Zip of /var/log/Druva/EnterpriseWorkloads/System logs from /var/log/syslog.
Job logs of the failed or terminated job.See also