cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do the lmgrd and lmdown processes work to start and stop vendors on Windows?

How do the lmgrd and lmdown processes work to start and stop vendors on Windows?

Summary

How do the lmgrd and lmdown processes work to start and stop vendors on Windows?

Question

It appears that our license server has an lmgrd process for each vendor daemon. We have our XXX vendor and there's a second YYY vendor. The Windows Task Manager shows 2 lmgrd processes running. When we attempt an lmdown process, it's killing both those lmgrd processes. How do we go about just shutting down our lmgrd and vendor so we only stop the stuff we started with our license server without interrupting the other one?

Answer

There's some confusion here regarding how it works. Please note, there is *NOT* 1 lmgrd process per vendor daemon (see KB 000027955). On running 'lmgrd' as service, two 'lmgrd' processes can be seen in Task Manager. One of which represents the 'lmgrd' service and the other represents the 'lmgrd' process created by the service.

If lmgrd is not installed as a service, only 1 lmgrd process will be observed in the Task Manager on Windows, and that single (1) license manager (lmgrd) process runs/manages all vendor daemons on the system in question.

Additional Information

The 'lmdown' utility can be used to shut-down either 'lmgrd' (which in-turn shuts-down the vendor daemon/daemons) or only 'vendor daemon' (lmgrd continues running).

The point here is that without the use of '-vendor', the 'lmdown' request is sent to 'lmgrd' (irrespective of whichever vendor daemon is running).

So 'lmdown' switches need to be carefully used.
For Ex:
1. To shutdown a specific 'lmgrd':

$lmdown -c <lmgrd port>@<lmgrd server ip address/hostname>

or

Use specific port for each 'lmgrd' by mentioning in the license file and use that license file in 'lmdown'.
SERVER this_host 27010 ANY

2. To shutdown a specific 'vendor daemon':

$lmdown -c <vendor license file> -vendor <vendor name>
Labels (1)
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Nov 13, 2018 11:35 PM
Updated by: