• 0 Posts
  • 3 Comments
Joined 1 year ago
cake
Cake day: October 23rd, 2023

help-circle


  • 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:

    1. Fresh OS install on new server
    2. Install each application and get it running.
    3. One by one, stop the application, copy data (files and/or databases) from old server, start application, troubleshoot until it’s happy
    4. Switch DNS to new server
    5. 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.