Upgrade os from centos 7 to rhel8 with mongodb 5.0 replicaset

Ok thanks, I did it on the secondary node where the os was already upgraded. It seems ok. When the os team will upgrade the other nodes I’ll do the same. When it will be the primary’s turn, I’ll do a stepdown before.