Modify the Adaptive Server resource type registration file SY.ase. This file is located in $SYBASE/$SYBASE_ASE/SC-3_0/etc/. Find the line for the resource type property, RT_BASEDIR, which specifies the location of the Adaptive Server high availability agent. Change the value to point to the installation location of $SYBASE/$SYBASE_ASE/SC-3_0/bin.
For example:
RT_BASEDIR=/sybase/ASE-15_0/SC-3_0/bin/
Create or edit a file that contains Adaptive Server login information for the System Administrator and the user you added for the fault monitor. The default file is $SYBASE/$SYBASE_ASE/SC-3_0/etc/ase_login_file. If you use another file in a different location, specify the full path for the resource extension property Dataserver_login_file when configuring the SY.ase resource. The file consists of two lines. The first line is for the System Administrator login and password, the second line is for the monitor user login and password.
login_type <tab> login_string login_type <tab> login_string
The only valid value for login type is normal. The value for login string is in the form login-name/password. This is an example of $SYBASE/$SYBASE_ASE/SC-3_0/etc/ase_login_file:
normal <tab> sa/sa-password normal <tab> ase_monitor_user/ase_monitor_user_password
After editing the file with proper values, make the
file only readable to the “root” user:
chmod 400 ase_login_file
chown root ase_login_file
chgrp sys ase_login_file
Create or edit the sysc_input_file and run syscadm, which registers the resource type, creates the resource group, adds resources to the resource group, and establishes resource dependencies. For example:
syscadm -c primary -f $SYBASE/$SYBASE_ASE/SC-3_0/etc/sysc_input_file
For more information, see “Using the syscadm script”.
You can also run the steps performed by the syscadm command manually. See “Configuring the resource group manually” for more information.
For a list of the extension properties see Table 9-1.
Run scswitch to:
Move the resource group to managed state.
Enable all resources and their monitors.
Bring the resource group online on the primary node.
scswitch -Z -g resource_group_name
For example:
scswitch -Z -g rg_MONEY