Configuring high availability for Cloudera Lakehouse Optimizer
You can configure high availability (HA) for Cloudera Lakehouse Optimizer in Cloudera Manager by deploying multiple Cloudera Lakehouse Optimizer service instances and setting HA properties on each instance.
- ZooKeeper is running and healthy on at least three hosts in the cluster or Data Hub.
- Multiple Cloudera Lakehouse Optimizer service instances deployed on separate hosts within the same cluster or Data Hub.
- All Cloudera Lakehouse Optimizer instances connect to the same shared database (PostgreSQL or MySQL).
- All Cloudera Lakehouse Optimizer instances can reach ZooKeeper and the shared database.
- Apache Knox is configured if you use Knox for REST API access.
To configure HA on a Cloudera Lakehouse Optimizer instance:
After you configure HA:
- Test failover by stopping the leader instance and verifying that a standby instance becomes the leader.
- Monitor Cloudera Lakehouse Optimizer logs for leader election messages.
- Restore ZooKeeper and restart Cloudera Lakehouse Optimizer if an instance starts in degraded mode.
