Sun Cluster 3.0 U1 Data Services Installation and Configuration Guide

How to Register and Configure Sun Cluster HA for Sybase ASE

This procedure describes how to use the scrgadm(1M) command to register and configure the Sun Cluster HA for Sybase ASE data service.


Note -

Other options also enable you to register and configure the data service. See "Tools for Data-Service Resource Administration" for details about these options.


To perform this procedure, you must have the following information.


Note -

Perform the following steps on one cluster member.


  1. Become superuser on a cluster member.

  2. Run the scrgadm command to register resource types for the Sun Cluster HA for Sybase ASE data service.


    # scrgadm -a -t SUNW.sybase
    

    -a

    Adds the resource type for the data service.

    -t SUNW.sybase

    Specifies the resource-type name that is predefined for your data service.

  3. Create Sybase ASE application resources in the failover resource group.


    # scrgadm -a -j resource -g resource-group \
    -t SUNW.sybase \
    -x Environment_File=environment-file-path \
    -x Adaptive_Server_Name=adaptive-server-name \
    -x Backup_Server_Name=backup-server-name \
    -x Text_Server_Name=text-server-name \
    -x Monitor_Server_Name=monitor-server-name \
    -x Adaptive_Server_Log_File=log-file-path \
    -x Stop_File=stop-file-path \
    -x Connect_string=user/passwd \
    
    -j resource

    Specifies the resource name to add.

    -g resource-group

    Specifies the resource-group name into which the RGM places the resources.

    -t SUNW.sybase

    Specifies the resource type to add.

    -x Environment_File=environment-file

    Sets the environment-file name.

    -x Adaptive_Server_Name=adaptive-server-name

    Sets the adaptive-server name.

    -x Backup_Server_Name=backup-server-name

    Sets the backup-server name.

    -x Text_Server_Name=text-server-name

    Sets the text-server name.

    -x Monitor_Server_Name=monitor-server-name

    Sets the monitor-server name.

    -x Adaptive_Server_Log_File=log-file-path

    Sets the path to the log file for the adaptive server.

    -x Stop_File=stop-file-path

    Sets the path to the stop file.

    -x Connect_string=user/passwd

    Specifies the user name and password that the fault monitor uses to connect to the database.

    You do not have to specify extension properties that have default values. See "Configuring Sun Cluster HA for Sybase ASE Extension Properties" for more information.

  4. Run the scswitch(1M) command to complete the following tasks.

    • Enable the resource and fault monitoring.

    • Move the resource group into a managed state.

    • Bring the resource group online


    # scswitch -Z -g resource-group
    
    .