HP Serviceguard Enterprise Cluster Master Toolkit User Guide, December 2012 (5900-2145)

4. Edit the package configuration file.
NOTE: Sybase toolkit configuration parameters in the package configuration file are prefixed
by ecmt/sybase/sybase when used in Serviceguard A.11.19.00.
For Example:
/etc/cmcluster/pkg/sybase_pkg/pkg.conf
The configuration file must be edited as indicated by the comments in that file. The package
name must be unique within the cluster.
For Example:
PACKAGE_NAME sybase
NODE_NAME node1
NODE_NAME node2
Set the TKIT_DIR variable as the path of <package_directory>. For example, TKIT_DIR
/etc/cmcluster/pkg/pkg01.
5. To check for the validity of the configuration specified, run the cmcheckconf command.
For Example:
#cmcheckconf -P pkg.conf
6. If the cmcheckconf command does not report any errors, use the cmapplyconf command
to add the package into Serviceguard environment.
For Example:
#cmapplyconf -P pkg.conf
Adding the Package to the Cluster
After the setup is complete, add the package to the Serviceguard cluster, and then start it up.
cmapplyconf -P SYBASE0
cmmodpkg -e -n <node1> -n <node2> SYBASE0
cmmodpkg -e SYBASE0
For more information on managing packages, see the latest Managing Serviceguard manual
available at http://www.hp.com/go/hpux-serviceguard-docs—>HP Serviceguard manual.
Configuring Access Roles
To restrict unauthorized users from viewing the values of package attributes, set appropriate roles
for users who manage the cluster and packages. Use the SAPASSWD package attribute to set the
Sybase administrator password. Along with other package attributes, the password set for the
SAPASSWD package attribute is also stored in the cluster database.
If you do not restrict access of users for the SAPASSWD package attribute, then unauthorized users
can use the cmviewcl command to view the Sybase administrator password. HP recommends
you to grant access to users based only on their roles in managing the cluster and packages. To
configure Role Based Access (RBA), use the following configuration parameters in the cluster:
USER_NAME
USER_HOST
USER_ROLE
Specify one of the following values for the USER_ROLE parameter:
70 Using the Sybase ASE Toolkit in a Serviceguard Cluster on HP-UX