Skip to content

Commit 0ced97a

Browse files
committed
Fix "removing a node from cluster"
1 parent 1b31b18 commit 0ced97a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

content/admin/guide/clustering.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,14 @@ permanently from the cluster.
148148

149149
To permanently remove a running node from the cluster, the
150150
[leave_cluster](../../developer/ejabberd-api/admin-api.md#leave_cluster)
151-
command must be run as the ejabberd daemon user, from one node of the
152-
cluster:
151+
command must be run as the ejabberd daemon user, from another node in the
152+
cluster (not from the node that is about to be removed):
153153

154154
``` sh
155155
ejabberdctl leave_cluster 'ejabberd2@machine2'
156156
```
157157

158-
The removed node must be running while calling leave_cluster to make
158+
The removed node must be running while calling `leave_cluster` to make
159159
it permanently removed. It's then immediately stopped.
160160

161161
### Restarting cluster nodes

0 commit comments

Comments
 (0)