You can upload license files to the storage system to make them available to install. To install an uploaded license file, create a new instance of the
license resource type.
For information about the license resource type, see the
Unisphere Management REST API Reference Guide.
Syntax
To upload a license file, use the following components:
You must
POST the upgrade file using a multipart/form-data format as if from a simple web page form, like that shown in the following example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<body>
<form enctype="multipart/form-data" method="post"
action="https://<IP_address>/upload/license">
<input type="file" name="filename>"/>
<input type="submit"/>
</form>
</body>
</html>
A successful upload request returns
200 OK HTTP status code. If the request does not succeed, the server returns a
4nn or
5nn HTTP status code in the response header and a message entity in the response body.
Example
The following example uploads the license file
license1.lic from the local host to the storage server: