Setting Up the FlexNet License Server Manager
This section guides you through the installation of the License Server Manager.
The FlexNet License Server Manager is provided as a Docker image in the form of a .zip file. You must therefore install Docker to be able to run the License Server Manager.
The FlexNet License Server Manager runs on an Nginx web server. The Nginx web server is included in the FlexnetLicenseServerManager-<version>.zip package, therefore you do not need to install Nginx.
Installing Docker is not covered in this section. For information about downloading and installing Docker, refer to the Docker documentation (https://docs.docker.com/get-docker/).
You can verify if Docker is up and running using the following command:
docker -v
You will see output similar to the following:
root@Admin:~# docker -v
Docker version 20.10.7, build 20.10.7-0ubuntu5~20.04.2
To install the FlexNet License Server Manager
1. | Run the following command to load the image file: |
docker load -i <location of .zip file>
You will see output similar to the following:
D:\Git\FLSM>docker load -i flsm1.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:2023-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 2023-06 135f63352db8 9 days ago 47.4MB
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
4. | Use a custom configuration file such as default.conf to enable https mode for the License Server Manager. The file default.conf is located inside the container (/etc/nginx/conf.d). Add the following text to default.conf: |
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. | Use the following command to copy the servercert.pem, serverkey.pem and default.conf files to the container in which the License Server Manager is running: |
docker run -it -v /root/testing/test2/conf/default.conf:/etc/nginx/conf.d/default.conf -v /root/testing/test2/conf/serverkey.pem:/etc/nginx/conf.d/serverkey.pem -v /root/testing/test2/conf/servercert.pem:/etc/nginx/conf.d/servercert.pem -p 1443:1443 revenera/flsm
This command also starts the License Server Manager container on port 1443.
6. | Point a web browser to http://localhost:8080 (where 8080 is replaced by the correct port, if necessary). |
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.)
7. | On the left side of the interface, click License Manager Configuration > Settings. |
8. | 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 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.