Define the Adaptive Server resources on the primary

From the GUI

  1. Select Tasks from fstask.

  2. Select Resources.

  3. Select Define a Resource

    Field

    Sample value

    Description

    Resource Type

    SYBASE_DB

    The type of resource to define. The FailSafe system includes pre-defined resource types; you can define your own resource types as well.

    Resource

    pri_ase

    Name of the resource to define.

  4. Select Next. Complete the following fields with the appropriate values.

    Field

    Sample value

    UOM

    Description

    HA_PWD

    ‘ ‘

    string

    To enter a NULL password, use single quotes.

    SYBASE1

    /usr/sybase

    string

    The local Adaptive Server’s $SYBASE value.

    SYBASE2

    /usr/sybase

    String

    The remote Adaptive Server’s $SYBASE value.

    SYBUSER

    sybase

    String

    The IRIX user name who owns $SYBASE. The value is used by IRIX FailSafe to login and start Adaptive Server.

    MONITOR_INTERVAL

    5

    Seconds

    How often you ping Adaptive Server using isql. Each ping creates a new isql session, then terminates it. Use this data in determining the setting.

    SYBASE_ASE

    ASE-12_5

    String

    The subdirectory within $SYBASE where the Adaptive Server exists.

    SYBASE_OCS

    OCS-12_5

    String

    The subdirectory within $SYBASE where the Open Client Server binaries exist; specifically, isql.

    HOST1

    spinnaker

    String

    The local hostname(1) value.

    HOST2

    mizzen

    String

    The remote hostname(1) value.

    RECOVERY_TIMEOUT

    90

    Seconds

    The number of seconds that you are willing to wait for Adaptive Server to run through recovery on all its databases. This can be a while, depending on the size of the transaction logs and how many databases are being rolled forward. If you exceed the limit specified, IRIX FailSafe issues an error.

    SHUTDOWN_TIMEOUT

    30

    Seconds

    The number of seconds you are willing to wait before erroring out.

    HA_LOGIN

    sa

    syslogins

    A user with ha_role assigned who has the ability to monitor Adaptive Server and shut it down.

    SYBSERVER1

    SPINNAKER

    String

    The local Adaptive Server’s DSQUERY value.

    SYBSERVER2

    MIZZEN

    String

    The remote Adaptive Server’s DSQUERY value.

  5. Select Tasks

  6. Select Resources

  7. Select Add/Remove Dependencies for a Resource Definition. Enter values for the following fields

    Field

    Sample value

    Description

    Resource Type

    SYBASE_DB

    Select a value from the pull-down list.

    Resource

    pri_ase

    The list of values is displayed for the Resource Type.

    List of Dependencies

    N/A

    Information line

    Dependency Type

    file system

    Similar to a Resource Type.

    Dependency Name

    /vol1

    Similar to a Resource. The list of values is limited based on the Dependency Type.

From the command line

From the command line, enter the following:

cluster_mgr –f pri_ase_resource_def