Pre-installation tasks for SySAM

Before you install Adaptive Server:

  1. Decide which of these the SySAM license models to use:

  2. To use a served license, you need a license server. Decide whether it will be an existing license server or a new license server. The license server need not be on the same machine as RTDS or running on the same operating system and architecture.

    NoteYou can only have one instance of a SySAM license server running on a given machine. To set up a SySAM 2.0 license server on a machine that is already running a SySAM 1.0 license server, migrate the old license server to 2.0. A migrated license server can serve licenses for products enabled for both SySAM 1.0 and 2.0.

    See Appendix F of the Sybase Software Asset Management Users Guide version 2.0 for instructions on migrating a license server.

    For information about:

  3. Sybase recommends that you get your license files from the Sybase Product Download Center (SPDC) before you begin installing RTDS.

StepsAccessing the SPDC

Once you have purchased a Sybase product, typically, you download the product and generate its licenses from the online Web portal, the Sybase Product Download Center (SPDC).

To access the SPDC when you have purchased Sybase products from Sybase:

  1. Once you have ordered a Sybase product, you receive a welcome e-mail message that contains a URL to the SPDC site, as well as a user name and password.

    NoteIf you have purchased your Sybase software from a Sybase reseller, you receive a Web key rather than an e-mail message.

  2. Click the URL, and when prompted, enter the designated user name and password. Your login is typically your e-mail address. If you have forgotten your password, use the password finder on the SPDC login page.

StepsGetting your host ID

  1. Go to your bin subdirectory:

  2. Obtain your host ID:

    NoteOn some platforms, the host ID is derived from the network adapter address. If your machine has multiple network adapters, lmutil lmhostid returns one host ID for each network adapter. The output may look similar to:

    The FLEXlm host ID of this machine is
    ""0013023c8251 0015c507ea90"" Only use ONE 
    from the list of hostids.
    

    Choose one of these host IDs. Sybase recommends that you use the value associated with the primary wired Ethernet adapter. Do not use values associated with internal loopback adapters. If you cannot determine which host ID to use from the lmutil lmhostid output, use the native operating system command to get additional details to help make the determination. See the SPDC FAQ titled “What’s my Host ID,” or “Appendix A” of the FLEXnet Licensing End User Guide for the exact commands for your platform.

  3. Save the host ID so you can use it later at the SPDC. Your host ID is platform-specific, but may be similar to the following:

StepsGenerating licenses for served and unserved license models at the SPDC

  1. At the Welcome screen at the SPDC, where you can view all of the product families to which you have access, select the product family that contains the product for which you want to generate a license.

  2. When a list of available Sybase products displays, click the product with the appropriate edition and version. Make sure you select the product for the operating system you are using.

  3. The license agreement displays. You must agree to the terms and conditions in the license to generate a license. To do so, click I Agree.

    NoteThe license agreement displays only the first time you attempt to download a product. Once you have agreed to the license, you will not encounter the license agreement for all subsequent downloads of that product.

  4. At the product download page, click the License Keys link.

  5. From the License Information page, select the license to generate via the Generate radio button on the left side of the screen depending on the license type for the license you want to generate. For more information, see “License types” in Chapter 3, “Getting and Using your License,” of the Sybase Software Asset Management Users Guide.

    If you are unsure what you have licensed, your company’s purchase order should have the product name, edition, and license type.

    Scroll to the bottom of the page, and click Select to Generate.

  6. The SySAM license generation wizard asks you to choose between a served license and an unserved license. If you choose a served license, continue with the steps in “Generating a served license”, and if you choose an unserved license, continue with the steps in “Generating an unserved license”.

    NoteSome Sybase products or specific license types do not give you a choice of license model to use, and therefore do not display this page. If this is the case, proceed with the SySAM license generation wizard to generate your license.

StepsGenerating a served license

  1. Select Served License and click Next.

  2. Indicate the quantity of licenses you want to generate and click Next.

  3. Enter the License Server Host ID, and optionally, the host name and port number:

  4. Click Generate.

  5. Once you have generated the license, you can:

  6. Once you have generated all the licenses you need, save them to the licenses directory in your license server installation.

    NoteSySAM 2.0 requires that you save your license files with a .lic extension.

Sybase recommends that you set up the license server and required licenses before you install your SySAM 2.0-enabled Sybase product.

StepsGenerating an unserved license

  1. Select Unserved License and click Next.

  2. Select the number of machines you want to license and click Next. You can generate licenses for up to 10 machines at a time.

  3. Enter the host ID, and optionally, the host name for each machine for which you want to generate a license. For information on getting your host ID and host name, see “Getting your host ID”.

    For some license types, you are asked to enter the number of CPUs or licenses for the machine where this license will be used.

  4. Click Generate.

  5. Once you have generated the license, you can:

  6. Once you have generated all the licenses you need, save them to the specific location required by your product.

    NoteSySAM 2.0 requires that you save your license files with a .lic extension.

StepsInstalling a new license server

If you have selected a served license model, you must install a license server.

  1. On HP-UX only, mount the CD, where CDROM_device is the name of your CD device:

    mount -F cdfs -o ro,rr CDROM_device /cdrom
    
  2. Install the license server:

    1. On Windows – insert the CD into the CD drive. The Installer should start automatically. If it does not, start the setup program manually by selecting Start | Run. Browse to setup.exe.

    2. Launch the Sybase installer program:

      On UNIX:

      ./setup
      

      On Windows:

      X:\setup
      
    3. The Welcome Window displays. Click Next.

    4. Accept the license agreement.

    5. Enter or select the destination directory.

    6. Select the Custom installation.

    7. Select only “SySAM Network License Server” for installation.

    8. Unselect other components, to install the license server only.

    9. Click OK.

    NoteYou cannot start the license server until there is at least one valid served license installed in the licenses directory.

  3. Get the host ID for the machine on which you plan to run the license server.

  4. Go to the Sybase Product Download Center (SPDC).

  5. Generate the licenses for the products you want to install.

  6. Copy the license file in the licenses directory on the network license server machine:

    On UNIX, enter: $SYBASE/$SYBASE_SYSAM/licenses

    On Windows, enter: %SYBASE%\%SYBASE_SYSAM%\licenses

  7. Refresh or restart the license server:

    1. Change to:

      On Unix, enter: $SYBASE/$SYBASE_SYSAM/bin

      On Windows, enter: %SYBASE%\%SYBASE_SYSAM%\bin

    2. If the license server is not already started, start it by entering:

      sysam start
      

      If the license server is already started, make the license server read the new license files:

      sysam reread
      
  8. Validate that the license daemon is running:

    sysam status
    

    On Windows, you can expect to see output for a running server that is similar to:

    > sysam start
    
    Starting the SYSAM service
    The SYSAM service is starting.
    The SYSAM service was started successfully.
    

    On UNIX, you can expect to see output for a running server that is similar to:

    lmutil - Copyright (c) 1989-2006 Macrovision Europe
    Ltd. and/or Macrovision Corporation. All Rights
    Reserved. Flexible License Manager status on Wed
    5/24/2006 15:04
    
    License server status: 27000@mysysamserver
    License file(s) on keyserver:
    /opt/sybase/SYSAM_0/licenses/mysysamserver_603020315.lic