Managing HP Serviceguard A.11.20.20 for Linux, March 2014

Table 15 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:
#multipath -ll
To view the node PR keys:
NOTE: In this example, the
node_pr_key is 72810001.
#cmviewcl -v -f line |
grep node_pr_key
#sg_persist --out -G
--param-sark=72810001
/dev/sde
#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
If addition of storage has failed,
ensure the following:
Persistent reservation is added
to the disk.
Volume group is activated
with hosttags.
Verify and repair the file
system.
The mount point is mounted.
For more information, see
sg_persist(1m),
vgchange(1m),fsck(1m),
multipath (1m), and
mount(1m) manpage.
NOTE: If there are any errors,
you need to verify all the
sg/filesystem
(filesystem.sh)
sg/volume_group
(volume_group.sh)
sg/pr_cntl
(pr_cntl.sh)
Extending
storage to the
package
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.
For more information, see
cmmodnet (1m) manpage.
sg/package_ip
(package_ip.sh)
Adding an IP
to the package
To run the external script:
#script_name.sh start
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 16 describes how to fix the errors in the affected modules that are encountered during online
deletion of a package.
250 Cluster and Package Maintenance