<?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: Server not found error for loadBalncer in Oozie HA in kerberized cluster. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Server-not-found-error-for-loadBalncer-in-Oozie-HA-in/m-p/108255#M42457</link>
    <description>&lt;P&gt;Refer the below docs for oozie HA setup. Can you verify , you have correct values for the below property.
&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Ambari_Users_Guide/content/_adding_an_oozie_server_component.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Ambari_Users_Guide/content/_adding_an_oozie_server_component.html&lt;/A&gt; 
(1)oozie.zookeeper.connection.string=
List of ZooKeeper hosts with ports. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;For example:
node1:2181,node2:2181,node3:2181 &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(2)   oozie.services.ext=    org.apache.oozie.service.ZKLocksService,org.apache.oozie.service.ZKXLogStreamingService,org.apache.oozie.service.ZKJobsConcurrencyService&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(3) oozie.base.url =http://&amp;lt;loadbalancer.hostname&amp;gt;:11000/oozie &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(4) oozie.authentication.kerberos.principal = *&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
(5) In oozie-env, uncomment OOZIE_BASE_URL property and change value to point to the Load Balancer.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt; For example: export OOZIE_BASE_URL="http://&amp;lt;loadbalance.hostname&amp;gt;:11000/oozie" &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;For secured cluster &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(1) Manually Create new AD Account for HTTP/&amp;lt;loadbalancer_hostname&amp;gt;@&amp;lt;realm&amp;gt; for encryption types. 
kadmin.local -q "addprinc -randkey HTTP/&amp;lt;loadbalancer_hostname&amp;gt;@&amp;lt;realm&amp;gt;" &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(2) Append keytab for AD Account into spnego.service.keytab on all hosts running oozie servers referenced by the loadbalancer. 
    kadmin.local -q "ktadd -k ambari.server.keytab ambari-server@EXAMPLE.COM" &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(3) Verify if the keytabs has been appended.
    klist -ekt spnego.service.keytab&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
(4) Move the newly merged  spnego.service.keytab on all hosts running oozie servers referenced by the loadbalancer.
After keytabs are updated, Restart Oozie service from Ambari UI. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;   
To Verify if loadbancer is working or not. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(1) Stop the oozie server1 and run the below command
  oozie admin -oozie &lt;A href="http://load-balancer-url:10000/oozie" target="_blank"&gt;http://load-balancer-url:10000/oozie&lt;/A&gt; -status
  You should get success response. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(2) Start the oozie server1 and Stop the oozie server2 and run the below command  
oozie admin -oozie &lt;A href="http://load-balancer-url:10000/oozie" target="_blank"&gt;http://load-balancer-url:10000/oozie&lt;/A&gt; -status
  You should get success response.&lt;/P&gt;</description>
    <pubDate>Sat, 01 Oct 2016 09:55:49 GMT</pubDate>
    <dc:creator>sprakash</dc:creator>
    <dc:date>2016-10-01T09:55:49Z</dc:date>
    <item>
      <title>Server not found error for loadBalncer in Oozie HA in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Server-not-found-error-for-loadBalncer-in-Oozie-HA-in/m-p/108254#M42456</link>
      <description>&lt;P&gt;I am trying to set up oozie HA for my secured cluster(MIT) and i am using virtual IP as load balancer. Individual call to oozie server works but when i try to run oozie via load balancer I am getting server not found error. I have HDP 2.3.2 and Ambari 2.2.1.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2016 09:12:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Server-not-found-error-for-loadBalncer-in-Oozie-HA-in/m-p/108254#M42456</guid>
      <dc:creator>kmantri1991</dc:creator>
      <dc:date>2016-10-01T09:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Server not found error for loadBalncer in Oozie HA in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Server-not-found-error-for-loadBalncer-in-Oozie-HA-in/m-p/108255#M42457</link>
      <description>&lt;P&gt;Refer the below docs for oozie HA setup. Can you verify , you have correct values for the below property.
&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Ambari_Users_Guide/content/_adding_an_oozie_server_component.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Ambari_Users_Guide/content/_adding_an_oozie_server_component.html&lt;/A&gt; 
(1)oozie.zookeeper.connection.string=
List of ZooKeeper hosts with ports. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;For example:
node1:2181,node2:2181,node3:2181 &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(2)   oozie.services.ext=    org.apache.oozie.service.ZKLocksService,org.apache.oozie.service.ZKXLogStreamingService,org.apache.oozie.service.ZKJobsConcurrencyService&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(3) oozie.base.url =http://&amp;lt;loadbalancer.hostname&amp;gt;:11000/oozie &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(4) oozie.authentication.kerberos.principal = *&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
(5) In oozie-env, uncomment OOZIE_BASE_URL property and change value to point to the Load Balancer.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt; For example: export OOZIE_BASE_URL="http://&amp;lt;loadbalance.hostname&amp;gt;:11000/oozie" &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;For secured cluster &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(1) Manually Create new AD Account for HTTP/&amp;lt;loadbalancer_hostname&amp;gt;@&amp;lt;realm&amp;gt; for encryption types. 
kadmin.local -q "addprinc -randkey HTTP/&amp;lt;loadbalancer_hostname&amp;gt;@&amp;lt;realm&amp;gt;" &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(2) Append keytab for AD Account into spnego.service.keytab on all hosts running oozie servers referenced by the loadbalancer. 
    kadmin.local -q "ktadd -k ambari.server.keytab ambari-server@EXAMPLE.COM" &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(3) Verify if the keytabs has been appended.
    klist -ekt spnego.service.keytab&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
(4) Move the newly merged  spnego.service.keytab on all hosts running oozie servers referenced by the loadbalancer.
After keytabs are updated, Restart Oozie service from Ambari UI. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;   
To Verify if loadbancer is working or not. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(1) Stop the oozie server1 and run the below command
  oozie admin -oozie &lt;A href="http://load-balancer-url:10000/oozie" target="_blank"&gt;http://load-balancer-url:10000/oozie&lt;/A&gt; -status
  You should get success response. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;(2) Start the oozie server1 and Stop the oozie server2 and run the below command  
oozie admin -oozie &lt;A href="http://load-balancer-url:10000/oozie" target="_blank"&gt;http://load-balancer-url:10000/oozie&lt;/A&gt; -status
  You should get success response.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2016 09:55:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Server-not-found-error-for-loadBalncer-in-Oozie-HA-in/m-p/108255#M42457</guid>
      <dc:creator>sprakash</dc:creator>
      <dc:date>2016-10-01T09:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Server not found error for loadBalncer in Oozie HA in kerberized cluster.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Server-not-found-error-for-loadBalncer-in-Oozie-HA-in/m-p/108256#M42458</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3917/sprakash.html" nodeid="3917"&gt;@sprakash&lt;/A&gt; it worked after  adding oozie.authentication.kerberos.principal = *  . I missed to set oozie.authentication.kerberos.principal = *. It was not mentioned in HDP docs.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2016 22:19:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Server-not-found-error-for-loadBalncer-in-Oozie-HA-in/m-p/108256#M42458</guid>
      <dc:creator>kmantri1991</dc:creator>
      <dc:date>2016-10-01T22:19:03Z</dc:date>
    </item>
  </channel>
</rss>

