Skip to content

Commit 40fc167

Browse files
Update installing-redisgears.md (#1697)
* Update installing-redisgears.md Adding directions on how to use the newly installed redisgears version to upgrade a database. It was a little jarring not having this available on this page. It left me hanging when I needed to upgrade a database. It took me a good five minutes to fine the information on how to apply the upgrade to a database. * Copy edits for upgrading RedisGears * Noted that the example commands also upgrade the Redis DB version --------- Co-authored-by: Rachel Elledge <[email protected]>
1 parent 44607a0 commit 40fc167

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

content/operate/oss_and_stack/stack-with-enterprise/gears-v1/installing-redisgears.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,24 @@ After installation, create a new database and enable RedisGears:
8282

8383
- [With the JVM]({{< relref "/operate/oss_and_stack/stack-with-enterprise/gears-v1/jvm/install" >}})
8484

85+
## Upgrade RedisGears for existing databases
86+
87+
To upgrade RedisGears for an existing database after installing a new version, use [`rladmin upgrade db`]({{<relref "/operate/rs/references/cli-utilities/rladmin/upgrade#upgrade-db">}}):
88+
89+
```sh
90+
rladmin upgrade db <database-name-or-ID> and module module_name rg version <new_version_integer> module_args "<module arguments>"
91+
```
92+
93+
The following example shows how to upgrade a database named `shopping-cart` to RedisGears version 1.2.9 without changing its configuration:
94+
95+
```sh
96+
rladmin upgrade db shopping-cart and module module_name rg version 10209 module_args keep_args
97+
```
98+
99+
{{<note>}}
100+
These command examples also upgrade the database to the latest Redis version on the cluster. For more module upgrade information and examples, see [Upgrade modules]({{<relref "/operate/oss_and_stack/stack-with-enterprise/install/upgrade-module">}}).
101+
{{</note>}}
102+
85103
## Uninstall RedisGears
86104

87105
To uninstall RedisGears, make a [`DELETE` request to the `/v2/modules` REST API endpoint]({{< relref "/operate/rs/references/rest-api/requests/modules#delete-module-v2" >}}).

0 commit comments

Comments
 (0)