HP (Hewlett-Packard) HP-UX 11i v3 Landscape Lighting User Manual


 
436 Administering sites and remote mirrors
Setting the siteread policy on a volume
To turn on the site consistency requirement for an existing volume, use the
following form of the
vxvol command:
# vxvol [-g diskgroup] set siteconsistent=on volume
To turn off the site consistency requirement for a volume, use the following
command:
# vxvol [-g diskgroup] set siteconsistent=off volume
Note: The siteconsistent and allsites attributes must be set to off for
RAID-5 volumes in a site-consistent disk group.
Setting the siteread policy on a volume
If the Site Awareness license is installed on all the hosts in the Remote Mirror
configuration, the disk group is configured for site consistency with several
sites enabled, and the
allsites=on attribute is specified for a volume, the
default read policy is
siteread.
If required, you can use the following command to set the
siteread policy on a
volume:
# vxvol [-g diskgroup] rdpol siteread volume
This command has no effect if a site name has not been set for the host.
See “Changing the read policy for mirrored volumes” on page 289.
Site-based allocation of storage to volumes
The vxassist command can be used to create volumes only from storage that
exists at a specified site, as shown in this example:
# vxassist -g diskgroup make volume size site:site1 \
[allsites={on|off}] [siteconsistent={on|off}]
The storage class site is used in similar way to other storage classes with the
vxassist command, such as enclr, ctlr and disk.
See “Mirroring across targets, controllers or enclosures” on page 255.