Knowledgebase: Solar Vault
How to start SolarVault Pro / SolarVault Lite in debug mode?
Posted by Support on 23 January 2014 05:55 PM

Product Version:
SolarVault Lite / SolarVault Pro: All

OS: All platforms

Description:

How to start SolarVault Pro / SolarVault Lite in debug mode?

Steps:

This document contains the information of how to start SolarVault Pro / SolarVault Lite in debug mode.

Table of Contents:
 



Instruction for SolarVault Pro -


Note:
Debug mode is only available for SolarVault Lite version after 5.5.1.0.



For SolarVault Lite / SolarVault Pro version 6.7.0.0 or above - Windows / Mac OS X:
You can start the client agent in debug mode by editing the RunOBC batch / script file and afc.opt files, located in the installation home and installation home bin folder -

${Install-Home}\bin\RunOBC.bat       or        ${Install-Home}/bin/RunOBC.sh
${Install-Home}\afc.opt


  1. Open the RunOBC.bat / RunOBC.sh file with a text editor:

    RunOBC:

    ------------------------------------------------------------------  DEBUG_MODE  -----------------------------------------------------------------
    Enable/Disable debug mode
     e.g. SET DEBUG_MODE="--debug"
       or  SET DEBUG_MODE=""
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    SET DEBUG_MODE=""


  2. Edit the 'DEBUG_MODE' parameter by adding the option '--debug', similar to the example as follows:

    RunOBC (Updated):

    ------------------------------------------------------------------  DEBUG_MODE  -----------------------------------------------------------------
    Enable/Disable debug mode
     e.g. SET DEBUG_MODE="--debug"
       or  SET DEBUG_MODE=""
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    SET DEBUG_MODE="--debug"


  3. Save all changes afterward.

  4. Execute the RunOBC.bat / RunOBC.sh file in command prompt or terminal.




For SolarVault Lite / SolarVault Pro version 5.5.1.0 - 6.5.x.x - Windows / Mac OS X:
You can start the client agent in debug mode by editing the RunOBC batch or script file, located in the installation home bin folder -

${Install-Home}\bin\RunOBC.bat       or        ${Install-Home}/bin/RunOBC.sh


  1. Open the RunOBC.bat / RunOBC.sh file with a text editor:

    RunOBC.bat or RunOBC.sh:

    ------------------------------------------------------------------  DEBUG_MODE  -----------------------------------------------------------------
    Enable/Disable debug mode
     e.g. SET DEBUG_MODE="--debug"
       or  SET DEBUG_MODE=""
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    SET DEBUG_MODE=""


  2. Edit the 'DEBUG_MODE' parameter by adding the option '--debug', similar to the example as follows:

    RunOBC.bat or RunOBC.sh (Updated):

    ------------------------------------------------------------------  DEBUG_MODE  -----------------------------------------------------------------
    Enable/Disable debug mode
     e.g. SET DEBUG_MODE="--debug"
       or  SET DEBUG_MODE=""
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
     SET DEBUG_MODE="--debug"


  3. Save the changes afterward.

  4. Execute the RunOBC.bat / RunOBC.sh file in command prompt or terminal.




For SolarVault Pro version 6.7.0.0 or above - Linux:
You can start the client agent in debug mode by editing the RunBackupSet.sh file and afc.opt files, located in the installation home and installation home bin folder -

${Install-Home}/bin/RunBackupSet.sh
${Install-Home}/afc.opt


  1. Open the RunBackupSet.sh file with a text editor:

    RunBackupSet.sh:

    ------------------------------------------------------------------  DEBUG_MODE  -----------------------------------------------------------------
    Set Debug mode.
    Options available: DEBUG/NO-DEBUG
     e.g. SET DEBUG_MODE="DEBUG"
        or  SET DEBUG_MODE="NO-DEBUG"
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    DEBUG_MODE="NO-DEBUG"


  2. Edit the DEBUG_MODE parameter by changing 'NO-DEBUG' to 'DEBUG', similar to the example as follows:

    RunBackupSet.sh (Updated):

    ------------------------------------------------------------------  DEBUG_MODE  -----------------------------------------------------------------
    Set Debug mode.
    Options available: DEBUG/NO-DEBUG
     e.g. SET DEBUG_MODE="DEBUG"
        or  SET DEBUG_MODE="NO-DEBUG"
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    DEBUG_MODE="DEBUG"


  3. Save all changes afterward.

  4. Execute the RunOBC.bat / RunOBC.sh file in command prompt or terminal.




