Manage installation questions
Several questions are displayed during the Redis Software installation process.
Here, you’ll find a list of these questions and learn how to automatically answer these questions to perform a silent install.
Several questions appear during installation:
Linux swap file -
Swap is enabled. Do you want to proceed? [Y/N]?
We recommend that you disable Linux swap in the operating system configuration to give Redis Software control of the memory allocation.
Automatic OS tuning -
Do you want to automatically tune the system for best performance [Y/N]?
To allow the installation process to optimize the OS for Redis Software, answer
Y. The installation process prompts you for additional information.
/opt/redislabs/sbin/systune.shfile contains details about the tuning process.
Network time -
Do you want to set up NTP time synchronization now [Y/N]?
Redis Software requires that all cluster nodes have synchronized time. You can either let the installation process configure NTP or you can configure NTP manually.
Firewall ports -
Would you like to open RedisLabs cluster ports on the default firewall zone [Y/N]?
Redis Enterprise Software requires that all nodes have specific network ports open. You can either:
Yto let the installation process open these ports.
Nand configure the firewall manually for RHEL/CentOS firewall.
Nand configure the firewall on the node manually for your OS.
Installation verification (rlcheck) -
Would you like to run rlcheck to verify proper configuration? [Y/N]?
We recommend running the
rlcheckinstallation verification to make sure that the installation completed successfully. If you want to run this verification at a later time, you can run:
Answer install questions automatically
To perform a silent (or automated) install, answer the questions when you start the install.
There are two ways to do so:
To automatically answer
yesto all questions (which accepts the default values), start the install script with the
`% ./install.sh -y`
Use an answer file to manage your response:
- 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 the question with
ignore_swap=no systune=yes ntp=no firewall=no rlcheck=yes
If you use
systune=yes, the installation answers
yesto all of the system tuning questions.
- Start the install script with the
-ccommand-line option and add the path to the answer file.
./install.sh -c /home/user/answers