Skip to main content

How can we help you?

Druva Documentation

How to enable and disable debug logging for Storage Node

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

  1. Open Services console and stop Druva inSync Storage Node Service.
  2. Open Task Manager and kill all Druva related processes.
  3. Take a backup of inSyncServerStorage.cfg from  C:\ProgramData\Druva\inSyncCloud\inSyncServer4
  4. Open the inSyncServerStorage.cfg file in Notepad.
  5. Look for DEBUGLEVEL flag and change the value from DEBUGLEVEL = 0 to DEBUGLEVEL = 9.
  6. Save the changes.
  7. Start Druva inSync Storage Node Service.

Disable Storage Node on Windows Server

  1. Open Services console and stop Druva Druva inSync Storage Node Service.
  2. Open Task Manager and kill all Druva related processes.
  3. Take a backup of inSyncServerStorage.cfg from  C:\ProgramData\Druva\inSyncCloud\inSyncServer4
  4. Open inSyncServerStorage.cfg file in Notepad.
  5. Look for DEBUGLEVEL flag and change the value from DEBUGLEVEL = 9 to DEBUGLEVEL = 0.
  6. Save the changes.
  7. Start Druva inSync Storage Node Service.

Enable Storage Node on Linux Server

  1. 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
  2. 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>

     
  3. Change directory to /etc/inSyncCloud and back up the inSyncServerStorage.cfg file.
  4. Open inSyncServerStorage.cfg in VI editor and change value of DEBUGLEVEL = 0 to DEBUGLEVEL = 9.
  5. Save and Quit the changes.
  6. 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

  1. 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
  2. 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>

     
  3. Change directory to /etc/inSyncCloud and back up the inSyncServerStorage.cfg file.
  4. Open inSyncServerStorage.cfg in VI editor and change value of DEBUGLEVEL = 9 back to DEBUGLEVEL = 0.
  5. Save and Quit the changes.
  6. Start the storage node service.

    /etc/init.d/inSyncStorageAll start

    On CentOS 7.0 or later:

    systemctl start inSyncStorageAll.service
  • Was this article helpful?