License Server Quick Start

From Eigenvector Research Documentation Wiki
Revision as of 12:12, 11 April 2018 by imported>Donal
Jump to navigation Jump to search

Follow the steps below to install and use a floating license of an Eigenvector Research product. These licenses use the EVRI License Server (click for more information).

Downloading Files

1) Download these three items:

a) The license server application (license server ZIP)
b) A copy of the software product (e.g. PLS_Toolbox, Solo, Solo+MIA) - these are available from your account's Downloads tab. (application installer)
c) The license files available from your account's "Other Files" tab (license files ZIP).

On the computer which will run the license server

2) Extract the license server ZIP (downloaded in 1a) onto the server computer (all computers, clients and server must be connected by a network)

3) Copy the evriserverlicense.xml from the license files ZIP (downloaded in step 1c) into the same folder as the EVRILicenseServer.jar file (the main folder created when the license server was unzipped).

4) Double-click the EVRILicenseServer.jar file to start up the server

Note: The computer selected to run the license server can not also run the client application (i.e. the Eigenvector product being licensed - PLS_Toolbox, Solo, etc). As such, the computer you select to run the license server must:

Be reachable by network
Be identified by its network name or by a static (fixed) IP address
Not be a computer on which you want to run the client application (contact Eigenvector for exceptions)

Also, this computer must have Java (version 1.6 or later) installed since the license server is a Java program. See the first Troubleshooting tip below for instructions on how to check if Java is installed.

On each client computer

5) Run the application installer downloaded in step 1b (when asked for a license code, choose "Cancel", this will cause the installer to abort. The last step of installation will be done later).

Note, if you downloaded PLS_Toolbox as a .ZIP file then decompress the PLS_Toolbox ZIP file and move it to the MATLAB "toolbox" folder (e.g. C:\Program Files\MATLAB\R2006a\toolbox). If you already have a version of PLS_Toolbox installed, be sure the folders do not have the same name (by default they should not). Rename your existing copy of PLS_Toolbox if necessary.

6) Edit the evrilm.xml file (located in the license files ZIP downloaded in step 1c). Edit ONLY the segment of the file specifying the server address: <serveraddress>ip_address</serveraddress>

replacing ip_address with the IP address or name of the computer running the license server

7) Install the evrilm.xml, evrilicense.lic, and evrinetwork.lic files from the license files ZIP onto the client:

  • For Matlab-based products (e.g. PLS_Toolbox) copy the files into the "utilities" folder of the product installed in step 4 (usually the Toolbox/{product_name} folder inside the Matlab folder)
  • For stand-alone products (e.g. Solo, Solo+MIA, Solo_Predictor), copy the files into the main folder of the product (usually located in C://Program Files/EVRI/{product_name} on PCs or similar on other platforms)

8) Finish installation of the product:

  • For Matlab-based products
a) Start up Matlab (if not already running)
b) Change the working directory to be the main product folder
c) Type the command: evriinstall silent in the Matlab command window
d) Verify installation by typing: pls test which should return an expiration date (in the future by about 10 minutes)
  • For stand-alone products
Start up the application. The license files should be read and automatically configured to run with the server.

Updating Client Computers with New Versions

Repeat the steps from "On each client computer" above. New versions of PLS_Toolbox or Solo do NOT generally require any updating to the License Server.

Troubleshooting

1. Check Java on Server

A common problem can occur when an automatic update of Java does not complete successfully on the server computer. To test Java open a Command Prompt (terminal) on the server computer and run the following command:

java -version

If anything other than version information is displayed try reinstalling java. Example output from working java installation:

$ java -version
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)

Java can be downloaded from www.java.com

2. Check the license server

On the license server, start up a web browser (Opera, Internet Explorer, Firefox, etc.) and go to the URL:

http://127.0.0.1:2212/

you should receive the response: "-2" or "-3"

IF NOT: the server is not running correctly or evriserverlicense.xml is not valid. Please review the Server Configuration instructions and, if the problem is not resolved, send the contents of the server message window to Eigenvector's help desk

3. Check the network connection

On one of the client computers, start up a web browser (Opera, Internet Explorer, Firefox, etc.) and go to the URL:

http://___IP___:2212/

replacing "___IP___" with the IP address of the server computer (same one used in step 6). You should receive the response: "-2".

IF NOT: the server is not reachable from the client computer, check network connection and firewall status. The license server requires the server computer to allow connections on the license server port (default port is 2212)


4. Check the license files

If the client application (PLS_Toolbox, Solo, etc.) is responding with an "invalid license" message, verify that the evrilicense.lic file is the one provided by Eigenvector for this license. Delete any evrilicense.lic files you have and re-copy the license files provided.

If you still have problems: contact help desk to verify that the license file you have is appropriate for the application you are running. Please make sure you provide your evrilicense.lic file.