Skip to content

Commit 55a13b9

Browse files
committed
license cli documentation
license docs backout doc change more docs
1 parent abbf4b2 commit 55a13b9

File tree

5 files changed

+146
-0
lines changed

5 files changed

+146
-0
lines changed

website/data/docs-navigation.js

+4
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ export default [
108108
'validate'
109109
]
110110
},
111+
{
112+
category: 'license',
113+
content: ['get', 'put']
114+
},
111115
'monitor',
112116
{
113117
category: 'namespace',
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
layout: docs
3+
page_title: 'Commands: license get'
4+
sidebar_title: get
5+
description: |
6+
The license get command is used to get the current license.
7+
---
8+
9+
# Command: license get
10+
11+
The `license get` command is used to retrieve the current Nomad Enterprise license.
12+
13+
~> License commands are new in Nomad 0.12.0 and are only available with Nomad
14+
Enterprise.
15+
16+
## Usage
17+
18+
```plaintext
19+
nomad license get [options]
20+
```
21+
22+
## General Options
23+
24+
@include 'general_options.mdx'
25+
26+
## Examples
27+
28+
```shell-session
29+
$ nomad license get
30+
31+
Product = nomad
32+
License Status = valid
33+
License ID = e23f63b1-00ec-4e67-e926-c22e7937ceec
34+
Customer ID = 350356e5-8aec-bdf4-8510-b205079ccad2
35+
Expires At = 2020-05-09 00:00:00 +0000 UTC
36+
License ID = e23f63b1-00ec-4e67-e926-c22e7937ceec
37+
Customer ID = 350356e5-8aec-bdf4-8510-b205079ccad2
38+
Terminates At = 2020-05-10 00:00:00 +0000 UTC
39+
Datacenter = *
40+
Modules:
41+
governance-policy
42+
Licensed Features:
43+
Automated Upgrades
44+
Enhanced Read Scalability
45+
Redundancy Zones
46+
Namespaces
47+
Resource Quotas
48+
Preemption
49+
Audit Logging
50+
Setinel Policies
51+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: docs
3+
page_title: 'Commands: license'
4+
sidebar_title: license
5+
description: |
6+
The license command is used to interact with an enterprise license.
7+
---
8+
9+
# Command: license
10+
11+
~> License commands are new in Nomad 0.12.0 and are only available with Nomad Enterprise.
12+
13+
The `license` command provides cluster level management of the Nomad Enterprise license.
14+
15+
If ACLs are enabled then a token with operator privileges may be required in order to use
16+
this command.
17+
18+
## Usage
19+
20+
Usage: `nomad license <subcommand> [options]`
21+
22+
Run `nomad license <subcommand> -h` for help on that subcommand. The following
23+
subcommands are available:
24+
25+
- [`license get`][get] - Get the current license
26+
- [`license put`][put] - Set the current license
27+
28+
[get]: /docs/commands/license/get `Get the current license`
29+
[put]: /docs/commands/license/put `Set the current license`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
layout: docs
3+
page_title: 'Commands: license put'
4+
sidebar_title: put
5+
description: |
6+
The license put command is used to set the Nomad Enterprise license.
7+
---
8+
9+
# Command: license put
10+
11+
The `license set` command is used to set the Nomad Enterprise license.
12+
13+
~> License commands are new in Nomad 0.12.0 and are only available with Nomad
14+
Enterprise.
15+
16+
## Usage
17+
18+
```plaintext
19+
nomad license put
20+
```
21+
22+
## General Options
23+
24+
@include 'general_options.mdx'
25+
26+
## Put Options
27+
28+
```plaintext
29+
Install a new license from a file:
30+
31+
$ nomad license put <path>
32+
33+
Install a new license from stdin:
34+
35+
$ nomad license put -
36+
```
37+
38+
## Examples
39+
40+
Set a license using a path
41+
42+
```shell-session
43+
$ nomad license put /path/to/my/license.txt
44+
```
45+
46+
Set a license using a path
47+
48+
```shell-session
49+
$ nomad license put -
50+
51+
02MV4UU43BK5HGYYTOJZWFQMTMNNEWU33JLJKES6S2NJMXUWLKIV2E2RCCNRMXSMBQLJKFSM2MK5KTKTLKLF2FS6SJPFNFIYZVJV5GI2S2K5LGUSLJO5UVSM2WPJSEOOLULJMEUZTBK5IWST3JJF5E4VCBPJHFIWTMJZJTANCZK5LGUTCXJJVVU2SRORHUIVLYJVBTC2KNNJATCTKEMM2VSMSONBNEISLJJRBUU4DCNZHDAWKXPBZVSWCSOBRDENLGMFLVC2KPNFEXCSLJO5UWCWCOPJSFOVTGMRDWY5C2KNETMSLKJF3U22SBORGUIVLUJVCGQVKNKRITMTLKJU3E26TDOVHHURJRJVVEC52NPJATGV3JJFZUS3SOGBMVQSRQLAZVE4DCK5KWST3JJF4U2RCJO5GFIQJRJRKECNCWIRAXOT3KIF3U62SBO5LWSSLTJFWVMNDDI5WHSWKYKJYGEMRVMZSEO3DULJJUSNSJNJEXOTLKIF2E2RCVORGUI3CVJVCECNSNIRATMTKEIJQUS2LXNFSEOVTZMJLWY5KZLBJHAYRSGVTGIR3MORNFGSJWJFVES52NNJAXITKEKV2E2VCCKVGUIQJWJVCECNSNIRBGCSLJO5UWGSCKOZNEQVTKMRBUSNSJNU2XMYSXIZVUS2LXNFNG26DILIZU22KPNZZWSYSXHFVWIV3YNRRXSSJWK54UU3TCGNNGYY3NGVUGE3KONRGFQQ
52+
53+
<ctrl-d>
54+
```

website/pages/docs/enterprise/index.mdx

+8
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ Nomad Enterprise adds collaboration, operational, and governance capabilities to
1616

1717
Please navigate the sub-sections for more information about each package and its features in detail.
1818

19+
## Nomad Enterprise Licensing
20+
21+
Nomad Enterprise requires a license to run. When a Enterprise server first starts it will be set with a temporary license that includes all features. This will be valid for 6 hours and allows users to test enterprise features and provide enough time for operators to apply their enterprise license.
22+
23+
If a server is never given a valid license and the temporary license expires, the server will shutdown. If a valid (non-temporary) license expires, the cluster will continue to function, but write operations to enterprise features will be disabled.
24+
25+
See the [License commands](/docs/commands/license) for more information on interacting with the Enterprise License.
26+
1927
## Nomad Enterprise Platform
2028

2129
Nomad Enterprise Platform enables operators to easily upgrade Nomad as well as enhances performance and availability through Advanced Autopilot features such as Automated Upgrades, Enhanced Read Scalability, and Redundancy Zones.

0 commit comments

Comments
 (0)