Administering sites and remote mirrors

Configuring site consistency on a disk group

435

The -foption allows the requirement to be removed if the site is detached or offline.

The site name is not removed from the disks. If required, use the vxdisk rmtag command to remove the site tag as described in “Configuring sites for hosts and disks” on page 434.

Configuring site consistency on a disk group

Having configured site-based allocation on a disk group as described in

Configuring site-based allocation on a disk group” on page 434, turn on the site consistency requirement for a disk group by using the vxdg command:

#vxdg -g diskgroup set siteconsistent=on

Note: This command does not set the siteconsistent attribute on existing volumes in the disk group. Although newly created volumes inherit the setting from the disk group, it does not change when the disk group setting is changed. See “Configuring site consistency on a volume” on page 435.

All the disks in a disk group must be registered to one of the sites before you can set the siteconsistent attribute on the disk group.

To verify whether site consistency has been enabled for a disk group, use the following command:

#vxdg list diskgroup grep siteconsistent flags: siteconsistent

To turn off the site consistency requirement for a disk group, use the following command:

#vxdg -g diskgroup set siteconsistent=off

Configuring site consistency on a volume

To set the site consistency requirement when creating a volume, specify the siteconsistent attribute to the vxassist make command, for example:

#vxassist [-gdiskgroup] make volume size \ nmirror=4 siteconsistent={onoff}

By default, a volume inherits the value that is set on its disk group.

Note: By default, creating a site-consistent volume also creates an associated version 20 DCO volume, and enables Persistent FastResync on the volume. This allows faster recovery of the volume during the reattachment of a site.

Page 434
Image 434
HP Veritas Volume Manager 5.0 -UX 11i v3 manual Configuring site consistency on a disk group