HP Serviceguard Toolkit for SAP Sybase ASE and SAP Sybase Replication Server for Linux User Guide (May 2013)

5 Managing the Sybase toolkit package
This section provides information about managing the Sybase toolkit package. The following steps
are applicable for all Sybase toolkit packages.
Running a package
After adding the package to a Serviceguard cluster, start the package using the cmrunpkg
command.
For example:
# cmrunpkg rs1
This command starts the rs1 package and the associated application instances.
Halting a package
While the package is running in a Serviceguard cluster, halt the package using the cmhaltpkg
command.
For example:
# cmhaltpkg rs1
This command halts the rs1 package and the associated application instances.
Online modification of Sybase toolkit attributes
To modify attributes online:
1. While the package is running, retrieve the current package configuration values using the
cmgetconf command.
For example:
# 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 reconfiguration is logged in the package log.
Deleting a package
To remove the package from the Serviceguard cluster, run the cmdeleteconf command.
For example:
#cmdeleteconf -p rs1
Running a package 27