From 3e06d4274042aefbd3dcfff696c552dc0975cd7b Mon Sep 17 00:00:00 2001 From: Rachel Elledge Date: Tue, 3 Dec 2024 10:31:16 -0600 Subject: [PATCH 1/2] DOC-4315 RS: Recommend different mount points for data & log files --- .../install/customize-install-directories.md | 29 +++++++++++++++++-- .../install/plan-deployment/_index.md | 2 ++ 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/content/operate/rs/installing-upgrading/install/customize-install-directories.md b/content/operate/rs/installing-upgrading/install/customize-install-directories.md index d5447e1035..79f5564f94 100644 --- a/content/operate/rs/installing-upgrading/install/customize-install-directories.md +++ b/content/operate/rs/installing-upgrading/install/customize-install-directories.md @@ -14,12 +14,19 @@ When you install Redis Enterprise Software on Red Hat Enterprise Linux, you can The files are installed in the `redislabs` directory located in the path that you specify. -{{< note >}} +## Considerations + - When you install with custom directories, the installation does not run as an RPM file. + - If a `redislabs` directory already exists in the path that you specify, the installation fails. + - All nodes in a cluster must be installed with the same file locations. + - Custom installation directories are not supported for databases using Auto Tiering. -{{< /note >}} + +- [Configure different mount points for data and log directories](#config-diff-data-log-dirs). + +## Specify file locations You can specify these file locations: @@ -52,7 +59,23 @@ To specify directories during [installation]({{< relref "/operate/rs/installing- ```sh sudo ./install.sh --install-dir --config-dir --var-dir ``` - + +## Configure different mount points for data and log directories {#config-diff-data-log-dirs} + +To configure different mount points for data and log directories, use symbolic links: + +1. Create a symbolic link for the data directory: + + ```sh + ln -s /var/opt/redislabs/data + ``` + +1. Create a symbolic link for the log directory: + + ```sh + ln -s /var/opt/redislabs/log + ``` + ## Limitations Several Redis Enterprise Software installation reference files are installed to the directory `/etc/opt/redislabs/` even if you use custom installation directories. diff --git a/content/operate/rs/installing-upgrading/install/plan-deployment/_index.md b/content/operate/rs/installing-upgrading/install/plan-deployment/_index.md index 93eedd5cbd..c9a667f0ec 100644 --- a/content/operate/rs/installing-upgrading/install/plan-deployment/_index.md +++ b/content/operate/rs/installing-upgrading/install/plan-deployment/_index.md @@ -32,6 +32,8 @@ Before installing Redis Enterprise Software, you need to: - Configure [cluster DNS]({{< relref "/operate/rs/networking/cluster-dns.md" >}}) so that cluster nodes can reach each other by DNS names. - By default, the installation process requires an internet connection to install dependencies and synchronize the operating system clock. To learn more, see [Offline installation]({{< relref "/operate/rs/installing-upgrading/install/offline-installation" >}}). +- [Configure different mount points for data and log directories]({{}}). + ## Next steps After you finish planning your deployment, you can: From 467dd8892187248782d98ae870d9121593836860 Mon Sep 17 00:00:00 2001 From: Rachel Elledge Date: Tue, 10 Dec 2024 17:37:10 -0600 Subject: [PATCH 2/2] DOC-4315 Fixed symbolic link command examples --- .../install/customize-install-directories.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/operate/rs/installing-upgrading/install/customize-install-directories.md b/content/operate/rs/installing-upgrading/install/customize-install-directories.md index 79f5564f94..d49144035d 100644 --- a/content/operate/rs/installing-upgrading/install/customize-install-directories.md +++ b/content/operate/rs/installing-upgrading/install/customize-install-directories.md @@ -67,13 +67,13 @@ To configure different mount points for data and log directories, use symbolic l 1. Create a symbolic link for the data directory: ```sh - ln -s /var/opt/redislabs/data + ln -s /var/opt/redislabs/data ``` 1. Create a symbolic link for the log directory: ```sh - ln -s /var/opt/redislabs/log + ln -s /var/opt/redislabs/log ``` ## Limitations