Use the procedures in this section to complete the following tasks.
Register and configure the Sun Cluster HA for Sybase ASE data service - Register and configure Sun Cluster HA for Sybase ASE as a failover data service.
Configure the SUNW.HAStorage resource type - Register and configure resources and resource groups for the Sybase ASE server. See Chapter 1, Planning for Sun Cluster Data Services and the Sun Cluster 3.0 12/01 Concepts document for details on resources and resource groups.
This procedure describes how to use the scrgadm(1M) command to register and configure Sun Cluster HA for Sybase ASE.
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.
The names of the cluster nodes that master the data service.
The network resource that clients use to access the data service. You typically configure the IP address when you install the cluster. See the sections in the Sun Cluster 3.0 12/01 Software Installation Guide on planning the Sun Cluster environment and on how to install the Solaris operating environment for details.
The path to the Sybase ASE application installation.
Perform the following steps on one cluster member.
Become superuser on a cluster member.
Run the scrgadm command to register resource types for Sun Cluster HA for Sybase ASE.
# scrgadm -a -t SUNW.sybase |
Adds the resource type for the data service.
Specifies the resource type name that is predefined for your data service.
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 |
Specifies the resource name to add.
Specifies the resource group name into which the RGM places the resources.
Specifies the resource type to add.
Sets the name of the environment file.
Sets the name of the adaptive server.
Sets the name of the backup server.
Sets the name of the text server.
Sets the name of the monitor server.
Sets the path to the log file for the adaptive server.
Sets the path to the stop file.
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.
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 |
The SUNW.HAStorage resource type synchronizes actions between HA storage and Sun Cluster HA for Sybase ASE. Sun Cluster HA for Sybase ASE is disk intensive, and therefore you should configure the SUNW.HAStorage resource type.
See the SUNW.HAStorage(5) man page and "Relationship Between Resource Groups and Disk Device Groups" for more information about the SUNW.HAStorage resource type. See "How to Set Up SUNW.HAStorage Resource Type for New Resources" for the procedure on how to configure the SUNW.HAStorage resource type.
After you register and configure Sun Cluster HA for Sybase ASE, go to "How to Verify the Sun Cluster HA for Sybase ASE Installation ".