How to enable or disable debug logging for Phoenix backup proxy
This article applies to:
- OS: Linux
- Product edition: Phoenix
Overview
This article describes the procedure to enable and disable debug logging for Phoenix backup proxy.
Enable debug logging for Phoenix backup proxy
-
Log in to the Druva Backup proxy with default username root and password.
-
Ensure there are no jobs running.
-
Stop the Phoenix Agent service on the backup proxy using the command:
/etc/init.d/Phoenix stop -
Verify if any Phoenix processes are still running.
ps -ef | grep -i Phoenix -
If any process is still found running, kill the process with the following command:
Kill -9 <process id> -
Goto to the below path
cd /etc/Phoenix/VMWARE
-
Edit Phoenix.cfg file using vi editor using below command:
vi Phoenix.cfg
Type ‘ i ‘ to activate insert mode
Change the value of DEBUGLEVEL from 0 to 9.
Type esc key followed by :wq to save and exit file.
-
Verify if value of Debug Level has changed to 9 using below command
cat Phoenix.cfg
-
Now, navigate to path using below command
cd /etc/Phoenix
-
Edit the vddk.cfg using below command
vi vddk.cfg
Type ‘ i ‘ to activate insert mode
Since the file is blank, enter the following details.
vixDiskLib.transport.LogLevel=6
vixDiskLib.nfc.LogLevel=4
Type esc key followed by :wq to save and exit file.
-
Verify the vddk.cfg using below command
cat vddk.cfg
-
Start the Phoenix Agent service on the backup proxy as follows:
/etc/init.d/Phoenix start -
Recreate the issue.
-
Provide the following directory to Druva technical support.
/var/log/Phoenix
/tmp/vmware-root
These steps will enable debug mode logging for Phoenix backup proxy.
Disable debug logging for Phoenix backup proxy
-
Log in to the Druva Backup proxy with default username root and password.
-
Ensure there are no jobs running.
-
Stop the Phoenix Agent service on the backup proxy using the command:
/etc/init.d/Phoenix stop
-
Verify if any Phoenix processes are still running.
ps -ef| grep -i Phoenix
-
If any process is still found running, kill the process with the following command:
Kill -9 <process id>
-
Now cd /etc/Phoenix/VMWARE
-
Edit Phoenix.cfg file using vi editor using below command:
vi Phoenix.cfg
Type ‘ i ‘ to activate insert mode
Change the value of DEBUGLEVEL from 9 to 0.
Type esc key followed by :wq to save and exit file.
-
Verify if value of Debug Level has changed to 0 using below command
cat Phoenix.cfg
-
Now, navigate to path using below command
cd /etc/Phoenix
-
Edit the VDDK.cfg using below command
vi vddk.cfg
Type ‘ i ‘ to activate insert mode
Remove the below following details.
vixDiskLib.transport.LogLevel=6
vixDiskLib.nfc.LogLevel=4
Type esc key followed by :wq to save and exit file.
-
Verify the vddk.cfg using below command
cat vddk.cfg
-
Start the Phoenix Agent service on the backup proxy as follows:
/etc/init.d/Phoenix start
-
These steps will disable debug mode logging for Phoenix backup proxy.