Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Multiple License Products when using Unity Licensing Server #662

Open
ejnarvala opened this issue Aug 7, 2024 · 0 comments
Open
Labels
enhancement New feature or request licensing-server

Comments

@ejnarvala
Copy link

Context

The unity licensing server supports registering multiple products which effectively means you can multiple pools of licenses on a licensing server - https://docs.unity.com/licensing/en-us/manual/ServerSetup-test#Support_for_multiple_product_licenses. By default, the server only serves licenses from a single pool (product). Unity clients need to specify that they want to request licenses from multiple pools by setting the toolset param in their services-config.json file with values being a comma separated list of product ids:
Docs including toolset param - https://docs.unity.com/licensing/en-us/manual/ClientConfig

The server serves one product license at a time to clients. You can supply a comma-separated string, in order of preferred licenses. To view all available product identifiers, go to the Server Administration Status Page and view the list under licenseEntitlementGroupId. The server processes each license in the order you specify. If a license isn't available, the server goes to the next license in the list. If you don't specify a toolset value, the server serves the default toolset.

Suggested solution

We can add a parameter to the action to specify this value and update the services-config.json.template that is used already to request floating licenses to set this value to the toolset param.

Additional details

I've already forked this repo and implemented my proposed solution and we are currently using this in our existing workflows. PRs:

@ejnarvala ejnarvala added the enhancement New feature or request label Aug 7, 2024
@ejnarvala ejnarvala changed the title Support unity floating licensing servers with multiple 'products' Support Multiple License Products when using Unity Licensing Server Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request licensing-server
Projects
None yet
Development

No branches or pull requests

2 participants