Setting Up the FlexNet License Server Manager
This section guides you through the installation of the License Server Manager.
To install the FlexNet License Server Manager
1. | Change to the directory where the image file is located and run the following command to load the image file: |
docker load -i <Flexnet License Server Manager image .zip file>
You will see output similar to the following:
D:\Git\FLSM>docker load -i FlexnetLicenseServerManager-2024-06.zip
7cd52847ad77: Loading layer [==============================================>] 7.338MB/7.338MB
d8a5a02a8c2d: Loading layer [==============================================>] 5.32MB/5.32MB
5e59460a18a3: Loading layer [==============================================>] 3.584kB/3.584kB
152a948bab3b: Loading layer [==============================================>] 4.608kB/4.608kB
c4d67a5827ca: Loading layer [==============================================>] 3.584kB/3.584kB
f1bee861c2ba: Loading layer [==============================================>] 7.168kB/7.168kB
042cd3f87f43: Loading layer [==============================================>] 29.85MB/29.85MB
dd9369c9bea6: Loading layer [==============================================>] 4.096kB/4.096kB
bf8fe155c7b7: Loading layer [==============================================>] 6.38MB/6.38MB
Loaded image: revenera/flsm:2024-06
2. | Use the following command to verify the image: |
docker images
You will see output similar to the following:
REPOSITORY TAG IMAGE ID CREATED SIZE
revenera/flsm 2024-06 135f63352db8 9 days ago 47.4MB
Tip:Note the value of the tag; this is required in the next step.
3. | Use the following command to start the FlexNet License Server Manager with the default nginx configuration file. Use the -p flag to assign the port configuration: |
docker run -d -p 8080:80 revenera/flsm:<tag>
where <tag> is the TAG value that is displayed when you run the docker images command, for example:
docker run -d -p 8080:80 revenera/flsm:2024-06
4. | To enable HTTPS mode for the License Server Manager, use a text editor to create a custom configuration file called default.conf. This will replace the existing default.conf file that is located inside the container under /etc/nginx/conf.d (see step 5). Create a default.conf file with the following text: |
server {
listen 1443 ssl http2;
listen [::]:1443 ssl http2;
server_name 10.80.148.49;
ssl_certificate /etc/nginx/conf.d/servercert.pem;
ssl_certificate_key /etc/nginx/conf.d/serverkey.pem;
}
5. | Obtain or create the servercert.pem and serverkey.pem files. |
Note:Revenera recommends using a certificate from a standard certificate authority. You can convert the certificate that you receive from the certificate authority to .pem format using a third-party tool (for example, see the SSL Converter tool from SSLShopper).
If you choose not to purchase a certificate from an authority, you can obtain a free certificate from providers such as Cloudflare or Certbot.
6. | Use the following command to copy the servercert.pem , serverkey.pem and default.conf to the container in which the License Server Manager is running: |
docker run -it -v /<path>/default.conf:/etc/nginx/conf.d/default.conf -v /<path>/serverkey.pem:/etc/nginx/conf.d/serverkey.pem -v /<path>/servercert.pem:/etc/nginx/conf.d/servercert.pem -p 1443:1443 revenera/flsm:<tag>
This command also starts the License Server Manager container on port 1443.
7. | Point a web browser to http://localhost:8080 (where 8080 is replaced by the correct port, if necessary) or https://localhost:1443. |
By default, the License Server Manager opens to the About view. However, if administrative security is enabled on the license server and you have not provided your authorization credentials, the Login view is opened instead so that you can enter these credentials before proceeding with the next steps. (See Providing Credentials on a Secured License Server for details.)
8. | On the left side of the interface, click License Manager Configuration > Settings. |
9. | On the Settings view, check that the following settings are defined correctly: |
• | FlexNet License Server Host Name—The hostname of the machine on which the license server is running. |
• | FlexNet License Server Port—The port on which the License Server Manager will look for the license server. (The default port is 7070.) |
To stop the License Server Manager, close the web page and stop the container in Docker.
Note:The License Server Manager runs in a container, therefore you cannot use the host name “localhost” for the local license server. For the License Server Manager to connect to a local license server that is running in https mode, License Server Manager must also run in https mode.