This article applies to:
OS: Windows, Linux
Product edition: On-Premise
Overview
This article describes the procedure to enable and disable debug logging for Storage Node on Windows and Linux serves.
Enable Storage Node on Windows server
Open Services console and stop Druva inSync Storage Node Service.
Open Task Manager and kill all Druva related processes.
Take a backup of inSyncServerStorage.cfg from C:\ProgramData\Druva\inSyncCloud\inSyncServer4
Open the inSyncServerStorage.cfg file in Notepad.
Look for DEBUGLEVEL flag and change the value from DEBUGLEVEL = 0 to DEBUGLEVEL = 9.
Save the changes.
Start Druva inSync Storage Node Service.
Disable Storage Node on Windows Server
Open Services console and stop Druva Druva inSync Storage Node Service.
Open Task Manager and kill all Druva related processes.
Take a backup of inSyncServerStorage.cfg from C:\ProgramData\Druva\inSyncCloud\inSyncServer4
Open inSyncServerStorage.cfg file in Notepad.
Look for DEBUGLEVEL flag and change the value from DEBUGLEVEL = 9 to DEBUGLEVEL = 0.
Save the changes.
Start Druva inSync Storage Node Service.
Enable Storage Node on Linux Server
Start a Putty session of the server with root privileges and stop the storage node service using the command:
/etc/init.d/inSyncStorageAll stop
On CentOS 7.0 or later:
systemctl stop inSyncStorageAll.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/inSyncCloud and back up the inSyncServerStorage.cfg file.
Open inSyncServerStorage.cfg in VI editor and change value of DEBUGLEVEL = 0 to DEBUGLEVEL = 9.
Save and Quit the changes.
Start the storage node service.
/etc/init.d/inSyncStorageAll start
On CentOS 7.0 or later:
systemctl start inSyncStorageAll.service
Disable Storage Node on Linux Server
Start a Putty session of the server with root privileges and stop the storage node service using the command:
/etc/init.d/inSyncStorageAll stop
On CentOS 7.0 or later:
systemctl stop inSyncStorageAll.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/inSyncCloud and back up the inSyncServerStorage.cfg file.
Open inSyncServerStorage.cfg in VI editor and change value of DEBUGLEVEL = 9 back to DEBUGLEVEL = 0.
Save and Quit the changes.
Start the storage node service.
/etc/init.d/inSyncStorageAll start
On CentOS 7.0 or later:
systemctl start inSyncStorageAll.service