Migrating from the interfaces file to LDAP

There is no direct upgrade path from the interfaces file to lightweight directory services. If you are upgrading a pre-12.5 server to an 12.5 server, you must first upgrade the server according to the directions in the Installation Guide for your platform.

If you have LDAP or other directory services defined in the libtcl.cfg file before configuring the server, the -i argument is not added to the RUN_servername file.

If you do not have LDAP or other directory services defined in the libtcl.cfg, the -i argument is added to the RUN_servername file.

Once you have completed the upgrade, you can configure your server to use the lightweight directory service.

  1. Shutdown server. See Chapter 2, “Starting and Stopping Servers.”

  2. Using a standard ASCII text editor, edit the $SYBASE/$SYBASE_OCS/config/libtcl.cfg file to add or remove the directory service. See“Enabling LDAP directory services”.

  3. Use dsedit or dscp and add the server entry to directory service. See “Adding a server to the directory services”.

  4. Using a standard ASCII text editor, edit $SYBASE/$SYBASE_ASE/install/RUN_servername file to add or remove the -i argument.

  5. Restart the server from a command line by executing the file $SYBASE/$SYBASE_ASE/install/RUN_servername

    where servername is the name of the server.