Actions
Feature #55819
closedcephadm: support for os tuning
% Done:
0%
Source:
Tags:
backport_processed
Backport:
quincy
Description
ceph-ansible supported os tuning in which a set of options could be specified in your group vars that would be included in a file written to /etc/sysctl.d/ on a given set of hosts. Cephadm should try to include this feature as well.
From ceph-ansible
#os_tuning_params: # - { name: fs.file-max, value: 26234859 } # - { name: vm.zone_reclaim_mode, value: 0 } # - { name: vm.swappiness, value: 10 } # - { name: vm.min_free_kbytes, value: "{{ vm_min_free_kbytes }}" }
- name: apply operating system tuning sysctl: name: "{{ item.name }}" value: "{{ item.value }}" state: present sysctl_file: /etc/sysctl.d/ceph-tuning.conf sysctl_set: yes ignoreerrors: yes with_items: - { name: "fs.aio-max-nr", value: "1048576", enable: "{{ osd_objectstore == 'bluestore' }}" } - "{{ os_tuning_params }}" when: item.enable | default(true) | bool
Actions