Each service group should contain an HAase resource. The following table shows the attributes of an HAase resource.
Property |
Datatype, dimension, and default |
Description |
---|---|---|
Sybase_home |
string, scalar, null |
The home directory of the Adaptive Server installation, and the same as the value for the environment variable SYBASE in an Adaptive Server installation. |
Dataserver_name |
string, scalar, null |
Name of the Adaptive Server that is supplied at the time of configuration. |
Backup_server_name |
string, scalar, null |
Name of the Backup Server that is supplied at the time of configuration. |
Monserver_name |
string, scalar, null |
Name of the Monitor Server that is supplied at the time of configuration. |
Textserver_name |
string, scalar, null |
Name of the full-text search server that is supplied at the time of configuration. |
Secondary_companion_name |
string, scalar, null |
Name of secondary companion server which is set when you run the ‘sp_companion configure’ command. |
Dataserver_login_file |
string, scalar, null |
Absolute path to a file containing login information for current data server. The file consists of two lines; the first line is the login and password for system administrator, the second line is the user login and password used for thorough probe used by the HA agent monitor. |
RUN_server_file |
string, scalar, null |
Absolute path to an alternative RUN_server file, which overwrites the default $SYBASE/$SYBASE_ASE/install/RUN_SERVER. |
Thorough_probe_cycle |
int, scalar, 3 |
The number of “shallow” probes before a thorough probe is performed. |
Thorough_probe_script |
string, scalar, null |
Absolute path to an alternative file containing SQL scripts for the fault monitoring program to perform a thorough probe. If it is set to null, the agent uses the default SQL commands. For security reasons, this file should only restrict write access to owner of $SYBASE directory). This value is ignored by the HAase resource. |
Debug |
Boolean, scalar, 0 |
If set to 1 (true), the monitor logs debugging messages to $VCS_LOG/log/HAase_A.log; other scripts log debugging messages to $VCS_LOG/log/engine_A.log. The message number range is 2,000,001 and greater. |
Log_max_size |
int, scalar, 5000000 |
Maximum size for the $VCS_LOG/log/HAase_A.log file. |
Failback_strategy |
string, scalar, null |
Reserved for future use. |
HA_config |
boolean, scalar, 0 |
Reserved for future use. |
Cmpstate |
boolean, scalar, 0 |
Reserved for future use. |
The default value for $VCS_LOG is /var/VRTSvcs.
The following table shows a sample configuration of an HAase instance:
Attribute |
Value |
---|---|
Sybase_home |
/release/rel125 |
Dataserver_name |
Money1 |
Backup_server_name |
|
Monserver_name |
|
Textserver_name |
|
Secondary_companion_name |
|
Dataserver_login_file |
/release/rel125/ASE-12_5/install/MONEY1_login |
RUN_server_file |
/release/rel125/ASE-12_5/install/RUN_MONEY1 |
Thorough_probe_cycle |
3 |
Thorough_probe_script |
|
Debug |
|
Log_max_size |
5000000 |
Failback_strategy |
|
HA_config |
0 |
Cmpstate |
0 |