Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve upgrade docs #980

Merged
merged 1 commit into from
Jun 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions website/content/usage/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ Use one of the following methods (depending on the changes) to upgrade a cluster

Use the following procedure to rotate all cluster nodes, one server at a time:

1. Add a new servers to the cluster with a configuration that joins them to the existing cluter.
1. Stop dkron service in one of the old servers, if it was the leader allow a new leader to be ellected, note that it is better to remove the current leader at the end, to ensure a leader is elected between the new nodes.
1. Use `dkron raft list-peers` to list current cluster nodes
1. Use `dkron raft remove-peer` to forcefully remove the old server
1. Repeat steps util all old cluster nodes has been rotated
1. Add a new server to the cluster with a configuration that joins them to the existing cluster.
1. Stop dkron service on one of the old servers, if it was the leader allow a new leader to be elected. Note that it is better to remove the current leader at the end, to ensure a leader is elected from the new nodes.
1. Use `dkron raft list-peers` to list current cluster nodes.
1. Use `dkron raft remove-peer` to forcefully remove the old server.
1. Repeat steps above until all old cluster nodes have been upgraded.

### Backup & Restore

Expand Down