[Freeipa-devel] [PATCH] 185-188 Let replicas install without DNS

Martin Kosek mkosek at redhat.com
Wed Jan 4 19:38:30 UTC 2012


Patches 185-186 are needed to make ipa-replica-install run without
crashes.

How to test:

on server:
1) install the server (ipa.example.com is not resolvable)
# ipa-server-install -p kokos123 -a kokos123 --no-host-dns
--hostname=ipa.example.com

2) Add a record for replica.example.com to /etc/hosts
3) Prepare the replica (without 188 it refuses to create the replica
file)
# ipa-replica-prepare replica.example.com

on replica:
1) Add a record for ipa.example.com to /etc/hosts
2) Install replica (replica.example.com is not resolvable)
# ipa-replica-install --no-host-dns --ip-address=IP_ADDRESS REPLICA_FILE

The installer now use IP_ADDRESS to create a record /etc/hosts and make
the replica resolvable

----
Let ipa-replica-prepare and ipa-replica-install work without
proper DNS records as records in /etc/hosts are sufficient for
DS replication.

  1) ipa-replica-prepare now just checks if the replica hostname
     is resolvable (DNS records are not required). It is now able
     to prepare a replica file even when the replica IP address is
     present in /etc/hosts only.
  2) ipa-replica-install is now able to proceed when the hostname
     is not resolvable. It uses an IP address passed in a new
     option --ip-address to create a record in /etc/hosts in the
     same way as ipa-server-install does.

https://fedorahosted.org/freeipa/ticket/2139

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-185-fix-ldap-add-calls-in-replication-module.patch
Type: text/x-patch
Size: 3120 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120104/38feea2a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-186-prevent-service-restart-failures-in-ipa-replica-inst.patch
Type: text/x-patch
Size: 2765 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120104/38feea2a/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-187-fix-ldap-updates-in-ipa-replica-install.patch
Type: text/x-patch
Size: 1009 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120104/38feea2a/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-188-let-replicas-install-without-dns.patch
Type: text/x-patch
Size: 11979 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120104/38feea2a/attachment-0003.bin>


More information about the Freeipa-devel mailing list