<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 18.10.2016 13:52, Deepak Dimri
      wrote:<br>
    </div>
    <blockquote
cite="mid:BN6PR18MB1524F5D2E6514309FBFE0292F5D30@BN6PR18MB1524.namprd18.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper" style="font-size:12pt;
        color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
        <p>Thanks Martin, I had to run ipa-server-install --uninstall -U
          to get rid of IPA client error message on the replica server
          and then re run ipa-replica-install script to run it ok. But
          it does not look clean through - as i understand we do need to
          run ipa-server-install script ( same as master) on the replica
          server but that script by default installs the ipa
          client which then cause replica install to fail.  Is there any
          way i can avoid IPA client installation on replica?<br>
        </p>
        <p><br>
        </p>
      </div>
    </blockquote>
    <br>
    You need to run ipa-replica-install installer and client is required
    part of any server. Can you be more specific what kind of errors are
    you getting? Logs?<br>
    <br>
    Martin^2<br>
    <blockquote
cite="mid:BN6PR18MB1524F5D2E6514309FBFE0292F5D30@BN6PR18MB1524.namprd18.prod.outlook.com"
      type="cite">
      <div id="divtagdefaultwrapper" style="font-size:12pt;
        color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
        <p>
        </p>
        <p>Thanks,</p>
        <p class="p1"><span class="s1"></span></p>
        <p>Deepak</p>
        <br>
        <br>
        <div style="color:rgb(0,0,0)">
          <div>
            <hr tabindex="-1" style="display:inline-block; width:98%">
            <div id="x_divRplyFwdMsg" dir="ltr"><font
                style="font-size:11pt" color="#000000" face="Calibri,
                sans-serif"><b>From:</b> Martin Babinsky
                <a class="moz-txt-link-rfc2396E" href="mailto:mbabinsk@redhat.com"><mbabinsk@redhat.com></a><br>
                <b>Sent:</b> Monday, October 17, 2016 1:29 AM<br>
                <b>To:</b> Deepak Dimri; Martin Basti;
                <a class="moz-txt-link-abbreviated" href="mailto:freeipa-users@redhat.com">freeipa-users@redhat.com</a><br>
                <b>Subject:</b> Re: [Freeipa-users] Not able to pass
                through ipa-replica-install on centos 7</font>
              <div> </div>
            </div>
          </div>
          <font size="2"><span style="font-size:10pt">
              <div class="PlainText">On 10/15/2016 12:41 PM, Deepak
                Dimri wrote:<br>
                > Thanks Martin for the reply.<br>
                ><br>
                > when i try 'ipa-client-install --uninstall' then i
                am getting bellow<br>
                > message:<br>
                ><br>
                ><br>
                > ipa-client-install --uninstall<br>
                > IPA client is configured as a part of IPA server on
                this system.<br>
                > Refer to ipa-server-install for uninstallation.<br>
                ><br>
                ><br>
                > How can i raise domain level to 1 in v4? i tried<br>
                ><br>
                > ipa *domainlevel-set* 1<br>
                ><br>
                > but i am getting ipa: ERROR: unknown command
                'domainlevel-set'<br>
                ><br>
                > Thanks again for your help on this.<br>
                ><br>
                > Best Regards,<br>
                > Deepak<br>
                ><br>
                ><br>
                <br>
                Hi Deepak,<br>
                <br>
                IIRC Centos 7 has FreeIPA 4.2.0-15 that does not support
                replica <br>
                promotion and domain levels other than 0.<br>
                <br>
                The error from ipa-replica-install comes probably from a
                leftovers of <br>
                previous client enrollment.<br>
                <br>
                Just run `ipa-client-install --uninstall -U` and then
                re-run replica <br>
                installation as usual.<br>
                <br>
                >
                ------------------------------------------------------------------------<br>
                > *From:* Martin Basti <a class="moz-txt-link-rfc2396E" href="mailto:mbasti@redhat.com"><mbasti@redhat.com></a><br>
                > *Sent:* Saturday, October 15, 2016 4:54 AM<br>
                > *To:* Deepak Dimri; <a class="moz-txt-link-abbreviated" href="mailto:freeipa-users@redhat.com">freeipa-users@redhat.com</a><br>
                > *Subject:* Re: [Freeipa-users] Not able to pass
                through<br>
                > ipa-replica-install on centos 7<br>
                ><br>
                ><br>
                ><br>
                ><br>
                > On 14.10.2016 18:58, Deepak Dimri wrote:<br>
                >><br>
                >> Hi All,<br>
                >><br>
                >><br>
                >> I am trying to configure replication between
                two FreeIPA centos 7<br>
                >> servers.  As per the document i need  same
                FreeIPA version running on<br>
                >> both the machines, which i have, and run
                ipa-replica-prepare on the<br>
                >> master and then simply run ipa-replica-install
                on the replica server<br>
                >> along with replica file.  But i am unable to
                get pass the below error<br>
                >> message:<br>
                >><br>
                >><br>
                >> [root@ip-172-31-23-230 ipa]#
                ipa-replica-install<br>
                >> /var/lib/ipa/replica-info-replica.ipa.com.gpg<br>
                >><br>
                >>
                ipa.ipapython.install.cli.install_tool(Replica):
                ERROR    IPA client<br>
                >> is already configured on this system.<br>
                >><br>
                >> Please uninstall it first before configuring
                the replica, using<br>
                >> 'ipa-client-install --uninstall'.<br>
                >><br>
                >><br>
                >> What should i be doing to get around this
                error? the error looks<br>
                >> missleading as i am trying to install replica
                and not ipa client<br>
                >><br>
                >><br>
                >> Thanks,<br>
                >><br>
                >> Deepak<br>
                >><br>
                >><br>
                >><br>
                > Hi,<br>
                ><br>
                > have you tried ipa-client-install --uninstall?<br>
                ><br>
                > Replica cannot be installed on system where client
                is already installed<br>
                > (with domain level 0, your case)<br>
                ><br>
                > Martin<br>
                ><br>
                ><br>
                <br>
                <br>
                -- <br>
                Martin^3 Babinsky<br>
              </div>
            </span></font></div>
      </div>
    </blockquote>
    <br>
  </body>
</html>