How to migrate MongoDB server from RHEL7 to RHEL8

Hi Team,

We are upgrading our OS from RHEL7 to RHEL8, this is an in-place upgrade where the OS will be upgraded on the same VM. What’s the recommended approach to migrate our MongoDB server to the new OS RHEL8? Do we just install MongoDB binaries for RHEL8 and restart the database? We are not upgrading mongo only the OS - our current versions are 4.4 and 7.0.

Thanks for any help.

Jonathan