HLServer: The Manager
From Headus Docs
|
Sysadmins and trusted users can use the license manager to check the status of the license server, to see which licenses are being used, to reclaim licenses and so on.
The hlmanager application can be run from any host, and as with the other applications, HEADUS_HLSERVER should be defined in the user's environment. When first started up, something like the following will be displayed: Server roley:11668 up 19 minutes and 46 seconds <--------- Licenses ----------> <------------------- Users ------------------> Name Status Free Used Id Hostname User App Age Idle cyslicev2 23 days 0 1 1 roley architec cyslice 0:16.53 0:05.40 architec cyeat 0:16.48 0:06.45 cyslicev2 <1 day 1 0 cysurf permanent 3 0 plyedit <1 day 1 0 decimate 18 days 1 1 2 lunacy architec mtool 11:23.14 11:23.13 Note: If you're running the Windows version, the default console window may be too narrow, wrapping the longer lines around and making the display rather confusing. You can fix this by:
The first line of the status report tells you where the server is and how long its been up. The Licenses section lists all available licenses: in the example there is one cyslicev2 license with 23 days left, another cyslicev2 license with less than 1 day left, three permanent cysurf licenses, one plyedit license also about to expire, and two decimate licenses with 18 days to expirey. The Users section lists all currently used licenses: in the example there is one of the cyslicev2 licenses being used on roley by architec, and architec also has a decimate license on lunacy. You can see that the license name and application names don't always match. For example, the decimate license has been grabbed by the mtool application. When mtool starts up it'll grab a decimate license, if one is free, so that the Decimate panel can be enabled. If no decimate license is available, it'll look for other licenses from CySurf, CySlice, CyDir and finally, as a last resort, Mtool. The Age and Idle columns show how long ago a license was grabbed, and for how long the application has been idle. In the example it looks like CySlice was started about 15 minutes ago, and hasn't been used for the last 5 minutes. The Mtool application was started over 11 hours ago and hasnt been used since; its a likely candidate for a "boot" if you run out of decimate licenses. After the initial status listing, you will be presented with a command prompt where you can type one of the following commands:
Command Line AccessAll of the above hlmanager commands can be run from the command line. Some examples: Reload the config file after any change: hlmanager reload Get the current status: hlmanager status Get a list of current CySlice users: hlmanager status | grep ' cyslice' | cut -c37-60 | sort -u | awk '{print $2 "@" $1;}' User ModeThere are 3 possible levels of access to hlmanager for normal (non sysadmin) users. This level of access is set globally in the hlserver.conf file with the ACC parameter.
|