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

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.
Maintaining a package
When a Serviceguard package is in maintenance mode, it ensures the package will not failover
to an alternate node due to any failure in the application that is configured in the package.
To perform maintenance:
1. Enable the maintenance mode for the package using the cmmodpkg command.
cmmodpkg -m on <package-name>
2. Perform the maintenance actions.
For example, you can change the configuration of the application instance or install an
application patch.
NOTE: You can ignore the errors or warnings in the package log file when the package is
set to maintenance mode.
3. Disable the maintenance mode for the package using the cmmodpkg command.
cmmodpkg -m off <package-name>
NOTE: Ensure that an application instance is up and running before disabling the
maintenance mode.
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:
Running a package 27