Skip to content

Commit 18c2560

Browse files
RS: Added missing install question answer file parameters and descriptions (#1713)
* DOC-5342 RS: Added missing install question answer file parameters and descriptions * Update content/operate/rs/installing-upgrading/install/manage-installation-questions.md Co-authored-by: mich-elle-luna <153109578+mich-elle-luna@users.noreply.github.com> * DOC-5342 Clarified installation answer file parameter behavior --------- Co-authored-by: mich-elle-luna <153109578+mich-elle-luna@users.noreply.github.com>
1 parent 2b6c520 commit 18c2560

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

content/operate/rs/installing-upgrading/install/install-script.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ The following options are supported:
2424
| <nobr>`--var-dir <dir>`</nobr> | Var directory used for installation *(new installs only)* <br/>See [Customize install locations]({{< relref "/operate/rs/installing-upgrading/install/customize-install-directories" >}})|
2525
| <nobr>`--os-user <user>`| Operating system user account associated with install; default: `redislabs`<br/>See [Customize user and group]({{< relref "/operate/rs/installing-upgrading/install/customize-user-and-group" >}}) *(new installs only)*|
2626
|<nobr>`--os-group <group>` | Operating system group associated with install; default: `redislabs`<br/>See [Customize user and group]({{< relref "/operate/rs/installing-upgrading/install/customize-user-and-group" >}}) *(new installs only)* |
27+
| `--skip-dns-port-verification` | Skip DNS port verification during installation |
28+
| <nobr>`--skip-updating-env-path`</nobr> | Skip adding paths related to Redis Enterprise Software to root's PATH environment variable<br/>See [Manage install questions]({{< relref "/operate/rs/installing-upgrading/install/manage-installation-questions" >}}) |

content/operate/rs/installing-upgrading/install/manage-installation-questions.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ Several questions appear during installation:
5858
- **User already exists** - `The user 'redislabs' already exists, which may lead to problems if it wasn't configured correctly. Would you like to proceed with the installation? (Y/N)?`
5959
6060
- **Group already exists** - `The group 'redislabs' already exists, which may lead to problems if it wasn't configured correctly. Would you like to proceed with the installation? (Y/N)?`
61-
61+
62+
- **Update PATH** - `Add Redis-Enterprise paths to $PATH variable (recommended) [Y/N]?`
63+
6264
## Answer install questions automatically
6365
6466
To perform a silent (or automated) install, answer the questions when you start the [install]({{< relref "/operate/rs/installing-upgrading/install/install-on-linux" >}}).
@@ -77,9 +79,20 @@ Use an answer file to manage your response:
7779
7880
1. Create a text file to serve as an answer file.
7981
80-
The answer file can contain any of the parameters for the installation questions and indicate the answer for each question with `yes` or `no`.
82+
The answer file can contain any of the following installation question parameters. If a parameter is not included in the file, the installation script will ask for your answer.
8183
82-
For example:
84+
| Parameter | Values | Description |
85+
|-----------|--------|-------------|
86+
| `firewall` | `yes`<br />`no` | Configure firewall and open required Redis ports. |
87+
| `ignore_existing_osuser_osgroup` | `yes`<br />`no` | Proceed if redislabs user/group already exists. |
88+
| `ignore_master_version` | `yes`<br />`no` | Continue the upgrade even if the primary node isn't upgraded. If `no`, stops installation if the primary node hasn't been upgraded. |
89+
| `ignore_swap` | `yes`<br />`no` | Continue even if swap is enabled. If `no`, stops installation if swap is enabled. |
90+
| `ntp` | `yes`<br />`no` | Configure NTP for time synchronization. |
91+
| `rlcheck` | `yes`<br />`no` | Run `rlcheck` after installation to validate the system. |
92+
| `skip_updating_env_path` | `yes`<br />`no` | Skip adding Redis Enterprise Software paths to the PATH environment variable. |
93+
| `systune` | `yes`<br />`no` | Automatically tune system performance (CPU, sysctl). If `yes`, answers `yes` to all system tuning questions. |
94+
95+
Example answer file:
8396
8497
```sh
8598
ignore_swap=no
@@ -88,10 +101,10 @@ Use an answer file to manage your response:
88101
firewall=no
89102
rlcheck=yes
90103
ignore_existing_osuser_osgroup=no
104+
skip_updating_env_path=yes
105+
ignore_master_version=no
91106
```
92107
93-
If you use `systune=yes`, the installation answers `yes` to all of the system tuning questions.
94-
95108
1. Run the [installation script]({{< relref "/operate/rs/installing-upgrading/install/install-script" >}}) with the `-c` command-line option and add the path to the answer file.
96109
97110
For example:

0 commit comments

Comments
 (0)