Enabling Oozie - High Availability
#Pre-requisites
1. OOzie must be up and running
2. Working zookeepers
3. Common database for both oozie instances
====================================================================
#Installing and configuring HA proxy
====================================================================
yum install haproxy
#Edit the configuration
vim "/etc/haproxy/haproxy.cfg"
#Add following property
# This is the setup for oozie server. Clients will connect to load_balancer_host:11000.
# HAProxy will balance connections among the list of servers listed below.
listen oozieha
bind 10.10.71.15:11001
mode tcp
option tcplog
balance roundrobin
server webserver01 10.10.71.13:11000 check
server webserver02 10.10.71.14:11000 check
#start haproxy service
service haproxy start
service will be running in 11001 port
====================================================================
Comments
Post a Comment