Hi,

On Wed, May 10, 2023 at 1:43 PM Finn Fysj via FreeIPA-users <freeipa-users@lists.fedorahosted.org> wrote:
> Hi,
>
> if you want to install a RHEL8 or RHEL9 server with the same domain name,
> the recommended procedure would be to install a RHEL8 replica from your
> RHEL7 server, then a RHEL9 replica from your RHEL8 server.
> You can check this documentation:
>
>    - Migrating your IdM environment from RHEL 7 servers to RHEL 8 servers
>    [1]
>    - Migrating your IdM environment from RHEL 8 servers to RHEL 9 servers
>    [2]
>
> ipa migrate-ds is used when the new domain name is different from the old
> one and does not migrate all the data (only users and groups are migrated,
> not HBAC rules, sudo rules etc...). On the contrary, installation of a
> replica does not lose any data. And you don't need to worry about the SIDs.
>
> HTH,
> flo
>
> [1]
> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/...
> [2]
> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/...
>
> On Tue, May 9, 2023 at 2:35 PM Finn Fysj via FreeIPA-users <
> freeipa-users(a)lists.fedorahosted.org&gt; wrote:
Thank you for replying to me, Florence.

I'm aware that the recommneded method of migrating is:  RHEL 7 > 8 > 9.
However, I would like to do RHEL 7 > 9. I have tried this is a small test lab and it seems to be somewhat, OK. As I'm only interested in Users/Group.

As additoinal information; We will use the same Domain Name for the new instance aswell, though we do not want to install this as a replica part of existing old one.
Are there anything else we should look out for or be aware of? E.g Client already enrolled in Old Ipa instance?
If the ipa migrate-ds method is used, users and groups will be copied to the new server but not the hosts. Any enrolled client will remain enrolled to the old server, and will be completely unaware of the new server. If you want to enroll the existing clients to the new server, you will have to un-enroll them from the old one (ipa-client-install --uninstall), then enroll to the new one (ipa-client-install ...).

The ipa migrate-ds command also needs to be provided with parameters to ignore the SID attribute (--user-ignore-objectclass ipantuserattrs --user-ignore-attribute ipaNTSecurityIdentifier --group-ignore-objectclass ipantuserattrs --group-ignore-attribute ipaNTSecurityIdentifier should do the trick).

HTH,
flo
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue