# install haproxy yum install haproxy Configure Oozie HA as in Configure /etc/haproxy/conf/haproxy.cfg: #--------------------------------------------------------------------- # main frontend which proxys to the backends #--------------------------------------------------------------------- frontend oozie bind *:11000 mode http default_backend oozie_servers # acl url_static path_beg -i /static /images /javascript /stylesheets # acl url_static path_end -i .jpg .gif .png .css .js # use_backend static if url_static # default_backend app #--------------------------------------------------------------------- # static backend for serving up images, stylesheets and such #--------------------------------------------------------------------- backend static balance roundrobin server static 127.0.0.1:4331 check #--------------------------------------------------------------------- # round robin balancing between the various backends #--------------------------------------------------------------------- backend oozie_servers balance roundrobin server app1 oozie1.server.com:11000 check server app2 oozie2.server.com:11000 check # server app3 127.0.0.1:5003 check # server app4 127.0.0.1:5004 check