Forum Discussion

msouilhi's avatar
msouilhi
Level 3
2 years ago

Check if LDFs is generated

 

Spoiler
 

hello all, 
where could i check  whether or not log data files (LDFs) are generated and created under /var/VRTSvcs/ldf
i know that  VCS_ENABLE_LDF If set to 1, LDFs are generated. If set to 0, they are not, but i am not able to check where this configuration could exist

I am not able to find it and the hamsg utility displays the contents of a specified log data file without precising if  VCS_ENABLE_LDF is set or not

 

    • msouilhi's avatar
      msouilhi
      Level 3

      my question was where i can find the VCS_ENABLE_LDF variable to check if it's set 1 or 0

      • frankgfan's avatar
        frankgfan
        Moderator

        Defining VCS environment variables

        VCS environment variables can be defined in the file vcsenv, which is located at the path
        /opt/VRTSvcs/bin/.  These variables are set for VCS when the hastart command is run.

        To set a variable, use the syntax appropriate for the shell in which VCS starts. Typically, VCS starts in /bin/sh.