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
When you upgrade an [Active-Active (CRDB) database]({{< relref "/operate/rs/databases/active-active" >}}), you can also upgrade the CRDB protocol version and feature version.
13
+
## Upgrade an Active-Active database
14
14
15
-
## CRDB protocol version guidelines
15
+
To upgrade an [Active-Active (CRDB) database]({{< relref "/operate/rs/databases/active-active" >}}):
16
16
17
-
Redis Enterprise Software versions 5.4.2 and later use CRDB protocol version 1 to help support Active-Active features.
17
+
1.[Upgrade Redis Enterprise Software]({{< relref "/operate/rs/installing-upgrading/upgrading/upgrade-cluster" >}}) on each node in the clusters where the Active-Active instances are located.
18
18
19
-
CRDB protocol version 1 is backward compatible, which means Redis Enterprise v5.4.2 CRDB instances can understand write operations from instances using the earlier CRDB protocol version 0.
19
+
1.[Check the status](#check-database-status) of all Active-Active database instances.
20
20
21
-
After you upgrade one instance's CRDB protocol to version 1:
21
+
1.[Upgrade all Active-Active database instances](#upgrade-database-instances)to a later version of Redis.
22
22
23
-
- Any instances that use CRDB protocol version 1 can receive updates from both version 1 and version 0 instances.
23
+
1. If the status indicates `OLD CRDB FEATURESET VERSION`, [upgrade the featureset version](#upgrade-featureset-version).
24
24
25
-
- However, instances that still use CRDB protocol version 0 cannot receive write updates from version 1 instances.
25
+
1. If your Active-Active database uses modules, [update module information](#update-module-information).
26
26
27
-
- After you upgrade an instance from CRDB protocol version 0 to version 1, it automatically receives any missing write operations.
27
+
## Check database status
28
28
29
-
Follow these upgrade guidelines:
29
+
To check the status of an Active-Active database instance, run [`rladmin status`]({{<relref "/operate/rs/references/rladmin/status">}}):
30
30
31
-
- Upgrade all instances of a specific CRDB within a reasonable time frame to avoid temporary inconsistencies between the instances.
31
+
```sh
32
+
rladmin status
33
+
```
32
34
33
-
- Make sure that you upgrade all instances of a specific CRDB before you do global operations on the CRDB, such as removing instances and adding new instances.
- As of v6.0.20, protocol version 0 is deprecated and support will be removed in a future version.
37
+
The statuses of the Active-Active instances on the node can indicate:
36
38
37
-
-To avoid upgrade failures, update all Active-Active databases to protocol version 1 _before_ upgrading Redis Enterprise Software to v6.0.20 or later.
39
+
-`OLD REDIS VERSION`: The database instance is running a Redis version that is outdated or not fully compatible with the current Redis Enterprise Software cluster version. You should upgrade the database to a later version of Redis bundled with the cluster's current Redis Enterprise Software version.
38
40
39
-
## Feature version guidelines
41
+
-`OLD CRDB PROTOCOL VERSION`: This instance uses an older CRDB protocol. Redis Enterprise Software versions 5.4.2 and later use CRDB protocol version 1. See "CRDB protocol version guidelines".
40
42
41
-
Starting with version 5.6.0, a new feature version (also called a _feature set version_) helps support new Active-Active features.
43
+
-`OLD CRDB FEATURESET VERSION`: The database feature set version is outdated. After all Active-Active instances are upgraded, update the feature set.
42
44
43
-
When you update the feature version for an Active-Active database, the feature version is updated for all database instances.
44
-
45
-
Follow these upgrade guidelines:
45
+
## Upgrade database instances
46
46
47
-
- As of v6.0.20, feature version 0 is deprecated and support will be removed in a future version.
47
+
For each Active-Active database instance:
48
48
49
-
- To avoid upgrade failures, update all Active-Active databases to protocol version 1 _before_ upgrading Redis Enterprise Software to v6.0.20 or later.
49
+
1. Upgrade the Redis database version, modules, and CRDB protocol version with [`rladmin upgrade db`]({{<relref "/operate/rs/references/cli-utilities/rladmin/upgrade#upgrade-db">}}):
50
50
51
-
## Upgrade Active-Active database instance
51
+
```sh
52
+
rladmin upgrade db <database_name | database_ID>
53
+
```
52
54
53
-
To upgrade an Active-Active database (CRDB) instance:
55
+
1. If the protocol version is old, read the warning message carefully and confirm.
54
56
55
-
1.[Upgrade Redis Enterprise Software]({{< relref "/operate/rs/installing-upgrading/upgrading/upgrade-cluster" >}}) on each node in the clusters where the Active-Active instances are located.
1. To see the status of your Active-Active instances, run:
59
+
The Active-Active instance uses the new Redis version and CRDB protocol version.
58
60
59
-
```sh
60
-
rladmin status
61
-
```
61
+
Use the `keep_crdt_protocol_version` option to upgrade the database version without upgrading the CRDB protocol version.
62
62
63
-
The statuses of the Active-Active instances on the node can indicate:
63
+
If you use this option, make sure that you upgrade the CRDB protocol soon after with the [`rladmin upgrade db`]({{< relref "/operate/rs/references/cli-utilities/rladmin/upgrade#upgrade-db">}}) command.
64
64
65
-
- `OLD REDIS VERSION`
66
-
- `OLD CRDB PROTOCOL VERSION`
67
-
- `OLD CRBD FEATURESET VERSION`
65
+
You must upgrade the CRDB protocol before you update the CRDB feature set version.
1. To upgrade each Active-Active instance and its modules, including the Redis version and CRDB protocol version, run:
69
+
Redis Enterprise Software versions 5.4.2 and later use CRDB protocol version 1 to help support Active-Active features.
72
70
73
-
```sh
74
-
rladmin upgrade db <database_name | database_ID>
75
-
```
71
+
CRDB protocol version 1 is backward compatible, which means Redis Enterprise v5.4.2 CRDB instances can understand write operations from instances using the earlier CRDB protocol version 0.
76
72
77
-
If the protocol version is old, read the warning message carefully and confirm.
73
+
After you upgrade one instance's CRDB protocol to version 1:
- Any instances that use CRDB protocol version 1 can receive updates from both version 1 and version 0 instances.
80
76
81
-
The Active-Active instance uses the new Redis version and CRDB protocol version.
77
+
- However, instances that still use CRDB protocol version 0 cannot receive write updates from version 1 instances.
82
78
83
-
Use the `keep_crdt_protocol_version` option to upgrade the database feature version
84
-
without upgrading the CRDB protocol version.
79
+
- After you upgrade an instance from CRDB protocol version 0 to version 1, it automatically receives any missing write operations.
85
80
86
-
If you use this option, make sure that you upgrade the CRDB protocol soon after with the [`rladmin upgrade db`]({{< relref "/operate/rs/references/cli-utilities/rladmin/upgrade#upgrade-db">}}) command.
81
+
Follow these upgrade guidelines:
87
82
88
-
You must upgrade the CRDB protocol before you update the CRDB feature set version.
83
+
- Upgrade all instances of a specific CRDB within a reasonable time frame to avoid temporary inconsistencies between the instances.
89
84
90
-
1. If the feature set version is old, you must upgrade all of the Active-Active instances. Then, to update the feature setfor each active-active database, run:
85
+
- Make sure that you upgrade all instances of a specific CRDB before you do global operations on the CRDB, such as removing instances and adding new instances.
- As of v6.0.20, protocol version 0 is deprecated and support will be removed in a future version.
88
+
89
+
- To avoid upgrade failures, update all Active-Active databases to protocol version 1 _before_ upgrading Redis Enterprise Software to v6.0.20 or later.
90
+
91
+
## Upgrade featureset version
95
92
96
-
You can retrieve the `<CRDB-GUID>` with the following command:
93
+
If the feature set version is old, as indicated by the `OLD CRDB FEATURESET VERSION` status:
94
+
95
+
1. Upgrade all of the Active-Active database instances and make sure the CRDB protocol is not outdated.
96
+
97
+
1. Find the `<CRDB-GUID>` of your Active-Active database.
98
+
99
+
You can use [`crdb-cli crdb list`]({{<relref "/operate/rs/references/cli-utilities/crdb-cli/crdb/list">}}) command:
97
100
98
101
```sh
99
102
crdb-cli crdb list
100
103
```
101
104
102
-
Look for the fully qualified domain name (CLUSTER-FDQN) of your cluster and use the associated GUID:
105
+
Look for the fully qualified domain name (`CLUSTER-FDQN`) of your cluster and use the associated `GUID`:
Starting with version 5.6.0, a new feature version (also called a _feature set version_) helps support new Active-Active features.
122
+
123
+
When you update the feature version for an Active-Active database, the feature version is updated for all database instances.
124
+
125
+
Follow these upgrade guidelines:
126
+
127
+
- As of v6.0.20, feature version 0 is deprecated and support will be removed in a future version.
128
+
129
+
- To avoid upgrade failures, update all Active-Active databases to protocol version 1 _before_ upgrading Redis Enterprise Software to v6.0.20 or later.
130
+
131
+
## Update module information
132
+
133
+
If your Active-Active database uses modules, Update module information in the CRDB configuration using the following command syntax:
0 commit comments