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

How do you quietly shut down multiple vendor daemons using lmdown?

How do you quietly shut down multiple vendor daemons using lmdown?

Summary

How do you quietly shut down multiple vendor daemons using lmdown?

Question

How do you quietly shut down multiple vendor daemons using lmdown?

Answer

Use the lmdown -all option. If multiple servers are specified, it automatically shuts down all of them. -q is implied with -all. Its documented in fnp_LicAdmin.pdf under Chapter 12 Using License Administration Tools.

Additional Information

Using the -q options, lmdown is still interactive. This is triggered by having two VDs running at the same with license files that do not have a port number in them, then trying to shut down either using -q -c <license file>:

C:\Test>lmgrd -local -c VD1.lic -l SLM.log

C:\Test>lmgrd -local -c demo.lic -l demo.log

C:\Test>lmutil lmdown -q -c VD1.lic
lmutil - Copyright (c) 1989-2018 Flexera. All Rights Reserved.
[Detecting lmgrd processes...]

Port@Host Vendors
1) 27000@or-rgering-w216 merant
2) 27001@or-rgering-w216 demo

Server # [a=all, q=quit]? q
No server selected, exiting

C:\Test>lmutil lmdown -q -c demo.lic
lmutil - Copyright (c) 1989-2018 Flexera. All Rights Reserved.
[Detecting lmgrd processes...]

Port@Host Vendors
1) 27000@or-rgering-w216 merant
2) 27001@or-rgering-w216 demo

Server # [a=all, q=quit]? q
No server selected, exiting

C:\Test>

If there's only one server running, -q works fine. The -c <license file> comman fails to identify the VD from a license file if it has no port number. Because lmgrd fails to select the VD, it is forced to become interactive to ask for help on what to shutdown. If it had used the VENDOR directive in the license file, it could have avoided this.
Labels (1)
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Nov 13, 2018 11:21 PM
Updated by: