Skip to main content

Preparing the VMs

If you have Red Hat OS installed on the VMs, follow the steps given below to prepare your VMs for installing Rancher using the Adeptia Rancher package.

WarningThis document is not applicable for single-node deployment.
  • Disable and stop the firewall by running the following set of commands in the same order:

Code

sudo systemctl disable firewalld
sudo systemctl stop firewalld
  • Disable and stop the nm-cloud-setup.timer network manager service by running the following set of commands in the same order:

Code

sudo systemctl disable nm-cloud-setup.timer
sudo systemctl stop nm-cloud-setup.timer
  • Disable and stop the nm-cloud-setup.service network manager service by running the following set of commands in the same order:

Code

sudo systemctl disable nm-cloud-setup.service
sudo systemctl stop nm-cloud-setup.service
  • Run the following set of commands in the same order to install the nfs-utils, iptables, and open-iscsipackages:

Code

sudo yum install nfs-utils
sudo yum install iptables-services
sudo yum --setopt=tsflags=noscripts install iscsi-initiator-utils
  • Start and then stop the iptables service by running the following set of commands in the same order.

Code

sudo systemctl start iptables
sudo systemctl stop iptables
  • Run the following set of commands in the same order to enable and start the open-iscsi service.

Code

sudo systemctl enable iscsid
sudo systemctl start iscsid