cluster usage register

Registers an air-gapped Data Fabric cluster.

For a new air-gapped cluster, you must register it using the activation key provided by HPE Support when you ordered the product. After registration, the cluster is usable for a month with a 15-day grace period. It continues to be usable as long as you continue to pay your monthly bill and reapply new activation keys.

Syntax

Use this command to register a new cluster:

CLI
maprcli usage register
    [ -keyFile <path-to-keyfile> ]
    [ -key <key-as-string> ]
REST
Request Type POST
Request URL
http[s]://<host>:<port>/rest/cluster/usage/register?<parameters>

Parameters

Parameter Description

keyfile

(Conditionally Required) The file containing the registration key. Either this parameter or the key parameter is required.

key

(Conditionally Required) The registration key. Either this parameter or the keyfile parameter is required.

Example

CLI
Register a cluster.
maprcli usage register -keyfile newact.key -json
{
        "TIMESTAMP":1684302620609,
        "TIMEOFDAY":"2023-05-17 05:50:20.609 GMT+0000 AM",
        "STATUS":"OK",
        "TOTAL":1,
        "DATA":[
                {
                        "ACTIVETILL":"2023-06-13 15:24:12.000 GMT+0000"
                }
        ]
}
REST
NOTE
When using a self-signed certificate, pass the -k option to curl to avoid the certificate check.
curl -k -u <username> -X POST https://abc.sj.us:8443/rest/cluster/usage/register?keyfile=newact.key