Consolidating Multiple License Servers

If you have multiple SySAM 1 license servers, you may want to consolidate the license servers into one SySAM 2 license server.

See Getting Started in the Sybase Software Asset Management (SySAM) 2 Users Guide for information on selecting the appropriate configuration for your environment.

  1. Select the host machine on which to consolidate license servers.
  2. If the selected host already runs a SySAM 1 license server, migrate to a SySAM 2 license server. See Migrating a SySAM 1 License Server to SySAM 2 in the Sybase Software Asset Management (SySAM) 2 Users Guide.

    Otherwise, install the SySAM 2 license server using the standalone license server installer and installation instructions that you can download from SySAM server Web site at http://www.sybase.com/sysam/server.

  3. (UNIX platforms only) Configure the SySAM 2 license server to start and stop as part of the system start-up and shutdown. If the host had a SySAM 1 license server configured to start automatically, replace the SySAM 1 references with SySAM 2 in system start-up directories and in any start-up scripts that were used for the SySAM 1 license server.
  4. Collect all licenses that were being served from the individual license servers and deploy them to the new consolidated SySAM 2 license server:
    1. Create one new license file with a .lic file name extension. Save it to the license server SYSAM-2_0/licenses directory, then use a text editor to open the file.
    2. Use a text editor to open each SySAM 1 license file, remove the license header (the first three lines that start with SERVER, VENDOR, and USE_SERVER), and copy the remaining contents to the new license file (with the .lic extension) on the consolidated license server host. Repeat for every SySAM 1 license file.
  5. Continuing in a text editor, add the following header to the new consolidated license file, where port is the port number on which the license server will listen for license requests from SySAM-enabled products:
    SERVER this_host ANY port
    VENDOR SYBASE 
    USE_SERVER

    If you do not specify a port number in the header, the license server uses a default port in the 27000 through 27009 range.

  6. Save the consolidated license file (license.lic), which now has all SySAM 1 license file contents and the updated header, to the license server SYSAM-2_0/licenses directory.
  7. Start the consolidate license server.
  8. Delete the old licenses from the retired SySAM 1 license servers and point the SySAM-enabled products that used the old license servers to the new consolidated license server:
    • On each SySAM 1-enabled product host, use a text editor to open the license.dat file and replace the contents with the following two lines, where server_host is the host name of the consolidated license server, and port is the port number on which the license server will listen:
      SERVER server_host ANY port
      USE_SERVER
      Note: Do not specify the port if the consolidated license server will be using the default port numbers and you did not specify the port in the header of the new license server file in step 6.
    • Save each updated license.dat file to its original location.

  9. Shut down, uninstall, or remove all other SySAM 1 license servers.
Related concepts
Getting Started