<?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 kerberos in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/227072#M70156</link>
    <description>&lt;P&gt;@&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;Jay SenSharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your infomation and the document.&lt;/P&gt;&lt;P&gt;I refer to it.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Oct 2017 11:16:16 GMT</pubDate>
    <dc:creator>shidarah</dc:creator>
    <dc:date>2017-10-25T11:16:16Z</dc:date>
    <item>
      <title>How to setup High Availability for kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/227068#M70152</link>
      <description>&lt;P&gt;I want to use High Availability for kerberos.&lt;/P&gt;&lt;P&gt;If anyone have the method, Please give me the infomation.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:26:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/227068#M70152</guid>
      <dc:creator>shidarah</dc:creator>
      <dc:date>2022-09-16T12:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/227069#M70153</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/45499/shidarah.html" nodeid="45499"&gt;@Hiroshi Shidara&lt;/A&gt;&lt;/P&gt;&lt;P&gt;From Ambari 2.4 onwards you can define  "kdc_hosts"    which can have comma separated values for KDC : &lt;A href="https://issues.apache.org/jira/browse/AMBARI-13240" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-13240&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Apache Ambari Docs: &lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Automated+Kerberizaton#AutomatedKerberizaton-kdc_hosts(&amp;gt;=Ambari2.4.0)" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Automated+Kerberizaton#AutomatedKerberizaton-kdc_hosts(&amp;gt;=Ambari2.4.0)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 18:57:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/227069#M70153</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-24T18:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/227070#M70154</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/45499/shidarah.html" nodeid="45499"&gt;@Hiroshi Shidara&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Your question is a bit broad.  Are you looking to set up a KDC (or Active Directory) for high availability or configure Ambari to connect to replicated KDCs or Active Directories?&lt;/P&gt;&lt;P&gt;If you are looking to set up a replicated KDC, this is probably not the forum for that. However if you are setting up an MIT KDC, you can following docs from &lt;A target="_blank" href="https://web.mit.edu/kerberos/krb5-devel/doc/admin/install_kdc.html"&gt;https://web.mit.edu/kerberos/krb5-devel/doc/admin/install_kdc.html&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;From the Ambari side, as of Ambari 2.4.0, you can specify multiple KDC hosts to be set in the Ambari-managed krb5.conf file.  Also, you will want to set the master_kdc value for the realm. There is a field in the Enable Kerberos Wizard in Ambari 2.5.1 and above for this (Advanced kerberos-env -&amp;gt; Master KDC host) or you can manually add it to the krb5.conf template under "Advanced krb5-conf". &lt;/P&gt;&lt;P&gt;Whether the krb5,conf file is managed by Ambari or not, the realm specification for your realm should look something like&lt;/P&gt;&lt;PRE&gt;    EXAMPLE.COM = {
        kdc = kdc1.example.com
        kdc = kdc2.example.com
        master_kdc = kdc1.example.com
    }&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Oct 2017 19:22:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/227070#M70154</guid>
      <dc:creator>rlevas</dc:creator>
      <dc:date>2017-10-24T19:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/227071#M70155</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/322/rlevas.html" nodeid="322"&gt;@Robert Levas&lt;/A&gt;&lt;/P&gt;&lt;P&gt;@Jay Sensharma&lt;/P&gt;&lt;P&gt;Thank you for your infomation.&lt;/P&gt;&lt;P&gt;We will try the practice.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 11:14:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/227071#M70155</guid>
      <dc:creator>shidarah</dc:creator>
      <dc:date>2017-10-25T11:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/227072#M70156</link>
      <description>&lt;P&gt;@&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;Jay SenSharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your infomation and the document.&lt;/P&gt;&lt;P&gt;I refer to it.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 11:16:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/227072#M70156</guid>
      <dc:creator>shidarah</dc:creator>
      <dc:date>2017-10-25T11:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/227073#M70157</link>
      <description>&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;Could you please clarify me some doubts.&lt;/P&gt;&lt;P&gt;I have installed kerberos in my cluster and its working fine.&lt;/P&gt;&lt;P&gt;Now i have to enable HA for Kerberos so as per my understanding I should install KDC in another server which acts as Standby and then I should update krb5.conf file on both servers as mentioned above.&lt;/P&gt;&lt;P&gt;Is my understanding correct? if not could you please guide me through the steps to enable HA.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Manjunath P N&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 16:29:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/227073#M70157</guid>
      <dc:creator>Manjunath</dc:creator>
      <dc:date>2019-04-08T16:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/227074#M70158</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/103270/manjunathn79.html" nodeid="103270"&gt;@Manjunath P N&lt;/A&gt;.   I am not sure of all the steps, but they should be outlined here - &lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="https://web.mit.edu/kerberos/krb5-devel/doc/admin/install_kdc.html" target="_blank"&gt;https://web.mit.edu/kerberos/krb5-devel/doc/admin/install_kdc.html&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 19:18:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/227074#M70158</guid>
      <dc:creator>rlevas</dc:creator>
      <dc:date>2019-04-08T19:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/393414#M70160</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11880"&gt;@All&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone suggest how to set up Kerberos with high availability?&lt;/P&gt;&lt;P&gt;here are my setup steps :&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;sudo cat /etc/krb5.conf&lt;BR /&gt;[libdefaults]&lt;BR /&gt;default_realm = EXAMPLE.COM&lt;/P&gt;&lt;P&gt;# The following krb5.conf variables are only for MIT Kerberos.&lt;BR /&gt;kdc_timesync = 1&lt;BR /&gt;ccache_type = 4&lt;BR /&gt;forwardable = true&lt;BR /&gt;proxiable = true&lt;BR /&gt;rdns = false&lt;/P&gt;&lt;P&gt;[realms]&lt;BR /&gt;EXAMPLE.COM = {&lt;BR /&gt;kdc = kdc01.example.com&lt;BR /&gt;kdc = kdc02.example.com&lt;BR /&gt;admin_server = kdc01.example.com&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;[domain_realm]&lt;BR /&gt;.example.com = EXAMPLE.COM&lt;BR /&gt;example.com = EXAMPLE.COM&lt;BR /&gt;[logging]&lt;BR /&gt;kdc = FILE:/var/log/kerberos/krb5kdc.log&lt;BR /&gt;admin_server = FILE:/var/log/kerberos/kadmin.log&lt;BR /&gt;default = FILE:/var/log/kerberos/krb5lib.log&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;sudo cat /etc/krb5kdc/kdc.conf&lt;BR /&gt;[kdcdefaults]&lt;BR /&gt;kdc_ports = 750,88&lt;/P&gt;&lt;P&gt;[realms]&lt;BR /&gt;EXAMPLE.COM = {&lt;BR /&gt;database_name = /var/lib/krb5kdc/principal&lt;BR /&gt;admin_keytab = FILE:/etc/krb5kdc/kadm5.keytab&lt;BR /&gt;acl_file = /etc/krb5kdc/kadm5.acl&lt;BR /&gt;key_stash_file = /etc/krb5kdc/stash&lt;BR /&gt;kdc_ports = 750,88&lt;BR /&gt;max_life = 10h 0m 0s&lt;BR /&gt;max_renewable_life = 7d 0h 0m 0s&lt;BR /&gt;#master_key_type = aes256-cts&lt;BR /&gt;#supported_enctypes = aes256-cts:normal aes128-cts:normal&lt;BR /&gt;default_principal_flags = +preauth&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;sudo cat /etc/krb5kdc/kadm5.acl&lt;BR /&gt;# This file Is the access control list for krb5 administration.&lt;BR /&gt;# When this file is edited run service krb5-admin-server restart to activate&lt;BR /&gt;# One common way to set up Kerberos administration is to allow any principal&lt;BR /&gt;# ending in /admin is given full administrative rights.&lt;BR /&gt;# To enable this, uncomment the following line:&lt;BR /&gt;# */admin *&lt;BR /&gt;*/admin@EXAMPLE.COM *&lt;/P&gt;&lt;P&gt;kadmin.local: listprincs&lt;BR /&gt;K/M@EXAMPLE.COM&lt;BR /&gt;host/kdc01.example.com@EXAMPLE.COM&lt;BR /&gt;host/kdc02.example.com@EXAMPLE.COM&lt;BR /&gt;kadmin/admin@EXAMPLE.COM&lt;BR /&gt;kadmin/changepw@EXAMPLE.COM&lt;BR /&gt;kadmin/kdc01.example.com@EXAMPLE.COM&lt;BR /&gt;krbtgt/EXAMPLE.COM@EXAMPLE.COM&lt;BR /&gt;root/admin@EXAMPLE.COM&lt;BR /&gt;ubuntu/admin@EXAMPLE.COM&lt;BR /&gt;ubuntu@EXAMPLE.COM&lt;/P&gt;&lt;P&gt;Extract the&amp;nbsp;key file&amp;nbsp;for the&amp;nbsp;kdc02&amp;nbsp;principal, which is the server we are on:&lt;/P&gt;&lt;P&gt;$ sudo kadmin -p ubuntu/admin -q "ktadd host/kdc02.example.com"&lt;BR /&gt;create&amp;nbsp;/etc/krb5kdc/kpropd.acl:&lt;/P&gt;&lt;P&gt;host/kdc01.example.com@EXAMPLE.COM&lt;BR /&gt;host/kdc02.example.com@EXAMPLE.COM&lt;BR /&gt;Now install&amp;nbsp;kpropd&amp;nbsp;daemon, which listens for connections from the&amp;nbsp;kprop&amp;nbsp;utility from the&amp;nbsp;primary KDC:&lt;/P&gt;&lt;P&gt;$ sudo apt install krb5-kpropd&lt;BR /&gt;From a terminal on the&amp;nbsp;primary KDC, create a dump file of the principal database:&lt;/P&gt;&lt;P&gt;$ sudo kdb5_util dump /var/lib/krb5kdc/dump&lt;BR /&gt;Still on the&amp;nbsp;Primary KDC, extract its&amp;nbsp;key:&lt;/P&gt;&lt;P&gt;$ sudo kadmin.local -q "ktadd host/kdc01.example.com"&lt;BR /&gt;On the&amp;nbsp;primary KDC, run the&amp;nbsp;kprop&amp;nbsp;utility to push the database dump made before to the secondary KDC:&lt;/P&gt;&lt;P&gt;$ sudo kprop -r EXAMPLE.COM -f /var/lib/krb5kdc/dump kdc02.example.com&lt;BR /&gt;kprop: Key table entry not found while getting initial credentials&lt;BR /&gt;this is what i am getting error . please help if anyonce has already did it. i am not using ambari and any other ting normally i am setting up on ec2 instances.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 08:32:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/393414#M70160</guid>
      <dc:creator>thapas</dc:creator>
      <dc:date>2024-09-12T08:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup High Availability for kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/393441#M70161</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/116478"&gt;@thapas&lt;/a&gt;, Welcome to the Cloudera Community. As this is an older post, you would have a better chance of receiving a resolution by&lt;A href="“https://community.cloudera.com/t5/forums/postpage/board-id/Questions”" target="_blank"&gt; starting a new thread&lt;/A&gt;. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 10:11:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-High-Availability-for-kerberos/m-p/393441#M70161</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-09-13T10:11:15Z</dc:date>
    </item>
  </channel>
</rss>

