Installation, Startup and Update: FLEXnet License Server

1. FlexNet License Server installation instructions
      1.1. FlexNet License Server installation instructions for Windows users
      1.2. FlexNet License Server installation instructions for Mac users
      1.3. FlexNet License Server installation instructions for Linux users
      1.4. FlexNet license server installation instructions on Debian Linux 6
      1.5. FlexNet License Server unlock instructions
2. Floating license request instructions
3. Updating Floating License
4. Determining a hostid
5. Upgrade Server
      5.1. Upgrading FlexNet License Server
      5.2. Upgrading MagicDraw Floating License Server
6. Moving FLEXnet License Server to another machine
       

1. FlexNet License Server installation instructions

FlexNet License Server is compatible with v16.8 (and later) client applications.

FlexNet License Server runs on the following OS:

  • Windows 32 / 64 bit
  • Linux Standard Base 32 / 64 bit
  • Mac OS X
  • IMPORTANT! Sun OS/Solaris is not supported by No Magic Cameo daemon.

1.1. FLEXnet License Server installation instructions for Windows users

  1. Download the Vendor daemon – cameo (from our site).
  2. If you have no FlexNet server installed, download and install it. We recommend using web-based server – lmadmin (download it from our site).
  3. Add the Vendor daemon into the installed server. If you are using lmadmin, create licenses/cameo directories under <installation directory for lmadmin> and place the Vendor daemon file cameo.exe under .../<installation directory for lmadmin>/licenses/cameo.

    vendor daemon windows
    Figure 1. Vendor daemon should be added into the <installation directory for lmadmin>/licenses/cameo
  4. To start the server, run the lmadmin file from the user installation directory.
  5. Read the hostid provided by your license server. To determine a hostid, refer to Determining a hostid instructions.
  6. Go to the License List on www.nomagic.com and enter hostid, where hostid is requested.

    license list hostid
    Figure 2. Hostid is requested in the License List on www.nomagic.com
  7. Request for the unlock key. Refer to the License request instructions.

    Note: Do not save a license file in the same directory with the Vendor daemon.

  8. Unlock the server with the obtained "FlexNet License Server key.*" file. For the exact steps, refer to the license server unlock instructions. If you do not have a license file, refer to the License request instructions.

