This article applies to:
Product edition: inSync On-Premise
Overview
This article provides the steps to enable and disable debug logging for Storage Node on Windows and Linux.
Enable debug logging for Storage Node
On Windows server:
Open the Services console and stop Druva inSync Edge Server service.
Open Task Manager and kill all Druva related processes.
Back up inSyncEdgeServer.cfg from C:\ProgramData\Druva\inSyncEdgeServer.
Open inSyncEdgeServer.cfg file using Notepad.
Look for DEBUGLEVEL flag and change the value from DEBUGLEVEL = 0 to DEBUGLEVEL = 9.
Save the changes.
Start Druva inSync Edge Server Service.
On Linux server:
Take a Putty session of the server with root privileges and Stop the Edge server service using the command:
/etc/init.d/inSyncEdgeAll stop
If you are running CentOS 7.0 or later then run the below command:
systemctl stop inSyncEdgeAll.service
Verify if any inSync processes are still running. If any process is still found running, kill the process with the following command:
ps -ef | grep -i inSync Kill -9 <process id>
Change directory to /etc/inSyncEdgeServer and take backup of inSyncEdgeServer.cfg file.
Open inSyncEdgeServer.cfg in VI editor and change value of DEBUGLEVEL = 0 to DEBUGLEVEL = 9.
Save and Quit the changes.
Start the Edge server service.
/etc/init.d/inSyncEdgeAll start
On CentOS 7.0 or later, run the below command:
systemctl start inSyncEdgeAll.service
Disable debug on inSync Edge Server
On Windows server:
Open the Services console and stop Druva inSync Edge Server service.
Open Task Manager and kill all Druva related processes.
Back up inSyncEdgeServer.cfg from C:\ProgramData\Druva\inSyncEdgeServer.
Open inSyncEdgeServer.cfg file using Notepad.
Look for DEBUGLEVEL flag and change the value from DEBUGLEVEL = 9 to DEBUGLEVEL = 0.
Save the changes.
Start Druva inSync Edge Server service.
On Linux server:
Take a Putty session of the server with root privileges and stop the Edge server service using the command:
/etc/init.d/inSyncEdgeAll stop
If you are running CentOS 7.0 or later then run the below command:
systemctl stop inSyncEdgeAll.service
Verify if any inSync processes are still running. If any process is still found running, kill the process with the following command:
ps -ef | grep -i inSync Kill -9 <process id>
Change directory to /etc/inSyncEdgeServer and take backup of inSyncEdgeServer.cfg file.
Open inSyncEdgeServer.cfg in VI editor and change value of DEBUGLEVEL = 9 back to DEBUGLEVEL = 0.
Save and Quit the changes.
Start the Edge server service.
/etc/init.d/inSyncEdgeAll start
If you are running CentOS 7.0 or later then run the below command:
systemctl start inSyncEdgeAll.service