Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Solutions Guide, HP-UX 11i v3, First Edition, November 2009

To set up site-consistent ISP volumes
1
Use the following command to set the site name for each host:
# vxdctl set site=sitename
The name that has been assigned to a site is stored in the /etc/vx/volboot
file, and can be displayed by using the vxdctl list command:
# vxdctl list | grep siteid
siteid: building1
2
Tag the disks at each site that will be used for the remote mirrors with a site
name using the vxdisk settag command as shown here:
# vxdisk [-g diskgroup] settag disk site=sitename
where the disk can be specified either by the disk access name or the disk
media name. You need to repeat this command for each of the disks that are
to be registered to a site. Alternatively, you can specify the site when you use
the vxdiskadm command to add the disks to the disk group.
To check which disks are registered to a site, use this form of the vxdisk
command:
# vxdisk listtag
Note: 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 in the next step.
3
Turn on the site-based allocation requirement for a site that is registered to
a disk group. Use the following form of the vxdg command for each site at
which site-based allocation is required:
# vxdg -g diskgroup [-f] addsite sitename
Each volume is checked to ensure that it has at least one plex at each site,
and the command fails if this condition is not met unless the volumes
allsites attribute is set to off. If the -f option is specified, the command
does not fail, but instead it sets the allsites attribute for the volume to off.
4
Turn on the site consistency requirement for the disk group using the
following form of the vxdg command:
# vxdg -g diskgroup set siteconsistent=on
Remote Mirror solutions
About Remote Mirror configurations
44