#3656 [RFE] FreeIPA-to-FreeIPA migration
Opened 10 years ago by rcritten. Modified 20 days ago

Provide a tool to migrate from IPA to IPA.

Currently IPA can migrate users and groups from a generic LDAP server, but if you already have an IPA deployment there is currently no mechanism to migrate IPA-specific data such as SUDO rules, HBAC, automount, hosts, services, etc (these last two may not be possible as re-enrollment of the client is required).


Unless we can preserve the kerberos keys and certs and migrate them to the new system. Thsi would generally mean that we carry over all the master keys and certs too.

Simo had worked out a way to preserve the Kerberos master key long ago. I'm not sure if it is still applicable today.

My thought was that you end up with a new Kerberos master key and a new CA, which means that all migrated principals need new keytabs, and certificates are excluded from the migration.

From Pter Spacek:

May be that we could provide a tool for FreeIPA domain rename, so you can create replica, disconnect the replica and then rename the FreeIPA domain to something else (renaming would include master-key regeneration etc.).

This solves two problems at once:

  • FreeIPA-to-FreeIPA migration
  • FreeIPA domain renaming

Related ticket solving migration from Kerberos realm: #4285.

Metadata Update from @rcritten:
- Issue assigned to someone
- Issue set to the milestone: Future Releases

7 years ago

Metadata Update from @mkosek:
- Custom field affects_doc reset
- Custom field design adjusted to https://www.freeipa.org/page/V4/FreeIPA_to_FreeIPA_Migration
- Custom field tester adjusted to wanted
- Issue close_status updated to: None

7 years ago

Additional user stories:

As an IPA administrator I want to migrate IPA from dev/staging environment to production environment.

As an IPA administrator I want to migrate from one operating system to another. I.e. Fedora/CentOS to RHEL.

6 years ago
6 years ago

master:

  • d4859db Design for IPA-to-IPA migration

master:

  • 5c86141 Issue 3656 - Extend schema function to return MAY or MUST attrs

ipa-4-11:

  • 6dc987a Issue 3656 - Extend schema function to return MAY or MUST attrs

master:

  • cbe1873 IPA-to-IPA migration tool (beta)

Login to comment on this ticket.

Metadata