HP XC System Software Administration Guide Version 4.0

Table Of Contents
HP recommends that you rebuild the modules immediately after installing the new kernel and
reboot the head node so that the updated modules are included in the golden image that is
created by the cluster_config utility.
10.5 Rebuilding Serviceguard Modules
The HP Serviceguard software contains two modules that are built against the kernel. You must
use the following procedure to rebuild the pidentd and deadman modules if a new kernel is
delivered in a patch.
NOTE: As an alternative, you can reinstall the Serviceguard RPMs rather than rebuilding the
kernel modules.
The /usr/local/cmcluster/bin directory is the default location of the Serviceguard
commands. If you installed Serviceguard in a location other than the default, look in the /etc/
cmcluster.conf file for the location of the Serviceguard bin directory. The examples in this
procedure use the default location; specify another path if you installed Serviceguard in a different
directory.
1. Rebuild the pidentd module:
# cd /usr/src/pidentd-3.0.15sg/drivers
# make modules
CC [M] /usr/src/pidentd-3.0.15sg/drivers/pidentd.o
Building modules, stage 2.
MODPOST
CC /usr/src/pidentd-3.0.15sg/drivers/pidentd.mod.o
LD [M] /usr/src/pidentd-3.0.15sg/drivers/pidentd.ko
# make modules_install
INSTALL /usr/src/pidentd-3.0.15sg/drivers/pidentd.ko
2. Change to the directory where Serviceguard is installed (this example uses the default
location):
# cd /usr/local/cmcluster/drivers
3. Rebuild the deadman module:
# make modules
CC [M] /usr/local/cmcluster/drivers/deadman.o
/usr/local/cmcluster/drivers/deadman.c:159: warning: `MODULE_PARM_' is deprecated
(declared at include/linux/module.h:552) Building modules, stage 2. MODPOST
CC /usr/local/cmcluster/drivers/deadman.mod.o
LD [M] /usr/local/cmcluster/drivers/deadman.ko
# make modules_install
INSTALL /usr/local/cmcluster/drivers/deadman.ko
4. Create a new module dependency list, system.map:
# depmod -a
10.5 Rebuilding Serviceguard Modules 139