HP Serviceguard Toolkit for SAP Sybase ASE and SAP Sybase Replication Server for Linux User Guide Version A.12.00.00

# cmgetconf -p <<Toolkit_Package_Name>> <<Latest_Toolkit_Conf_File>>
2. Back up this latest configuration file using a copy utility. This allows the user to refer to the
previous configuration values.
For example:
# cp -p <<Latest_Toolkit_Conf_File>> <<Backup_Toolkit_Conf_File>>
3. Edit the <<Latest_Toolkit_Conf_File>> configuration file to modify the required attribute
values.
4. Run the cmcheckconf command to verify the package configuration file.
For example:
# cmcheckconf P <<Latest_Toolkit_Conf_File>>
5. Run the cmapplyconf command to add the new changes in the package configuration to
the Serviceguard cluster environment.
For example:
# cmapplyconf P <<Latest_Toolkit_Conf_File>>
NOTE: The information related to the package re-configuration is logged in the package log.
Handling failures during online package reconfiguration
This section describes about how to troubleshoot failures during online package reconfiguration.
Table 8 (page 28) describes how to fix the errors in the affected modules that are encountered
during online addition of a package.
Table 8 Modules affected during online addition
ExampleHow to rectify the failures or
apply those that are not
attempted
Modules affected during online
addition
Description
To start the external pre script:
#extern_pre_script.sh
start
If an external pre script which is
added to the package
configuration failed to start, run
the script manually with start
option.
sg/external_pre_script
(external.sh)
Adding an
external pre
script to the
package
script_name start
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
28 Managing the Sybase toolkit package