How to change DNS name or IP of an IPA server
Environment
- Red Hat Enterprise Linux 6.x
- IPA server 2.x
Issue
How to change hostname or IP of an IPA server.
Resolution
The official supported way how to rename the IPA server is the following:
- Create another replica of an IPA server with desired hostname/IP.
- Verify that the replicated server is working properly.
- Disconnect the "old" IPA server.
- Test all functions against new IPA server with the new hostname.
- Decommission the old IPA server.
Root Cause
There is no official way how to achieve this task without replication. It is too complex and dangerous to do it on a single machine.
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
