Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The inventory must define these variables to run the step:

  • cephconfigure_cluster_network: Address block to access to cluster networkfirewall: Boolean to configure the firewall (true by default)
  • ceph_public_network: Address block to access to public network (ie to the worldorigin: Origin of the ceph installed files (must be set to distro). SEAPATH installs ceph with an installer (see the installation section)
  • ceph_osd_disk: Device to stock datas (only for ceph-osd hosts), it's on this disk ceph will build a rbd
  • cluster_network: Address block to access to cluster network
  • monitor_address: Address where the host will bind
  • ntp_service_enabled: Boolean to enable the NTP service (must be set to false). SEAPATH installs a specific NTP client and configure it
  • osd_pool_default_min_size: Minimal number of available OSD to ensure cluster success (best: ceil(osd_pool_default_size / 2.0))

  • osd_pool_default_size: Number of OSD in the cluster

  • public_network: Address block to access to public network

Override configuration

ceph offers to override the configuration with ceph_conf_override:

Override global configuration

  • mon_osd_min_down_reporters: (must be set to 1)
  • osd_crush_chooseleaf_type: (must be set to 1)
  • osd_pool_default_min_size: Minimal number of available OSD to ensure cluster success (best: ceil(osd_pool_default_size / 2.0))
  • osd_pool_default_pg_num: (must be set to 128)
  • osd_pool_default_pgp_num: (must be set to 128)
  • osd_pool_default_size: Number of OSD in the cluster

draw.io Diagram
bordertrue
diagramNameosd-disks-conf
simpleViewerfalse
width
linksauto
tbstyletop
pageId65806285
lboxtrue
diagramWidth511

Override mon configuration

  • auth_allow_insecure_global_id_reclaim: Boolean (must be set to false)

Override osd configuration

  • osd_min_pg_log_entries: (must be set to 500)
  • osd_max_pg_log_entries: (must be set to 500)


Ceph provides ansible rules to configure the software, you can read the documentation here.

...