HP Serviceguard Toolkit for NFS on Linux User Guide Version A.12.00.00

Use cmcheckconf command to verify the package configuration file.
#cmcheckconf P <<Latest_Toolkit_Conf_File>>.
NOTE: If you modify the unsupported attribute values, then appropriate error message is
displayed when you run the execution of cmcheckconf -P command.
Use cmapplyconf command to add the new changes in the package configuration to the
Serviceguard cluster environment.
For example: #cmapplyconf P <<Latest_Toolkit_Conf_File>>.
NOTE: Information related to package reconfiguration will be logged in the package log.
Handling failures during online package reconfiguration
This section describes about how to troubleshoot failures during online package reconfiguration.
Table 4 (page 17) describes how to fix the errors in the affected modules that are encountered
during online addition of a package.
Table 4 Modules affected during online addition
ExampleHow to rectify the failures or
apply those that are not
attempted
Modules affected during
online addition
Description
To start the external pre script:
#extern_pre_script.sh start
If an external pre script which is
added to the package
configuration failed to start, run
sg/external_pre_script
(external.sh)
Adding an
external pre
script to the
package the script manually with start
option.
script_name start
To add PR keys, you must register on
all the paths and then reserve on one
path.
To view all the paths:
If addition of storage has failed,
ensure the following:
sg/filesystem
(filesystem.sh)
sg/volume_group
(volume_group.sh)
sg/pr_cntl
(pr_cntl.sh)
Extending
storage to the
package
Persistent reservation is added
to the disk.
#multipath -ll
To view the node PR keys:
Volume group is activated
with hosttags.
NOTE: In this example, the
node_pr_key is 72810001.
Verify and repair the file
system.
#cmviewcl -v -f line |
grep node_pr_key
The mount point is mounted.
For more information, see
sg_persist(1m),
#sg_persist --out -G
--param-sark=72810001
/dev/sde
vgchange(1m),fsck(1m),
multipath (1m), and
mount(1m) manpage.
#sg_persist --out -R
--param-rk=72810001
--prout-type=5 /dev/sde
Add hosttags for node
test1.ind.hp.com:
#vgchange --addtag
test1.ind.hp.com vg_dd1
Activate the disk:
#vgchange -a y vg_dd1
Run the following commands:
#e2fsck -y
/dev/vg_dd1/lvol1
#mount -t ext3
/dev/vg_dd1/lvol2 /mnt1
Managing the NFS toolkit package 17