pvc-ansible/roles/base/templates/etc
Joshua Boniface 7c7ca4a229 Allow inter-cluster orphan NTP sync
Due to the requirement of Ceph to have all peer nodes tightly
synchronized with each other to come online, PVC nodes need a way to
synchronize to each other even in the absence of an external time
reference. This is especially prevalent if a set of nodes are left
offline for an extended period (>1-2 weeks), since their hardware clocks
will drift. If the resulting Internet connectivity is then dependent on
a VM, this will cause a catch-22 and the cluster will not properly
start.

This configuration will accomplish that - if no suitable >6 stratum
peers are found, the hosts will enter orphan mode. Since they are now
all configured as "peers" with each other, they will collectively decide
on one of them to become the source and sync to it. A local stratum 10
fudge is added so that at least one of the nodes can become this source.

While this is not an ideal use of NTP, it is by far the cleanest
solution to this problem, and does not impact normal functionality when
the two configured stratum-2 servers are reachable.
2023-09-01 15:42:25 -04:00
..
ansible/facts.d Initial commit of PVC Ansible role 2023-09-01 15:42:19 -04:00
apt Move to more dynamic apt configs 2023-09-01 15:42:25 -04:00
check_mk Initial commit of PVC Ansible role 2023-09-01 15:42:19 -04:00
cron.d Initial commit of PVC Ansible role 2023-09-01 15:42:19 -04:00
cron.daily Add additional items to base role 2023-09-01 15:42:25 -04:00
default Remove GRUB config from base role 2023-09-01 15:42:25 -04:00
dhcp/dhclient-enter-hooks.d Initial commit of PVC Ansible role 2023-09-01 15:42:19 -04:00
fail2ban Allow configurable fail2ban IPs 2023-09-01 15:42:25 -04:00
logrotate.d Initial commit of PVC Ansible role 2023-09-01 15:42:19 -04:00
network Add additional items to base role 2023-09-01 15:42:25 -04:00
pam.d Initial commit of PVC Ansible role 2023-09-01 15:42:19 -04:00
postfix Initial commit of PVC Ansible role 2023-09-01 15:42:19 -04:00
profile.d Add PVC status MOTD script 2023-09-01 15:42:24 -04:00
ssh Improve SSH configuration for nodes 2023-09-01 15:42:24 -04:00
sudoers.d Initial commit of PVC Ansible role 2023-09-01 15:42:19 -04:00
sysctl.d Allow sysrc triggers in nodes 2023-09-01 15:42:21 -04:00
systemd Initial commit of PVC Ansible role 2023-09-01 15:42:19 -04:00
bash.bashrc.j2 Initial commit of PVC Ansible role 2023-09-01 15:42:19 -04:00
crontab.j2 Initial commit of PVC Ansible role 2023-09-01 15:42:19 -04:00
hosts.j2 Include upstream and short names in hosts 2023-09-01 15:42:23 -04:00
locale.gen.j2 Initial commit of PVC Ansible role 2023-09-01 15:42:19 -04:00
ntp.conf.j2 Allow inter-cluster orphan NTP sync 2023-09-01 15:42:25 -04:00
resolv.conf.j2 Add local domain to resolver config 2023-09-01 15:42:25 -04:00
rsyslog.conf.j2 Initial commit of PVC Ansible role 2023-09-01 15:42:19 -04:00
sudoers.j2 Fix sudoers to use conditional deploy_username 2023-09-01 15:42:25 -04:00