/dev/vg02_SYBASE0/lvol1 #Logical volume Sybase ASE data /dev/vg02_SYBASE0/lvol2 #Logical volume Sybase ASE data

See the Sybase ASE documentation to determine which format is more appropriate for the setup environment that user prefers.

File system for Sybase ASE data files:/SYBASE0 - mount point for /dev/vg03_SYBASE0/lvol1

All data belonging to the database must reside on shared logical volumes (file system), space needs to be allocated and shared for the following:

Sybase ASE system data tablesSybase ASE indexesSybase ASE stored proceduresSybase ASE transaction log files

After defining the shared volume groups/logical volumes/file systems for these entities, see Sybase ASE documentation for creating the database.

Setting up the Toolkit

Toolkit Setup

After installing the toolkit, this README and SGAlert.sh file will be in the /opt/cmcluster/toolkit/sybase directory. One script will be present in the /etc/cmcluster/scripts/ecmt/sybase directory. The other file for package attribute definition file will be present in the /etc/cmcluster/modules/ecmt/sybase directory. Copy the SGAlert.sh file to the TKIT_DIR directory.

For modular packages, there is an Attribute Definition File (ADF) and a Toolkit Module Script (tkit_module.sh)

Attribute Definition File (sybase.1)

The ADF is used to generate a package ASCII template file. This file contains a list of pre-defined variables that will be added to the package configuration file during cmmakepkg, which the user must customize for use with a particular Sybase ASE instance. It has an attribute TKIT_DIR which will have the path of the package directory. For every parameter which requires user input in the package configuration file, there is an attribute in the ADF. The Sybase ASE attributes are discussed in Table 7 (page 62)

Table 7 Sybase ASE attributes

Sybase ASE Attributes

Description

 

 

SYBASE

The location where the Sybase products are installed.

 

NOTE:

This is also a SYBASE ENV variable and has to be set for Sybase ASE instance

 

to start. Install different instances of Sybase ASE on different paths/LUNs.

 

 

SYBASE_ASE

The directory name under $SYBASE where the ASE products are installed. Note: This

 

is also a SYBASE ENV variable and has to be set for Sybase ASE instance to start

 

 

SYBASE_OCS

The directory name under $SYBASE where the OCS products are installed. This directory

 

bin should contain the binary file isql.

 

NOTE:

This is also a SYBASE ENV variable and has to be set for Sybase ASE instance

 

to start.

 

 

 

SYBASE_ASE_HOME

The base directory of Sybase ASE where sybase is installed

 

 

SYBASE_ASE_ADMIN

System login name of the Sybase ASE administrator. User will be logged in using this

 

account for starting and stopping of the database

 

 

 

62 Using the Sybase ASE Toolkit in a Serviceguard Cluster on HP-UX