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.

https://ipa01.example.test/ipa/ui/

Lab Baseline

Domain: example.test
Realm: EXAMPLE.TEST
Primary: ipa01.example.test
Replica: ipa02.example.test
Client: client01.example.test
Distribution: Fedora Linux 44
Goal: 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

bash
# On ipa02.example.test after Fedora 44 base installation:
dnf install -y freeipa-server freeipa-client
ipa-client-install --domain example.test --realm EXAMPLE.TEST --server ipa01.example.test
ipa-replica-install --server ipa01.example.test --setup-ca

Check Topology

bash
kinit admin
ipa server-find
ipa topologysegment-find domain
ipa topologysegment-find ca
ipa-replica-manage list
ipa-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.

bash
dig SRV _ldap._tcp.example.test
dig SRV _kerberos._tcp.example.test
sssctl domain-status example.test
grep -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.

bash
# 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 domain
ipa 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.

bash
ipa server-role-find --role 'CA server'
ipa server-role-find --role 'DNS server'
ipa cert-find --sizelimit=5

Result Check

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.