Convert existing compilers
If you have legacy compilers, you can improve their usability and scalability by adding PuppetDB. In addition to installing the PuppetDB service, converting an existing compiler adds the node to the PE Compiler node group and unpins it from the PE Master node group.
Before you begin:
Open port 5432 from compilers to your primary server or, in extra-large installations, your PE-PostgreSQL node.
Open port 5432 from compilers to your primary server or, in extra-large installations, your PE-PostgreSQL node.
Contact Support for guidance before converting compilers in
multi-region installations. If your primary server and compilers are connected with
high-latency links or congested network segments, you might experience better PuppetDB performance with legacy compilers.
On your primary server logged in as root, run: .
puppet infrastructure run convert_legacy_compiler compiler=<COMPILER_FQDN-1>,<COMPILER_FQDN-2>
To convert all
compilers:
puppet infrastructure run convert_legacy_compiler all=true
What to do next
Run
Run
puppet infrastructure tune
on your primary
server and adjust tuning for compilers as needed.