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
Using the IPC Cleanup feature for the Sybase agent
When the Adaptive Server starts, it creates shared memory files in $SYBASE to store information about the shared memory segments that it uses. Adaptive Server start-up parameter -M can be used to change the location of directory that stores shared memory files. The start-up parameter -M should be updated in RUN_$Server file.
If the Sybase home directory is unmounted, the Sybase clean script cannot access the shared memory files and does not clean the IPC resources that are allocated by the Sybase processes. Hence, the agent requires shared memory files to be present in the following directory on local system /var/VRTSvcs/log/tmp/sybase_shm/$Server
.
In the $SYBASE/$SYBASE_ASE/install directory, edit the RUN_$Server file. Change the location of the directory that stores shared memory files to /var/VRTSvcs/log/tmp/sybase_shm/$Server
using the -M option.
For example, the file RUN_Sybase_Server resembles the following before the change:
/home/sybase/ASE-15_0/bin/dataserver \ -sSybase_Server \ -d/home/sybase/data/master.dat \ -e/home/sybase/ASE-15_0/install/Sybase_Server.log \ -c/home/sybase/ASE-15_0/Sybase_Server.cfg \ -M/home/sybase/ASE-15_0 \
After the replacement, the file resembles:
/home/sybase/ASE-15_0/bin/dataserver \ -sSybase_Server \ -d/home/sybase/data/master.dat \ -e/home/sybase/ASE-15_0/install/Sybase_Server.log \ -c/home/sybase/ASE-15_0/Sybase_Server.cfg \ -M/var/tmp/sybase_shm/Sybase_Server \
Here Sybase_Server is the name of the Adaptive server.
Note:
Make sure you create the /var/VRTSvcs/log/tmp/sybase_shm/Sybase_Server directory with proper permissions.