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

database is 'SYBASE0', follow the instructions in the section Building an HA Cluster Configuration
in the latest Managing Serviceguard manual to create the following:
/dev/vg0_SYBASE0 (the volume group)
/dev/vg0_SYBASE0/lvol1 (the logical volume)
/dev/vg0_SYBASE0/lvol1 (the filesystem) mounted at /SYBASE0
1. Consider that Sybase ASE is installed in /home/sybase; create symbolic links to all
subdirectories under /home/sybase. Exclude the dbs directory (dbs contains important instance
configuration files, and the DBS directory should reside in the shared storage in
${ASE_SERVER}, for example, /SYBASE0/dbs).
2. Test the setup to ensure Sybase ASE can be properly brought up.
3. Repeat this step on all other clustered nodes that must be configured to run the package, to
ensure Sybase ASE can be brought up and down successfully.
4. Create the Serviceguard package using modular package method
5. Create a package configuration file (SYBASE0.conf) as follows:
cmmakepkg -m ecmt/sybase/sybase -p SYBASE0.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 clarity, use the $ASE_SERVER to name the package
"package_name <ASE_SERVER>"
The Serviceguard package configuration file (SYBASE0.conf)
The following are some examples of modifications that must be made to the Serviceguard package
configuration file, to customize your environment.
For example:
package_name SYBASE0
List the names of the clustered nodes that must be configured to run the package, using the
node_name parameter:
node_name node1
node_name node2
The following is an example of specifying Sybase ASE specific variables:
ecmt/sybase/sybase/TKIT_DIR /tmp/SYBASE0
ecmt/sybase/sybase/SYBASE /home/sybase
ecmt/sybase/sybase/SYBASE_ASE ASE-15_0
ecmt/sybase/sybase/SYBASE_OCS OCS-15_0
ecmt/sybase/sybase/SYBASE_ASE_ADMIN sybase
ecmt/sybase/sybase/SALOGIN sa
ecmt/sybase/sybase/SAPASSWD somepasswd
NOTE: Keep this commented if the password for the administrator is not set. Along with other
package attributes, this password is also stored in the Cluster Database. If you do not restrict access
based on your roles, this password can be viewed by unauthorized users using the cmviewcl
command. HP recommends you to grant access to users based only on their roles in managing
the cluster and packages. For more information on configuring Role Based Access (RBA), see
“Configuring Access Roles” (page 70) .
ecmt/sybase/sybase/ASE_SERVER SYBASE0
ecmt/sybase/sybase/ASE_RUNSCRIPT /home/sybase/ASE-15_0/install/RUN_SYBASE0
ecmt/sybase/sybase/USER_SHUTDOWN_MODE wait
The default is "wait". If you want the ASE instance to abort immediately and therefore perform an
unclean shutdown, this should be specified as "nowait".
ecmt/sybase/sybase/MONITOR_INTERVAL 5
68 Using the Sybase ASE Toolkit in a Serviceguard Cluster on HP-UX