Pre-installation tasks for SySAM

Before you install Adaptive Server, you should:

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

    For information about served and unserved licenses, and which model is best suited for your environment, see Chapter 2, “Choosing a License Model” in the Sybase Software Asset Management User’s Guide version 2.0.

  2. If you plan 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 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, you must 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.

    Please see Appendix F of the Sybase Software Asset Management User's 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. For information about accessing SPDC, see “Accessing SPDC”, and for information about generating your licenses at SPDC, see “Generating licenses for served and unserved license models at SPDC”.

StepsAccessing SPDC

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

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

  1. Once you have ordered a Sybase product, you receive a welcome e-mail 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.

  2. Click on 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. Change 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 using the value associated with the primary wired Ethernet adapter. Do not use values associated with internal loop back 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 to 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 SPDC. Your host ID is platform-specific, but may be similar to the following:

StepsGenerating licenses for served and unserved license models at SPDC

To generate your license, regardless of license model:

  1. At the Welcome screen at 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 wish 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 in order to generate a license. To do so, click I Agree.

    NoteThe license agreement only displays 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. The License Information page displays. Select the license you wish to generate. When you are selecting the license you wish to generate, consider:

  6. Once you’ve determined the license you wish to generate, select it via the Generate radio button on the left side of the screen. Scroll to the bottom of the page, and click Select to Generate.

  7. Step one of 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

To generate a served license:

  1. Select Served License and click Next.

  2. Indicate the quantity of licenses you wish 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

To generate an unserved license:

  1. Select Un-served 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

Perform the following steps to install a new license server.

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

  1. On HP-UX – mount the CD:

    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. Deselect other components, to install the license server only.

    9. Click OK for the installer to install the license server.

    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. For information on how to generate the host ID, see “Getting your host ID”.

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

  5. Generate the licenses for the products you want to install. For instructions on generating your licenses, see “Generating licenses for served and unserved license models at SPDC”.

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

    On UNIX – $SYBASE/$SYBASE_SYSAM/licenses

    On Windows – %SYBASE%\%SYBASE_SYSAM%\licenses

  7. Refresh or restart the license server:

    1. Change to:

      On Unix – $SYBASE/$SYBASE_SYSAM/bin

      On Windows – %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, use the reread command to make the license server read the new license files:

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

    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
    

For information about served and unserved licenses, and which model is best suited for your environment, see Chapter 2, “Choosing a License Model” in the Sybase Software Asset Management User’s Guide.