Thank you. I have download the sybase agent, and encount another issues. I can't start the sybase database. i can go into sybase by ./isql yet , command bellow fail to start sybase.
#!/bin/sh # # ASE page size (KB): 2k # Master device path: /opt/sybase/data/master.dat # Error log path: /opt/sybase/ASE-12_5/install/SOLARISCYSTAL.log # Configuration file path: /opt/sybase/ASE-12_5/SOLARISCYSTAL.cfg # Directory for shared memory files: /opt/sybase/ASE-12_5 # Adaptive Server name: SOLARISCYSTAL # /opt/sybase/ASE-12_5/bin/dataserver \ -d/opt/sybase/data/master.dat \ -e/opt/sybase/ASE-12_5/install/SOLARISCYSTAL.log \ -c/opt/sybase/ASE-12_5/SOLARISCYSTAL.cfg \ -M/opt/sybase/ASE-12_5 \ -sSOLARISCYSTAL \ From: Martin Rattner To: yang Cc: ha-clusters-discuss at opensolaris.org Sent: Thursday, January 08, 2009 9:37 AM Subject: Re: [ha-clusters-discuss] Hi, Could some nice people copy one example of seting sybase for cluaster? SUNW.sblsrvr is the failover Siebel server agent, not the Sybase agent. I think you want SUNW.sybase. For reference, I have attached an ascii copy of the man page for SUNW.sybase. Sorry I don't know the answer to any Sybase-specific questions. --Marty On 01/ 7/09 05:15 PM, yang wrote: > Hi, When I do this command, I found > "clresource: (C605594) Invalid property "Environment_File" specified. > " > and "the parameter isn't the same as the rtr file" > > The docuemtation haven't any real example,I am trying how to make it work. > > > clresource create -g RG-SYBASE \ > -t SUNW.sblsrvr \ > -p Environment_File=/opt/sybase/SYBASE.csh \ : I can't under stand SYBASE.csh fullly,Do I need to change some item of them? > -p Adaptive_Server_Name=/opt/sybase/ASE-12_5/install/startserver \ > -p Backup_Server_Name=backup-server-name \ > -p Text_Server_Name=text-server-name \ > -p Monitor_Server_Name=monitor-server-name \ > -p Adaptive_Server_Log_File=/opt/SUNWscsbl/log \ --> can I mkdir log in this path ? > -p Stop_File=stop-file-path \ ---> i found /opt/SUNWscsbl/sblsrvr/bin have stop_sblsrvr , Yet I don't know where is the password for sa. Or do I need build a new one? > -p Connect_string=user/passwd \ > -p resource_dependencies=storageplus-resource \ > -p Wait_for_Online=TRUE \ > -p DB_Wait_List=db1, db2, ... \ > -p Restart_type=RESOURCE_RESTART|RESOURCE_GROUP_RESTART \ > -p Custom_action_file=filepath resource ------------------------------------------------------------------------------ Sun Cluster Miscellaneous SUNW.sybase(5) NAME SUNW.sybase, sybase - resource type implementation for Sun Cluster HA for Sybase Adaptive Server Enterprise (ASE) DESCRIPTION The SUNW.sybase resource type represents the Sybase ASE application in a Sun Cluster configuration. Standard properties and extension properties that are defined for the SUNW.sybase resource type are described in the subsections that follow. To set these properties for an instance of the SUNW.sybase resource type, use the clresource(1CL) command or a resource-configuration GUI. Standard Properties Set the standard resource property Failover for all failover resource types. Standard resource properties are overridden for this resource type as follows: Failover_mode Default: SOFT Tunable: Any time Retry_count Default: 2 Tunable: Any time Retry_interval Default: 600 Tunable: Any time Thorough_probe_interval Default: 30 Tunable: Any time For a description of these standard resource properties, see r_properties(5). Extension Properties Adaptive_Server_Log_File Type string. Set this property as the absolute path of the Sybase ASE data-server log to which Sybase ASE logs errors. As part of the probe execution, the Sybase ASE data-server fault monitor scans this log file for errors. The fault monitor matches the error numbers for possible actions with patterns that the Sun Cluster HA for Sybase ASE action file, /opt/SUNWsyb/etc/sybase_actions, specifies. You can modify this property at any time. No default value exists for this field. You must set this property. Adaptive_Server_Name Type string. This property specifies the adaptive-server name, which enables the Sun Cluster HA for Sybase ASE data service to locate and execute the RUN server script. This script is located in the $SYBASE/ASE_major-version/install directory, where major-version is the major version of Sybase ASE that you are using. For example, if you are using Sybase ASE version 12.5.1, major-version is 12-5. You can modify this property only when you have disabled the resource. No default value exists for this field. You must set this property. Backup_Server_Name Type string. This property specifies the backup-server name, which enables the Sun Cluster HA for Sybase ASE data service to locate and execute the RUN server script. This script is located in the $SYBASE/ASE_major-version/install directory, where major-version is the major version of Sybase ASE that you are using. For example, if you are using Sybase ASE version 12.5.1, major-version is 12-5. You can modify this property only when you have disabled the resource. Setting this property is optional, but if you do not set the property, the Sun Cluster HA for Sybase ASE data service will not manage the server. Connect_cycle Type integer. Default is 5. The Sybase ASE data-server fault monitor uses the user ID and password that the Connect_string property specifies to periodically con- nect to the database. After executing the number of probes that this property specifies, the monitor discon- nects and then reconnects. You can modify the value for this property at any time. Connect_string Type string. Set this property to the database user's user ID and password in fault-monitor transactions. Specify this property as follows: userid/password When you set up the Sun Cluster HA for Sybase ASE data service, define the database user ID and password before you enable the server resource and the server resource's fault monitor. Do not use the sa account for the data- base user. You can modify this property at any time. No default value exists for this field. You must set this property, even if you do not set the Monitor_Server_Name property. Debug_level Type integer. Default is 1. This property indicates the debug level for writing to the Sun Cluster HA for Sybase ASE log. You can modify the value for this property at any time. Environment_File Type string. This property specifies the absolute file path of the environment file (typically SYBASE.sh) that is provided with the Sybase ASE distribution. Before executing any method or program, the Sun Cluster HA for Sybase ASE data service reads this file and sets the environment accordingly. You can modify this property only when you have disabled the resource. No default value exists for this field. You must set this property. Monitor_Server_Name Type string. This property specifies the monitor-server name, which enables the Sun Cluster HA for Sybase ASE data service to locate and execute the RUN server script. This script is located in the $SYBASE/ASE_major-version/install directory, where major-version is the major version of Sybase ASE that you are using. For example, if you are using Sybase ASE version 12.5.1, major-version is 12-5. You can modify this property only when you have disabled the resource. Setting this property is optional, but if you do not set the property, the Sun Cluster HA for Sybase ASE data service will not manage the server. Probe_timeout Type integer. Default is 60 seconds. This property is the timeout value that the fault monitor uses to probe a Sybase ASE server instance. You can modify the value for this property at any time. Stop_File Type string. This property indicates the absolute path to the script that the STOP method executes to stop the Sybase ASE servers. This file stores the password of the Sybase ASE system administrator (sa). Protect the path so that only the user and group that are associated with the Sybase ASE installation can access the file. The Sun Cluster HA for Sybase ASE package includes the sybase_stop_servers template. You must replace the existing password. You can modify this property at any time. No default value exists for this field. You must set this property. Text_Server_Name Type string. This property specifies the text-server name, which enables the Sun Cluster HA for Sybase ASE data service to locate and execute the RUN server script. This script is located in the $SYBASE/ASE_major-version/install directory, where major-version is the major version of Sybase ASE that you are using. For example, if you are using Sybase ASE version 12.5.1, major-version is 12-5. You can modify this property only when you have disabled the resource. Setting this property is optional, but if you do not set the property, the Sun Cluster HA for Sybase ASE data service will not manage the server. Wait_for_online Type Boolean. Default is TRUE. This property specifies whether the START method waits for the database to become active before exiting. If you set this property to TRUE, the START method starts the database and waits for the database to become active before exiting. You can modify the value for this property at any time. ATTRIBUTES See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWscsyb | |_____________________________|_____________________________| SEE ALSO pmfadm(1M), scha_resource_get(1HA), clresource(1CL), clresourcegroup(1CL), attributes(5), r_properties(5) Sun Cluster Data Services Planning and Administration Guide for Solaris OS, Sun Cluster Data Service for Sybase ASE Guide for Solaris OS Sun Cluster 3.2 Last change: 31 Jul 2007 5 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/ha-clusters-discuss/attachments/20090108/2470e47c/attachment.html>