The LifeKeeper for Linux Sybase ASE Recovery Kit requires that the path $SYBASE/ASE-<version> be symbolically linked to $SYBASE/ASE. In addition, the path $SYBASE/OCS-<version> must be symbolically linked to $SYBASE/OCS. The LifeKeeper for Linux Sybase ASE Recovery Kit uses these links to access various Sybase utilities and files. To create the links follow the steps below.

  1. From the command line, change directories into the $SYBASE directory.

Example:

server1 # cd $SYBASE

server1 # pwd

/opt/sybase-15.5

  1. Locate the ASE-<version> directory

Example:

server1 # ls –ld ASE*

drwxrwxr-x 16 sybase sybase 4096 Nov 18 09:08 ASE-15_5

lrwxrwxrwx 1 sybase sybase 8 Nov 17 11:35 ASEP -> ASEP-1_0

drwxrwxr-x 4 sybase sybase 4096 Nov 17 11:35 ASEP-1_0p

  1. Verify that the ASE-<version> directory contains the bin/srvbuild utility.

Example:

server1 # ls ASE-15_5/bin/srvbuild

srvbuild

  1. From the command line, create a link between the identified ASE-<version> directory and ASE.

Example:

server1 # pwd

/opt/sybase-15.5

server1 # ln –s ASE-15_5 ASE

  1. Verify the link was properly created.

Example:

server1 # ls –ld ASE*

lrwxrwxrwx 1 sybase sybase 8 Nov 17 11:20 ASE -> ASE-15_5

drwxrwxr-x 16 sybase sybase 4096 Nov 18 09:08 ASE-15_5

lrwxrwxrwx 1 sybase sybase 8 Nov 17 11:35 ASEP -> ASEP-1_0

drwxrwxr-x 4 sybase sybase 4096 Nov 17 11:35 ASEP-1_0

server1 # ls ASE/bin/srvbuild

srvbuild

  1. From the command line, change directories into the $SYBASE directory.

Example:

server1 # cd $SYBASE

server1 # pwd

/opt/sybase-15.5

  1. Locate the OCS-<version> directory

Example:

server1 # ls –ld OCS*

drwxrwxr-x 16 sybase sybase 4096 Nov 18 09:08 OCS-15_5

  1. Verify that the OCS-<version> directory contains the bin/isql utility.

Example:

server1 # ls OCS-15_5/bin/isql

isql

  1. From the command line, create a link between the identified OCS-<version> directory and OCS.

Example:

server1 # pwd

/opt/sybase-15.5

server1 # ln –s OCS-15_5 OCS

  1. Verify the link was properly created.

Example:

server1 # ls –ld OCS*

lrwxrwxrwx 1 sybase sybase 8 Nov 17 11:20 OCS -> OCS-15_5

drwxrwxr-x 16 sybase sybase 4096 Nov 18 09:08 OCS-15_5

server1 # ls OCS/bin/isql

isql

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment