Deploying Multiple Nodes in a High Availability Installation
Before you can deploy multiple Composer nodes (or instances), you must first configure an instance of the PostgreSQL data store that can be reached from any Composer instance. This data store is used to store Composer metadata, configuration data, and flat file uploads. Composer recommends that this data store be clustered to ensure there is no single point of failure.
To deploy multiple Composer nodes in a high availability environment, complete the following steps:
Note that the Consul for the environment can be configured in one of two ways:
- A single Consul instance can be used by the whole Composer cluster. (This is not recommended for a production environment.)
- Individual Consul instances can be configured for each Composer node, with the Consul instances forming their own cluster.
For more information, see Configure the Consul in a High Availability Installation.