HP VAN SDN Controller Controller License Registration and Activation Guide
2 Preparing for license registration
Verifying registration prerequisites
Before beginning the license registration and activation process, be sure you have:
• Obtained an HP My Networking user account.
• Obtained the order number or product registration ID, and e-mail address from your HP VAN
SDN Controller license order confirmation.
• Installed the HP VAN SDN Controller software and have the controller running, as described
in the HP VAN SDN Controller Installation Guide.
Obtaining an Install ID
The HP VAN SDN Controller uses a REST API to install licenses. To begin the installation process,
you must use the cURL utility to invoke the REST API on the controller, enabling you to obtain the
Install ID required by the My Networking portal to generate a license key.
NOTE: The following procedure shows installing and using cURL from the machine running Ubuntu
where the HP VAN SDN Controller is installed.
To obtain an Install ID:
1. If the cURL utility is not installed on the machine where HP VAN SDN Controller is installed,
use the following command to download it:
sudo apt-get install curl
2. Use the following command to authenticate with the controller and create a security 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 1 Security token output
"record":
nl
{"token":"521213eb11f1495ba7a9903d3ead0585",
"expiration":1377745235000,
"expirationDate":"2013-08-2820-00-35-0700",
"userId":"38ae428848954b99b7ca67c1d74d21bd",
"userName":"sdn",
"domainId":"30e34b7630e74c81969aefaa738e02bc",
"domainName":"sdn"}}
3. Record your security token.
Example 2 Security token obtained from output
The token obtained from the example in the previous step is:
nl
521213eb11f1495ba7a9903d3ead0585
Verifying registration prerequisites 5