Migrating from the interfaces file to LDAP

There is no direct method to upgrade an existing server using the interfaces file to one that uses lightweight directory services. To upgrade an earlier version of Adaptive Server to Adaptive Server version 15.0, see the installation guide for your platform.

Once you have upgraded the server, you can configure your server to use LDAP service.

  1. Shut down the server. For information about starting and stopping clusters, see the Users Guide to Clusters. For shared memory servers, see the configuration guide for Adaptive Server 15.0, Chapter 2, “Starting and Stopping Servers.”

  2. Edit the $SYBASE/$SYBASE_OCS/config/libtcl.cfg or libtcl64.cfg file to add the directory service. See “Enabling LDAP directory services”.

  3. Use dsedit or dscp to add the server, cluster, and instance entries for clustered servers to the directory service. See “Adding a server to the directory services”.

  4. Use qrmutil to verify that the interfaces directory attributes in the cluster quorum file is empty for the cluster and instance definitions. For example, to show the values in the quorum file, enter:

    $SYBASE/$SYBASE_ASE/bin/qrmutil --quorum-dev=path_to_your_quorum --display=config 
    

    You must reset the value if a path is defined for the interface_dir attribute on any instance, or for the cluster. Specifying this attribute with a path value forces the instance to use the interfaces file and overrides the information in the libtcl.cfg and libtcl64.cfg files.

    For example, use these qrmutil commands to reset the value of the interface_dir attributes The value for interface_dir is two single quotes, meaning an empty string.

    $SYBASE/$SYBASE_ASE/bin/qrmutil --quorum-dev=path_to_your_quorum --interface_dir='' 
    
    $SYBASE/$SYBASE_ASE/bin/qrmutil --quorum-dev=path_to_your_quorum --instance=name_of_instance_to_reconfig --interface_dir=''
    
  5. Restart your server or cluster.