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

Displaying site information
To display the site name for a host
To determine to which site a host belongs, use the following command on the
host:
# vxdctl list | grep siteid
siteid: building1
To display the disks or enclosures registered to a site
To check which disks or enclosures are registered to a site, use the following
command:
# vxdisk [-g diskgroup] listtag
To display the setting for automatic site tagging for a disk group
To determine whether automatic site tagging is on for a disk group, use the
following command:
# vxprint -g diskgroup -F"%autotagging" diskgroup
To verify whether site consistency has been enabled for a disk group
To verify whether site consistency has been enabled for a disk group, use the
following command:
# vxdg list diskgroup | grep siteconsistent
flags: siteconsistent
To verify whether site consistency has been enabled for a volume
To verify whether site consistency has been enabled for a volume, use the
following command:
# vxprint -g diskgroup -F"%siteconsistent" vol
To identify which site a plex or mirror is allocated from
To identify which site a plex or mirror is allocated from, use the following
command:
# vxprint -g diskgroup -F"%site" plex
Administering sites and remote mirrors
Displaying site information
480