Skip to main content

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

ContributorsForksStargazersIssuesMIT LicenseDocumentationContact Us

An Omnivector initiative

omnivector-logo

License Manager Simulator

A License management simulator project for testing license integration in user applications.

About The Project

The License Manager Simulatoris 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

license_manager_simulator-4.4.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

license_manager_simulator-4.4.2-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file license_manager_simulator-4.4.2.tar.gz.

File metadata

  • Download URL: license_manager_simulator-4.4.2.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.12.11 Linux/6.11.0-1018-azure

File hashes

Hashes for license_manager_simulator-4.4.2.tar.gz
Algorithm Hash digest
SHA256 a505d51c80ed8f5b2f18a0c13f6e60f04f36b43cdf54689534c31d07a9205241
MD5 da4d7fbd660a5e327dc40bf8e4b8ed59
BLAKE2b-256 c40b1d725322dd36ee2599a6575da6b07cc107548b71945ccf1188aa43da59f6

See more details on using hashes here.

File details

Details for the file license_manager_simulator-4.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for license_manager_simulator-4.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 850cd4a84ffbfc95d6afc4202017febf98616814121a975ee7ffe49f077baa32
MD5 75091b0ab700d3938a853e58cc48c3c6
BLAKE2b-256 f8b75ee047fea85e7a48ad2570b15ac10a7c6f56435c3af0d46883e2f2faaaa7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page