Skip to main content
Enable and disable debug logging for backup proxy for Nutanix AHV
Updated over 3 weeks ago

Enterprise Workloads Editions: ✅ Business | ✅ Enterprise | ✅ Elite

To enable debug logging for backup proxy

For Agent Version 6.x.x:

  1. Stop the agent service on the backup proxy. Run the following command:
    service Phoenix stop

  2. Verify if any Druva Phoenix processes are still running. Run the following command:
    ps -ef| grep -i Phoenix

  3. If any process is still found running, kill the process. Run the following command:
    Kill -9 <process id>

  4. Go to /etc/Phoenix/AHV and edit Phoenix.cfg file using vi editor.

  5. Change the value of DEBUGLEVEL from 0 to 9.

  6. To enable the photon log filter, ensure the value PHOTON_LOG_FILTER; info,syncer=debug is present. The default value is info.

  7. Save the configuration file.

  8. Restart the Phoenix agent service.
    service Phoenix start

For Agent Version 7.x.x:

  1. Stop the agent service on the backup proxy. Run the following command:

    ​service Druva-EnterpriseWorkloads stop

  2. Verify if any Druva processes are still running. Run the following command:​

    ​ps -ef| grep -i druva

  3. If any process is still found running, kill the process. Run the following command:

    ​Kill -9 <process id>

  4. Go to /etc/Druva/EnterpriseWorkloads/AHV and edit Config.yaml file using vi editor.

  5. Change the value of DEBUGLEVEL from 0 to 9.

  6. To enable the photon log filter, ensure the value PHOTON_LOG_FILTER; info,syncer=debug is present. The default value is info.

  7. Save the configuration file.

  8. Restart the Enterprise Workloads agent service.
    service Druva-EnterpriseWorkloads start

Debug mode for logging is enabled for Nutanix AHV backup proxy.

To disable debug logging for backup proxy

For Agent Version 6.x.x:

  1. Stop the Phoenix agent service on the backup proxy using the command:
    service Phoenix stop

  2. Verify if any Druva Phoenix processes are still running.
    ps -ef| grep -i Phoenix

  3. If any process is still found running, kill the process with the following command:
    Kill -9 <process id>

  4. Go to /etc/Phoenix/AHV and edit the Phoenix.cfg file using the vi editor.

  5. Change the value ofDEBUGLEVELfrom 9 to 0.

  6. To enable the photon log filter, ensure the value PHOTON_LOG_FILTER; info,syncer=debug is present. The default value is info.

  7. Save the configuration file.

  8. Restart the Phoenix agent service using the command:
    service Phoenix start

For Agent Version 7.x.x:

  1. Stop the agent service on the backup proxy. Run the following command:

    ​service Druva-EnterpriseWorkloads stop

  2. Verify if any Druva processes are still running. Run the following command:​

    ​ps -ef| grep -i druva

  3. If any process is still found running, kill the process. Run the following command:

    ​Kill -9 <process id>

  4. Go to /etc/Druva/EnterpriseWorkloads/AHV and edit Config.yaml file using vi editor.

  5. Change the value of DEBUGLEVEL from 9 to 0.

  6. To enable the photon log filter, ensure the value PHOTON_LOG_FILTER; info,syncer=debug is present. The default value is info.

  7. Save the configuration file.

  8. Restart the Enterprise Workloads agent service.
    service Druva-EnterpriseWorkloads start

Did this answer your question?