HP VAN SDN Controller Controller License Registration and Activation Guide
4 Managing licenses
Transferring licenses
You can transfer a license from one platform to another. To do so, you must first uninstall each
license from the controller.
NOTE: License transfer is an “all license” or “no license” process. Partial transfers are not
permitted.
Before you transfer licenses
Before you transfer licenses, you must first:
• Uninstall all licenses, as described in “Uninstalling licenses to prepare for transfer”.
• Obtain an Install ID for each transfer, as described in “Obtaining an Install ID”.
Uninstalling licenses to prepare for transfer
To uninstall licenses:
1. Use the authentication command to obtain a new token:
curl -sk -H 'Content-Type:application/json'-d
'{"login":{"user":"MyUser","password":"MyPassword","domain":"sdn"}}'
https://MyControllerIP:8443/sdn/v2.0/auth
• Replace MyUser and MyPassword with your actual values.
• Replace MyControllerIP with your controller IP address.
NOTE: If you are installing a High Availability license, enter the IP address
of the lead controller.
Output similar to the following appears:
Example 5 Security token output
"record":
nl
{"token":"521213eb11f1495ba7a9903d3ead0585",
"expiration":1377745235000,
"expirationDate":"2013-08-2820-00-35-0700",
"userId":"38ae428848954b99b7ca67c1d74d21bd",
"userName":"sdn",
"domainId":"30e34b7630e74c81969aefaa738e02bc",
"domainName":"sdn"}}
2. Use the following command to obtain information about all installed licenses on your controller.
curl -sk -H "X-Auth-Token:MyToken"
https://MyControllerIP:8443/sdn/v2.0/licenses
• Replace MyToken with the token created in step 1.
• Replace MyControllerIP with your controller IP address.
NOTE: If you are uninstalling a High Availability license, enter the IP address
of the lead controller.
The installed license information appears in JSON format, as shown in Example 6.
Transferring licenses 13