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

Table 4 Modules affected during online addition (continued)
To add the IP to the package
10.149.2.5:
#cmmodnet -a -I 10.149.2.5
10.149.2.0
If an IP address which is added
to the package configuration
failed to add or not attempted,
use the cmmodnet command to
add the IP address.
sg/package_ip
(package_ip.sh)
Adding an IP
to the package
For more information, see
cmmodnet (1m) manpage.
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
sg/external_script
(external.sh)
Adding an
external script
to the package
the script manually with start
option.
script_name start
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
sg/service
(service.sh)
Adding a
service to the
package
For more information, see
cmrunserv (1m) manpage.
#Halt the packageIf a NFS toolkit module added to
the package configuration fails
tkit/nfs/nfsAdding NFS
toolkit module
to the package
cmhaltpkg <nfs_toolkit_pkg>
# Correct the errors by editing the
package configuration file.
to start, then package will not the
fail, but only the new modules
will start during next successful
#Apply changes to the package
configuration file
start of the package after
correcting errors, if any.
cmapplyconf P <pkgconfig>
#Run the package
cmrunpkg <nfs_toolkit_pkg>
#Halt the packagetkit/nfs/nfsModifying NFS
toolkit cmhaltpkg <nfs_toolkit_pkg>
#Run the package
attributes
values online
cmrunpkg <nfs_toolkit_pkg>
If a NFS toolkit service fails to
start after modifying NFS toolkit
attribute value while package is
up and running, then the
package will not fail, but the
new values will not be taken in
to effect until package is halted
and successfully started again.
Deleting the package
To delete the package from the cluster, run the following command:
# cmdeleteconf -p <package_name>
This command prompts for a confirmation, before removing the package configuration from the
cluster binary file, unless you use the -f option.
Configuring alert notification for NFS toolkit package
You can configure the NFS toolkit package to send alert notification during package failure by
configuring the email_id attribute in the package configuration file.
18 Using HP Serviceguard toolkit for NFS