You are here: Configuration Considerations > Configuration Steps Using Sybase 12.x

Configuration Steps Using Sybase 12.x

Sybase 12.x has long been supported with the Sybase Application Recovery Kit.  However, Sybase 12.x dates back to the mid-2000's, which is somewhat problematic for the current version of LifeKeeper running on modern versions of Linux.  The following will help an administrator to configure Linux so that Sybase 12.x and LifeKeeper will work happily together.

Use Sybase 12.5.4

This version of Sybase will work on most current versions of Linux (Red Hat 5, Novell SLES 10).

Error Messages That You May See

If you try to create a Sybase ASE 12.x resource, you may see an error that  looks like this:

Wed Mar  9 14:57:12 EST 2011 databasehier: BEGIN create of "sybase-donald" on 
server "beagle.dsims.us"
Wed Mar  9 14:57:15 EST 2011 databasehier: ERROR 114010: Unable to get the
version for the Sybase Server donald installed under /sybase1254 on
beagle.dsims.us.
Wed Mar  9 14:57:15 EST 2011 databasehier: ERROR 001022: END failed hierarchy
"create" of resource "sybase-donald" on server "beagle.dsims.us" with return
value of 2

Error 114010 may indicate a problem with the ld.config.so as well as an installation error. 

What To Do About It?

The actual problem is that root user does not have the right set of libraries to run the Sybase command srvbuild -v to determine what Sybase release the kit is dealing with.  Making changes to /etc/ld.so.conf will put these libraries in root's library path.

  1. Add the following lines to file /etc/ld.so.conf on all servers in the cluster that will be running Sybase 12.x.

<$SYBASE for the Sybase 12.x Instance>/ASE/lib

<$SYBASE for the Sybase 12.x Instance>/OCS/lib

for example, on a SLES 10 SP 1 system, /etc/ld.so.conf looked like this

ford:/etc # cat ld.so.conf
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/i486-linux-libc5/lib=libc5
/usr/i386-suse-linux/lib
/usr/local/lib
/opt/kde3/lib
/opt/gnome/lib
/s10/sybase1254/ASE/lib
/s10/sybase1254/OCS/lib
include /etc/ld.so.conf.d/*.conf

$SYBASE for the Sybase 12.5.4 instance on this cluster was /s10/sybase1254

  1. As root, run the following command:

#  ldconfig

Complete these steps on each cluster system that will run Sybase 12.x.

© 2012 SIOS Technology Corp., the industry's leading provider of business continuity solutions, data replication for continuous data protection.