Veritas Volume Manager 5.0.1 Administrator's Guide, HP-UX 11i v3, First Edition, November 2009

Simulating site failure
To simulate the failure of a site, use the following command to detach all the
devices at a specified site:
# vxdg -g diskgroup [-f] detachsite sitename
The -f option must be specified if any plexes configured on storage at the site are
currently online.
After the site is detached, the application should run correctly on the available
site. This step verifies that the primary site is fine. Continue the fire drill by
verifying the secondary site.
Verifying the secondary site
After detaching the site from primary site, verify whether the application starts
correctly on a secondary site. The fire drill ensures that the application can run
on the secondary if disaster strikes the primary site. These procedures assume
that the application is running correctly before the fire drill operation begins.
To verify the secondary site, import the detached site on a different host using
the following command:
# vxdg -o site=sitename import dgname
Then start the application. If the application runs correctly on the secondary site,
this step verifies the integrity of the secondary site.
Recovery from simulated site failure
After verifying the data on the secondary for a simulated site failure, deport the
disk group from the secondary site. Then reattach the site back to the primary
host.
Use the following commands to reattach a site and recover the disk group:
# vxdg -g diskgroup [-o overridessb] reattachsite sitename
# vxrecover -g diskgroup
It may be necessary to specify the -o overridessb option if a serial split-brain
condition is indicated.
501Administering sites and remote mirrors
Fire drill testing the configuration