4.1. Managing Licenses

4.1.1. Loading License

4.1.1.1. Syntax

usage: vinfra cluster license load [-h] [-f {json,table,value,yaml}]
                                   [-c COLUMN]
                                   <license-key>

Load a license from a key.

positional arguments:
  <license-key>         License key to register
...

4.1.1.2. Sample Output

This command install the license from the key A38600-3P6W74-RZSK58-Y9ZH05-2X7J48.

# vinfra cluster license load A38600-3P6W74-RZSK58-Y9ZH05-2X7J48
+---------------+------------------------+
| Field         | Value                  |
+---------------+------------------------+
| capacity      | 10737418240000000      |
| expiration_ts | 1539993600             |
| free_size     | 10737406693706239      |
| keynumber     | PCSS.74580548.0001     |
| spla          | registered: false      |
|               | registration_url: null |
| status        | active                 |
| total_size    | 10737418240000000      |
| used_size     | 11546293761            |
+---------------+------------------------+

4.1.2. Showing License Details

4.1.2.1. Syntax

usage: vinfra cluster license show [-h] [-f {json,table,value,yaml}]
                                   [-c COLUMN]

Show details of the installed license.
...

4.1.2.2. Sample Output

This command shows the details of the currently installed license.

# vinfra cluster license show
+---------------+------------------------+
| Field         | Value                  |
+---------------+------------------------+
| capacity      | 10737418240000000      |
| expiration_ts | 1539993600             |
| free_size     | 10737406693706239      |
| keynumber     | PCSS.74580548.0001     |
| spla          | registered: false      |
|               | registration_url: null |
| status        | active                 |
| total_size    | 10737418240000000      |
| used_size     | 11546293761            |
+---------------+------------------------+

4.1.3. Updating License

4.1.3.1. Syntax

usage: vinfra cluster license update [-h] [-f {json,table,value,yaml}]
                                     [-c COLUMN] [--server <ka-server>]

Update the installed license.

optional arguments:
  -h, --help            show this help message and exit
  --server <ka-server>  Hostname[:port] of the key administration server
                        (default: ka.parallels.com)
...