HP Serviceguard Toolkit for Enterprise DB PPAS for Linux User Guide Version A.12.00.00

Table 2 Modules affected during online addition (continued)
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
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 EDB PPAS toolkit module
added to the package
tkit/ppas/ppasAdding EDB
PPAS toolkit cmhaltpkg
<ppas_toolkit_pkg>
# Correct the errors by editing the
package configuration file.
configuration fails to start, then
package will not fail, but only the
new modules will start during
next successful start of the
module to the
package
#Apply changes to the package
configuration file
package after correcting errors,
if any.
14 Managing the EDB PPAS database instance