Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

7
Turn on site consistency for the disk group:
# vxdg -g diskgroup set siteconsistent=on
8
Turn on the allsites flag for the volume which requires data replication to
each site:
# vxvol [-g diskgroup] set allsites=on volume
9
Turn on site consistency for each existing volume in the disk group for which
site consistency is needed. You also need to attach DCOv20 if it is not attached
already. DCOv20 is required to ensure that site detach and reattach are
instantaneous.
See Preparing a volume for DRL and instant snapshots on page 359.
# vxvol [-g diskgroup] set siteconsistent=on volume ...
Configuring a new disk group as a Remote Mirror
configuration
Note: The Remote Mirror feature requires that a license enabling the Site
Awareness feature has been purchased for all hosts at all sites that participate in
the configuration.
This section describes setting up a new disk group. To configure an existing disk
group as a Remote Mirror configuration, additional steps may be required.
See Making an existing disk group site consistent on page 471.
Setting up a new disk group for a Remote Mirror configuration
1
Define the site name for each host that can access the disk group.
# vxdctl set site=sitename
To verify the site name assigned to the host, use the following command:
# vxdctl list
2
Create the disk group with storage from each site.
Administering sites and remote mirrors
Configuring a new disk group as a Remote Mirror configuration
472