HLServer: Server Install

From Headus Docs

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:38, 15 January 2014 (edit)
Headus (Talk | contribs)
(Linux Install)
← Previous diff
Revision as of 03:47, 15 January 2014 (edit) (undo)
Headus (Talk | contribs)
(Windows Install)
Next diff →
Line 55: Line 55:
; .keys : This file holds the floating license keys. ; .keys : This file holds the floating license keys.
- 
-</ul> 
- 
-== Windows Install == 
- 
-Login as a user with 
-'''Administrator''' 
-privileges, and run the EXE file. 
- 
-The following files make up the Windows license server installation: 
- 
-<ul> 
- 
-; hlserver.exe : This is the server application. It need not be run with any special privileges unless the PORT used (see below) is under 1027.  
- 
-; hlserver.conf : The contents of this file, explained in detail below, controls the behavior of the server.  
- 
-; hlserver.log : This is a series of date stamped log messages from the server showing, amongst other things, who is grabbing which licenses.  
- 
-; hlserver.ini : Edit this file to change the server start-up command line arguments.  
- 
-; hlmanager.exe : This is the manager application. See "The Manager" chapter for details.  
- 
-; keys.txt : This file holds the floating license keys.  
</ul> </ul>

Revision as of 03:47, 15 January 2014

Cover Page
About HLServer
Linux Server Setup
Windows Server Setup
OS X Server Setup
Server Config
Application Config
The Manager
Adding New Keys
Trouble Shooting
Download PDF

Contents

To correctly install and run hlserver you should follow these steps:
  1. Install the hlserver files. See below for OS specific instructions.

  2. Using the sample provided, create hlserver.conf. You should at least change the IP range for "GROUP lan" to reflect your local setup. See below for an explanation of the hlserver config file.

  3. Put the keys provided into .keys (Linux/OS X) or keys.txt (Windows). See below for an explanation of the key strings.

  4. Start hlserver up. See the following chapter, Running the Server for OS specific instructions.

  5. Pass on to your users the information in Application Config so they can configure their software installs to access the floating license server.

If your users encounter any problems accessing the floating licenses, see Trouble Shooting for steps you can follow to track down the problem.


OS X Install

Select or create a new user that will be used to run the hlserver daemon. Login as that user, open up a shell window, extract the TGZ file into a temporary directory, change to that directory and run the setup script ...

 tar xvfoz hlserver-osx-111202.tgz --directory=/tmp
 cd /tmp/hlserver
 ./setup

First you'll be asked to edit the config file. If you are familiar with vi, then run 'vi hlserver.conf' from the shell window. If you prefer to use Finder, double click hlserver.conf; if prompted for an editing application, select TextEdit. You should at least change the IP range for "GROUP lan" to reflect your local setup.

Re-run the setup script and the keys file is checked. If you have your license keys already, cut'n'paste them into the sample-keys file, otherwise email the 5 code strings to your vendor for some license keys. As with the config file above, you can either use vi from the shell window, or TextEdit from Finder, to edit the sample keys file. Once the keys are in the sample keys file, use the shell window to rename it to '.keys' ...

 mv sample-keys .keys

Re-run the setup script and you'll be asked for an installation location. By default the script will want to put the binaries and config files into /usr/local/hlserver, but you can type in a different path at the prompt if you wish.

If the setup script runs smoothly, hlserver will be started and hlmanager is run as a final check. You should see something like the following as output ...

 Waiting for HLServer to start ... 10 9 8 
 Trying HLManager ...
 Trying architec@localhost ...
 Server localhost up 4 seconds
 <--------- Licenses ---------->  <------------------------- Users ------------------------->
 Name        Status    Free Used  Id Hostname        User     App           Age       Idle   
 uvlayoutv2  29 days      4    0

hlserver will be automatically restarted whenever the system is rebooted, and you can stop and start it via the launchctl command.

The following files make up the OS X license server installation:

    hlserver 
    This is the server application.
    hlserver.conf 
    The contents of this file, explained in detail below, controls the behavior of the server.
    hlserver.log 
    This is a series of date stamped log messages from the server showing, amongst other things, who is grabbing which licenses.
    hlmanager 
    This is the manager application. See "The Manager" chapter for details.
    .keys 
    This file holds the floating license keys.