HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)

v
vgchange(1M) vgchange(1M)
availability cluster, it is activated in exclusive read-write mode, as for the
-a
e
option.
e Activate each specified volume group and all associated physical and logical
volumes for exclusive read-write access. The volume group must be marked
as part of a high availability cluster, and the availability software must be
running on the system; otherwise, the volume group is not activated.
With the -x option, the activation mode of a shared volume group is changed
to exclusive. The volume group will remain active during the operation. The
operation will not be performed if the volume group is active in more than
one node, or if it is not currently in shared mode.
s Activate each specified volume group and all associated physical and logical
volume for shared read-write access. The volume group must be marked as
part of a high availability cluster and marked sharable; otherwise, the volume
group is not activated.
Please note HP MirrorDisk/UX software is only supported in a clustered
environment with a maximum of two nodes configured.
With the -x option, the activation mode of a shared volume group is changed
to shared. The volume group will remain active during the operation. The
operation will only be performed if the current activation mode of the volume
group is exclusive.
If the -a y or -a e option is executed on a currently active volume group,
without the -x option, vgchange attempts to include any physical volumes that
were previously listed as missing. This is useful if a physical volume has come
back online. However, no automatic synchronization of any mirrored logical
volumes is done. If synchronization is required, execute the
vgsync command
(see vgsync(1M)).
r Activate each specified volume group and all associated physical and logical
volumes for read-only access. This option is ignored for a volume group that
is already activated.
If a volume group is marked as part of a high availability cluster, the high
availability software must be running on the system; otherwise, the volume
group is not activated.
n Deactivate each specified volume group and its associated logical volumes.
You must close the logical volumes prior to executing this option. For exam-
ple, if the logical volume contains a file system, the file system must be
unmounted.
-c cluster Control the membership of volume groups in a high availability cluster. cluster
can have one of the following values:
y Mark each specified volume group as a member of the high availability clus-
ter. The high availability software must be running; otherwise, the volume
group is not marked. Needs to be done on one node only.
n Remove each specified volume group from membership in the high availabil-
ity cluster. The high availability software does not need to be running.
The volume group must be deactivated with the -a n option before a -c yn
option can be executed.
-S sharable Control the sharability of volume groups in a high availability cluster. sharable
can have one of the following values:
y Mark each specified volume group as sharable. The high availability software
must be running; otherwise, the volume group is not marked. Needs to be
done on one node only.
n Remove the shared attribute from the volume group. The high availability
software does not need to be running.
The volume group must be deactivated with the -a n option before a -S yn
option can be executed.
Section 1M1064 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005