--selfsign option for the original IPA server.
# yum install ipa-server bind bind-dyndb-ldapipa-server-install script.
7389 is free. This port is used by the master IPA server to communicate with the replica.
ipa-replica-prepare command on the master IPA server. The command requires the fully-qualified domain name of the replica machine. Using the --ip-address option automatically creates DNS entries for the replica, including the A and PTR records for the replica to the DNS.
# ipa-replica-prepare ipareplica.example.com --ip-address 192.168.1.2 Determining current realm name Getting domain name from LDAP Preparing replica for ipareplica.example.com from ipaserver.example.com Creating SSL certificate for the Directory Server Creating SSL certificate for the Web Server Copying additional files Finalizing configuration Packaging the replica into replica-info-ipareplica.example.com
ipa-replica-prepare, see Section B.5.2, “ipa-replica-prepare”.
/var/lib/ipa/ directory as a GPG-encrypted file. Each file is named specifically for the replica server for which it is intended, such as replica-info-ipareplica.example.com.gpg.
# scp /var/lib/ipa/replica-info-ipareplica.example.com.gpg root@ipareplica:/var/lib/ipa/# ipa-replica-install --setup-dns /var/lib/ipa/replica-info-ipareplica.example.com.gpgipareplica.example.com:
_ldap._tcp IN SRV 0 100 389 ipareplica.example.com _kerberos._tcp IN SRV 0 100 88 ipareplica.example.com _kerberos._udp IN SRV 0 100 88 ipareplica.example.com _kerberos-master._tcp IN SRV 0 100 88 ipareplica.example.com _kerberos-master._udp IN SRV 0 100 88 ipareplica.example.com _kpasswd._tcp IN SRV 0 100 464 ipareplica.example.com _kpasswd._udp IN SRV 0 100 464 ipareplica.example.com _ntp._udp IN SRV 0 100 123 ipareplica.example.com
ipa-dns-install command to install the DNS manually, then use the ipa dnsrecord-add command to add the required DNS records. For example:
# ipa-dns-install # ipa dnsrecord-add example.com @ --ns-rec ipareplica.example.com.
/var/log/pki-ca/debug, which may show error messages about being unable to find certain entries. For example:
[04/Feb/2011:22:29:03][http-9445-Processor25]: DatabasePanel comparetAndWaitEntries ou=people,o=ipaca not found, let's wait
# ipa-server-install --uninstall