- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Knowledge Base
- :
- How to start and stop License server in Three-Server Redundant Configuration
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
How to start and stop License server in Three-Server Redundant Configuration
How to start and stop License server in Three-Server Redundant Configuration
1. How to find a license server is a master?
Using the lmstat Utility: The output message generated by the lmstat utility identifies which license server is the master. In the following example lmstat output, the secondary license server is the master.
[Detecting lmgrd processes...]
License server status: 30000@RMD-PRIMARY,30000@RMD-SECONDARY,30000@RMD-TERTIARY
License file(s) on RMD-PRIMARY: C:\server\3.lic:
RMD-PRIMARY: license server UP v11.18.3
RMD-SECONDARY: license server UP (MASTER) v11.18.3
RMD-TERTIARY: license server UP v11.18.3
Also, we can find the primary and secondary and tertiary in the above output.
2. Starting and Stopping License Servers?.
To start the entire system, you must start each license server manager (lmadmin or lmgrd). Generally, it is good practice to start the primary license server before the secondary or tertiary license server. This allows the primary license server to become the master before the others start. If you start the secondary and tertiary before the primary, then the secondary will establish itself as master.
If you do not set the PRIMARY_IS_MASTER keyword for the primary license server, then the order in which you start the license servers is important. If you do not set this property, when you start the primary license server after the secondary license server control will not transfer to the primary license server. By setting the PRIMARY_IS_MASTER keyword, you ensure that when the primary license server is running, it is always the master.
3. If a system administrator wants to shut down one of the servers to perform
maintenance then how to stop one of the 3 servers without affecting the other two License servers?.
- In three-server scenarios, a system administrator may wish to shut down one of the servers to perform maintenance, while the other two servers maintain a quorum and continue to serve licenses.
- Previously, shutting down a license server in a triad through lmdown (or lmtools) would shut down the entire triad.
- Now, a system admin can run lmdown -c 3server-license.lic from one of the machines in the triad. lmdown will read the 3-server license file and provide a prompt asking which of the three listed servers to shut down.
Example: lmdown -c <three-server-license-file>
C:\x64_n6>lmdown.exe -c three-server-license-file.lic
lmdown - Copyright (c) 1989-2021 Flexera Software LLC. All Rights Reserved.
[Detecting lmgrd processes...]
Port@Host Vendors
1) 27011@10.41.11.167,27011@10.41.11.41,27011@10.41.11.30 qavend1
Are you sure (y/n)? y
The license file is configured for 3-server redundancy. Please select the server
to shutdown
1) 27011 @10.41.11.167
2) 27011 @10.41.11.41
3) 27011 @10.41.11.30
Server # [a=all, q=quit]? 1
1 FlexNet License Server shut down
C:\x64_n6>lmdown.exe -c three-server-license-file.lic
lmdown - Copyright (c) 1989-2021 Flexera Software LLC. All Rights Reserved.
[Detecting lmgrd processes...]
Port@Host Vendors
1) 27011@10.41.11.167,27011@10.41.11.41,27011@10.41.11.30 qavend1
Are you sure (y/n)? y
The license file is configured for 3-server redundancy. Please select the server
to shutdown
1) 27011 @10.41.11.167
2) 27011 @10.41.11.41
3) 27011 @10.41.11.30
Server # [a=all, q=quit]? 1
This server is already down, exiting