Now that we're all using flexed licensing... has a...
# citrix-netscaler
k
Now that we're all using flexed licensing... has anyone else ran in to a problem using on-prem agents where you need to give a unique IP for the Pooled Licensing? The problem is that we're running some bigger environments and have set up two Agents and enabled the HA in NetScaler Console. Everything was running smoothly for quite a bit, but now only the "other" Agent is running the licensing and all NetScalers are running on grace (we have a support case for the faulty agent). I would like to have both of the agents available for the licensing as well (without me changing the IP in all the NetScalers manually).
(... and yes, I've done extensive study for the faulty agent, rebooted it, assigned the LSA role in NSC back and forth, but it still doesn't seem to work)
r
From an analytics/telemetry standpoint I can understand the wish to have a redundant HA NetScaler Agent capability. But, when it comes to licensing, I do not see why you would concern yourself to have redundancy when the licensing will go into a grace period for 30 days giving ample time to recover or repoint the license server.
k
For the case I'm dealing with, I have a couple of appliances that have now less than 50h grace left and after two support calls they haven't been able to sort it out. Also, if your licensing agent gets borked and on the same go your NetScaler reboots, they will lose the capacity. In a disaster recovery scenario I would appreciate having HA on the licensing side-of-things as well. All in all, the licensing change is driven by the vendor and I think we need to spend way too much time on stuff that should just work.
r
I have always hounded the vendors that Licensing is not something I need. I don't need to prove to myself I bought the license. They need me to prove it to them. So, the effort and cost should be on them. That said, this new requirement of licensing for NetScalers is causing more troubles than it should. I can understand the position you are in. Any NetScaler Console VM or Agent VM will proxy the licensing to the designated License Server Agent, (including the built-in agent) and another Agent can be promoted to the LSA at anytime the first is missing for NetScaler Console Service. The problem is you would need to change the license server IP manually. As you stated, the device is already rebooted and not licensed, so pointing it to a new agent/LSA and rebooting should not cause an issue. If you already have the Agents or Local Consoles setup in HA, you should be able to point any NetScaler that is rebooted to the running Agent/Console and reboot, still negating the need for "HA" licensing. The biggest pain in my view on any of this right now is the very possible loss of configuration/certificates during the brief "unlicensed" period. All of this has been brought to the attention of the product team and I am hopeful they are working on better processes to make licensing easier and less obtrusive.
☝️ 1
k
Now I have a couple of HA pairs that have lost their capacity, but apparently they should work unless they’re rebooted. Does the same apply for the appliances running on grace but still have time left?
r
AFAIK licensing changes do not apply unless rebooted. But, I know you can change capacity on the fly, so I am unsure. The log files and dashboard should show if the licensed capacity is exceeded.
k
That seems to be the case and it was confirmed by support as well. In case that we lose the licensing for some reason, it really doesn't matter if we have grace left or not, the end result is the same if the appliance reboots
Apparently our other Agent broke for an unknown reason, changing the LSA role for the other agent and re-configuring all instances to point to that is the workaround. Very laborious and so so unnecessary.
Actually told the escalation engineer that the NetScaler grace should somehow "survive" over reboot. If you now reboot an appliance in grace, it'll roll to default licensing
https://docs.netscaler.com/en-us/netscaler-console-service/manage-licenses/adm-service-agent-behavior-pooled-licensing.html "The first or oldest agent registered in an UP state is assigned the LSA role. Any other agents added later act as a proxy and communicate with the agent hosting the main LSA role for license allocation. Each agent hosting the proxy role communicates to the agent with the current LSA role through the NetScaler Console service. Note: There is no direct communication between the agent holding the LSA role and the other (non-LSA) agents. All the connections go through the NetScaler Console service only." Writing an email to one of my contacts in CSG/NetScaler about this. I can't get my head around why the LSA role exists at all? Shouldn't that license information be held in the cloud, not a single "random" agent somewhere.
This gets more interesting the deeper I dig. We're also a CSP and use a single tenant to which we have connected various customers (this is done after consulting CSG). Now the LSA role is on one customer, so the licensing on the remaining customers rely on that customers single agent on some level 😄
r
Yep. Multi-tenant is not setup right. We have the same issue.