This is the documentation for CDH 4.7.1. Documentation for other versions is available at Cloudera Documentation.

Cloudera Manager 4 and CDH 4 have reached End of Maintenance (EOM) on August 9, 2015. Cloudera will not support or provide patches for any of the Cloudera Manager 4 or CDH 4 releases after that date.

Configuring Oozie Failover ( hot/cold )

  1. Set up your database for High Availability (see the database documentation for details).

    Oozie database configuration properties may need special configuration (see the JDBC driver documentation for details).

  2. Configure Oozie on two or more servers:
  3. These servers should be configured identically
  4. Set the OOZIE_HTTP_HOSTNAME variable in to the Load Balancer or Virtual IP address (see step 3)
  5. Only one of the Oozie servers should be started (the hot server).
  6. Use either a Virtual IP Address or Load Balancer to direct traffic to the hot server.
  7. Access Oozie via the Virtual IP or Load Balancer address.

Points to note

  • The Virtual IP Address or Load Balancer can be used to periodically check the health of the hot server.
  • If something is wrong, you can shut down the hot server, start the cold server, and redirect the Virtual IP Address or Load Balancer to the new hot server.
  • This can all be automated with a script, but a false positive indicating the hot server is down will cause problems, so test your script carefully.
  • There will be no data loss.
  • Any running workflows will continue from where they left off.
  • It takes only about 15 seconds to start the Oozie server.

See also Configuring Oozie to use HDFS HA.

This page last updated August 5, 2015