Overview
Part 8 treats FreeIPA updates as an operations process. A FreeIPA server is not a single package but a combination of LDAP, Kerberos, Dogtag CA, optional DNS, Apache, SSSD integration and replication. A blind package update is therefore not an acceptance test.
The examples stay on Fedora 44 and example.test. In production, distribution, FreeIPA version, clients, replicas and external dependencies must fit the maintenance window.
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
Before the Update: Capture State
Before every update, capture the current state. The goal is not only a backup, but also a comparison baseline for later.
hostname -fcat /etc/fedora-releaseipa --versionipactl statusipa config-showipa server-findipa topologysegment-find domainipa topologysegment-find cakinit adminipa user-find --sizelimit=5ipa host-find --sizelimit=5
Backup Before the Window
An update without a current FreeIPA backup is not acceptable in operations. With CA roles and replicas, decide upfront which server would be restored or replaced.
mkdir -p /root/ipa-maintenance/$(date +%F)ipa-backup --data --logscp -a /var/lib/ipa/backup /root/ipa-maintenance/$(date +%F)/
Update Order
In a replicated environment, do not update everything at once. Update one server, validate replication, Kerberos, LDAP and client login, then continue with the next server.
Define maintenance window and rollback point.
Update primary or replica one at a time, never in parallel.
After each server validate ipactl, LDAP, Kerberos and replication.
Update clients only after server validation or explicitly validate cache behavior.
Close monitoring and tickets only after a real login and policy test succeeded.
dnf upgrade --refreshrebootipactl statuskinit adminipa user-show adminipa host-show client01.example.testipa-replica-manage listipa topologysegment-find domainipa topologysegment-find ca
Check Client Compatibility
After server updates, a Fedora client must still resolve users, obtain tickets and use central policies. This matters more than a green web UI.
ssh client01.example.testgetent passwd opsallowedid opsallowedkinit opsallowedklistsssctl domain-status example.testsssctl user-checks opsallowedsudo -l -U opsallowed
Handle SSSD Cache Deliberately
Not every post-update failure is a server problem. SSSD can cache old policy or identity data. Cache cleanup is a diagnostic tool, not a substitute for root cause analysis.
systemctl status sssdsssctl cache-statussssctl cache-expire -Esystemctl restart sssdjournalctl -u sssd --since "15 minutes ago"
Result Check
| Area | Check | Result |
|---|---|---|
| Server | ipactl status after reboot | PASS required |
| Kerberos | kinit admin and klist | PASS required |
| LDAP | ipa user-show / host-show | PASS required |
| Replication | domain and CA topology segments visible | PASS required |
| Client | getent, id, kinit on Fedora 44 client | PASS required |
| Policy | HBAC/sudo test against client | PASS required |
| Cache | SSSD status and logs checked | PASS required |
Server
- Check
- ipactl status after reboot
- Result
- PASS required
Kerberos
- Check
- kinit admin and klist
- Result
- PASS required
LDAP
- Check
- ipa user-show / host-show
- Result
- PASS required
Replication
- Check
- domain and CA topology segments visible
- Result
- PASS required
Client
- Check
- getent, id, kinit on Fedora 44 client
- Result
- PASS required
Policy
- Check
- HBAC/sudo test against client
- Result
- PASS required
Cache
- Check
- SSSD status and logs checked
- Result
- PASS required
Do Not Skip This
For identity systems, an update is complete only when login, policy evaluation and replication are technically proven. A successful package update alone is not a closure criterion.



