HLServer: Linux Server Setup

From Headus Docs

(Difference between revisions)
Jump to: navigation, search
Revision as of 04:31, 21 June 2016 (edit)
Headus (Talk | contribs)

← Previous diff
Revision as of 04:37, 21 June 2016 (edit) (undo)
Headus (Talk | contribs)
(Setup v2)
Next diff →
Line 26: Line 26:
== Setup v2 == == Setup v2 ==
 +
 +You will need root access on the server host to do this; read the appropriate setup file for full installation instructions.
 +
 +# Run 'hlserver' from the command line when first installed. You should see something like the following ...
 +
 + hlserver: Starting hlserver v2.00 2016/06/21 12:35:33 on port 11668
 + hlserver: Using files and keys from '.'
 + hlserver: Running in foreground.
 + hlserver: We recommend using one of the setup scripts provided to run hlserver as a background daemon.
 + hlserver: Now run hlmanager to complete the installation.
== Setup v1 == == Setup v1 ==

Revision as of 04:37, 21 June 2016

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
Typically you'll want be root and extract the TGZ file into /usr/local, though that's not a strict requirement. If you install into somewhere other than /usr/local/hlserver, you'll need to change the HEADUS_HOME variable in the hlserver setup files.

Image:warning.jpgHLServer uses /usr/tmp to save a PID file when running. If /usr/tmp doesn't exist, then HLServer may start, but will exit soon after. Creating a symbolic link from /tmp to /usr/tmp will fix this problem.

The following files make up the Linux license server installation:

    hlserver 
    This is the server application. It need not be run with any special privileges unless the PORT used is under 1027.
    hlserver.conf 
    The contents of this file, explained in detail in Server Config, 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.
    setup.redhat 
    This is a RedHat/Fedora script that can be used to start the server on 'init' based boots, and stop it on shutdown. Installation instructions are in the file.
    setup.systemd 
    This can be used to start the server on 'systemd' based boots. Installation instructions are in the file.
    setup.debian 
    Start/stop script for Debian/Ubuntu based systems. Installation instructions are in the file.
    hlmanager 
    This is the manager application. See The Manager chapter for details.
    .keys 
    This file holds the floating license keys.

Setup v2

You will need root access on the server host to do this; read the appropriate setup file for full installation instructions.

  1. Run 'hlserver' from the command line when first installed. You should see something like the following ...
hlserver: Starting hlserver v2.00 2016/06/21 12:35:33 on port 11668
hlserver: Using files and keys from '.'
hlserver: Running in foreground.
hlserver: We recommend using one of the setup scripts provided to run hlserver as a background daemon.
hlserver: Now run hlmanager to complete the installation.

Setup v1

You will need root access on the server host to do this; read the appropriate script file for full installation instructions.

Copy sample-hlserver.conf into hlserver.conf and edit to suit your network setup. You should at least change the IP range for the lan group.

Run 'hlserver' from the command line when first installed. You'll get a "License not found" type error, and 5 rows of hex numbers; email these to your vendor to get your license strings.

Once you have some keys, follow the instructions in whichever setup script is appropriate for your system (i.e. hlserver.redhat, hlserver.debian or hlserver.service).