Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ The following options are supported:
| <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" >}})|
| <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)*|
|<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)* |
| `--skip-dns-port-verification` | Skip DNS port verification during installation |
| <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" >}}) |
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ Several questions appear during installation:
- **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)?`

- **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)?`


- **Update PATH** - `Add Redis-Enterprise paths to $PATH variable (recommended) [Y/N]?`

## Answer install questions automatically

To perform a silent (or automated) install, answer the questions when you start the [install]({{< relref "/operate/rs/installing-upgrading/install/install-on-linux" >}}).
Expand All @@ -77,9 +79,20 @@ Use an answer file to manage your response:

1. Create a text file to serve as an answer file.

The answer file can contain any of the parameters for the installation questions and indicate the answer for each question with `yes` or `no`.
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.

For example:
| Parameter | Values | Description |
|-----------|--------|-------------|
| `firewall` | `yes`<br />`no` | Configure firewall and open required Redis ports. |
| `ignore_existing_osuser_osgroup` | `yes`<br />`no` | Proceed if redislabs user/group already exists. |
| `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. |
| `ignore_swap` | `yes`<br />`no` | Continue even if swap is enabled. If `no`, stops installation if swap is enabled. |
| `ntp` | `yes`<br />`no` | Configure NTP for time synchronization. |
| `rlcheck` | `yes`<br />`no` | Run `rlcheck` after installation to validate the system. |
| `skip_updating_env_path` | `yes`<br />`no` | Skip adding Redis Enterprise Software paths to the PATH environment variable. |
| `systune` | `yes`<br />`no` | Automatically tune system performance (CPU, sysctl). If `yes`, answers `yes` to all system tuning questions. |

Example answer file:

```sh
ignore_swap=no
Expand All @@ -88,10 +101,10 @@ Use an answer file to manage your response:
firewall=no
rlcheck=yes
ignore_existing_osuser_osgroup=no
skip_updating_env_path=yes
ignore_master_version=no
```

If you use `systune=yes`, the installation answers `yes` to all of the system tuning questions.

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.

For example:
Expand Down