ceph-ansible/roles/ceph-osd
Andrew Schoen 594d5e017a ceph-osd: restructure lvm_volumes variable for more flexiblity
The lvm_volumes variable is now a list of dictionaries that represent
each OSD you'd like to deploy using ceph-volume. Each dictionary must
have the following keys: data, journal and data_vg. Each dictionary also
can optionaly provide a journal_vg key.

The 'data' key represents the lv name used for the OSD and the 'data_vg'
key is the vg name that the given lv resides on. The 'journal' key is
either an lv, device or partition. The 'journal_vg' key is optional and
must be the vg name for the journal lv if given. This key is mainly used
for purging of the journal lv if purge-cluster.yml is run.

For example:

  lvm_volumes:
    - data: data_lv1
      journal: journal_lv1
      data_vg: vg1
      journal_vg: vg2
    - data: data_lv2
      journal: /dev/sdc
      data_vg: vg1

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-23 10:14:14 -05:00
..
defaults ceph-osd: restructure lvm_volumes variable for more flexiblity 2017-08-23 10:14:14 -05:00
meta Move role dependencies in site.yml/site-docker.yml 2017-08-02 17:12:14 +02:00
tasks ceph-osd: restructure lvm_volumes variable for more flexiblity 2017-08-23 10:14:14 -05:00
templates Allow ceph service systemd overrides to be specified 2017-08-16 17:57:06 +01:00
LICENSE Add READMEs for each roles 2015-07-25 10:51:53 +02:00
README.md remove osd directory scenario 2017-04-21 15:50:32 -07:00

README.md

Ansible role: Ceph OSD

This role bootstraps Ceph OSD(s). It can bootstrap dockerized Ceph OSD(s).

Requirements

Nothing, it runs out of the box.

Role variables

Have a look at: defaults/main.yml.

Mandatory variables

Choose between the following scenario to configure your OSDs, choose only one:

  • journal_collocation
  • raw_multi_journal

Then:

  • devices
  • raw_journal_devices (only if you activated raw_multi_journal)

Dependencies

The role leseb.ceph-common must be installed.

Example Playbook

- hosts: servers
  remote_user: ubuntu
  roles:
     - { role: leseb.ceph-osd }

Contribution

THIS REPOSITORY DOES NOT ACCEPT PULL REQUESTS PULL REQUESTS MUST GO THROUGH CEPH-ANSIBLE

License

Apache

Author Information

This role was created by Sébastien Han.