InfoScale™ 9.0 Cluster Server Agent for Sybase Installation and Configuration Guide - AIX
- Introducing the Cluster Server agent for Sybase
- About the Cluster Server agent for Sybase
- Supported software for the VCS agent for Sybase
- How the agent makes Sybase highly available
- How the Sybase and SybaseBk agents support intelligent resource monitoring
- About the Sybase agent functions
- Monitoring options for the Sybase agent
- Action function for the VCS agent for Sybase
- Typical Sybase configuration in a VCS cluster
- Installing and configuring Sybase
- VCS requirements for installing Sybase
- Sybase installation directory
- SYBASE directory on shared disks
- System Group and User for Sybase home directory
- Database dbspaces
- Transparent TCP/IP failover
- Changes required in Sybase RUN_Server file for AMF offline monitoring
- Language settings for the Sybase agent
- AMF kernel driver limitation for process offline event notification
- Installing Sybase in a VCS environment
- Configuring Sybase for detail monitoring
- VCS requirements for installing Sybase
- Installing, upgrading, and removing the agent for Sybase
- Configuring VCS service groups for Sybase
- About configuring service groups for Sybase
- Before configuring the service group for Sybase
- Configuring the service groups for Sybase
- Configuring the service group for Sybase from Cluster Manager (Java console)
- Configuring the service group for Sybase using the command line
- Encrypting passwords for Sybase
- About setting up detail monitoring for the agent for Sybase
- Enabling and disabling intelligent resource monitoring (IMF) for agents
- Administering the AMF kernel driver
- Administering VCS service groups for Sybase
- Appendix A. Resource type definitions for Sybase
- Appendix B. Sample configurations for Sybase
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