HP Veritas Volume Manager 5.0 -UX 11i v3 manual Making an existing disk group site consistent

Models: Veritas Volume Manager 5.0 -UX 11i v3

1 557
Download 557 pages 45.15 Kb
Page 438
Image 438

Administering sites and remote mirrors

Making an existing disk group site consistent

439

Command

Description

 

 

# vxassist -g ccdg remove \

Remove a mirror from a volume at a

mirror vol site:site1

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 any site.

 

 

Making an existing disk group site consistent

To make an existing disk group site consistent

1Ensure that the disk group is updated to at least version 140, by running the vxdg upgrade command on it:

#vxdg upgrade diskgroup

2On each host that can access the disk group, define the site name:

#vxdctl set site=sitename

3Tag 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.

6Register a site record for each site with the disk group:

#vxdg -gdiskgroup addsite sitename

7Turn on site consistency for the disk group:

#vxdg -g diskgroup set siteconsistent=on

8Turn on site consistency for each volume in the disk group:

# vxvol [-g diskgroup] set siteconsistent=on volume ...

Page 438
Image 438
HP Veritas Volume Manager 5.0 -UX 11i v3 manual Making an existing disk group site consistent