open-nomad/website/source/docs/commands/server-force-leave.html.md.erb

36 lines
765 B
Plaintext
Raw Normal View History

2015-09-15 00:40:49 +00:00
---
layout: "docs"
page_title: "Commands: server-force-leave"
sidebar_current: "docs-commands-server-force-leave"
2015-09-15 00:40:49 +00:00
description: >
Force a server into the "left" state.
2015-09-15 00:40:49 +00:00
---
# Command: server-force-leave
2015-09-15 00:40:49 +00:00
The `server-force-leave` command forces a server to enter the "left" state.
2015-09-15 20:52:02 +00:00
This can be used to eject server nodes which have failed and will not rejoin
the cluster. Note that if the server is actually still alive, it will
eventually rejoin the cluster again.
2015-09-15 00:40:49 +00:00
## Usage
```
nomad server-force-leave [options] <node>
2015-09-15 00:40:49 +00:00
```
This command expects only one argument - the node which should be forced
to enter the "left" state.
## General Options
<%= general_options_usage %>
2015-09-15 03:24:04 +00:00
## Examples
Force-leave the server "node1":
2015-09-15 03:24:04 +00:00
```
$ nomad server-force-leave node1
2015-09-15 03:24:04 +00:00
```