Creating a conversion parameters file
To convert your installation using the Puppet Installation Manager (PIM) command line, you must use a JSON file containing the parameters relevant to your installation architecture and pass that file with the convert command. The JSON file references your installation architecture, including disaster recovery where applicable.
Creating a JSON file containing installation parameters is not
required if you use the guided upgrade process. With the guided process, if conversion
is required, PIM notifies you of the requirement and runs the conversion automatically
when you confirm that you want to proceed.
Configuration examples
The following examples illustrate how to structure the JSON file for converting different PE configurations.
Parameters for converting an extra-large architecture with disaster
recovery
{ "primary_host": "pe-xl-core-0.lab1.puppet.vm", "primary_postgresql_host": "pe-xl-core-1.lab1.puppet.vm", "replica_host": "pe-xl-core-2.lab1.puppet.vm", "replica_postgresql_host": "pe-xl-core-3.lab1.puppet.vm", "compiler_hosts": [ "pe-xl-compiler-0.lab1.puppet.vm", "pe-xl-compiler-1.lab1.puppet.vm" ] }
Parameters for converting an extra-large architecture without disaster
recovery
{ "primary_host": "pe-xl-core-0.lab1.puppet.vm", "primary_postgresql_host": "pe-xl-core-1.lab1.puppet.vm", "compiler_hosts": [ "pe-xl-compiler-0.lab1.puppet.vm", "pe-xl-compiler-1.lab1.puppet.vm" ] }
Parameters for converting a large architecture with disaster recovery
{ "primary_host": "pe-l-core-0.lab1.puppet.vm", "replica_host": "pe-l-core-2.lab1.puppet.vm", "compiler_hosts": [ "pe-l-compiler-0.lab1.puppet.vm", "pe-l-compiler-1.lab1.puppet.vm" ] }
Parameters for converting a large architecture without disaster
recovery
{ "primary_host": "pe-l-core-0.lab1.puppet.vm", "compiler_hosts": [ "pe-l-compiler-0.lab1.puppet.vm", "pe-l-compiler-1.lab1.puppet.vm" ] }
Parameters for converting a standard architecture with disaster
recovery
{ "primary_host": "pe-core-0.lab1.puppet.vm", "replica_host": "pe-core-2.lab1.puppet.vm" }
Parameters for converting a standard architecture without disaster
recovery
{ "primary_host": "pe-core-0.lab1.puppet.vm" }