Trouble Shoot form: Item 01.002
|Title||Broker commands not showing.|
|Date||Oct 11, 2011|
|Applies to license managers||FLEXlm, FLEXera FLEXnet publisher, IBM LUM, LM-X|
|Applies to license mode||Floating licenses, Network licenses, Concurrent licenses|
|Observed during investigation|
|Trouble shoot process||Troubleshooting|
Upon start-up, the OpenLM Broker compiles lmutil commands that are installation specific. These commands would later be used for interfacing the license server, and sending information over to the OpenLM server. These commands are ‘Status’, ‘Data inquiry’, ‘Start’, ‘Stop’ and ‘Reread’. In the image below, The command set of two license servers are highlighted, and the ‘Status’ command respective to the ArcGIS License manager is shown.
The Broker has the capability of self extracting information regarding the License Server’s port, and the location of the License file and lmutil executables in order to compile the commands. At the time of writing this document, This capability is only available for Windows’ license servers (OpenLM Broker version 1.7xx).
The Command lines are blank
- Unix servers: As mentioned above, auto compiling of lmutil commands is only available on Windows servers. Solution:
- Add a Windows License server and get the commands there.
- Modify the commands so that they comply with the Unix format.
- Following are the commands as they appear on my Windows Broker (as an example), followed by the respective Unix command templates:
Windows: “C:\PROGRA~2\ESRI\License\arcgis9x\lmutil” lmstat -c 27004@olm2008
Unix: <installationFolder>/lmutil lmstat -c <port>@licenseServerName
Windows: “C:\PROGRA~2\ESRI\License\arcgis9x\lmutil” lmstat -a -c 7004@olm2008 -i
Unix: <installationFolder>/lmutil lmstat -a -c <port>@licenseServerName -i
Windows: “C:\PROGRA~2\ESRI\License\arcgis9x\lmgrd” -z -c “C:\Program Files (x86)\ESRI\License\arcgis9x\Viewer9.lic”
Unix: <installationFolder>/lmgrd -z -c <license file>
Windows: “C:\PROGRA~2\ESRI\License\arcgis9x\lmutil” lmdown -q -c “C:\Program Files (x86)\ESRI\License\arcgis9x\Viewer9.lic”
Unix: <installationFolder>/lmdown -q -c <license file>
Windows: “C:\PROGRA~2\ESRI\License\arcgis9x\lmutil” lmreread -c “C:\Program Files (x86)\ESRI\License\arcgis9x\Viewer9.lic” -all
Unix: <installationFolder>/lmreread -c <license file> -all
- The automatic detection capability is only applied when a license manager is installed on the same machine as the OpenLM Broker. If no such installation is noted in the registry, no Broker commands would be automatically compiled.
- In the OpenLM Broker’s installation folder, under the ‘tools’ directory (i.e.: C:\Program Files\OpenLM\OpenLM Broker\tools) there is a default lmutil executable file. This file is referred to when no other lmutil executable file is set. Note its existence in order to avoid problems arising from multiple code reference.
- View the Broker.xml file under the Broker’s installation folder ( i.e.: C:\Program Files\OpenLM\OpenLM Broker) in order to extract information regarding the Broker’s whereabouts. See the following code cut-out as a reference to the required Broker’s behavior