Overview
Part 11 puts FreeIPA high availability into realistic terms. FreeIPA does not become highly available through a simple load balancer. Multiple servers, correct replication, DNS/SRV resolution, CA roles, client configuration and practiced maintenance workflows matter.
Lab Baseline
Domain: example.testRealm: EXAMPLE.TESTPrimary: ipa01.example.testReplica: ipa02.example.testClient: client01.example.testDistribution: Fedora Linux 44Goal: production-like FreeIPA operations without using real customer domains
Target State
At least two FreeIPA servers in separate failure domains.
Clients know multiple servers or use DNS SRV records.
LDAP/Kerberos and CA roles are distributed deliberately.
Replication is checked through topology segments, not host ping.
Maintenance happens server by server with login, policy and replication tests after each step.
Install a Replica
# On ipa02.example.test after Fedora 44 base installation:dnf install -y freeipa-server freeipa-clientipa-client-install --domain example.test --realm EXAMPLE.TEST --server ipa01.example.testipa-replica-install --server ipa01.example.test --setup-ca
Check Topology
kinit adminipa server-findipa topologysegment-find domainipa topologysegment-find caipa-replica-manage listipa-csreplica-manage list
DNS and Client Failover
FreeIPA clients should not depend on a single hostname. Either configure multiple servers on the client or operate DNS SRV records correctly.
dig SRV _ldap._tcp.example.testdig SRV _kerberos._tcp.example.testsssctl domain-status example.testgrep -E 'ipa_server|ipa_domain|krb5_realm' /etc/sssd/sssd.conf
Maintain One Server at a Time
HA is proven during maintenance, not during normal operation. One server is maintained while clients and the second server must continue to work.
# Example acceptance for ipa01 maintenance:ssh ipa01.example.test 'ipactl stop'ssh client01.example.test 'getent passwd opsallowed; kinit opsallowed; klist'ssh ipa02.example.test 'ipactl status; ipa user-show admin'ssh ipa01.example.test 'ipactl start'ipa topologysegment-find domainipa topologysegment-find ca
Do Not Forget CA Roles
Many failures only appear later when certificates expire or new hosts are enrolled. CA roles therefore belong in HA planning, not just LDAP/Kerberos.
ipa server-role-find --role 'CA server'ipa server-role-find --role 'DNS server'ipa cert-find --sizelimit=5
Result Check
| Area | Check | Result |
|---|---|---|
| Server | at least two FreeIPA servers visible | PASS required |
| Replication | domain and CA topology segments plausible | PASS required |
| DNS | SRV records for LDAP/Kerberos verifiable | PASS required |
| Client | SSSD knows failover path | PASS required |
| Maintenance | login works while one server is stopped | PASS required |
| CA | CA roles and certificate check validated | PASS required |
Server
- Check
- at least two FreeIPA servers visible
- Result
- PASS required
Replication
- Check
- domain and CA topology segments plausible
- Result
- PASS required
DNS
- Check
- SRV records for LDAP/Kerberos verifiable
- Result
- PASS required
Client
- Check
- SSSD knows failover path
- Result
- PASS required
Maintenance
- Check
- login works while one server is stopped
- Result
- PASS required
CA
- Check
- CA roles and certificate check validated
- Result
- PASS required
Operational Reality
FreeIPA HA is less a product switch than an operating model. Without regular tests of replication, DNS, certificates, client failover and maintenance, multiple servers do not yet equal reliable high availability.
Do Not Skip This
A load balancer does not replace a FreeIPA HA concept.
Consider CA roles, DNS SRV and client failover together.
Test maintenance one server at a time; do not only document it.
Repeat replication and certificate checks regularly.



