The License Manager Simulator is an application that simulates output from 5 license servers for use in the development of applications which interface to the license servers.
Project description
Contributors • Forks • Stargazers • Issues • MIT License • Documentation • Contact Us •
An Omnivector initiative
License Manager Simulator
A License management simulator project for testing license integration in user applications.
About The Project
The License Manager Simulator
is an application that simulates several license servers output for use in the development of applications which interface to the license servers.
It contains fake binaries that simulate the license servers output.
License servers supported:
- FlexLM
- RLM
- LS-Dyna
- LM-X
- OLicense
Installation
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install license-manager-simulator
The scripts will be available inside the bin
folder in the venv.
Prerequisites
To use the License Manager Simulator you must have Slurm
and License Manager Agent charms deployed with Juju
.
Instructions for this can be found at the License Manager documentation.
For each license server supported, there's a script that requests license information to the simulator API and a template where the data will be rendered.
You also need to add licenses to the Simulator API and to the Slurm cluster, and then copy an application file to the slurmd
node to run a job.
Usage
There is an application.sh
script that is intended to run in Slurm as a job that uses the licenses from the Simulator API. It is just a dummy
application for testing purposes that creates a license_in_use
in the API, sleeps, then deletes the license_in_use
.
There is also a batch.sh
script to run the application via sbatch
.
These files need to be updated with the Simulator API IP address provided in the step above before being copied to the /tmp
folder in the slurmd
node.
To submit the job, run:
$ juju ssh slurmd/leader sbatch /tmp/batch.sh
License
Distributed under the MIT License. See the LICENSE file for details.
Contact
Email us: Omnivector Solutions
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file license_manager_simulator-4.2.1.tar.gz
.
File metadata
- Download URL: license_manager_simulator-4.2.1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b32e8d820316930a76e23424de8c8f385301a559d3ca7d4699df359efde02d02 |
|
MD5 | a92244da9cbbb171963e11339720c06b |
|
BLAKE2b-256 | a3552298c94ab4cbc9339b750014901a2470e7f61e62d63e2e6695fb047457bc |
File details
Details for the file license_manager_simulator-4.2.1-py3-none-any.whl
.
File metadata
- Download URL: license_manager_simulator-4.2.1-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b790093f186ede9b2578065528e3de2ebcf3d082ec787f11ce5b43adb679b66 |
|
MD5 | def4ce7082bd24515236e03ec0409073 |
|
BLAKE2b-256 | 957c5cc1ab4b91c69b0b998abfbdb5e2a6b31ff72e26b8712b2bd448e2328abc |