Configuring a rule to execute volume growth

The following describes how to configure a rule to execute volume growth when capacity thresholds are met.

To configure a new rule to execute volume growth when capacity thresholds are met

  1. Make sure that the volume capacity monitoring feature is turned on for the volume you want to monitor and that the thresholds are set to the desired percentages. The volume capacity monitoring feature is off by default.

    The following enables volume capacity monitoring:

    • Right-click the volume and select Capacity Monitoring.

    • Select enable capacity monitoring for the volume.

    • Change the appropriate settings.

      You may want to set the Minimum time between alerts if condition persists to a large number, such as 3600 seconds (equivalent to one hour), so that you won't get so many messages while the volume is enlarged.

    • Click OK after the settings are completed.

  2. If you have not already done so, set up the recipient or recipients that receive the alert messages about the capacity threshold.

  3. Select the Control Panel perspective in the VEA GUI.
  4. Click the actionagent node in the tree view.
  5. Double-click the Rule Manager icon to display the Rule Manager window.
  6. Click the New Rule button to display the Rule wizard.

    Click Next to continue.

  7. In the window that appears, do the following:

    • Enter a name for the rule and select A rule based on the alert topic.

    • Click Select to select the Alert topic.

    • Check the Volume capacity reached error condition alert check box to select the alert.

    • Click OK to close the windows and return to the wizard.

    Click Next to continue the wizard.
  8. Specify if the rule is triggered for alerts from any host or from specific hosts. If you specify alerts originating from specific hosts, then check the appropriate hosts in the lower part of the window.

    Click Next to continue.

  9. Check both check boxes in the Select actions window to enable the following actions:

    • Send Email Notification

      Enter the email addresses of the recipients.

    • Execute Command

      Enter the name of the hosts, the source host, and the path of the source file.

      Enter the path for the volgrow command file for the source file. The default path for volgrow.cmd is:

      C:\Program Files\Veritas\Veritas Volume Manager\
      Sig\volgrow.cmd <VolumeName|DriveLetter>
      

      The included volgrow.cmd script is set to grow a volume by 150 MB. The size for growing the volume can be changed by modifying the volgrow.cmd script to a desired number. Please read the comments in the script for more information.

    Click Next to continue.
  10. Check Enable Rule and click Finish to complete the setup.

    The Rule Manager window displays listing the new rule. With the new rule, once the amount of data in the volume reaches the point where the error threshold is reached, the rule activates, a message is sent that the error threshold has passed, and the command to grow the volume is implemented immediately. Once the process for growing the volume is complete, you stop receiving error messages about the volume capacity.

More Information

Event notification