1.2. FlexNet License Server installation instructions for Mac users

  1. Download the Vendor daemon – cameo (from our site).
  2. If you have no FlexNet server installed, download and install it. We recommend to use web-based server – lmadmin (download it from our site).
  3. Add the Vendor daemon into the installed server. If you are using lmadmin, create licenses/cameo directories under <installation directory for lmadmin> and place the Vendor daemon file cameo under .../<installation directory for lmadmin>/licenses/cameo



    Figure 4. Vendor daemon should be added into the <installation directory for lmadmin>/licenses/cameo

    Note: When opening the FLEXnet directory, the following message appears:

    The folder “FNPLicenseServerManager” can’t be opened because you don’t have permissions to see its content.

    You can change permissions for the directory by executing the following commands from the root:

    chmod g+x FNPLicenseServerManager/
    chmod –R g+w ./*

  4. To start the server, execute the lmadmin command from the user installation directory.
  5. Read hostid provided by your license server. To determine a hostid, refer to Determining a hostid instructions.
  6. Go to the License List on www.nomagic.com and enter hostid, where hostid is requested in the floating licenses area.

    license list hostid
    Figure 5. Hostid is requested in License List on www.nomagic.com
  7. Request for the unlock key. Refer to the License request instructions.

    Note: Do not save a license file in the same directory with the Vendor daemon.

  8. Unlock the server with the obtained "FLEXnet License Server key.*" file. For the exact steps, refer to the license server unlock instructions. If you do not have a license file, refer to the License request instructions.

1.3. FlexNet License Server installation instructions for Linux users

 Precondition: Linux Standard Base (LSB) library, including 32-bit LSB-Graphics, should be installed.

  1. Download the Vendor daemon – cameo (from our site).
  2. If you have no FlexNet server installed, download and install it as a non root user that has administrator privileges. Lmadmin has a restriction does not allowing it to start by the root user. We recommend to use web-based server – lmadmin (download it from our site).
  3. Add the Vendor daemon into the installed server. If you are using lmadmin, create licenses/cameo directories under <installation directory for lmadmin> and place the Vendor daemon file cameo under .../<installation directory for lmadmin>/licenses/cameo.

    vendor daemon linux
    Figure 7. Vendor daemon should be added into the <installation directory for lmadmin>/licenses/cameo

    Note: When opening the FlexNet directory, you are informed that you don’t have permissions to open it.

    You can change permissions for the directory by executing the following command from the root:

    chmod g+x FNPLicenseServerManager/

  4. To start the server, execute the lmadmin command from the user installation directory.
  5. Read hostid provided by your license server. To determine a hostid, refer to Determining hostid instructions.
  6. Go to the License List on www.nomagic.com and enter hostid, where hostid is requested.

    license list hostid
    Figure 8. Hostid is requested in License List on www.nomagic.com
  7. Request for the unlock key. Refer to the License request instructions.

    Note: Do not save a license file in the same directory with the Vendor daemon.

  8. Unlock the server with the obtained "FLEXnet License Server key.*" file. For the exact steps, refer to the license server unlock instructions. If you do not have a license file, refer to the License request instructions.

1.4. FlexNet license server installation instructions on Debian Linux 6

The instructions are available in "MagicDraw FloatingLicense UserGuide" that can be found at http://www.nomagic.com/support/documentation.html


1.5 License server unlock instructions

  1. Open the Web browser and browse to the license server management interface: http://<server>:8090

    flexnet
    Figure 9. Login as administrator. Default login and password is admin
  2. Login with the administrator rights. The default login and password is admin (please change it!).
  3. Go to the Vendor Daemon Configuration (left side menu).
  4. Click Import License and browse to the License file.

NOTE: if the Ethernet address of the machine under which lmadmin is running has been changed, please reinstall Lmadmin before applying the key locked to the new host.


2. Floating license request instructions

  1. Login with the user name and password into your or your company profile on www.nomagic.com.
  2. Go to the License List (right side menu) and enter hostid, where hostid is requested. Click the Send All Keys button.
  3. All unlock keys will be sent to the e-mail provided in your account. From this page, you may also send or download each unlock key separately.

3. Updating Floating License

There are two cases, when the floating license update is needed on the floating license server:

  • When you need to upgrade to a later version modeling tool or any other product (client) which uses the floating license from the particular server.
  • When the hostid (Ethernet Address) of the machine on which FlexNet license server is installed has changed.

The license update procedure:

1. Getting a new license file
2. Adding the new license file to the floating license server

1. Getting a new license file

  1. Sign in the license owner account at www.nomagic.com.
  2. Click License List in the Members area that is on the right side of the website. The webpage with a list of licenses purchased by you or your company will open.
  3. If needed, enter the new hostid, where hostid is requested and click Save.

    license list hostid
    Figure 8. Hostid is requested in License List on www.nomagic.com
  4. Below the Floating products license list, click
    • The Send key button, if you wish the license file was sent to your email system.
    • The Download key button, if you wish to download the license file directly to your personal computer.

All the licenses from the Floating products license list will be included in one single license file.

IMPORTANT! If you use more than one floating license server, you need to get a license file for each server.

2. Adding the new license file to the floating license server

License server manager can be either:

  • lmadmin (recommended)
  • lmgrd

To add a new license file to the floating license server using lmadmin:

  1. Open the Web browser and go to the license server management interface at http://<server>:8090, where <server> is the system name where the license server is running.
  2. Sign in as the administrator.
  3. On the left side menu, click Vendor Daemon Configuration.
  4. Click Import License.
  5. Click Browse and specify the location of the new license file. Then click to select the Overwrite License File on License Server checkbox and then click the Import License button. If the license file is successfully imported, you will see an appropriate message on the webpage.
  6. Restart the cameo vendor daemon. Do the following:
    • In the appropriate cameo vendor daemon row, click the Administer button.
    • Click Stop under Vendor Daemon Actions.
    • Click Start under Vendor Daemon Actions.
  7. Check if the licenses were successfully updated. For this, do the following:
    • Switch to the Dashboard mode.
    • Click Concurrent.

Be advised that there is an alternative way of adding a new license file to the floating license sever. You can copy the new license file directly to a specific location in the floating license server installation folder rather than importing the file by using lmadmin.

To add a new license file to the floating license server by copying it directly to a specific location:

  1. Go to the folder wherein the new license file is stored and copy the file.
  2. Go to <floating license server installation directory>\licenses\cameo and paste the file.
  3. Open the Web browser and go to the license server management interface at http://<server>:8090, where <server> is the system name where the license server is running.
  4. Sign in as the administrator.
  5. On the left side menu, click Vendor Daemon Configuration.
  6. In the appropriate cameo vendor daemon row, click the Administer button.
  7. Click the Reread License Files button. If the license file is successfully imported, you will see an appropriate message on the webpage.
  8. Check if the licenses were successfully updated. For this, do the following:
    • Switch to the Dashboard mode.
    • Click Concurrent.

4. Determining a hostid

  • Using lmadmin (recommended)
    1. Open the Web browser and browse to the license server management interface: http://<server>:8090
    2. Go to System Information (left side menu) and copy the Ethernet Address.
  • Using lmhostid
    The lmhostid is a command line utility, which prints the hostid that a FLEXnet license server requires on any supported system. The Lmhostid utility is available as an executable called lmutil. Download it for a particular OS from: https://www.magicdraw.com/flexnet_license_server_download/?content=flexnet_license_server_download

    Run lmutil with lmhostid parameter from the command line. Lmhostid displays the default hostid for the current platform.

    For exact commands for specific OS refer to: License Administration Guide (Obtaining System Hostids)

NOTE: If two or more Ethernet addresses are available on the particular machine, the first one printed by the hostid command should be used.


5. Upgrade Server

5.1. Upgrading FlexNet License Server

  1. Stop and uninstall the old version of the FlextNet license server.
  2. Install the new version of the FlexNet license server.
  3. Apply the floating license. Refer to Adding the new license file to the floating license server instructions.

NOTES:

  • The FlexNet license server is compatible with clients of version 16.8 and later. In order to use floating licenses with client versions, for example, 16.6 and 16.8 simultaneously, both Floating Server and FlexNet license server installations are needed.
  • The FlexNet license server runs on the following operating systems:
    • AIX® 32bit / 64bit
    • HP-UX® 32bit / 64bit
    • Linux 32bit / 64bit (Linux Standard Base (LSB) 3.0)
    • Mac®OS 32-bit / 64-bit (Mac OS X 10.4, 10.5 and 10.6)
    • Red Hat® Linux 64-bit
    • SGI 64-bit
    • Windows Server 2003, 2008 32bit and 64bit
    • Windows Vista (Ultimate), Windows 7 (Ultimate) 32bit and 64bit
    • IMPORTANT! Sun OS/Solaris is not supported by the MagicDraw Cameo daemon.
  • An automatic update for licenses is not available.

5.2. Upgrading MagicDraw Floating License Server

IMPORTANT! As of version 16.8, FlexNet license server is used to manage Floating Licenses. To upgrade to version 16.8 or later, uninstall your Floating License Server and install the FlexNet license server.

To upgrade the Floating License Server version 16.6 and earlier:

  1. Make sure that all online and offline sessions are finished.
  2. Stop the Floating License Server.
  3. Remove the NT service from the Floating License Server, if it was added) and close the Administrator's Console. Skip this step for other operating systems.
  4. Start the Floating License Server GUI version (use the run_server.exe file from the <Floating License Server installation directory>\bin folder).
  5. Click the Check for Updates button in the opened Floating License Server dialog.

NOTE: All configuration files from the earlier version of the Floating License Server are imported automatically.

IMPORTANT! As of version 12.0, Floating License Server can host licenses for different versions of the client. For example, you are allowed to use a license server version 12.0 with a client version 12.5 or later.


6. Moving FlexNnet License Server to another machine

  1. Stop FlextNet license server and uninstall it the on the current machine.
  2. Install the new FlexNet license server on the new machine.
  3. Determine the new host id of the new machine. Refer to Determining a hostid instructions.
  4. Go to the License List on www.nomagic.com and enter the new hostid, where hostid is requested and click Save.

    license list hostid
    Figure 8. Hostid is requested in License List on www.nomagic.com
  5. Send or download the floating license file.
  6. Apply the floating license to the FlexNet license server on the new machine. Refer to Adding the new license file to the floating license server instructions.

iic member logo 225x108

nomagic gartner ad 2015

omg-member-logo

facebook 32 linkedin 32 twitter 32 youtube 32 rss 32
For more information or a quote
please contact
sales@nomagic.com
or call +1-214-291-9100.