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

To disable automatic plex attachment, remove vxattachd from the start up scripts.
Disabling vxattachd disables the automatic reattachment feature for both plexes
and sites.
In a Cluster Volume Manager (CVM) the following considerations apply:
If the global detach policy is set, a storage failure from any node causes all
plexes on that storage to be detached globally. When the storage is connected
back to any node, the vxattachd daemon triggers reattaching the plexes on
the master node only.
The automatic reattachment functionality is local to a node. When enabled on
a node, all of the disk groups imported on the node are monitored. If the
automatic reattachment functionality is disabled on a master node, the feature
is disable on all shared disk groups and private disk groups imported on the
master node.
See Automatic site reattachment on page 503.
Reattaching plexes
This section describes how to reattach plexes manually if automatic reattachment
feature is disabled. This procedure may also be required for devices that are not
automatically reattached. For example, VxVM does not automatically reattach
plexes on site-consistent volumes.
When a disk has been repaired or replaced and is again ready for use, the plexes
must be put back online (plex state set to ACTIVE). To set the plexes to ACTIVE, use
one of the following procedures depending on the state of the volume.
If the volume is currently ENABLED, use the following command to reattach the
plex:
# vxplex [-g diskgroup] att volume plex ...
For example, for a plex named vol01-02 on a volume named vol01 in the disk
group, mydg, use the following command:
# vxplex -g mydg att vol01 vol01-02
As when returning an OFFLINE plex to ACTIVE, this command starts to recover
the contents of the plex and, after the recovery is complete, sets the plex utility
state to ACTIVE.
If the volume is not in use (not ENABLED), use the following command to
re-enable the plex for use:
# vxmend [-g diskgroup] on plex
Creating and administering plexes
Reattaching plexes
268