Skip to main content
Druva Documentation

How to enable or disable debug logging for DRaaS

This article applies to:

  • Product edition: Phoenix

Overview

This article describes the procedure to enable and disable debug logging to troubleshoot DRaaS issues.

Enable and disable debug logging for DRaaS

Enable debug logging

  1. Login to the AWS backup Proxy. (Putty).
  2. Open the terminal with admin rights and Stop the Phoenix Agent service using the command:

    /etc/init.d/Phoenix stop
  3. Verify if any Phoenix processes are still running. If any process is still found running, kill the process with the following command:

    ps -ef| grep -i Phoenix
    Kill -9 <process id>

     
  4. Browse to /etc/Phoenix/DR/Phoenix.cfg and take backup of Phoenix.cfg.
  5. Open Phoenix.cfg in VI editor and change value of DEBUGLEVEL = 0 to DEBUGLEVEL = 9.
  6. Save-Quit the changes.
  7. Start Phoenix Agent Client Service and initiate a backup/restore job.

    /etc/init.d/Phoenix start

Disable debug logging

  1. Login to the Phoenix Oracle Backup Store Server.
  2. Open terminal with Admin rights and Stop the Phoenix Agent service using the command:

    /etc/init.d/Phoenix stop
  3. Verify if any Phoenix processes are still running.If any process is still found running, kill the process with the following command:

    ps -ef| grep -i Phoenix
    Kill -9 <process id>
  4. Browse to /etc/Phoenix/DR/Phoenix.cfg and take backup of Phoenix.cfg.
  5. Open Phoenix.cfg in VI editor and change value of DEBUGLEVEL = 9 back to DEBUGLEVEL = 0.
  6. Save-Quit the changes.
  7. Start Phoenix Agent Client Service and initiate a backup/restore job.

    /etc/init.d/Phoenix start

Upload files

After the job finishes or terminates, zip and upload following files to the case:

  • Zip of /var/log/Phoenix from the AWS proxy.
  • System logs from the AWS proxy /var/log/messages.
  • Job logs of the failed or terminated DRaaS job.
  • Output of VMImportChecker script (optional).