HP (Hewlett-Packard) HP-UX 11i v3 Landscape Lighting User Manual


 
423Administering cluster functionality
Administering VxVM in cluster environments
Caution: The operating system cannot tell if a disk is shared. To protect data
integrity when dealing with disks that can be accessed by multiple systems, use
the correct designation when adding a disk to a disk group. VxVM allows you to
add a disk that is not physically shared to a shared disk group if the node where
the disk is accessible is the only node in the cluster. However, this means that
other nodes cannot join the cluster. Furthermore, if you attempt to add the same
disk to different disk groups (private or shared) on two nodes at the same time,
the results are undefined. Perform all configuration on one node only, and
preferably on the master node.
Importing disk groups as shared
Note: Shared disk groups can only be imported on the master node.
Disk groups can be imported as shared using the
vxdg -s import command. If
the disk groups are set up before the cluster software is run, the disk groups can
be imported into the cluster arrangement using the following command:
# vxdg -s import diskgroup
where diskgroup is the disk group name or ID. On subsequent cluster restarts,
the disk group is automatically imported as shared. Note that it can be necessary
to deport the disk group (using the
vxdg deport diskgroup command) before
invoking the
vxdg utility.
Forcibly importing a disk group
You can use the -f option to the vxdg command to import a disk group forcibly.
Caution: The force option(-f) must be used with caution and only if you are fully
aware of the consequences such as possible data corruption.
When a cluster is restarted, VxVM can refuse to auto-import a disk group for
one of the following reasons:
A disk in the disk group is no longer accessible because of hardware errors
on the disk. In this case, use the following command to forcibly reimport the
disk group:
# vxdg -s -f import diskgroup
Note: After a forced import, the data on the volumes may not be available
and some of the volumes may be in the disabled state.