You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/operate/rs/installing-upgrading/install/customize-install-directories.md
+13-26Lines changed: 13 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,6 @@ When you install Redis Enterprise Software on Red Hat Enterprise Linux, you can
14
14
15
15
The files are installed in the `redislabs` directory located in the path that you specify.
16
16
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
-
21
17
## Considerations
22
18
23
19
- 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
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">}}).
86
82
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`).
94
83
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:
96
85
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
+
```
102
89
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:
3. Verify mount points: Confirm the storage path is properly mounted:
96
+
3. Confirm the storage path is properly mounted:
110
97
```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
113
100
```
114
101
115
-
4. Check directory existence: Ensure the directory exists and is accessible:
102
+
4. Verify the directory exists and is accessible:
116
103
```sh
117
-
ls -la /path/to/custom/storage
104
+
ls -l /path/to/custom/storage
118
105
```
119
106
120
107
For more information about storage requirements, see [Persistent and ephemeral node storage]({{< relref "/operate/rs/installing-upgrading/install/plan-deployment/persistent-ephemeral-storage">}}).
Copy file name to clipboardExpand all lines: content/operate/rs/installing-upgrading/install/install-on-linux.md
+3-12Lines changed: 3 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -48,16 +48,16 @@ To install Redis Enterprise Software, use the command line:
48
48
rpm --checksig </path-to/package.rpm>
49
49
```
50
50
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.
52
52
53
-
**For standard installation:**
53
+
**For default installation:**
54
54
```sh
55
55
sudo ./install.sh
56
56
```
57
57
58
58
**For custom installation directories:**
59
59
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.
@@ -71,15 +71,6 @@ To install Redis Enterprise Software, use the command line:
71
71
- You must either be the root user or use `sudo` to run the installation script.
72
72
{{< /note >}}
73
73
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
-
83
74
1. Answer the [installation questions]({{< relref "/operate/rs/installing-upgrading/install/manage-installation-questions.md">}}) when shown to complete the installation process.
Copy file name to clipboardExpand all lines: content/operate/rs/installing-upgrading/install/plan-deployment/file-locations.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -43,5 +43,5 @@ You can change these file locations for:
43
43
-[Socket files]({{< relref "/operate/rs/installing-upgrading/configuring/change-location-socket-files.md" >}}) after cluster setup
44
44
45
45
{{< 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.
0 commit comments