Sun Cluster Data Service for Sybase ASE Guide for Solaris OS

How to Create the Sybase ASE Database Environment

Before you perform this procedure, ensure that you have completed the following tasks.

Perform the following steps to create the Sybase ASE database environment.

  1. Run the GUI-based utility srvbuild to create the Sybase ASE database.

    The $SYBASE/ASE_12-0/bin directory contains this utility. See the Sybase ASE document entitled Installing Sybase Adaptive Server Enterprise on Sun Solaris 2.x (SPARC).

  2. To verify successful database installation, ensure that all of the servers start correctly.

    Run the ps(1) command to verify the operation of all of the servers. Sybase ASE server logs indicate any errors that have occurred.

  3. Set the password for the Sybase ASE system administrator account.

    See the Sybase Adaptive Server Enterprise System Administration Guide for details on changing the sa login password.

  4. Create a new Sybase ASE account for fault monitoring.

    This account enables the fault monitor to perform the following tasks.

    • Support queries to system tables.

    • Create and update user tables.

    Note –

    Do not use the sa account for these purposes.

    The following example shows how to create a new Sybase ASE account for fault monitoring.

    # isql -Usa -Psybase -Sasedb
    1> use master
    2> go
    1> create database sc3xdb
    1> sp_addlogin dbmon, dbmonp, sc3xdb
    2> go
    1> use sc3xdb
    2> go
    1> sp_changedbowner dbmon
    2> go
    1> sp_modifylogin dbmon, defdb, sc3xdb
    2> go
    1> exit

    See Sun Cluster HA for Sybase ASE Fault Monitor for more information.

  5. Update the stop file with the sa password.

    Because the stop file contains the sa password, protect the file with the appropriate permissions, and place the file in a directory that the system administrator chooses. Enable only the sybase user to read, write, and execute the stop file.

    See Important Security Issues for more information about the stop file.

Where to Go From Here

After you create the Sybase ASE database environment, go to Installing the Sun Cluster HA for Sybase ASE Packages.