I know this is probably not the answer you’re looking for, but at my work we never even do in-place upgrades from one version of rhel to the next. Always a fresh install on a new server, then migration of each service.
If that sounds painful, it could be a good opportunity to dabble in some configuration management (like Ansible) or at least thorough build docs of how to get a bare server into the state you want.
The steps would basically be:
Fresh OS install on new server
Install each application and get it running.
One by one, stop the application, copy data (files and/or databases) from old server, start application, troubleshoot until it’s happy
Switch DNS to new server
Decommission old server
It’s a bit harder if it’s a physical machine and you can’t spin up a new one simultaneously. With that, you just have to make a backup to an external drive and schedule some downtime.
I know this is probably not the answer you’re looking for, but at my work we never even do in-place upgrades from one version of rhel to the next. Always a fresh install on a new server, then migration of each service.
If that sounds painful, it could be a good opportunity to dabble in some configuration management (like Ansible) or at least thorough build docs of how to get a bare server into the state you want.
The steps would basically be:
It’s a bit harder if it’s a physical machine and you can’t spin up a new one simultaneously. With that, you just have to make a backup to an external drive and schedule some downtime.