Joshua Boniface
13dd41bb3e
Add some Zookeeper configuration tweaks
2021-07-19 16:31:40 -04:00
Joshua Boniface
f294817b55
Disable any systemd start rate limiting
...
Because Zookeeper is supremely stupid (see last commit) we want to
disable start limiting. It needs to keep trying forever until it starts.
2021-07-19 13:21:16 -04:00
Joshua Boniface
b112663ef0
Ensure Zookeeper restarts itself
...
The Zookeeper daemon does not appear to exit with any status other than
0, even after a fatal error. Work around this.
2021-07-19 13:03:09 -04:00
Joshua Boniface
bd4d94568e
Add -XX:+AlwaysPreTouch option for Zookeeper
2021-07-19 12:46:21 -04:00
Joshua Boniface
e232ab00da
Lower keep count for Zookeeper vacuum to 3
...
Required to keep disk space growth down when using zookeeper_logging
functionality.
2021-07-19 09:51:07 -04:00
Joshua Boniface
764c2c3928
Fix memory tuning issues
2021-07-18 18:51:21 -04:00
Joshua Boniface
ae45da3f85
Bump max connections in Zookeeper to 200
2021-06-22 03:15:23 -04:00
Joshua Boniface
c6590f8ab9
Configure Zookeeper only on Cluster address
2021-06-22 03:15:23 -04:00
Joshua Boniface
ac071f4bf0
Add configurable ZK memory limits
2020-12-21 00:20:45 -05:00
Joshua Boniface
8e104113d7
Tune Zookeeper memory usage
...
Use Xms and Xmx=128M to reduce overall Zookeeper memory usage.
2020-12-21 00:20:45 -05:00
Joshua Boniface
3c0c3e8e56
Add jute.maxbuffer to Zookeeper environment ops
...
Adds this option based on the findings of
https://github.com/python-zk/kazoo/issues/630 , whereby restores of >1MB
in size would fail. This is considered an unsafe option, but given our
usecase no actual znode should ever exceed this limit; this is purely
for the large transactions that come from a `pvc task restore` action to
an empty Zookeeper instance.
2020-11-24 12:20:25 -05:00
Joshua Boniface
774595cdb7
Ensure ZK prioritizes IPv4
2020-08-19 13:10:03 -04:00
Joshua Boniface
c9b487f5e6
Use FQDN for Zookeeper server entries
2020-08-19 12:47:06 -04:00
Joshua Boniface
f560f55010
Use shortname for Zookeeper
2020-04-06 13:45:29 -04:00
Joshua Boniface
7f5a7e48f8
Add daily Zookeeper data cleanup
2019-08-26 11:09:23 -04:00
Joshua Boniface
ef9673de02
Add custom systemd unit for Zookeeper
...
We're 100% systemd here, and the lack of control/information that the
old-school ZK initscript provides is frustrating. Replace it with our
own simple unit file.
2019-08-26 11:06:30 -04:00
Joshua Boniface
91509720ac
Add Zookeeper autopurge @72h
2019-08-05 13:16:09 -04:00
Joshua Boniface
8ac0776a8e
Initial commit of PVC Ansible role
2019-06-09 00:52:18 -04:00