Common tasks
In this section we cover procedures for a number of common tasks that Ceph admins execute as needed. These include managing flags and services, dealing with component failures, cluster expansion, and balancing OSD utilization. We'll also touch on upgrades between Ceph releases.
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...