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.

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

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.

bash
hostname -f
cat /etc/fedora-release
ipa --version
ipactl status
ipa config-show
ipa server-find
ipa topologysegment-find domain
ipa topologysegment-find ca
kinit admin
ipa user-find --sizelimit=5
ipa 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.

bash
mkdir -p /root/ipa-maintenance/$(date +%F)
ipa-backup --data --logs
cp -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.

bash
dnf upgrade --refresh
reboot
ipactl status
kinit admin
ipa user-show admin
ipa host-show client01.example.test
ipa-replica-manage list
ipa topologysegment-find domain
ipa 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.

bash
ssh client01.example.test
getent passwd opsallowed
id opsallowed
kinit opsallowed
klist
sssctl domain-status example.test
sssctl user-checks opsallowed
sudo -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.

bash
systemctl status sssd
sssctl cache-status
sssctl cache-expire -E
systemctl restart sssd
journalctl -u sssd --since "15 minutes ago"

Result Check

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.