Setting up a Triad License Server
Floating licenseLicense Management GuideLicense ServerDevelopment Hosts
An administrator can create a triad license server, which provides three-server redundancy. This setup establishes backup, ensuring continuous license availability should any server fail.
To set up a triad license server, perform the following steps:
- Install the floating license server package.
- Email the host ID, fully qualified domain name (FQDN), and hostname data to licensekeys@qnx.com to obtain a custom
server-side license key file. You can also contact your sales representative at
QNX.
In your email, request a triad license server.
A QNX representative will reply to your email with the license key file that you need to install on the triad license server. - After receiving the server-side license key file, set up the
three servers (primary, secondary, tertiary), as per the following
example of license-file.dat:
SERVER ubuntu 000c2987fbe1 27000 PRIMARY_IS_MASTER SERVER ubuntu-secondary 000c29c3ef8f 27000 SERVER ubuntu-tertiary 000c2998c5f0 27000 USE_SERVER VENDOR qnxlm ...Note:In this example, the server is listening to Port 27000. - Copy the same file on each of the three servers.
- Start each server using the lmgrd command; for
example:
./lmgrd -l +debug.log -c license-file.dat - Set up a client as described in
Configuration steps
in theConfiguring Development Hosts to Use a Floating License
chapter, but adjust the commands in Step 6 to account for three servers; for example:- Run the following lmutil command to set up a connection to the license server:
-
/lmutil lmpath -override qnxlm 27000@ubuntu,27000@ubuntu-secondary,27000@ubuntu-tertiary - Or, add the following configuration to the QNX environment:
- To enable Linux or macOS hosts, open
qnxsdp-env.sh, add this line, then save
your changes:
export QNXLM_LICENSE_FILE=27000@ubuntu,27000@ubuntu-secondary,27000@ubuntu-tertiary
For more information on triad license servers, go to https://www.flexera.com and search for "triad server," or refer to enduser.pdf, available through the QNX Software Center with your QNX SDP installation.
Page updated:
