Skip to content

open-io/ansible-playbook-openio-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 

Repository files navigation

https://travis-ci.org/open-io/ansible-playbook-openio-deployment.svg?branch=20.04

Requirements

Hardware

  • RAM: 2GB recommended

Operating system

  • Centos 7
  • Ubuntu 16.04 (Server)
  • Ubuntu 18.04 (Server)

System

# 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

Network

  • 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

Setup

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published