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

Table 6 Modules affected during online addition (continued)
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
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 an Oracle toolkit module added
to the package configuration fails
tkit/oracle/oracleAdding Oracle
toolkit module
to the package
cmhaltpkg
<oracle_toolkit_pkg>
# Correct the errors by editing the
package configuration file.
to start, then package will not
fail, but only the new modules
will start during next successful
start of the package after
correcting errors, if any.
#Apply changes to the package
configuration file
cmapplyconf P <pkgconfig>
#Run the package
cmrunpkg
<oracle_toolkit_pkg>
#Halt the packagetkit/oracle/oracleModifying
Oracle toolkit cmhaltpkg
<oracle_toolkit_pkg>
#Run the package
attributes
values online
cmrunpkg
<oracle_toolkit_pkg>
If an Oracle toolkit service fails
to start after modifying Oracle
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.
Halting a package
To halt a package, run the following command:
Managing a package 31