Skip to content

Commit 3759f40

Browse files
authored
DOC-3663 RS: Fix RedisGears dependencies path for offline install for later RS versions (#1088)
1 parent 85b94fa commit 3759f40

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

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

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Before you can use RedisGears, you have to install the RedisGears module on your
2020

2121
If your cluster uses Redis Enterprise v6.0.12 or later and has internet access, you only need to download the RedisGears package. It automatically fetches dependencies like the Python and JVM plugins during online installation.
2222

23-
Offline installation requires you to manually upload dependencies to the master node.
23+
Offline installation requires you to manually upload dependencies to the primary node.
2424

2525
### Install RedisGears and dependencies
2626

@@ -34,10 +34,23 @@ For RedisGears v1.0, you only need the Python dependency package.
3434

3535
1. Upload the RedisGears package to a node in the cluster.
3636

37-
1. For offline installation only, copy the dependencies to the following directory on the master node: `$modulesdatadir/rg/<version-integer>/deps/`
38-
```sh
39-
$ cp redisgears-jvm.<OS>.<version>.tgz $modulesdatadir/rg/<version-integer>/deps/
40-
```
37+
1. For offline installation only, copy the dependencies to the primary node.
38+
39+
{{<note>}}
40+
Skip this step unless your cluster does not have internet access.
41+
{{</note>}}
42+
43+
1. For versions 7.2.4 and later, copy the dependencies to `$modulesdatadir/rg/<version-integer>/<OS_name>/<architecture>/deps/`:
44+
45+
```sh
46+
cp redisgears-jvm.<OS>.<version>.tgz $modulesdatadir/rg/<version-integer>/<OS_name>/<architecture>/deps/
47+
```
48+
49+
1. For versions 6.4.2 and earlier, copy the dependencies to `$modulesdatadir/rg/<version-integer>/deps/`:
50+
51+
```sh
52+
cp redisgears-jvm.<OS>.<version>.tgz $modulesdatadir/rg/<version-integer>/deps/
53+
```
4154

4255
Replace these fields with your own values:
4356

@@ -47,11 +60,10 @@ For RedisGears v1.0, you only need the Python dependency package.
4760

4861
For example, the `<version-integer>` for RedisGears version 1.2.5 is 10205.
4962

50-
{{<note>}}
51-
Skip this step unless your cluster does not have internet access.
52-
{{</note>}}
63+
- `<OS_name>`: the operating system's name
64+
- `<architecture>`: the node's architecture
5365

54-
1. Add RedisGears to the cluster with a `POST` request to the master node's [`/v2/modules`]({{< relref "/operate/rs/references/rest-api/requests/modules#post-module-v2" >}}) REST API endpoint:
66+
1. Add RedisGears to the cluster with a `POST` request to the primary node's [`/v2/modules`]({{< relref "/operate/rs/references/rest-api/requests/modules#post-module-v2" >}}) REST API endpoint:
5567

5668
```sh
5769
POST https://[host][:port]/v2/modules

0 commit comments

Comments
 (0)