HP Serviceguard for Linux Version A.11.18 Release Notes, 2nd Edition, March 2009
Preventing Boot-Time vgscan and Ensuring Serviceguard Volume Groups Are Deactivated
By default, Linux will perform LVM startup actions whenever the system is rebooted.
These include a vgscan (on some Linux distributions) and volume group activation.
This can cause problems for volumes used in a Serviceguard environment (for example,
a volume group for a Serviceguard package that is not currently running may be
activated). To prevent such problems, proceed as follows on the various Linux versions.
NOTE: You do not need to perform these actions if you have implemented VG
activation protection as described under “Creating the Logical Volume Infrastructure”
in Chapter 5 of Managing HP Serviceguard for Linux, Seventh Edition, which you can find
at http://docs.hp.com -> High Availability -> Serviceguard for
Linux.
SUSE Linux Enterprise Server
Prevent a vgscan command at boot time by removing the /etc/rc.d/boot.d/
S07boot.lvm file from all cluster nodes.
NOTE: Be careful if you use YAST or YAST2 to configure volume groups, as that may
cause all volume groups to be activated. After runningYAST or YAST2, check that
volume groups for Serviceguard packages not currently running have not been activated,
and use LVM commands to deactivate any that have. For example, use the command
vgchange -a n /dev/sgvg00 to deactivate the volume group sgvg00.
Red Hat 4
It is not necessary to prevent vgscan on Red Hat 4.
To deactivate any volume groups that will be under Serviceguard control, add
vgchange commands to the end of /etc/rc.d/rc.sysinit; for example, if volume
groups sgvg00and sgvg01 are under Serviceguard control, add the following lines
to the end of the file:
vgchange -a n /dev/sgvg00vgchange -a n /dev/sgvg01
The vgchange commands activate the volume groups temporarily, then deactivate
them; this is expected behavior.
Patches for this Version
This section describes patches that are required for version A.11.18 of HP Serviceguard
for Linux.
Patches are required to enable some of the new functionality described in these Release
Notes. See “New Features for March 2008 Patches” (page 14).
76 Serviceguard for Linux Version A.11.18 Release Notes