To
install the Adaptive Server components in the corresponding FailSafe directories
and create scripts, execute the following to become the “su” user:
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.