Sign inSign up

softingindustrial/license-server

By softingindustrial

Updated 7 months ago

Softing floating license server

Image
Internet of things
0

4.1K

softingindustrial/license-server repository overview

Softing licenseServer

Softing licenseServer is used to host network software licenses (also called floating licenses or shared licenses) that are installed locally on an individual users' machine. The network licenses can be shared among many users and/or applications.

Softing licenseServer fulfills requests to run a network application if the required license is available. When the network license is released (for example, a user closes the application), the license is moved to the license server's available license pool and is made available for other checkout requests.

The license server is used by several Softing products like the SDEX Suite, edgeConnector, or plantPerfect product families.

Please read the user guide of the licenseServer for install and usage instructions. It is available as download on the Softing product pages using the licenseServer.

Installation

Download the docker image using the following command:

docker pull softingindustrial/license-server

Use the following commands to create and configure Docker container:

mkdir -p /var/lib/license-server
mkdir -p /var/lib/license-server/licenses
mkdir -p /var/lib/license-server/config
mkdir -p /var/lib/license-server/users
docker create --name license-server -h license-server -p 8000:8000 -p 6200:6200 -v /var/lib/license-server/licenses:/root/.x-formation -v /var/lib/license-server/users:/root/sflm/users -v /var/lib/license-server/config:/root/sflm/config --restart=always softingindustrial/license-server
docker start license-server

The following ports are used by the license server:

PortService
6200Network License Server
8000HTTPS Web Server

These ports are mapped in the docker create call above 1:1 to the ports of the host system. Of course, you can map them to different ports on the host system by changing the first number on the -p option (example: -p 8400:8000).

To disable HTTPS, use the docker create command without a port mapping for port 8000.

Note: You will need access to the Web server to add licenses.

These following volumes are used by the license server:

VolumeDescription
/root/.x-formationFolder to store the license files
/root/sflm/usersFolder to store the user data
/root/sflm/configFolder to store the configuration of the license server

The directory /var/lib/license-server is used to persist the configuration of the license server container. Of course, you can store it in a different folder on the host system by changing the first folder on the -v option (example: -v /home/xxx/ls:/root/.x-formation).

Optionally you can set this environment variables to adjust the behavior of the license server:

VariableDefaultDescription
ENABLE_LDS_REQUESTStrueSet to false to disable the automatic license updates
BASENAMETo access the license server UI over a reverse proxy specify here the URL prefix added by the reverse proxy

The option –restart=always will start the container on the startup of the system or restart it on failure.

Start the container with the following command:

docker start license-server

Stop the container with the following command:

docker stop license-server

Remove the container with the following command:

docker rm -f license-server

See the official Docker documentation for more Details on the Docker command line.

Tag summary

Content type

Image

Digest

sha256:89cba444d

Size

106.8 MB

Last updated

7 months ago

docker pull softingindustrial/license-server