40 lines
1.9 KiB
Plaintext
40 lines
1.9 KiB
Plaintext
---
|
|
layout: docs
|
|
page_title: operator members - Command
|
|
description: |-
|
|
The "operator members" command provides information about the nodes making up an HA cluster.
|
|
---
|
|
|
|
# operator members
|
|
|
|
The `operator members` lists the active node and the peers that it's heard from
|
|
since it became active.
|
|
|
|
## Examples
|
|
|
|
Get the key status:
|
|
|
|
```shell-session
|
|
$ vault operator members
|
|
Host Name API Address Cluster Address Active Node Version Upgrade Version Redundancy Zone Last Echo
|
|
--------- ----------- --------------- ----------- ------- --------------- --------------- ---------
|
|
josh-C02ZT9DYMD6R http://127.0.0.1:8200 https://127.0.0.1:8201 true 1.11.0 1.11.0 a n/a
|
|
josh-C02ZT9DYMD6R http://127.0.0.2:8200 https://127.0.0.2:8201 false 1.11.0 1.11.0 a 2022-05-23T15:51:19-07:00
|
|
josh-C02ZT9DYMD6R http://127.0.0.3:8200 https://127.0.0.3:8201 false 1.11.0 1.11.0 b 2022-05-23T15:51:19-07:00
|
|
josh-C02ZT9DYMD6R http://127.0.0.4:8200 https://127.0.0.4:8201 false 1.11.0 1.11.0 b 2022-05-23T15:51:22-07:00
|
|
josh-C02ZT9DYMD6R http://127.0.0.5:8200 https://127.0.0.5:8201 false 1.11.0 1.12.0 a 2022-05-23T15:51:20-07:00
|
|
~
|
|
```
|
|
Note that in the above output, `Upgrade Version` and `Redundancy Zone` are Enterprise-only fields.
|
|
|
|
## Usage
|
|
|
|
The following flags are available in addition to the [standard set of
|
|
flags](/docs/commands) included on all commands.
|
|
|
|
### Output Options
|
|
|
|
- `-format` `(string: "table")` - Print the output in the given format. Valid
|
|
formats are "table", "json", or "yaml". This can also be specified via the
|
|
`VAULT_FORMAT` environment variable.
|