You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RS: Add rolling upgrade method for RS without OS upgrade (#1001)
* DOC-4639 RS: Add rolling upgrade method for RS without OS upgrade
* Added upgrade index description & fixed a link's anchor
* Update content/operate/rs/installing-upgrading/upgrading/upgrade-cluster.md
Co-authored-by: David Dougherty <david.dougherty@redis.com>
* DOC-4639 Feedback update to add warning not to proceed with upgrade if status check is not OK
---------
Co-authored-by: David Dougherty <david.dougherty@redis.com>
Title: Upgrade an existing Redis Enterprise Software deployment
2
+
Title: Upgrade an existing Redis Software deployment
3
3
alwaysopen: false
4
4
categories:
5
5
- docs
6
6
- operate
7
7
- rs
8
-
description: null
8
+
description: How to upgrade a cluster's Redis Software version, database version, and operating system.
9
9
hideListLinks: true
10
10
linkTitle: Upgrade
11
11
weight: 60
12
12
---
13
-
To upgrade Redis Enterprise Software:
14
13
15
-
1. Verify appropriate [network ports]({{< relref "/operate/rs/networking/port-configurations.md" >}}) are either open or used by Redis Enterprise Software.
14
+
## Upgrade Redis Software
16
15
17
-
1.[Upgrade the software on all nodes of the cluster.]({{< relref "/operate/rs/installing-upgrading/upgrading/upgrade-cluster" >}})
16
+
To upgrade Redis Software:
18
17
19
-
2._(Optional)_[Upgrade each database]({{< relref "/operate/rs/installing-upgrading/upgrading/upgrade-database" >}}) in the cluster or [upgrade an Active-Active database]({{< relref "/operate/rs/installing-upgrading/upgrading/upgrade-active-active" >}}) to enable new features and important fixes.
18
+
1. Verify appropriate [network ports]({{< relref "/operate/rs/networking/port-configurations.md" >}}) are either open or used by Redis Software.
19
+
20
+
1. Review the [prerequisites]({{<relref "/operate/rs/installing-upgrading/upgrading/upgrade-cluster#upgrade-prerequisites">}}).
21
+
22
+
1. Upgrade the software on all nodes of the cluster using one of the following methods:
23
+
24
+
-[In-place upgrade]({{<relref "/operate/rs/installing-upgrading/upgrading/upgrade-cluster#in-place-upgrade">}}) - Directly upgrade Redis Software on each node in the cluster. Although this method is simpler than the rolling upgrade method, it might cause brief service interruptions as each node is upgraded.
25
+
26
+
-[Rolling upgrade]({{<relref "/operate/rs/installing-upgrading/upgrading/upgrade-cluster#rolling-upgrade">}}) - Minimize downtime by adding new nodes with an updated Redis Software version to the cluster, one at a time, while keeping the rest of the cluster operational. This method is recommended for production environments that require continuous availability.
27
+
28
+
## Upgrade Redis database
29
+
30
+
[Upgrade each database]({{< relref "/operate/rs/installing-upgrading/upgrading/upgrade-database" >}}) in the cluster or [upgrade an Active-Active database]({{< relref "/operate/rs/installing-upgrading/upgrading/upgrade-active-active" >}}) to enable new features and important fixes.
31
+
32
+
## Upgrade operating system
33
+
34
+
To upgrade the cluster's operating system:
35
+
36
+
1. Review the [prerequisites]({{<relref "/operate/rs/installing-upgrading/upgrading/upgrade-os#prerequisites">}}).
37
+
38
+
2. Use one of the following rolling upgrade methods:
39
+
40
+
-[Extra node method]({{<relref "/operate/rs/installing-upgrading/upgrading/upgrade-os#extra-node-upgrade">}}) - Recommended if you have additional resources available.
41
+
42
+
-[Replace node method]({{<relref "/operate/rs/installing-upgrading/upgrading/upgrade-os#replace-node-upgrade">}}) - Recommended if you cannot temporarily allocate additional resources.
Copy file name to clipboardExpand all lines: content/operate/rs/installing-upgrading/upgrading/upgrade-cluster.md
+99-5Lines changed: 99 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,25 @@
1
1
---
2
-
Title: Upgrade a Redis Enterprise Software cluster
2
+
Title: Upgrade a Redis Software cluster
3
3
alwaysopen: false
4
4
categories:
5
5
- docs
6
6
- operate
7
7
- rs
8
-
description: Upgrade a Redis Enterprise Software cluster.
8
+
description: Upgrade a cluster to a later version of Redis Software.
9
9
linkTitle: Upgrade cluster
10
10
toc: 'true'
11
11
weight: 30
12
12
tocEmbedHeaders: true
13
13
---
14
14
15
+
Before you upgrade a cluster to a later Redis Software version, review the [supported upgrade paths](#supported-upgrade-paths) and [prerequisites](#upgrade-prerequisites).
16
+
17
+
To upgrade a cluster's Redis Software version, use one of the following methods:
18
+
19
+
-[In-place upgrade](#in-place-upgrade) - Directly upgrade Redis Software on each node in the cluster. Although this method is simpler than the rolling upgrade method, it might cause brief service interruptions as each node is upgraded.
20
+
21
+
-[Rolling upgrade](#rolling-upgrade) - Minimize downtime by adding new nodes with an updated Redis Software version to the cluster, one at a time, while keeping the rest of the cluster operational. This method is recommended for production environments that require continuous availability.
22
+
15
23
{{<embed-md "rs-upgrade-paths.md">}}
16
24
17
25
See the [Redis Enterprise Software product lifecycle]({{<relref "/operate/rs/installing-upgrading/product-lifecycle">}}) for more information about release numbers and the end-of-life schedule.
@@ -38,9 +46,9 @@ Before upgrading a cluster:
38
46
39
47
-[`GET /nodes/status`]({{< relref "/operate/rs/references/rest-api/requests/nodes/status#get-all-nodes-status" >}}) REST API request
40
48
41
-
## Upgrade cluster
49
+
## In-place upgrade
42
50
43
-
Starting with the primary (master) node, follow these steps for every node in the cluster. To ensure cluster availability, upgrade each node separately.
51
+
Starting with the primary node, follow these steps for every node in the cluster. To ensure cluster availability, upgrade each node separately.
44
52
45
53
1. Verify node operation with the following commands:
46
54
@@ -49,6 +57,10 @@ Starting with the primary (master) node, follow these steps for every node in th
49
57
$ rladmin status extra all
50
58
```
51
59
60
+
{{<warning>}}
61
+
Do not proceed if any shard, node, or endpoint is not `OK`.
62
+
{{</warning>}}
63
+
52
64
2. Download the Redis Enterprise Software installation package to the machine running the node from the Download Center on [https://cloud.redis.io](https://cloud.redis.io).
53
65
54
66
3. Extract the installation package:
@@ -82,7 +94,89 @@ You cannot change the installation path or the user during the upgrade.
82
94
83
95
If the Cluster Manager UI was open in a web browser during the upgrade, refresh the browser to reload the console.
84
96
85
-
After all nodes are upgraded, the cluster is fully upgraded. Certain features introduced in the new version of Redis Enterprise Software only become available after upgrading the entire cluster.
97
+
## Rolling upgrade
98
+
99
+
To perform a rolling upgrade of the cluster, use one of the following methods:
100
+
101
+
- [Extra node method](#extra-node-upgrade) - recommended if you have additional resources available
102
+
103
+
- [Replace node method](#replace-node-upgrade) - recommended if you cannot temporarily allocate additional resources
104
+
105
+
### Extra node upgrade method {#extra-node-upgrade}
106
+
107
+
1. [Install a later version of Redis Software]({{< relref "/operate/rs/installing-upgrading/install/install-on-linux">}}) on a new node.
108
+
109
+
1. [Add the new node]({{< relref "/operate/rs/clusters/add-node">}}) to the cluster.
110
+
111
+
1. [Remove one node]({{< relref "/operate/rs/clusters/remove-node#remove-a-node">}}) running the earlier Redis Software version from the cluster.
112
+
113
+
1. Repeat the previous steps until all nodes with the earlier Redis Software version are removed. If the final node to remove from the cluster is the primary node, [demote it]({{<relref "/operate/rs/clusters/change-node-role#demote-primary-node">}}) to a secondary node before you remove it.
1. [Remove a node]({{< relref "/operate/rs/clusters/remove-node#remove-a-node">}}) with the earlier Redis Software version from the cluster.
118
+
119
+
1. Uninstall Redis Enterprise Software from the removed node:
120
+
121
+
```sh
122
+
sudo ./rl_uninstall.sh
123
+
```
124
+
125
+
1. [Install a later version of Redis Software]({{< relref "/operate/rs/installing-upgrading/install/install-on-linux">}}) on the removed node or a new node.
126
+
127
+
1. [Add the new node]({{< relref "/operate/rs/clusters/add-node">}}) to the cluster.
128
+
129
+
If you want to reuse the removed node's ID when you add the node to the cluster, run [`rladmin cluster join`]({{< relref "/operate/rs/references/cli-utilities/rladmin/cluster/join" >}}) with the `replace_node` flag:
1. Repeat the previous steps until all nodes with the earlier Redis Software version are replaced. If the final node to remove from the cluster is the primary node, [demote it]({{<relref "/operate/rs/clusters/change-node-role#demote-primary-node">}}) to a secondary node before you remove it.
176
+
177
+
## After cluster upgrade
178
+
179
+
After all nodes are upgraded, the cluster is fully upgraded. Certain features introduced in the new version of Redis Software only become available after upgrading the entire cluster.
86
180
87
181
After upgrading from version 6.0.x to 6.2.x, restart `cnm_exec` on each cluster node to enable more advanced state machine handling capabilities:
0 commit comments