Redundancy Using the License Search Path
In this configuration you install multiple license servers that each use a subset of the available licenses. Network machines are configured with a license search path that contains details of each license server. A FlexEnabled application tries each license server on the license search path in order until it succeeds or gets to the end of the list.
Example of Redundancy Using the License Search Path
This example demonstrates the use of two license servers, chicago and tokyo, that serve five licenses each for the features f1 and f2. The publisher supplies the following license files:
| • | For chicago
|
SERVER chicago 17007ea8 1700
VENDOR sampled /etc/mydaemon
FEATURE f1 sampled 1.000 31-dec-2020 5 SIGN=.....
FEATURE f2 sampled 1.000 31-dec-2020 5 SIGN=.....
| • | For tokyo
|
SERVER tokyo 17007ea8 1700
VENDOR sampled /etc/mydaemon
FEATURE f1 sampled 1.000 31-dec-2020 5 SIGN=.....
FEATURE f2 sampled 1.000 31-dec-2020 5 SIGN=.....
The license search path is set on the network machines using the LM_LICENSE_FILE environment variable so that machines in the US request licenses first from the license server chicago and machines in Japan request licenses first from the license server tokyo.
| • | US machines set LM_LICENSE_FILE to - 1700@chicago:1700@tokyo |
| • | Japanese machines set LM_LICENSE_FILE to - 1700@tokyo:1700@chicago |
This example uses UNIX syntax (:) for separating entries on the license search path. See Setting the License Search Path Using an Environment Variable for full details of the license search path syntax.