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 users are not restricted access based on their roles, this password can be viewed by unauthorized users using the cmviewcl command. It is highly recommended to grant access to users based only on their roles in managing the cluster and packages. See “Configuring Access Roles” (page 67) in this chapter for more details on configuring Role Based Access (RBA).

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 the user requires that the ASE instance should abort immediately and do an unclean shutdown, this should be specified as "nowait".

ecmt/sybase/sybase/MONITOR_INTERVAL 5ecmt/sybase/sybase/TIME_OUT 30ecmt/sybase/sybase/RECOVERY_TIMEOUT 30ecmt/sybase/sybase/MONITOR_PROCESSES dataserverecmt/sybase/sybase/MAINTENANCE_FLAG yes

Define the volume groups that are used by the Sybase ASE instance. File systems associated with these volume groups are defined as follows:

vg /dev/vg00_SYBASE0 vg /dev/vg01_SYBASE0

Define the file systems which are used by the Sybase ASE instance. Note that one of these file systems must be the shared file system/logical volume containing the Sybase ASE home configuration information ($SYBASE_HOME). The name of the instance is used to name the volume groups, logical volumes and file systems.

fs_name /dev/vg00_SYBASE0/lvol1 fs_directory /SYBASE0 fs_type "ext3" fs_mount_opt "-o rw"

Define the service related parameters. The service name should include the Sybase ASE instance name (that is ${ASE_SERVER}). In the following example, since there is only one service for this package, the ${ASE_SERVER} (that is SYBASE0) is assigned to the 'service_name' parameter.

service_name SYBASE_${ASE_SERVER} service_cmd "/opt/cmcluster/conf/scripts/ecmt/sybase/tkit_module.sh sybase_monitor"

service_restart "-r 3"

The service restart counter can be reset to zero for this service by using Serviceguard command :cmmodpkg. The service restart counter is incremented each time the service fails. It is used

Sybase Package Configuration Example 65