Creating CVMVolDg in a group

Last published : Jun 10, 2026
The following procedure creates CVMVolDg in a given group.
To create CVMVolDg
  1. Make the configuration writeable:
    \# haconf -makerw
    1. Add the CVMVolDg resource:
    \# hares -add name_of_resource CVMVolDg name_of_group
  2. Add a diskgroup name to the resource:
    \# hares -modify name_of_resource CVMDiskGroup diskgroup_name
    1. Make the attribute local to the system:
    \# hares -local name_of_resource CVMActivation
  3. Add the attribute to the resource.
    \# hares -modify name_of_resource CVMActivation \
    activation_value -sys nodename
    Repeated this step on each of the nodes.
    1. If you want to monitor volumes, enter the following command:
    \# hares -modify name_of_resource CVMVolume \
    name_of_volume
In a database environment, Veritas recommends you monitor volumes.
  1. Modify the resource so that a failure of this resource does not bring down the entire group:
    \# hares -modify name_of_resource Critical 0
    1. Enable the resources:
    \# hares -modify name_of_resource Enabled 1
  2. Make the configuration read-only:
    \# haconf -dump -makero
    1. Verify the configuration:
    \# hacf -verify
This should put the resource in the main.cffile.