Set Up a License Server on Windows
As the account manager, how can I set up a server on a Windows computer for sharing SnapGene licenses among several computers?
Go to the Login Page
For this procedure, you must be the account manager for the SnapGene licenses in order to download the install files for the FlexNet Server.
Go to snapgene.com, and click on the Manage My Account link in the upper right corner.
Enter the email address and password for the account manager.
The original password was sent in an email immediately after purchase. If you have lost the password, click Lost Password to obtain a new password by email.
Download the Flexnet Install Files
The SnapGene team will provide a server installation file. Download the file FLEXnet_GSL_win.exe from your account page at http://www.snapgene.com/support/myAccount and save it.
To share SnapGene licenses across several computers, first install the FLEXnet License Server on a network computer that will always be available.
Install the Server
To install the server, double-click on FLEXnet_GSL_win.exe.
Specify a directory to install the server, then click Next.
Note: The location must allow the server to write to the directory (e.g., the location should not be Program Files).
Click Install in the next window.
Start the Server
In the start menu, click Programs → FLEXnet GSL → Start Server.
Configure the License Server as a Service using a Flexera LMTOOLS
To configure the license server as a service, run the lmtools utility.
Select Configuration using Services, and then click the Config Services tab.
1. In the Service Name field, type SnapGene License Manager.
2. In the Path to the lmgrd.exe file field, type the path or click Browse to the lmgrd.exe for this license server.
3. In the Path to the license file field, type the path or click Browse to the license file for this license server.
4. In the Path to the debug log file, type the path or click Browse to the debug log file that this license server writes.
5. Click Save Service.
Configure the License Server as a Service at the Command Line
Alternatively, run the following commands in a terminal:
sc create SnapGene Displayname= "Snapgene GSL" binPath= "C:\Licenses\FLEXnet GSL\SnapGene\lmadmin.exe -adminOnly no -allowRemoteStopServer yes -allowLicenseReclaim yes" start= auto
sc description SnapGene "SnapGene License Manager"
sc start SnapGene
Access the Server
To access the server, open a browser window, then type localhost:8090.
Sign In to the Server
Click the Administration link at the top right of the window.
To sign in, type the default User Name: admin and Password: admin, then click Submit.
Change the Password
To change the password, type the old and new passwords, then click Save.
Import the SnapGene Vendor Daemon License
To import the SnapGene Vendor Daemon license, click the Vendor Daemon Configuration button.
Then click the Import License button.
Click Choose File, browse to the .lic file sent to you by the SnapGene team, then click Import License.
Note: If you received a new license file (e.g., for additional licenses), instead check the box for Overwrite License File on License Server, then click Import License.
Configuration of the license server is complete. Click OK.
Review Shared License Usage
To review the current SnapGene license usage, click the Dashboard link, then click Concurrent. The number of licenses in use (and available) will be shown in the In Use column.
Open Required Ports
If the computer running the license server restricts access to ports, then ports 27000 - 27009 need to be made accessible to client computers attempting to contact the server. The communication protocol is tcp.
Restart the Server When Necessary
For the licenses to be accessible, the administrator computer running this server must remain on. If the administrator computer is turned off and then back on, the server must be restarted. For this purpose, in the Start menu, click Programs → FLEXnet GSL → Start Server. You can avoid the need to restart the server by configuring it as a service.
Configure the License Server as a Service
To allow the license server to run as a service, you must have Administrator privileges. This service will run under the LocalSystem account. This account is required to run this utility as a service. To configure the FlexNet Server to run as a service on Windows you may either use the Flexera LMTOOLS or the command line.