set up a CEPH cluster
Pre-requisites: $ vagrant plugin install vagrant-hostmanager
-
Create 7 VM's with Centos 7 a Ceph admin node 3 Ceph monitor nodes 3 Ceph OSD nodes
$ vagrant up
$ vagrant reload
-
SSH to the Ceph admin node and cd to my-cluster folder.
$ vagrant ssh cephmaster -c
$ cd my-cluster
-
Create an SSH key and copy it to all the nodes
$ ./ssh.keys.sh
Note: always choose default option (just enter), password is vagrant unless you changed this.
-
Run script to create Ceph Storage Cluster
$ ./install-ceph.sh
Note: if something goes wrong, simply run:
$ ./repair.sh
-
Check the health of your new Ceph cluster
$ ceph -s
More info: www.tsbakker.nl/ceph