Skip to content

Commit cb229b6

Browse files
Apply suggestions from code review
Co-authored-by: Rachel Elledge <86307637+rrelledge@users.noreply.github.com>
1 parent 1d17c34 commit cb229b6

File tree

3 files changed

+17
-39
lines changed

3 files changed

+17
-39
lines changed

content/operate/rs/installing-upgrading/install/customize-install-directories.md

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ When you install Redis Enterprise Software on Red Hat Enterprise Linux, you can
1414

1515
The files are installed in the `redislabs` directory located in the path that you specify.
1616

17-
{{< note >}}
18-
Custom installation is required if you plan to specify custom storage paths for persistent or ephemeral storage during cluster setup. If you install Redis Enterprise Software to default directories, you cannot specify custom storage paths during cluster creation.
19-
{{< /note >}}
20-
2117
## Considerations
2218

2319
- When you install with custom directories, the installation does not run as an RPM file.
@@ -80,41 +76,32 @@ To configure different mount points for data and log directories, use symbolic l
8076
ln -s /var/opt/redislabs/log </path/to/log/mount/point>
8177
```
8278

83-
## Custom storage paths
79+
## Customize storage paths
8480

8581
When you install Redis Enterprise Software to custom directories, you can specify custom storage paths for persistent and ephemeral storage during [cluster setup]({{< relref "/operate/rs/clusters/new-cluster-setup" >}}) or when [adding nodes]({{< relref "/operate/rs/clusters/add-node" >}}).
8682

87-
### Prerequisites for custom storage paths
88-
89-
Before specifying custom storage paths during cluster setup:
90-
91-
1. Install Redis Enterprise Software to custom directories using the `--install-dir`, `--config-dir`, and `--var-dir` flags.
92-
93-
2. Ensure proper permissions: The custom storage directories must have full permissions for the `redislabs` user and group (`redislabs:redislabs`).
9483

95-
3. Verify mount points: Custom storage paths must be properly mounted and accessible.
84+
1. Specify the custom file location with the `--var-dir` option when you install Redis Enterprise Software:
9685

97-
### Troubleshooting custom storage paths
98-
99-
If you encounter the error "path entered is not mounted. Please correct" when specifying custom storage paths:
100-
101-
1. Verify the installation method: Ensure Redis Enterprise Software was installed using custom directories. If you used the default installation (`sudo ./install.sh` without custom directory flags), you cannot specify custom storage paths.
86+
```sh
87+
sudo ./install.sh --var-dir <path>
88+
```
10289

103-
2. Check directory permissions: Ensure the `redislabs` user has full access to the specified directories:
90+
2. Grant the `redislabs` user access to the custom directories:
10491
```sh
105-
sudo chown -R redislabs:redislabs /path/to/custom/storage
106-
sudo chmod -R 755 /path/to/custom/storage
92+
$ sudo chown -R redislabs:redislabs /path/to/custom/storage
93+
$ sudo chmod -R 755 /path/to/custom/storage
10794
```
10895

109-
3. Verify mount points: Confirm the storage path is properly mounted:
96+
3. Confirm the storage path is properly mounted:
11097
```sh
111-
df -h /path/to/custom/storage
112-
mount | grep /path/to/custom/storage
98+
$ df -h /path/to/custom/storage
99+
$ mount | grep /path/to/custom/storage
113100
```
114101

115-
4. Check directory existence: Ensure the directory exists and is accessible:
102+
4. Verify the directory exists and is accessible:
116103
```sh
117-
ls -la /path/to/custom/storage
104+
ls -l /path/to/custom/storage
118105
```
119106

120107
For more information about storage requirements, see [Persistent and ephemeral node storage]({{< relref "/operate/rs/installing-upgrading/install/plan-deployment/persistent-ephemeral-storage" >}}).

content/operate/rs/installing-upgrading/install/install-on-linux.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,16 @@ To install Redis Enterprise Software, use the command line:
4848
rpm --checksig </path-to/package.rpm>
4949
```
5050

51-
1. To start the installation process, run the installation script:
51+
1. To start the installation process, run the installation script. See [installation script options]({{< relref "/operate/rs/installing-upgrading/install/install-script" >}}) for a complete list of command-line options.
5252

53-
**For standard installation:**
53+
**For default installation:**
5454
```sh
5555
sudo ./install.sh
5656
```
5757

5858
**For custom installation directories:**
5959

60-
If you need to specify custom storage paths for persistent or ephemeral storage during cluster setup, you must install Redis Enterprise Software to custom directories. See [installation script options]({{< relref "/operate/rs/installing-upgrading/install/install-script" >}}) for a complete list of command-line options.
60+
If you need to specify custom storage paths for persistent or ephemeral storage during cluster setup, you must install Redis Enterprise Software to custom directories.
6161

6262
```sh
6363
sudo ./install.sh --install-dir <path> --config-dir <path> --var-dir <path>
@@ -71,15 +71,6 @@ To install Redis Enterprise Software, use the command line:
7171
- You must either be the root user or use `sudo` to run the installation script.
7272
{{< /note >}}
7373

74-
### When to use custom installation directories
75-
76-
You should use custom installation directories if you need to:
77-
78-
- Specify custom storage paths for persistent or ephemeral storage during cluster setup
79-
- Install Redis Enterprise Software in non-default locations for organizational or security requirements
80-
- Avoid using root directories for the installation
81-
- Meet specific compliance or infrastructure requirements
82-
8374
1. Answer the [installation questions]({{< relref "/operate/rs/installing-upgrading/install/manage-installation-questions.md" >}}) when shown to complete the installation process.
8475

8576
{{< note >}}

content/operate/rs/installing-upgrading/install/plan-deployment/file-locations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ You can change these file locations for:
4343
- [Socket files]({{< relref "/operate/rs/installing-upgrading/configuring/change-location-socket-files.md" >}}) after cluster setup
4444

4545
{{< note >}}
46-
To specify custom storage paths for ephemeral and persistent storage during cluster setup, you must install Redis Enterprise Software using [custom installation directories]({{< relref "/operate/rs/installing-upgrading/install/customize-install-directories" >}}). If you use the default installation, you cannot specify custom storage paths and will receive a "path not mounted" error.
46+
To specify custom paths for ephemeral and persistent storage during cluster setup, you must install Redis Enterprise Software using [custom installation directories]({{< relref "/operate/rs/installing-upgrading/install/customize-install-directories" >}}). If you use the default installation, you cannot specify custom storage paths and will receive a "path not mounted" error.
4747
{{< /note >}}

0 commit comments

Comments
 (0)