Veritas Volume Manager 5.0 Administrator's Guide (September 2006)

431Administering sites and remote mirrors
Making an existing disk group site consistent
Making an existing disk group site consistent
To make an existing disk group site consistent
1 Ensure that the disk group is updated to at least version 140, by running the vxdg
upgrade command on it:
# vxdg upgrade diskgroup
2 On each host that can access the disk group, define the site name:
# vxdctl set site=sitename
3 Tag all the disks in the disk group with the appropriate site name:
# vxdisk [-g diskgroup] settag disk site=sitename
4Use the vxdg move command to move any unsupported RAID-5 volumes to another
disk group. Alternatively, use the
vxassist convert command to convert the
volumes to a supported layout such as
mirror or mirror-stripe. You can use the
site and mirror=site storage allocation attribute to ensure that the plexes are
created on the correct storage.
5Use the vxevac command to ensue that the volumes have equal number of plexes at
each site. You can use the
site and mirror=site storage allocation attribute to
ensure that the plexes are created on the correct storage.
6 Register a site record for each site with the disk group:
# vxdg -g diskgroup addsite sitename
7 Turn on site consistency for the disk group:
# vxdg -g diskgroup set siteconsistent=on
8 Turn on site consistency for each volume in the disk group:
# vxvol [-g diskgroup] set siteconsistent=on volume ...
# vxassist -g ccdg remove \
mirror vol site:site1
Remove a mirror from a volume at a specified
site. If the volume is site consistent, the
command fails if this would remove the last
remaining plex at a site.
# vxassist -g ccdg growto vol 4g Grow a volume. If the volume is site consistent,
the command fails if there is insufficient storage
available at each site.
Command Description