InfoScale™ 9.0 Cluster Server Agent for Sybase Installation and Configuration Guide - Solaris
- Introducing the Cluster Server for Sybase
- About the Sybase agent functions
- Monitoring options for the Sybase agent
- Installing and configuring Sybase
- Installing, upgrading, and removing the agent for Sybase
- Configuring VCS service groups for Sybase
- Before configuring the service group for Sybase
- About setting up detail monitoring for the agent for Sybase
- Administering VCS service groups for Sybase
- Appendix A. Resource type definitions for Sybase
- Appendix B. Sample configurations for Sybase
- Resource dependency graph for the Sybase agent
- Sample main.cf files for Sybase ASE CE configurations
Configuring Sybase for detail monitoring
This section describes the tasks to be performed to configure a Sybase server for detail monitoring.
Note:
The steps that are described here are specific to the sample script, SqlTest.pl, provided with the agent. If you use a custom script for detail monitoring, you must configure the Sybase database accordingly.
Perform these steps only once in a Sybase cluster.
To configure Sybase for detail monitoring
- Source the SYBASE.sh file or SYBASE.csh file (depending on the user shell) to set the $SYBASE and $SYBASE_ASE environment variables.
- Start the Sybase server.
# startserver -f ./$SYBASE/$SYBASE_ASE/install/RUN_server_name
- Start the Sybase client on any cluster node.
# isql -Usa -SSYBASE_SERVER_NAME
Enter the administrator password when prompted to do so.
- Connect to the master database.
# use master # go
- Create a Sybase user account.
# sp_addlogin user_name, password # go
The detail monitor script should use this account to make transactions on the database.
- Create a database.
# create database database_name # go
The detail monitor script should make transactions on this database.
- If required, restrict the size of the log file for the database.
# sp_dboption database_name, "trunc log on chkpt", true # go
- Connect to the database that is created in step 6.
# use database_name # go
- Associate the user created in step 5 with the database created in step 6.
# sp_adduser user_name # go
- Change the user to the one created in step 5.
# setuser "user_name" # go
- Create a table in the database.
# create table table_name (lastupd datetime) # go
The detail monitor script should make transactions on this table.
If you use the SqlTest.pl for detail monitoring, make sure you create a table with a lastupd field of type datetime.
- Verify the configuration by adding an initial value to the table.
# insert into table_name (lastupd) values (getdate()) # go
- Exit the database.
# exit
More Information