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

Updating Portal and AGS licensing on existing deployments #209

Closed
KC-JJ opened this issue Oct 15, 2019 · 3 comments
Closed

Updating Portal and AGS licensing on existing deployments #209

KC-JJ opened this issue Oct 15, 2019 · 3 comments
Assignees
Milestone

Comments

@KC-JJ
Copy link

KC-JJ commented Oct 15, 2019

It would be great to be able to update the licensing on existing deployments by using the config file that was used to license the software in the first place. I tried just running "InstallLicense" to update new licenses but the script looks like it's looking for anything with "svr" in the keycode file before it will update the license for AGS and I'm not sure how it's checking Portal's licensing. if I renamed the nearly-expiring AGS keycode file on the existing deployment, it would actually update the licensing for AGS when I ran the Mode as "InstallLicense". This would be super handy in maintaining new licenses for large scale deployments instead of needing to visit each machine individually.

@cameronkroeker
Copy link
Contributor

Hi @KC-JJ,

Thanks for the feedback. One challenge with this is authorization keys have a finite amount of available authorizations. The PowerShell DSC arcgis module is idempotent, so if we made this change and the deployment fails then the same authorization key would be re-authorized each time. This wouldn't be ideal because then potentially the available authorizations would eventually be all used up.

@KC-JJ
Copy link
Author

KC-JJ commented Oct 15, 2019

Thanks for the reply @cameronkroeker
Maybe there just needs to be a switch like -UpdateLicense that would override the check and re-authorize that way it's not changing the way the check happens now, but the user would have the option to update that licensing per the deployment. I do know that license management for administrators can be a challenge when you start looking at large scale HA deployments - this would greatly help them managing that.

@cameronkroeker cameronkroeker added the enhancement New feature or request label Oct 15, 2019
@shailesh91 shailesh91 added this to the 10.8 milestone Nov 15, 2019
@shailesh91 shailesh91 self-assigned this Nov 15, 2019
@cameronkroeker
Copy link
Contributor

@KC-JJ,

We have added the following feature to the latest release, v3.0.0:

ForceLicenseUpdate - (Optional - true | false) - Will force update license on all components in the AllNodes block.

https://github.com/Esri/arcgis-powershell-dsc/wiki/V3.-Variables-reference-page-for-JSON-configuration-files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants