How can you disable the Unix FS iData agent from doing space checks?

Last post 08-24-2010, 4:57 PM by Trekrod1. 10 replies.
Sort Posts: Previous Next
  • How can you disable the Unix FS iData agent from doing space checks?
    Posted: 07-21-2010, 1:10 PM

    I'm trying to disable the local file system space checks for agents, which appear in the CommServ Event Viewer.

    [/var] does not have required minimum space of [500] MB.  The space available is [436] MB.

  • Re: How can you disable the Unix FS iData agent from doing space checks?
    Posted: 07-21-2010, 1:12 PM

    There is a registry setting you can make at /etc/CommVaultRegistry/Galaxy/Instance<xxx> 

    I'm not sure if I need to edit the .properties file here, or of the actual syntax.

  • Re: How can you disable the Unix FS iData agent from doing space checks?
    Posted: 07-21-2010, 1:18 PM

    Hello rennecrw,  Here is the link to where you can find the below registry information. 

    http://documentation.commvault.com/commvault/release_8_0_0/books_online_1/english_us/features/registry_keys/registry_keys.htm#Space_Check

     

    Space Check

    Location  
    Windows HKEY_LOCAL_MACHINE\Software\CommVault Systems\Galaxy\Instance<xxx>
    NetWare <Software Installation Directory>\GALAXY.INI
    UNIX /etc/CommVaultRegistry/Galaxy/Instance<xxx>
    Key QMachineMaint
    Value bCHECK_GALAXY (optional)
    Value Type (Windows only) DWORD Value
    Valid Range 0 or 1
    Default Value 1
    Created In All
    Description If the value is set to 1, the space requirements specified for the Software Installation, Index Cache, Job Control and Job Results directories will be checked. If the value is set to 0, the space requirements will not be checked.
    Applies To All

    Mark Spencer
    CommVault, Business Critical Support
  • Re: How can you disable the Unix FS iData agent from doing space checks?
    Posted: 07-21-2010, 1:47 PM

    Thank you mspencer.  I have that information, but the question I can't see to get answered is how to actually place that key.

    On a Unix server, the registry location is /etc/CommVaultRegistry/Galaxy/Instance001 in my example.

    Under this Instance001 directory, there is a hidden .properties file, as well as a number of directories.

    bash-3.00$ pwd
    /etc/CommVaultRegistry/Galaxy/Instance001
    bash-3.00$ ls -la
    total 32
    drwxrwxrwx   17 root     system         4096 Jul 21 10:03 .
    drwxrwxrwx    3 root     system          256 Feb 23 15:39 ..
    -rw-rw-rw-    1 root     system           47 Feb 23 15:40 .properties
    drwxrwxrwx    2 root     system          256 Feb 23 15:40 Base
    drwxrwxrwx    2 root     system          256 Feb 23 15:39 Base0
    drwxrwxrwx    2 root     system          256 Feb 23 15:40 CommServe
    drwxrwxrwx    2 root     system          256 Feb 23 15:40 Cvd
    drwxrwxrwx    2 root     system          256 Feb 23 15:40 EventManager
    drwxrwxrwx    2 root     system          256 Feb 23 15:40 FileSystemAgent
    drwxrwxrwx    2 root     system          256 Jul 21 08:27 Firewall
    drwxrwxrwx    4 root     system          256 Feb 23 15:40 Installer
    drwxrwxrwx    2 root     system          256 Feb 23 15:40 Library
    drwxrwxrwx    3 root     system          256 Feb 23 15:39 Machines
    drwxrwxrwx   14 root     system         4096 May 04 10:14 PartialUpdates
    drwxrwxrwx    2 root     system          256 Jul 21 08:27 Services
    drwxrwxrwx    2 root     system          256 Jul 21 08:27 Session
    drwxrwxrwx    6 root     system          256 May 04 10:13 Updates
    drwxrwxrwx    2 root     system          256 Feb 23 15:40 iDataAgent

  • Re: How can you disable the Unix FS iData agent from doing space checks?
    Posted: 07-21-2010, 1:58 PM

    You will modify the .properties directly under the path /etc/CommVaultRegistry/Galaxy/Instance1.  Once you have done this I would recommend you go ahead and cycle our services on this system.


    Mark Spencer
    CommVault, Business Critical Support
  • Re: How can you disable the Unix FS iData agent from doing space checks?
    Posted: 07-21-2010, 2:16 PM

    My first attempt did not work.  Bad syntax?

    bash-3.00$ cat .properties
    sBinarySetID 7
    sPhysicalNodeName yuma
    nDebug 0
    bCheck_Galaxy 0

    Restarted services and still does space check operation.

    544778 507 07/21 11:06:35 ### [CVipcD] Space check operation starting
    544778 709 07/21 11:06:35 ### [CVipcD] printPipelineInfo Interval: 60 Minutes
    544778 507 07/21 11:06:35 ### [CVipcD] Checking Galaxy
    544778 507 07/21 11:06:36 ### [CVipcD] base home = /commvault/simpana
    544778 507 07/21 11:06:36 ### [CVipcD] Free bytes on /commvault/simpana is 930MB
    544778 507 07/21 11:06:36 ### [CVipcD] Current dir = /commvault/simpana/Base/Temp
    544778 507 07/21 11:06:36 ### [CVipcD] Free bytes on /commvault/simpana/Base/Temp is 930MB
    544778 507 07/21 11:06:36 ### [CVipcD] Agent dir = /commvault/simpana/iDataAgent/FileSystemAgent
    544778 507 07/21 11:06:36 ### [CVipcD] JobResults dir = /commvault/simpana/iDataAgent/jobResults/simpana/iDataAgent/jobResults -- minSpace: 500MB -- maxSpace: 0MB
    544778 507 07/21 11:06:36 ### [CVipcD] Free bytes on /commvault/simpana/iDataAgent/jobResults/simpana/iDataAgent/jobResults is 930MB
    544778 507 07/21 11:06:36 ### [CVipcD] Checking temp path: /tmp
    544778 507 07/21 11:06:36 ### [CVipcD] Free bytes on /tmp is 1163MB
    544778 507 07/21 11:06:36 ### [CVipcD] Checking var path: /var
    544778 507 07/21 11:06:36 ### [CVipcD] Free bytes on /var is 434MB
    544778 507 07/21 11:06:36 ### [CVipcD] /var does not have required minimum space of 500 MB
    544778 507 07/21 11:06:36 ### [CVipcD] Space check operation completed
    544778 507 07/21 11:06:36 ### [CVipcD] Space check Interval: 1440

  • Re: How can you disable the Unix FS iData agent from doing space checks?
    Posted: 07-21-2010, 2:25 PM

    Correction.   Use following KB instead.

    https://ma.commvault.com/KB/Details/10881

     

    Modifying SpaceCheck on Unix iDAs

    Published 09/02/2009 12:19 PM   |    Updated 09/02/2009 05:19 PM


    Preface:
    Although this seems like a "Windows centric" solution, the reason this method is used, is to keep the general structure of the code between platforms as similar as possible.  Looking in the /etc directory one will find the CommVaultRegistry directory.  Recursing this directory structure one will find it mimicking the Windows registry structure.  By doing this, CommVault was able to port the Galaxy code into a Unix environment without having to make major changes to the code's structure.  It also makes the maintenance of the code easier as well.  It's one of the challenges faced when trying to provide a solution in a mixed heterogeneous environment.


    Synopsis
    :
    Currently, the Galaxy documentation is missing needed references to Unix agents for modifying the default parameters of the new “SpaceCheck” feature.  Below is additional information for adding these modifications in a Unix environment.  This information, combined with the Galaxy documentation should be sufficient to modify the SpaceCheck behavior for Unix agents in Galaxy.

    Resolution:


    The correct path for this "pseudo" Key is:


    /etc/CommVaultRegistry/Galaxy/PlatformInformation/ControlSet###/SpaceCheck


    *NOTE: Replace ### after ControlSet with the 3 digit number found on your server. There could be several of these directories if the server is in a clustered environment.  Also, ALL changes made must be done by the "root" user on this server.


    The “
    SpaceCheck” directory is NOT present by default and must be created.


    In this directory you need to create a “.properties” file, to which you need to add the following 2 lines:


    bCHECK_GALAXY #


    bCHECK_SYSTEM #


    Where “#” is a 0 or 1.  The "0" Turns off the checking while a “1” turns it on.  Removal of the line will result
    in Galaxy using the default value (Which is “1”).


    The following represents an example shell session in which these entries are created to disable the SpaceCheck feature on a Unix server:


    # mkdir \

    /etc/CommVaultRegistry/Galaxy/PlatformInformation/ControlSet001/SpaceCheck
    # echo "bCHECK_GALAXY 0" >> \
    /etc/CommVaultRegistry/Galaxy/PlatformInformation/ControlSet001/SpaceCheck/.properties
    # echo "bCHECK_SYSTEM 0" >> \
    /etc/CommVaultRegistry/Galaxy/PlatformInformation/ControlSet001/SpaceCheck/.properties
    # Galaxy restart


    *NOTE: the “\” is a delimiter used in Unix to continue a single command on the next line without interpreting the return.


    A search for "SpaceCheck" in the Galaxy documentation will provide the rest of the key values that can be added on separate lines in the .properties file on a Unix Agent.  These address the timing of the space check as well as the sizes that trigger the alerts.  Look for the "Created In" value in the key descriptor to determine if the Key needs to be added to the CommServer, the MediaAgent, or ALL Agents.


    Mark Spencer
    CommVault, Business Critical Support
  • Re: How can you disable the Unix FS iData agent from doing space checks?
    Posted: 07-21-2010, 3:32 PM

    Sounds like we're getting closer. 

    Couple more questions regarding doing this.

    1.  The directory PlatformInformation does not exist.  Do I need to just create it along with the subdirectories ./ControlSet001/SpaceCheck under it?

    2.  Is the default ControlSet going to be 001 ?

  • Re: How can you disable the Unix FS iData agent from doing space checks?
    Posted: 07-21-2010, 4:08 PM
    • efg is not online. Last active: 09-13-2019, 10:59 AM efg
    • Top 10 Contributor
    • Joined on 02-02-2010
    • CommVault Tinton Falls NJ
    • Master
    • Points 1,678

    Those are the keys for out older 6.1 release...

    Here is a link to the documentation for 8.0:

    https://ma.commvault.com/KB/Details/10881 

     

    The paths changed between 6.1 and 8.0.

     

    In there you can also change the minimum size of the /var FS as well. (If you don't want to turn it off).

     

    Here is the key to turn it off:

    -------------------------------------------------------------------------

    Location  
    Windows HKEY_LOCAL_MACHINE\Software\CommVault Systems\Galaxy\Instance<xxx>
    NetWare <Software Installation Directory>\GALAXY.INI
    UNIX /etc/CommVaultRegistry/Galaxy/Instance<xxx>
    Key QMachineMaint
    Value bCHECK_SYSTEM (optional)
    Value Type (Windows only) DWORD Value
    Valid Range 0 or 1
    Default Value 1
    Created In All
    Description If the value is set to 1, the space requirements specified for the system directories such as the %TEMP% directory for Windows computers and /tmp or /var directories for Unix computers will be checked. If the value is set to 0, the space requirements are not checked.
    Applies To All

     ---------------------------------------------------------------------------------

     

    So what you basically need to do is go to /etc/CommVaultRegistry/Galaxy/InstanceXXX directory, (In most cases InstanceXXX is Instance001)

    Create a directory called QMachineMaint, and under that directory create a .properties file that contains the following line:

    bCHECK_SYSTEM 0

     

    That should do it.


    Ernst F. Graeler
    Senior Engineer III
    Development
  • Re: How can you disable the Unix FS iData agent from doing space checks?
    Posted: 07-21-2010, 4:39 PM

    Perfect.  Exactly what I was looking for.  Installed and tested.

     

    1331520 507 07/21 13:38:22 ### [CVipcD] Skipping Space Check of System directories
    1331520 507 07/21 13:38:22 ### [CVipcD] Space check operation completed

    Thanks for the information.

  • Re: How can you disable the Unix FS iData agent from doing space checks?
    Posted: 08-24-2010, 4:57 PM

    Hi All,

    The information has been updated in the Maintenance Advantage site as well and the KB now has the needed info. based on the Commvault Software version.

    https://ma.commvault.com/KB/Details/10881

     

The content of the forums, threads and posts reflects the thoughts and opinions of each author, and does not represent the thoughts, opinions, plans or strategies of Commvault Systems, Inc. ("Commvault") and Commvault undertakes no obligation to update, correct or modify any statements made in this forum. Any and all third party links, statements, comments, or feedback posted to, or otherwise provided by this forum, thread or post are not affiliated with, nor endorsed by, Commvault.
Commvault, Commvault and logo, the “CV” logo, Commvault Systems, Solving Forward, SIM, Singular Information Management, Simpana, Commvault Galaxy, Unified Data Management, QiNetix, Quick Recovery, QR, CommNet, GridStor, Vault Tracker, InnerVault, QuickSnap, QSnap, Recovery Director, CommServe, CommCell, SnapProtect, ROMS, and CommValue, are trademarks or registered trademarks of Commvault Systems, Inc. All other third party brands, products, service names, trademarks, or registered service marks are the property of and used to identify the products or services of their respective owners. All specifications are subject to change without notice.
Close
Copyright © 2019 Commvault | All Rights Reserved. | Legal | Privacy Policy