HLServer: Server Install
From Headus Docs
Revision as of 02:52, 16 November 2007 (edit) Headus (Talk | contribs) (→Configuration) ← Previous diff |
Revision as of 01:43, 5 September 2008 (edit) (undo) Headus (Talk | contribs) (→Configuration) Next diff → |
||
Line 68: | Line 68: | ||
The config file is used to control access to the server and | The config file is used to control access to the server and | ||
licenses. The simplest config file looks like this: | licenses. The simplest config file looks like this: | ||
+ | |||
<pre> | <pre> | ||
PORT 11668 | PORT 11668 | ||
LOG 1 | LOG 1 | ||
ACC 0 | ACC 0 | ||
+ | IDLE 0 | ||
GROUP lan 192.168.0.* | GROUP lan 192.168.0.* | ||
Line 86: | Line 88: | ||
; '''ACC''' : Set the level of access to '''hlmanager''' for normal users. See [[HLServer: The Manager#User Mode|The Manager: User Mode]] for details. | ; '''ACC''' : Set the level of access to '''hlmanager''' for normal users. See [[HLServer: The Manager#User Mode|The Manager: User Mode]] for details. | ||
+ | |||
+ | ; '''IDLE''' : Number of hours to wait before killing idle TCP/IP connections. Idle connections will occur if a user hibernates or suspends their PC when a license is checked out, or the workstation or network has died, and can result in "zombie" licenses being checked out but not actually used by anyone. 20 hours is probably a safe value, allowing people to legitimately suspend their PCs over night, while also cleaning out zombie licenses at least once a day. Setting this value to "0" turns off the idle connection kill. | ||
; '''GROUP''' : Each line of this section associates a single name with a list of hosts, prefixed with optional user names. In the above simplest case, '''lan''' is associated with the IP range for a local area network. The name '''lan''' can then be used to refer to all hosts in the LAN. | ; '''GROUP''' : Each line of this section associates a single name with a list of hosts, prefixed with optional user names. In the above simplest case, '''lan''' is associated with the IP range for a local area network. The name '''lan''' can then be used to refer to all hosts in the LAN. | ||
Line 106: | Line 110: | ||
The following shows a more complex example of a config file. | The following shows a more complex example of a config file. | ||
<pre> | <pre> | ||
+ | LOG 1 | ||
+ | ACC 1 | ||
+ | IDLE 6 | ||
PORT 11668 | PORT 11668 | ||
Revision as of 01:43, 5 September 2008
|
If your users encounter any problems accessing the floating licenses, see Trouble Shooting for steps you can follow to track down the problem. IRIX/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 IRIX/Linux 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. |