Commit Graph

19 Commits

Author SHA1 Message Date
Joshua Boniface 3c1c97dbf5 Ensure CPU tuning is only applied on Debian 11+ 2022-11-15 16:21:48 -05:00
Joshua Boniface c5ec0f4f62 Add updated tuning configuration
Uses a much nicer CPU tuning configuration, leveraging systemd's
AllowedCPUs and CPUAffinity options within a set of slices (some
default, some custom).

Configuration is also greatly simplified versus the previous
implementation, simply asking for a number of CPUS for both the system
and OSDs, and calculating everything else that is required.

Also switches (back) to the v2 unified cgroup hierarchy by default as
required by the systemd AllowedCPUs directive.
2022-11-13 01:33:09 -05:00
Joshua Boniface 243c910d6d Unify and standardize inventory_hostname
This was causing some confusing conflicts, so create a new fact called
"this_node" which is inventory_hostname.split('.')[0], i.e. the short
name, and use that everywhere instead of an FQDN or true inventory
hostname.
2021-11-11 17:19:03 -05:00
Joshua Boniface 732bfe732c Add Ceph OSD cpuset tuning options
Allows an administrator to set CPU pinning with the cpuset tool for Ceph
OSDs, in situations where CPU contention with VMs or other system tasks
may be negatively affecting OSD performance. This is optional, advanced
tuning and is disabled by default.
2021-09-27 00:27:57 -04:00
Joshua Boniface b75e84a124 Add logrotate configuration 2019-08-11 15:41:10 -04:00
Joshua Boniface dc27564157 Limit database tasks to coordinators only
Non-coordinators don't need these configurations as they shouldn't run
there.
2019-07-11 19:58:56 -04:00
Joshua Boniface 9c2afcae54 Remove per-host pvc.yml for good 2019-06-18 13:07:46 -04:00
Joshua Boniface e3ed5675a9 Consistent newhost format between roles 2019-06-18 10:47:40 -04:00
Joshua Boniface 1fb481f4fb Use separate bootstrap files for base and pvc roles 2019-06-17 21:59:50 -04:00
Joshua Boniface 098a36b524 Clean up some tasks during bootstrap; parallel PVC 2019-06-16 19:36:45 -04:00
Joshua Boniface 1bd7a64e1f Move IP removal and restart after install 2019-06-16 03:59:43 -04:00
Joshua Boniface c092362f13 Reorganize some elements 2019-06-12 23:24:27 -04:00
Joshua Boniface cde6a188ba Reorganize and rejigger 2019-06-12 23:24:27 -04:00
Joshua Boniface 2320f50621 Improve handling around loop var and correct pvcd 2019-06-12 23:24:27 -04:00
Joshua Boniface 1c1d2b95fc Make things even nicer 2019-06-11 16:32:16 -04:00
Joshua Boniface 02bfc58473 Flush handlers properly 2019-06-11 13:37:56 -04:00
Joshua Boniface b82c8fc185 Flush handlers before starting PVC install 2019-06-11 13:26:18 -04:00
Joshua Boniface 64c6beabf8 Compatability with Ansible 2.2 2019-06-10 15:07:34 -04:00
Joshua Boniface 8ac0776a8e Initial commit of PVC Ansible role 2019-06-09 00:52:18 -04:00