Managing HP Serviceguard A.12.00.00 for Linux, June 2014

Table 13 Modules affected during online addition (continued)
To halt external pre script:
#extern_pre_script.sh stop
If an external script which is
added to the package
configuration failed to start, run
the script manually with start
option.
script_name start
sg/external_script
(external.sh)
Adding an
external script
to the package
To run the process as service:
#cmrunserv db1
/var/opt/db/database1
If a service which is added to the
package configuration failed to
start or not attempted, use the
cmrunserv command to start
the service
For more information, see
cmrunserv (1m) manpage.
sg/service
(service.sh)
Adding a
service to the
package
Table 14 describes how to fix the errors in the affected modules that are encountered during online
deletion of a package.
Table 14 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:extern_script.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
254 Cluster and Package Maintenance