<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to setup High Availability for Oozie? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94442#M7705</link>
    <description>&lt;P&gt;As a quick addon, here is the load balancing configuration using haproxy I used. Seems to work as well and was very easy to setup. Any feedback welcome&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/120-enableloadbalancingoozie.txt"&gt;enableloadbalancingoozie.txt&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2015 09:08:59 GMT</pubDate>
    <dc:creator>bleonhardi</dc:creator>
    <dc:date>2015-09-29T09:08:59Z</dc:date>
    <item>
      <title>How to setup High Availability for Oozie?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94440#M7703</link>
      <description>&lt;P&gt;To have Oozie server in HA, it is mentioned in the Hortonworks documentation that it needs a Loadbalancer, Virtual IP, or Round-Robin DNS. As this is not part of Hadoop ecosystem, what tool is suggest to use here? HAProxy/nginx/or any other commercial one?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 07:58:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94440#M7703</guid>
      <dc:creator>pardeep_kumar</dc:creator>
      <dc:date>2015-09-29T07:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for Oozie?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94441#M7704</link>
      <description>&lt;P&gt;Ambari does not manage HA for Oozie yet. Here are some list of manual steps which I recently dug out for someone (&lt;A href="https://issues.apache.org/jira/browse/AMBARI-6683"&gt;AMBARI-6683&lt;/A&gt; is the related JIRA but &lt;A href="https://hortonworks.jira.com/browse/BUG-13082 "&gt;BUG-13082&lt;/A&gt; has the relevant details you are looking for)&lt;/P&gt;&lt;P&gt;Pasting here:&lt;/P&gt;&lt;P&gt;1) Added oozie-server component, using +Add button on host page.&lt;/P&gt;&lt;P&gt;2) Using apache httpd(using mod_proxy and mod_proxy_balancer), configured load balancing with url liveness check. It means, that returned url for oozie previously checked for availability. We need this, because one of oozie can be unavailable, so load balancer should not return url for it.&lt;/P&gt;&lt;P&gt;3) In oozie-site.xml config:&lt;/P&gt;&lt;P&gt;– add oozie.zookeeper.connection.string = &amp;lt;list of zookeeper hosts with ports&amp;gt; (example: &lt;A href="http://c6401.ambari.apache.org/"&gt;c6401.ambari.apache.org&lt;/A&gt;:2181,&lt;A href="http://c6402.ambari.apache.org/"&gt;c6402.ambari.apache.org&lt;/A&gt;:2181,&lt;A href="http://c6403.ambari.apache.org/"&gt;c6403.ambari.apache.org&lt;/A&gt;:2181)&lt;/P&gt;&lt;P&gt;– add these classes "org.apache.oozie.service.ZKLocksService,org.apache.oozie.service.ZKXLogStreamingService,org.apache.oozie.service.ZKJobsConcurrencyService" to property oozie.services.ext.&lt;/P&gt;&lt;P&gt;– change oozie.base.url to &lt;A href="http://&amp;lt;loadbalancer_hostname&amp;gt;:11000/oozie" target="_blank"&gt;http://&amp;lt;loadbalancer_hostname&amp;gt;:11000/oozie&lt;/A&gt;&lt;/P&gt;&lt;P&gt;4) In oozie-env.sh config:&lt;/P&gt;&lt;P&gt;– uncomment OOZIE_BASE_URL property and change value to point to the loadbalancer (example of value: &lt;A href="http://&amp;lt;loadbalancer_hostname&amp;gt;:11000/oozie)" target="_blank"&gt;http://&amp;lt;loadbalancer_hostname&amp;gt;:11000/oozie)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;5) In core-site.xml:&lt;/P&gt;&lt;P&gt;– add host with newly added oozie-server to hadoop.proxyuser.oozie.hosts property. Hosts should be comma separated.&lt;/P&gt;&lt;P&gt;6) Restart all needed services.&lt;/P&gt;&lt;P&gt;Note1: Oozie HA will work only for existing db, because as i know, derby db doesn't support concurrent connections.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 08:32:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94441#M7704</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-09-29T08:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for Oozie?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94442#M7705</link>
      <description>&lt;P&gt;As a quick addon, here is the load balancing configuration using haproxy I used. Seems to work as well and was very easy to setup. Any feedback welcome&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/120-enableloadbalancingoozie.txt"&gt;enableloadbalancingoozie.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 09:08:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94442#M7705</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2015-09-29T09:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for Oozie?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94443#M7706</link>
      <description>&lt;P&gt;What are tools you suggest for loadbalancing?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 10:27:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94443#M7706</guid>
      <dc:creator>pardeep_kumar</dc:creator>
      <dc:date>2015-09-29T10:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for Oozie?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94444#M7707</link>
      <description>&lt;P&gt;Follow instructions as per documentation.&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Ambari_Users_Guide/content/_adding_an_oozie_server_component.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2....&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In addition: In a Kerberized Environment, &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create new AD Account for HTTP/&amp;lt;loadbalancer_hostname&amp;gt;@&amp;lt;realm&amp;gt;&lt;/LI&gt;&lt;LI&gt;Append keytab for AD Account into spnego.service.keytab on all hosts running oozie servers referenced by the loadbalancer. &lt;/LI&gt;&lt;LI&gt;Keytabs could be appended as follows -- &lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;ktutil 
