You are here: Administration > Creating Links for ASE and OCS

Creating Links for ASE and OCS

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-12.5

  1. Locate the ASE-<version> directory

Example:

server1 # ls –ld ASE*

drwxrwxr-x 16 sybase sybase 4096 Nov 18 09:08 ASE-12_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

Note: If a link already exists between ASE-12_5 and ASE, proceed to step 5.

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

Example:

server1 # ls ASE-12_5/bin/srvbuild

srvbuild

Note: If a no such file or directory error occurs, then you have chosen the wrong path.

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

Example:

server1 # pwd

/opt/sybase-12.5

server1 # ln –s ASE-12_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-12_5

drwxrwxr-x 16 sybase sybase 4096 Nov 18 09:08 ASE-12_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-12.5

  1. Locate the OCS-<version> directory

Example:

server1 # ls –ld OCS*

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

Note: If a link already exists between OCS-12_5 and OCS, proceed to step 5.

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

Example:

server1 # ls OCS-12_5/bin/isql

isql

Note: If a no such file or directory error occurs, then you have chosen the wrong path.

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

Example:

server1 # pwd

/opt/sybase-12.5

server1 # ln –s OCS-12_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-12_5

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

server1 # ls ASE/bin/isql

isql 

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