Build Ceph Cluster with ceph-ansible

What is Ceph?

Ceph-ansible

$ssh-keygen 
$ssh-copy-id <hostname of other nodes>
$git clone https://github.com/ceph/ceph-ansible.git 
$cd ceph-ansible
$git checkout stable-4.0
[mons] 
admin
node1
[osds]
admin
node1
node2
[mgrs]
node1
$cp site.yml.sample site.yml 
$cp group_vars/all.yml.sample group_vars/all.yml
ceph_origin: repository 
ceph_repository: community
ceph_stable_release: nautilus
public_network: "192.168.0.0/16"
cluster_network: "192.168.0.0/16"
monitor_interface: eth1
devices:
- '/dev/sda'
- '/dev/sdb'

OSD Configuration

$ansible-playbook site.yml

Astrophile | Technophile | Opensource enthusiast