In Ambari Web, browse to the host where you would like to install another Oozie Server.
On the Host page, click the “+Add” button.
Select “Oozie Server” from the list and Ambari will install the new Oozie Server.
After configuring your external Load Balancer, update the oozie configuration.
Browse to Services > Oozie > Configs and in oozie-site add the following:
Property
Value
oozie.zookeeper.connection.string
List of ZooKeeper hosts with ports. For example:
c6401.ambari.apache.org:2181,c6402.ambari.apache.org:2181,c6403.ambari.apache.org:2181
oozie.services.ext
org.apache.oozie.service.ZKLocksService,org.apache.oozie.service.ZKXLogStreamingService,org.apache.oozie.service.ZKJobsConcurrencyService
oozie.base.url
http://<loadbalancer.hostname>:11000/oozie
In oozie-env, uncomment OOZIE_BASE_URL property and change value to point to the Load Balancer. For example:
export OOZIE_BASE_URL="http://<loadbalance.hostname>:11000/oozie"
Restart Oozie service for the changes to take affect.
Update HDFS configs for the Oozie proxy user. Browse to Services > HDFS > Configs and in core-site update the hadoop.proxyuser.oozie.hosts property to include the newly added Oozie Server host. Hosts should be comma separated.
Restart all needed services.