Asking about a script to revoke per socket licences before start replica jobs
Best answer by MicoolPaul 17 November 2022, 01:04
What are you specifically looking to do? What you have asked is not clear.
There is the answer in the forums which is not possible.
There shouldn‘t be any reason to revoke licenses periodically before a replica job starts. Sockets from all source hosts must be licensed.
You can manually revoke the license after you have permanently done a failover of all VMs to the new hosts. This will allow you to use the existing license for the new hosts.
This screams violation of EULA here so be very careful what you’re doing and if it’s breaking your agreement. What is the reason for needing the socket licenses revoked before each replication job? Each scenario I can think of that isn’t just to cheap out on licenses is an overly complex exercise in inefficiency.
Well, @MicoolPaul , you are asking about scenarios where it might be helpful to automatically revoke socket licenses? Here is one: our VMWare admins did a re-design of their vCenters according to where VMs are located (which vCenter and/or host). At the same time old ESXi hosts were removed, and new more powerful ones got installed. It took them quite a time to do all that and for me the result was that my Veeam servers ran out of licenses because ESXi hosts would consume licenses even if they no longer were hosting any VMs. On the other side new hosts came up consuming licenses that were not (yet) available. You get the picture? Of course, this scenario wouldn´t happen every now and then but it drew me crazy to revoke licenses manually daily for a couple of weeks. What I would expect is that Veeam would do the housekeeping automatically as soon as the last VM vanishes from an ESXi host.
If you switch to Veeam Universal Licenses (VUL), this problem is solved…
Hi @Michael.Haendl, I understand your point, I’m unsure if it relates to Oscar’s requirement to run before every replication job, hence the request for additional scope from them.
Veeam don’t offer any PowerShell or REST access for license revoking so it would remain manual for now, at least until instance licensing is used and then it wouldn’t matter in this scenario…
In your specific scenario, as there’s the risk of a vMotion still taking place to evacuate a host during a backup window and thereby having a genuine license exceeded moment, for such a project I’d ask my Veeam Account Manager to temporarily provide me with an overage on my license if possible, or factor this limitation into my host migration plan.
Thank you @MicoolPaul as I said: if VBR would revoke licenses automatically from hosts without any (backuped-up) VMs, then we wouldn´t need a script solution at all.
And switching to instance licenses and spending almost 3 times the fees of our socket licenses will not happen. But that´s a different topic...
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.