HLServer: Server Install
From Headus Docs
Revision as of 08:16, 29 January 2009 (edit) Headus (Talk | contribs) (→Mac Os X Install) ← Previous diff |
Revision as of 09:30, 29 January 2009 (edit) (undo) Headus (Talk | contribs) Next diff → |
||
Line 3: | Line 3: | ||
# Install the hlserver files. See below for OS specific instructions. <br><br> | # Install the hlserver files. See below for OS specific instructions. <br><br> | ||
# 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. <br><br> | # 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. <br><br> | ||
- | # Put the keys provided into .keys (IRIX/Linux) or keys.txt (Windows). See below for an explanation of the key strings. <br><br> | + | # Put the keys provided into .keys (Linux/OS X) or keys.txt (Windows). See below for an explanation of the key strings. <br><br> |
# Start hlserver up. See the following chapter, [[HLServer: Running the Server|Running the Server]] for OS specific instructions. <br><br> | # Start hlserver up. See the following chapter, [[HLServer: Running the Server|Running the Server]] for OS specific instructions. <br><br> | ||
# Pass on to your users the information in [[HLServer: Application Config|Application Config]] so they can configure their software installs to access the floating license server. | # Pass on to your users the information in [[HLServer: Application Config|Application Config]] so they can configure their software installs to access the floating license server. | ||
Line 12: | Line 12: | ||
for steps you can follow to track down the problem. | for steps you can follow to track down the problem. | ||
- | == IRIX/Linux Install == | + | == Linux Install == |
Typically you'll want be | Typically you'll want be | ||
Line 22: | Line 22: | ||
need to change the HEADUS_HOME variable in etc/hlserver.run. | need to change the HEADUS_HOME variable in etc/hlserver.run. | ||
- | The following files make up the IRIX/Linux license server installation: | + | The following files make up the Linux license server installation: |
<ul> | <ul> | ||
Line 42: | Line 42: | ||
== Mac Os X Install == | == Mac Os X Install == | ||
- | Under construction ... | + | 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 xvzfo ~/src/cy/hlserver-osx-090129.tgz | + | tar xvfoz hlserver-osx-??????.tgz --directory=/tmp |
- | + | cd /tmp/hlserver | |
- | run install script | + | ./setup |
+ | |||
+ | Follow the setup script's instructions to install the various files into their final destinations. 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. 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: | ||
+ | |||
+ | <ul> | ||
+ | |||
+ | ; 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. | ||
+ | |||
+ | </ul> | ||
== Windows Install == | == Windows Install == |
Revision as of 09:30, 29 January 2009
|
If your users encounter any problems accessing the floating licenses, see Trouble Shooting for steps you can follow to track down the problem. Linux InstallTypically 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/headus, you'll need to change the HEADUS_HOME variable in etc/hlserver.run. The following files make up the Linux license server installation:
Mac Os X InstallSelect 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-??????.tgz --directory=/tmp cd /tmp/hlserver ./setup Follow the setup script's instructions to install the various files into their final destinations. 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. 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:
Windows InstallLogin as a user with Administrator privileges, and run the EXE file. The following files make up the Windows license server installation:
ConfigurationThe config file is used to control access to the server and licenses. The simplest config file looks like this: PORT 11668 LOG 1 ACC 0 IDLE 0 GROUP lan 192.168.0.* GROUP Manager root@lan PRODUCT cyslicev3 lan
The following shows a more complex example of a config file. LOG 1 ACC 1 IDLE 6 PORT 11668 GROUP cg-lab 192.168.0.1-23 GROUP office fred,barney GROUP offsite 112.56.22.{12-15,21} GROUP Manager julie@office,jimbo@cg-lab,root@hlserver PRODUCT cyslicev3 cg-lab,{phil,jill}@offsite PRODUCT plyedit jimbo@cg-lab Anyone currently logged into a cg-lab machine can request a cyslicev3 license, but only phil or jill can from the handful of offsite machines. Whenever jimbo is logged into a cg-lab machine, he can request a cyslicev3 or plyedit license as well as run the license manager. KeysFloating licenses, stored in the .keys or keys.txt file, look something like this: <- 21 hex numbers -> Product System Expire Ref# Num #v2# 3a d6 ........ a9 42 # cysurf 690ca1ab never 0920 [001 3] #v2# 5d da ........ 32 6a # cyslicev3 690ca1ab never 0921 [001 1] #v2# 37 db ........ 71 5b # cyslicev3 690ca1ab 040216 0922 [002 1] You might also receive license keys that look like this: Products System Expire Num # hlserver,uvlayoutv1 sysid=690ca1ab expire=071226 [000 4] 8MFP LCDY A0GZ 553N QQ6Z BLMB A1A6 GF1G # 6200 74QX SEPD GEC4 AK1W QJK8 3E5N 2LLF 345C JQX5 24SA # 6201 These are shorter format email friendly keys that we are gradually phasing in, understood by hlserver v1.5+. The Product names go into the config products section, System is the sysid of the license server, Expire is when each floating license runs out, Ref# is a database reference number used by the issuer, and Num is the sequence id and number of floating licenses in that key. In the first example above, there is 1 cyslicev3 and 3 cysurf floating licenses that will never expire, and 1 additional cyslicev3 license that runs out on the 16th of Feb, 2004. Even though there are multiple cyslicev3 keys, you should have only one cyslicev3 access list in the config products section. In the second example there are 4 uvlayoutv1 floating licenses. |