Puppet: Scaling and monitoring your Puppetserver
summary
Starts from a single all‑in‑one box and scales to 3,200–3,800 agents by separating services onto four servers and tuning each: increase JRuby instances and JVM heap strategy, enable in‑memory environment cache with purge API, tune Foreman’s Passenger threads and memcached, use Postgres 10 on NVMe and limit max_connections, set puppetdb concurrent_writes ≤ 8, and terminate TLS with nginx TLS termination plus consul service discovery for DNS load balancing. Adds Prometheus JMX exporter for metrics but must blacklist/limit metrics to avoid 750k‑line dumps and JVM crashes.
AI-written summary · about
