mirror of https://github.com/ceph/ceph-ansible.git
52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
---
|
|
# Variables here are applicable to all host groups NOT roles
|
|
#
|
|
|
|
# Devices to be used as OSDs
|
|
# You can pre-provision disks that are not present yet.
|
|
# Ansible will just skip them. Newly added disk will be
|
|
# automatically configured during the next run.
|
|
#
|
|
|
|
|
|
# !! WARNING !!
|
|
#
|
|
# /!\ ENABLE ONLY ONE SCENARIO AT A TIME /!\
|
|
#
|
|
# !! WARNING !!
|
|
|
|
|
|
# Declare devices
|
|
# All the scenarii inherit from the following device declaration
|
|
#
|
|
devices: [ '/dev/sdd', '/dev/sde', '/dev/sdf', '/dev/sdg']
|
|
|
|
|
|
# I. First scenario: journal and osd_data on the same device
|
|
# Use 'true' to enable this scenario
|
|
# This will collocate both journal and data on the same disk
|
|
# creating a partition at the beginning of the device
|
|
#
|
|
journal_collocation: true
|
|
|
|
|
|
# II. Second scenario: single journal device for N OSDs
|
|
# Use 'true' to enable this scenario
|
|
#
|
|
raw_journal: false
|
|
raw_journal_device: /dev/sdb
|
|
|
|
|
|
# III. Third scenario: N journal devices for N OSDs
|
|
# Use 'true' to enable this scenario
|
|
#
|
|
# In the following example:
|
|
# * sdd and sde will get sdb as a journal
|
|
# * sdf and sdg will get sdc as a journal
|
|
# While starting you have 2 options:
|
|
# 1. Pre-allocate all the devices
|
|
# 2. Progressively add new devices
|
|
|
|
raw_multi_journal: false
|
|
raw_journal_devices: [ '/dev/sdb', '/dev/sdb', '/dev/sdc', '/dev/sdc' ]
|