Prerequisites for Setting up Cloudera Manager High Availability
- A multi-homed TCP load balancer, or two TCP load balancers, capable of
proxying requests on specific ports to one server from a set of backing
- The load balancer does not need to support termination of TLS/SSL connections.
- This load balancer can be hardware or software based, but should be capable of proxying multiple ports. HTTP/HTTPS-based load balancers are insufficient because Cloudera Manager uses several non-HTTP-based protocols internally.
- This document uses HAProxy, a small, open-source, TCP-capable load balancer, to demonstrate a workable configuration.
- A networked storage device that you can configure to be highly available. Typically this is an NFS store, a SAN device, or a storage array that satisfies the read/write throughput requirements of the Cloudera Management Service. This document assumes the use of NFS due to the simplicity of its configuration and because it is an easy, vendor-neutral illustration.
- The procedures in this document require
sshaccess to all the hosts in the cluster where you are enabling high availability for Cloudera Manager.
The Heartbeat Daemon and Virtual IP Addresses
You may have configured Cloudera Manager high availability by configuring virtual IP addresses and using the Heartbeat daemon (http://www.linux-ha.org/wiki/Heartbeat). The original Heartbeat package is deprecated; however, support and maintenance releases are still available through LinBit ( https://www.linbit.com/en/linbit-takes-over-heartbeat-maintenance/).
Cloudera recommends using Corosync and Pacemaker (both currently maintained through ClusterLabs). Corosync is an open-source high-availability tool commonly used in the open-source community.
Single-User Mode, TLS, and Kerberos
- Single-user mode. You must run all commands as the
rootuser (unless specified otherwise). These procedures do not alter or modify the behavior of how CDH services function.
- TLS and Kerberized deployments. For more information, see TLS and Kerberos Configuration for Cloudera Manager High Availability.