HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
v
vgchange(1M) vgchange(1M)
y Mark each specified volume group as a member of a high availability cluster.
The high availability software must be running; otherwise, the volume group
is not marked. Needs to be done on one node only.
-S may be optionally
specified with the
-c option to indicate whether the VG is sharable, and
when the -c option is used without -S
the VG is marked not sharable.
n Remove each specified volume group from membership in the high availabil-
ity cluster. The high availability software does not have to be running to per-
form this operation.
The volume group must be deactivated with the
-a n option before a -c yn
option can be executed.
-l Disable the opening of logical volumes that belong to each specified volume group.
If the -l option is set, later attempts to open the logical volumes will fail. To
allow an opening of these logical volumes to succeed, execute
lvchange -a y.
-p Activate each specified volume group only if all of the physical volumes that belong
to it are available.
-q quorum Set the quorum enforcement for each specified volume group. quorum can have
one of the following values:
y Enforce the quorum requirement. This is the default.
n Ignore the quorum requirement.
The -q n option can be used to activate the volume group when the disk quorum
is not maintained because too many disks were lost. Since it ensures the integrity
of the LVM configuration information, it is normally not advisable to override the
quorum.
-s Disable the synchronization of stale physical extents within the volume group
specified by vg_name. This option is only effective when used with the
-a y or
-a e option.
-t quiesce_time Automatically resume normal read/write access to the volume group once the
specified quiesce_time (in seconds) has expired. This option should be used when
quiescing a volume group that contains critical resources (e.g., root or swap logical
volume) that are necessary for normal operation of the system, or other cir-
cumstances where manually executing the vgchange -R may not be possible
once the volume group is quiesced. The quiesce_time can be any value from 1 to
2ˆ31-1. This option is only valid when used with the -Q option.
-x Cross-activate a active sharable volume group, changing the activation mode to the
specified activation mode. This option is only valid when used with the -a availa-
bility option. Cross-activation can only be used to change the activation mode from
shared mode to exclusive mode, or from exclusive mode to shared mode.
-P resync_daemon_count
specify the advisory count to control the number of nomwcsyncd threads spawned
for NOMWC processing when activating the volume group(s). Specifying a
resync_daemon_count of 0 causes a reasonable number of threads to be spawned
(currently defined to be 4).
-Q quiesce_mode Quiesce an active volume group to guarantee that the LVM metadata is consistent.
This allows a system administrator to perform a snapshot of all the disks in the
volume group. The volume group remains quiesced until it is resumed again using
the -R option or automatically after the optionally specified quiesce_time (given
using the -t option) has expired. See the Quiesced Volume Groups section for a
more complete description of quiesced volume groups. The quiesce_mode can have
one of the following values:
rw Quiesce both reads and writes to the volume group.
w Quiesce writes to the volume group. Applications may open and read from
logical volumes belonging to the volume group.
-R Resume a previously quiesced volume group. I/O that was quiesced is allowed to
complete. LVM commands and resync operations are enabled. See the Quiesced
620 Hewlett-Packard Company − 3 − HP-UX 11i Version 3: February 2007