Chapter 1. Environment Overview
This guide describes how to configure database high availability in a Red Hat CloudForms environment. This configuration allows for disaster mitigation: a failure in the primary database does not result in downtime, as the standby database takes over the failed database’s processes. This is made possible by database replication between two or more database servers. In CloudForms, these servers are database-only CloudForms appliances which do not have evmserverd processes enabled.
In this configuration, only one database is writable at any given time. This procedure also does not provide scalability or a multi-master database setup. While a Red Hat CloudForms environment is comprised of an engine tier and a database tier, this configuration affects only the database tier and does not provide load balancing for the appliances.
This guide describes two types of appliances used in high availability:
-
Database-only CloudForms appliances, which do not have
evmserverdprocesses enabled or a user interface. -
CloudForms appliances, which are standard appliances containing a user interface and which have other
evmserverdprocesses enabled.
Manual steps are required to reintroduce the failed database node back as the standby server. See Section 3.3, “Reintroducing the Failed Node”.
1.1. Requirements
For a high availability Red Hat CloudForms environment, you need a virtualization host containing at minimum four virtual machines with CloudForms installed, consisting of:
- One virtual machine for the primary external database containing a minimum of 4GB dedicated disk space
- One virtual machine for the standby external database containing a minimum of 4GB dedicated disk space
- Two virtual machines for the CloudForms appliances
See Planning in the Deployment Planning Guide for information on setting up the correct disk space for the database-only appliances.
The database-only appliances should reside on a highly reliable local network in the same location.
It is essential to use the same Red Hat CloudForms appliance template version to install each virtual machine in this environment.
See the Red Hat Customer Portal to obtain the appliance download for the platform you are running CloudForms on.
Correct time synchronization is required before installing the cluster. After installing the appliances, configure time synchronization on all appliances using chronyd.
Red Hat recommends using a DNS server for a high availability configuration, as DNS names can be updated more quickly than IP addresses when restoring an operation in a different location, network, or datacenter.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.