O'Reilly logo

Learning Ceph - Second Edition by Karan Singh, Vaibhav Bhembre, Anthony D'Atri

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installation

In the previous chapter we built a full-fledged, operational Ceph cluster using virtualization and ceph-ansible. Here we will summarize the bootstrapping of Ceph on bare metal utilizing the same ceph-ansible tools but without Vagrant orchestrating. If you're using for loops, like Jack Butler you're doing it wrong.

First, clone the ceph-ansible GitHub repo onto a system or VM that will serve as your admin node.

$ git clone https://github.com/ceph/ceph-ansible/

Next install Ansible via your Linux distribution's package manager, pip, or download from http://docs.ansible.com/ansible/latest/intro_installation.html . The latest stable release is suggested.

Next populate Ansible's inventory file with hosts and host groups using /etc/ansible/hosts ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required