consul/website/source/docs/commands/operator/raft.html.markdown.erb

34 lines
951 B
Plaintext
Raw Normal View History

---
layout: "docs"
page_title: "Commands: Operator Raft"
sidebar_current: "docs-commands-operator-raft"
description: >
The operator raft subcommand is used to view and modify Consul's Raft configuration.
---
# Consul Operator Raft
Command: `consul operator raft`
The Raft operator command is used to interact with Consul's Raft subsystem. The
command can be used to verify Raft peers or in rare cases to recover quorum by
removing invalid peers.
## Usage
```text
Usage: consul operator raft <subcommand> [options]
# ...
Subcommands:
list-peers Display the current Raft peer configuration
remove-peer Remove a Consul server from the Raft configuration
```
For more information, examples, and usage about a subcommand, click on the name
of the subcommand in the sidebar or one of the links below:
- [list-peers] (/docs/commands/operator/raft/list-peers.html)
- [remove-peer] (/docs/commands/operator/raft/remove-peer.html)