You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 37 Next »

Inability to query license server

If License Statistics cannot query the license server, the log will contain an error message such as the following:

  • License server is down or not responding
  • Problem occurred while running query_tool_name utility for license_server

If you see either of these errors, you should check for communication problems between the license server and License Statistics using the appropriate query tool for the license server (for example, lmxendutil for LM-X License Manager).

To do this, navigate from a command line to the directory that contains the query tool and follow the instructions below, depending on which license server you are checking. If there are errors in the communication between the license server and License Statistics, you will receive information about the errors. Otherwise, you will see normal statistics information for the indicated license server.

LM-X

For an LM-X license server, type the command:

lmxendutil -licstatxml [-host host -port port]

where host and port are the host and port appropriate for your license server. The host and port designations are optional. If the host information is omitted, the local host is used; if the port information is omitted, the default port is used.

FLEXlm/FlexNet

For a FLEXlm/FlexNet license server, type the following commands:

lmutil lmdiag -n -c [port]@host
lmutil lmstat -i -a -c [port]@host [-S vendor]

where port and host are the port and host appropriate for your license server, and vendor is the vendor daemon's name (this name is case-sensitive by FlexNet's default license server configuration). The port designation is optional; if it is omitted, the default port is used. Specifying the vendor is also optional.  

FLEXlm/FlexNet with enabled HAL

To query a FlexNet HAL license server manually for Linux, type the following commands:

lmutil lmdiag -n -c [port]@host1:host2:host3
lmutil lmstat -i -a -c [port]@host1:host2:host3 [-S vendor]

To query a FlexNet HAL license server manually for Windows, type the following commands:

lmutil lmdiag -n -c [port]@host1;host2;host3
lmutil lmstat -i -a -c [port]@host1;host2;host3 [-S vendor]

RLM

For an RLM license server, type the command:

rlmutil rlmstat -a -c [port]@host  

where port and host are the port and host appropriate for your license server. The port designation is optional; if it is omitted, the default port is used.

Sentinel LM/RMS

For a Sentinel LM/RMS license server, type the command:

lsmon -u -s [host]

lsmon -s [host]

lsmon [host]  

where host is the host appropriate for your license server. The host designation is optional; if it is omitted, the local host is used.

IBM LUM

For an IBM LUM license server, type the command:

i4blt -s -lc -k -n host
i4blt -s -lco -k -n host
i4blt -ll -k -n host

Or, for a cluster configuration:

i4blt -s -lc -k -n "host1 host2 host3"
i4blt -s -lco -k -n "host1 host2 host3"
i4blt -ll -k -n "host1 host2 host3"

where host is the host appropriate for your license server.

Dassault  

For a Dassault license server, you can get license, user, and denials information by following the procedures below.

To get license information: 

  1. Create a text file named gli.txt.
     
  2. Add the following four lines to gli.txt:

    c host port
    gli
    d
    q

    where host and port are the host and port appropriate for your license server.
     
  3. Run the command:

    dslicsrv -admin -i gli.txt 

To get information about users who are using licenses:

  1. Create a text file named glu.txt.
     
  2. Add the following four lines to glu.txt:

    c host port
    glu -all
    d
    q

    where host and port are the host and port appropriate for your license server.

  3. Run the command: 

    dslicsrv -admin -i glu.txt

To get information about denials:

  1. Create a text file named sl.txt.

  2. Add the following four lines to sl.txt:

    c host port
    sl -from date hour
    d
    q

    where:
    • host and port are the host and port appropriate for your license server,
    • date is in YYYY/MM/DD format, and hour is in HH:MM:SS format.
      (Note that you should use current values for date and hour.)


  3. Run the command:

    dslicsrv -admin -i sl.txt


  • No labels