How to change the DNS name of an IPA server

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 6.x
  • Red Hat Enterprise Linux 7.x
  • Red Hat Enterprise Linux 8.x
  • Red Hat Enterprise Linux 9.x

  • IPA/IdM

Issue

  • How to change the hostname of an IPA server?

Resolution

  • The official supported way how to rename the IPA server is the following:

1] Create another replica of an IPA server with desired hostname.
2] Verify that the replicated server is working properly.
3] Configure the newly installed server as CA renewal master and CRL generation master.
4] Disconnect the "old" IPA server.
5] Test all functions against new IPA server with the new hostname.
6] Decommission the old IPA server.

Root Cause

  • There is no supported way how to achieve this task without replication. It is too complex and dangerous to do it on a single machine.
  • Component
  • ipa

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments