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


 
437Administering sites and remote mirrors
Site-based allocation of storage to volumes
Note: If the Site Awareness license is installed on all the hosts in the Remote
Mirror configuration, and site consistency is enabled on a volume, the
vxassist
command attempts to allocate storage across the sites that are registered to a
disk group. If not enough storage is available at all sites, the command fails
unless you also specify the
allsites=off attribute.
By default, the
allsites attribute is set to on for volume in a site-consistent disk
group. The
allsites and siteconsistent attributes must be set to off for
RAID-5 volumes in a site-consistent disk group.
In a similar way to mirroring across controllers, you can also ensure that plexes
are created at all sites that are registered for a disk group:
# vxassist -g diskgroup make volume size mirror=site
The allsites and siteconsistent attributes can be combined to create a
non-site-consistent mirrored volume with plexes only at some of the sites:
# vxassist -g diskgroup make volume size mirror=site \
site:site1 site:site2 ... allsites=off siteconsistent=off
a non-site-consistent mirrored volume with plexes at all of the sites:
# vxassist -g diskgroup make volume size mirror=site \
allsites=on siteconsistent=off
a site-consistent mirrored volume with plexes only at some of the sites:
# vxassist -g diskgroup make volume size mirror=site \
site:site1 site:site2 ... allsites=off siteconsistent=on
or a site-consistent mirrored volume with plexes at all of the sites:
# vxassist -g diskgroup make volume size mirror=site \
allsites=on siteconsistent=on
By default, the number of mirrors created is equal to the number of sites that are
configured in the disk group. There should be a minimum of 2 plexes at each
site. To override the default behavior, use the
nmirror attribute to specify the
total number of mirrors:
# vxassist -g diskgroup make volume size mirror=site \
nmirror=4 site:site1 site:site2 ... [allsites={on|off}] \
[siteconsistent={on|off}]
If a volume is intended to be site consistent, the number of plexes that are
specified must be a multiple of the number of sites.