diff --git a/content/integrate/redis-data-integration/installation/install-k8s.md b/content/integrate/redis-data-integration/installation/install-k8s.md index fda6f91b99..c65707a60b 100644 --- a/content/integrate/redis-data-integration/installation/install-k8s.md +++ b/content/integrate/redis-data-integration/installation/install-k8s.md @@ -62,9 +62,38 @@ information. *This requires Redis Enterprise v6.4 or greater*. - If you are deploying RDI for a production environment then secure this database with a password and [TLS](https://en.wikipedia.org/wiki/Transport_Layer_Security). - Set the database's - [eviction policy]({{< relref "/operate/rs/databases/memory-performance/eviction-policy" >}}) to `noeviction` and set + [eviction policy]({{< relref "/operate/rs/databases/memory-performance/eviction-policy" >}}) to `noeviction`. Note that you can't set this using + [`rladmin`]({{< relref "/operate/rs/references/cli-utilities/rladmin" >}}), + so you must either do it using the admin UI or with the following + [REST API]({{< relref "/operate/rs/references/rest-api" >}}) + command: + + ```bash + curl -v -k -d '{"eviction_policy": "noeviction"}' \ + -u ':' \ + -H "Content-Type: application/json" \ + -X PUT https://:9443/v1/bdbs/ + ``` + +- Set the database's [data persistence]({{< relref "/operate/rs/databases/configure/database-persistence" >}}) - to AOF - fsync every 1 sec. + to AOF - fsync every 1 sec. Note that you can't set this using + [`rladmin`]({{< relref "/operate/rs/references/cli-utilities/rladmin" >}}), + so you must either do it using the admin UI or with the following + [REST API]({{< relref "/operate/rs/references/rest-api" >}}) + commands: + + ```bash + curl -v -k -d '{"data_persistence":"aof"}' \ + -u ':' \ + -H "Content-Type: application/json" + -X PUT https://:9443/v1/bdbs/ + curl -v -k -d '{"aof_policy":"appendfsync-every-sec"}' \ + -u ':' \ + -H "Content-Type: application/json" \ + -X PUT https://:9443/v1/bdbs/ + ``` + - **Ensure that the RDI database is not clustered.** RDI will not work correctly if the RDI database is clustered, but it is OK for the target database to be clustered. diff --git a/content/integrate/redis-data-integration/installation/install-vm.md b/content/integrate/redis-data-integration/installation/install-vm.md index 15f3816f08..e4446725e3 100644 --- a/content/integrate/redis-data-integration/installation/install-vm.md +++ b/content/integrate/redis-data-integration/installation/install-vm.md @@ -203,9 +203,38 @@ Use the Redis console to create the RDI database with the following requirements and TLS. - Provide the installation with the required RDI database details. - Set the database's - [eviction policy]({{< relref "/operate/rs/databases/memory-performance/eviction-policy" >}}) to `noeviction` and set + [eviction policy]({{< relref "/operate/rs/databases/memory-performance/eviction-policy" >}}) to `noeviction`. Note that you can't set this using + [`rladmin`]({{< relref "/operate/rs/references/cli-utilities/rladmin" >}}), + so you must either do it using the admin UI or with the following + [REST API]({{< relref "/operate/rs/references/rest-api" >}}) + command: + + ```bash + curl -v -k -d '{"eviction_policy": "noeviction"}' \ + -u ':' \ + -H "Content-Type: application/json" \ + -X PUT https://:9443/v1/bdbs/ + ``` + +- Set the database's [data persistence]({{< relref "/operate/rs/databases/configure/database-persistence" >}}) - to AOF - fsync every 1 sec. + to AOF - fsync every 1 sec. Note that you can't set this using + [`rladmin`]({{< relref "/operate/rs/references/cli-utilities/rladmin" >}}), + so you must either do it using the admin UI or with the following + [REST API]({{< relref "/operate/rs/references/rest-api" >}}) + commands: + + ```bash + curl -v -k -d '{"data_persistence":"aof"}' \ + -u ':' \ + -H "Content-Type: application/json" + -X PUT https://:9443/v1/bdbs/ + curl -v -k -d '{"aof_policy":"appendfsync-every-sec"}' \ + -u ':' \ + -H "Content-Type: application/json" \ + -X PUT https://:9443/v1/bdbs/ + ``` + - **Ensure that the RDI database is not clustered.** RDI will not work correctly if the RDI database is clustered, but it is OK for the target database to be clustered. diff --git a/content/integrate/redis-data-integration/quick-start-guide.md b/content/integrate/redis-data-integration/quick-start-guide.md index 92164b6d8b..cc6530310c 100644 --- a/content/integrate/redis-data-integration/quick-start-guide.md +++ b/content/integrate/redis-data-integration/quick-start-guide.md @@ -60,9 +60,38 @@ Use the Redis console to create the RDI database with the following requirements to 250MB if you want to add a replica. - Provide the installation with the required RDI database details. - Set the database's - [eviction policy]({{< relref "/operate/rs/databases/memory-performance/eviction-policy" >}}) to `noeviction` and set + [eviction policy]({{< relref "/operate/rs/databases/memory-performance/eviction-policy" >}}) to `noeviction`. Note that you can't set this using + [`rladmin`]({{< relref "/operate/rs/references/cli-utilities/rladmin" >}}), + so you must either do it using the admin UI or with the following + [REST API]({{< relref "/operate/rs/references/rest-api" >}}) + command: + + ```bash + curl -v -k -d '{"eviction_policy": "noeviction"}' \ + -u ':' \ + -H "Content-Type: application/json" \ + -X PUT https://:9443/v1/bdbs/ + ``` + +- Set the database's [data persistence]({{< relref "/operate/rs/databases/configure/database-persistence" >}}) - to AOF - fsync every 1 sec. + to AOF - fsync every 1 sec. Note that you can't set this using + [`rladmin`]({{< relref "/operate/rs/references/cli-utilities/rladmin" >}}), + so you must either do it using the admin UI or with the following + [REST API]({{< relref "/operate/rs/references/rest-api" >}}) + commands: + + ```bash + curl -v -k -d '{"data_persistence":"aof"}' \ + -u ':' \ + -H "Content-Type: application/json" + -X PUT https://:9443/v1/bdbs/ + curl -v -k -d '{"aof_policy":"appendfsync-every-sec"}' \ + -u ':' \ + -H "Content-Type: application/json" \ + -X PUT https://:9443/v1/bdbs/ + ``` + - **Ensure that the RDI database is not clustered.** RDI will not work correctly if the RDI database is clustered, but it is OK for the target database to be clustered.