Storage Foundation for Sybase ASE CE 7.4 Administrator's Guide - Linux
- Overview of Storage Foundation for Sybase ASE CE
- About Storage Foundation for Sybase ASE CE
- About SF Sybase CE components
- About optional features in SF Sybase CE
- Administering SF Sybase CE and its components
- Administering SF Sybase CE
- Starting or stopping SF Sybase CE on each node
- Administering VCS
- Administering I/O fencing
- About the vxfentsthdw utility
- Testing the coordinator disk group using the -c option of vxfentsthdw
- About the vxfenadm utility
- About the vxfenclearpre utility
- About the vxfenswap utility
- Administering CVM
- Changing the CVM master manually
- Administering CFS
- Administering the Sybase agent
- Administering SF Sybase CE
- Troubleshooting SF Sybase CE
- About troubleshooting SF Sybase CE
- Troubleshooting I/O fencing
- Fencing startup reports preexisting split-brain
- Troubleshooting Cluster Volume Manager in SF Sybase CE clusters
- Troubleshooting interconnects
- Troubleshooting Sybase ASE CE
- Prevention and recovery strategies
- Prevention and recovery strategies
- Managing SCSI-3 PR keys in SF Sybase CE cluster
- Prevention and recovery strategies
- Tunable parameters
- Appendix A. Error messages
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/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/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 \
--quorum_dev=/qrmmnt/qfile
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/tmp/sybase_shm/Sybase_Server directory with proper permissions.