Managing HP Serviceguard A.11.20.20 for Linux, March 2014

Table 16 Modules affected during online deletion
ExampleHow to fix the failures or apply
those that are not attempted
Modules affected during online
deletion
Description
To halt the service db1:
#cmhaltserv db1
If a service which is deleted
from the package configuration
failed to halt or not attempted,
use cmhaltserv command to
start the service.
For more information, see
cmhaltserv (1m) manpage.
sg/service
(service.sh)
Removing
service from
the package
To halt the external script:
#script_name.sh stop
If an external script which is
deleted from the package
configuration failed or not
attempted to stop, run the script
with stop option.
script_name stop
sg/external_script
(external.sh)
Removing
external script
from the
package
To remove the IP from the package
10.149.2.5:
#cmmodnet -r -I 10.149.2.5
10.149.2.0
If an IP address which is deleted
to the package configuration
failed to remove or not
attempted, use the cmmodnet
command to remove the IP
address.
For more information, see
cmmodnet (1m) manpage.
sg/package_ip
(package_ip.sh)
Removing IP
from the
package
To unmount the mount point mnt1:
#umount /mnt1
To delete the hostags from the
vg_dd0 on node test1.ind.hp.com:
#vgchange --deltag
test1.ind.hp.com vg_dd1
To remove the persistent reservation
from the disk /dev/sde:
#pr_cleanup -lun /dev/sde
If storage deleted from the
package has failed or not
attempted, ensure the following:
The mount point is
unmounted.
Delete the hosttagss from the
disk.
Volume group is de-activated
with hosttags.
Persistent reservation is
removed from the disk.
For more information, see
sg_persist(1m),
vgchange(1m),
pr_cleanup(1m),
multipath(1m), and
mount(1m) manpage.
NOTE: If there are any errors,
you need
sg/filesystem
(filesystem.sh)
sg/volume_group
(volume_group.sh)
sg/pr_cntl
(pr_cntl.sh)
Removing
storage from
the package
To halt the external pre script:
#script_name.sh stop
If an external pre script which is
deleted from the package
configuration failed or not
attempted to stop, run the script
with stop option.
script_name stop
sg/external_pre_script
(external.sh)
Removing
external pre
script from the
package
You cannot rectify the failures in
XDC module manually and must
restart the package.
ext/xdc
(xdc.sh)
Removing MD
from the
package (for
XDC
packages)
7.8 Reconfiguring a Package 251