EasyManua.ls Logo

HP HPE VAN SDN Controller 2.7 - Activating a License on the Controller; Uninstalling Licenses to Prepare for Transfer

HP HPE VAN SDN Controller 2.7
231 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1. Use the following command to obtain the SDN controller-assigned install_id value.
curl [options] -H "X-Auth-Token:token" \
https://controller_ip:8443/sdn/v2.0/licenses/installid
Replace token with the token created in step 2.
Replace controller_ip with your controller IP address.
NOTE: If you are installing a High Availability license, enter the IP address of the lead
controller.
A numerical install_id appears. For example: 1249679
2. Record your install_id for use in the next part of the license registration process.
Activating a license on the controller
Using your license key, you must now activate a license on the controller, completing the license
registration and activation process.
To activate a license on the controller:
1. If your previous curl session has closed or timed out, re–enter the authentication command
to obtain a new token.
2. Use this command to activate the license on the controller.
curl [options] -H "X-Auth-Token:token" \
-d license_key \
https://controller_ip:8443/sdn/v2.0/licenses
Replace token with the token you obtained using the authentication command.
Replace license_key with the key obtained in “Registering your license and obtaining
a license key”. You can view the key by logging on to the My Network portal and
selecting My Licenses, as shown in Figure 54.
Replace controller_ip with your controller IP address.
NOTE: If you are installing a High Availability license, enter the IP address of the lead
controller.
The installed license information appears in JSON format, as shown below.
Example 3 Installed license output
{
"license" : {
"install_id" : 1249679,
"serial_no" : 13,
"license_metric" : "HA Controller",
"product" : "HP VAN SDN Ctrl Base",
"metric_qty" : 500,
"license_type" : "PRODUCTION",
"base_license" : false,
"creation_date" : "2013-09-06T00:26:52.248+0000",
"activated_date" : "2013-09-06T00:26:52.248+0000",
"expiry_date" : "2014-01-14T00:26:52.248+0000",
"license_status" : "ACTIVE"
}
}
Uninstalling licenses to prepare for transfer
To uninstall licenses, see “Installing, activating, uninstalling, or transferring licenses” (page 53).
172 curl commands

Table of Contents

Related product manuals