Skip to main content
All CollectionsKnowledge BaseEnterprise WorkloadsHow To - Enterprise Workloads
How to enable or disable debug logging for Oracle Direct to Cloud backups and restores

How to enable or disable debug logging for Oracle Direct to Cloud backups and restores

Updated over 2 weeks ago

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

  1. Log in to the Oracle Server.

  2. 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

  3. 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>

  4. 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

  5. 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.yml

  6. Save-Quit the changes.

  7. 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

  1. Login to the Oracle Server.

  2. 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

  3. 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

  4. 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

  5. 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 = 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.yml

  6. Save-Quit the changes.

  7. 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

  1. 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/

  2. System logs from /var/log/syslog.

  3. Job logs of the failed or terminated job.See also

See also

Did this answer your question?