Hardware configuration  Starting the FailSafe configuration tool

Chapter 14: Configuring Adaptive Server for Failover on SGI IRIX

Installing the FailSafe scripts

To install the Adaptive Server components in the corresponding FailSafe directories and create scripts, execute the following to become the “su” user:

su - sybase

Next, execute:

su root
     $SYBASE/$SYBASE_ASE/install/inst_ha_script

This command creates the scripts listed in Table 14-1 in the /var/etc directory.

Table 14-1: Scripts in the /var/etc directory

Scripts

Description

start

Starts Adaptive Server and issues a resume if the state mandates and is so configured. See SWITCHES, below.

stop

Stops Adaptive Server and issues a prepare_failback if so configured. See SWITCHES, below.

monitor

Using isql, ensures that Adaptive Server is up and running.

restart

Similar to start.

probe

Attempts to access the resource definitions from the FailSafe database. Returns either success or failure.

exclusive

Determines whether Adaptive Server is running or not.

resourceAttributes

Retrieves and sets global environment variables for the scripts: also, the area where common functions live.

cmgr-create-resource-SYBASE_DB

Sample script to create the SYBASE_DB resource group.

create_resource_type

Defines the SYBASE_DB resource type in the FailSafe database.

SWITCHES

FailSafe and Adaptive Server switches used to alter the behavior of the scripts (an automatic failback versus manual, logging information, and so on). Use rcp or rsync to send any changes to this file to the other nodes.

README

Detailed database administrator and System Administrator notes.

The components and scripts are installed locally on both the primary and secondary nodes.





Copyright © 2005. Sybase Inc. All rights reserved. Starting the FailSafe configuration tool

View this book as PDF