For SolarVault Pro version 5.5.1.0 - 6.5.x.x - Linux:
You can start the client agent in debug mode by editing the RunBackupSet.sh script file, located in the installation home bin folder -

${Install-Home}/bin/RunBackupSet.sh


  1. Open the RunBackupSet.sh file with a text editor:

    RunBackupSet.sh:

    ------------------------------------------------------------------  DEBUG_MODE  -----------------------------------------------------------------
    Set Debug mode.
    Options available: DEBUG/NO-DEBUG
     e.g. SET DEBUG_MODE="DEBUG"
        or  SET DEBUG_MODE="NO-DEBUG"
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    DEBUG_MODE="NO-DEBUG"


  2. Edit the DEBUG_MODE parameter by changing 'NO-DEBUG' to 'DEBUG', similar to the example as follows:

    RunBackupSet.sh (Updated):

    ------------------------------------------------------------------  DEBUG_MODE  -----------------------------------------------------------------
    Set Debug mode.
    Options available: DEBUG/NO-DEBUG
     e.g. SET DEBUG_MODE="DEBUG"
        or  SET DEBUG_MODE="NO-DEBUG"
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    DEBUG_MODE="DEBUG"


  3. Save the changes afterward.

  4. Execute the RunBackupSet.sh file in shell.




For SolarVault Pro version 5.2.x installation on Windows / Mac OS X:
You can start the client agent in debug mode by editing the RunOBM batch or script file, located in the installation home bin folder -

${Install-Home}\bin\RunOBM.bat       or        ${Install-Home}/bin/RunOBM.sh


  1. Open the RunOBM.bat / RunOBM.sh file with a text editor:

    RunOBM.bat:

     ...
    %JAVA_EXE% %JAVA_LIB_PATH% %CLASSPATH% %JAVA_OPTS% obm %SolarVault Pro_HOME%
    CONFIG_HOME%
    pause
     ...

    RunOBM.sh:

    ------------------------------------------------------------------  DEBUG_MODE  -----------------------------------------------------------------
    Set the debug mode. Options available: [ --debug | {EMPTY} ]
     e.g. DEBUG_MODE=--debug
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    DEBUG_MODE=


  2. For RunSolarVault Pro.bat, edit the %JAVA_EXE% parameters similar to the example as follows:

    RunOBM.bat (Updated):

     ...
    %JAVA_EXE% %JAVA_LIB_PATH% %CLASSPATH% %JAVA_OPTS% obm --debug %
    SolarVault Pro_HOME% %CONFIG_HOME% > c:\debug.log
    pause
     ...


    For RunOBM.sh, edit the DEBUG_MODE parameter by adding the option '--debug', similar to the example as follows:

    RunOBM.sh (Updated):

    ------------------------------------------------------------------  DEBUG_MODE  -----------------------------------------------------------------
    Set the debug mode. Options available: [ --debug | {EMPTY} ]
     e.g. DEBUG_MODE=--debug
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    DEBUG_MODE=--debug


  3. Save the changes afterward, then execute the RunSolarVault Pro.bat / RunSolarVault Pro.sh file.




For SolarVault Pro version 5.2.x installation on Linux:
You can start the client agent in debug mode by editing the RunBackupSet.sh script file, located in the installation home bin folder -

${Install-Home}/bin/RunBackupSet.sh


  1. Open the RunBackupSet.sh file with a text editor:

    RunBackupSet.sh:

    ------------------------------------------------------------------  DEBUG_MODE  -----------------------------------------------------------------
    Set Debug mode.
    Options available: DEBUG/NO-DEBUG
     e.g. SET DEBUG_MODE="DEBUG"
        or  SET DEBUG_MODE="NO-DEBUG"
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    DEBUG_MODE="NO-DEBUG"


  2. Please amend the DEBUG_MODE line by changing "NO-DEBUG" to "DEBUG", so the line will appear similar to the example as follows:

    RunBackupSet.sh (Updated):

    ------------------------------------------------------------------  DEBUG_MODE  -----------------------------------------------------------------
    Set Debug mode.
    Options available: DEBUG/NO-DEBUG
     e.g. SET DEBUG_MODE="DEBUG"
        or  SET DEBUG_MODE="NO-DEBUG"
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    DEBUG_MODE="DEBUG"


  3. Save the changes afterward, then execute the RunBackupSet.sh file.