Loading...
Loading...
After attempting activation, when you check status via a GET API command, the status won't move past "DOSSIER_GENERATED"
The activation process for a BIG-IP license cannot be performed via the REST API using the 'automatic' method.
This occurs when you activate the license on a BIG-IP system using 'automatic' method as described in https://support.f5.com/csp/article/K45305307 using below POST API # curl -sk -u admin:xxxxxx -H "Content-Type: application/json" -XPOST https://x.x.x.x/mgmt/tm/shared/licensing/activation -d '{"baseRegKey":"xxxxxxxxx","automaticActivation":"true","activationMethod":"AUTOMATIC"}'
Use the following endpoint to activate the license via the 'automatic' method - For single key: # curl -sk -u admin:xxxxx -H "Content-Type: application/json" -d '{"command": "install", "registrationKey": "<reg_key>"}' -X POST https://<IP>:<port>/mgmt/tm/sys/license “ OR for multiple keys: # curl -v -k -s -u admin:xxxxx -H "Content-Type: application/json" -d '{"command": "install", "registrationKey": "<reg_key>", "addOnKeys":["<addon_reg_key1>", ..., "<addon_reg_keyN>"]}' -X POST https://<IP>:<port>/mgmt/tm/sys/license” Here is a sample output: # curl -sk -u admin:xxxxx -H "Content-Type: application/json" -d '{"command": "install", "registrationKey": "12345-12345-12345-12345-1234567"}' -X POST https://1.2.3.4/mgmt/tm/sys/license | jq . { "kind": "tm:sys:license:installstate", "command": "install", "registrationKey": "12345-12345-12345-12345-1234567", "commandResult": "New license installed\n" <============== SUCCESS MESSAGE }
None
F5 Integration
Learn more about where this data comes from
BugZero Plan
Streamline upgrades with automated vendor bug scrubs
BugZero Prevent
Wish you caught this bug sooner? Get proactive today.