addent -password -p HTTP/&amp;lt;loadbalancer_hostname&amp;gt;@&amp;lt;realm&amp;gt; -k 1 -e rc4-hmac 
wkt /etc/security/keytabs/spnego.service.keytab &lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;klist -ekt spnego.service.keytab &lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;Keytab name: FILE:spnego.service.keytab 
KVNO Timestamp Principal 
---- ----------------- -------------------------------------------------------- 
... 
1 12/17/15 14:45:02 HTTP/&amp;lt;loadbalancer_hostname&amp;gt;@&amp;lt;realm&amp;gt; (arcfour-hmac) &lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;After keytabs are updated, Restart Oozie service from Ambari UI.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 22 Dec 2015 04:23:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94444#M7707</guid>
      <dc:creator>smayani</dc:creator>
      <dc:date>2015-12-22T04:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for Oozie?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94445#M7708</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/220/smayani.html" nodeid="220"&gt;@Saumil Mayani&lt;/A&gt;&lt;P&gt;Have you run into issues with Ambari managing your keytabs, with the manual spnego changes above?  &lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 23:39:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94445#M7708</guid>
      <dc:creator>Matthew_Sharp</dc:creator>
      <dc:date>2016-02-12T23:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for Oozie?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94446#M7709</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/751/matthewsharp.html" nodeid="751"&gt;@Matthew Sharp&lt;/A&gt;&lt;P&gt;Yes I have. Ambari would not know about the Load Balancer details and hence would not update / append the HTTP/&amp;lt;loadbalancer_hostname&amp;gt;@&amp;lt;realm&amp;gt; to the spnego.service.keytab&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 23:42:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94446#M7709</guid>
      <dc:creator>smayani</dc:creator>
      <dc:date>2016-02-12T23:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for Oozie?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94447#M7710</link>
      <description>&lt;P&gt;Right, I was more worried about future cluster changes through Ambari or if you regenerate keytabs through Ambari.  Guessing in some scenarios that would overwrite your manual updates after you have it working.  I will have to review jira to see if there is anything out there to address that.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 23:59:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94447#M7710</guid>
      <dc:creator>Matthew_Sharp</dc:creator>
      <dc:date>2016-02-12T23:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for Oozie?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94448#M7711</link>
      <description>&lt;P&gt;guys, do you have any ideas why I don't have option Oozie-server after clicking +Add button? I tried on every host in my cluster. I am using HDP 2.3 with Ambari 2.1.1&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 03:30:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94448#M7711</guid>
      <dc:creator>frank93</dc:creator>
      <dc:date>2016-04-05T03:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for Oozie?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94449#M7712</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/168/bleonhardi.html" nodeid="168"&gt;@Benjamin Leonhardi&lt;/A&gt; How are your logs being recorded on the Oozie servers? Did you setup HAProxy as a transparent proxy? If so, did you account for the &lt;STRONG&gt;X-Forwarded-For &lt;/STRONG&gt;header in the Oozie server log config `oozie-log4j.properties` to enable recording the original Oozie client IP in the Oozie logs?&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;Appreciate your help and comment, thanks!&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 21:04:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94449#M7712</guid>
      <dc:creator>ahasson</dc:creator>
      <dc:date>2016-07-20T21:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for Oozie?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94450#M7713</link>
      <description>&lt;P&gt;Step by step guide to configure Oozie HA in kerberized environment &lt;/P&gt;&lt;P&gt;&lt;A href="http://crazyadmins.com/tag/oozie-ha-loadbalancer/" target="_blank"&gt;http://crazyadmins.com/tag/oozie-ha-loadbalancer/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 22:55:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-Oozie/m-p/94450#M7713</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-11-30T22:55:26Z</dc:date>
    </item>
  </channel>
</rss>

