- RAM: 2GB recommended
- Centos 7
- Ubuntu 16.04 (Server)
- Ubuntu 18.04 (Server)
# RedHat sudo sed -i -e 's@^SELINUX=enforcing$@SELINUX=disabled@g' /etc/selinux/config sudo setenforce 0 sudo systemctl disable selinux.service# Ubuntu sudo systemctl stop apparmor.service sudo update-rc.d -f apparmor remove
- root privileges are required (using sudo)
# /etc/sudoers john ALL=(ALL) NOPASSWD: ALL
- All nodes must have different hostnames
/var/lib
partition must support Extended Attributes: XFS is recommended
[root@centos ~]# df /var/lib Filesystem 1K-blocks Used Available Use% Mounted on /dev/vda1 41931756 1624148 40307608 4% / [root@centos ~]# file -sL /dev/vda1 /dev/vda1: SGI XFS filesystem data (blksz 4096, inosz 512, v2 dirs)
- System must be up-to-date
# RedHat sudo yum update -y sudo reboot
# Ubuntu sudo apt update -y sudo apt upgrade -y sudo reboot
- All nodes connected to the same LAN through the specified interface (first one by default)
- Firewall is disabled
# RedHat sudo systemctl stop firewalld.service sudo systemctl disable firewalld.service
# Ubuntu sudo ufw disable sudo systemctl disable ufw.service
You only need to do this setup on the node that will install the others.
- Install Ansible (official guide)
- Install git for download requirements
- Clone the OpenIO ansible playbook deployment repository (or download it with wget and unzip)
git clone https://github.com/open-io/ansible-playbook-openio-deployment.git oiosds
- Install
python-netaddr
# RedHat sudo yum install git python-netaddr -y
# Ubuntu sudo apt install git python-netaddr -y
Now you can install OpenIO SDS