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
To list the site tags for a disk group
-
To list the site tags for a disk group, use the following command:
# vxdg [-g diskgroup] listtag site=sitename