As we know CentOS 7 will be EOL in June the 24th. I currently have 7.9 core installed in my network, however because of the EOL and other security risks I was wondering what my best option would be. Therefore I would like to have your guys opinion on this.
Should i:
-
Migrate to the latest centos version c9s? (Complete reinstall?)
-
something else?
2
Answers
I think it depends a lot on your environment, acceptable risk, sw you running, familarity with OS and so.
I’m in a similar position, need to migrate to something else.
On some less important system I moved on to Centos stream and some are now on Rocky.
Since I’m running ubuntu at work I moved to ubuntu 22.04 LTS on some.
Was going for Debian for my backup server but hit a snag with that to run bacula on debian I have to cmpile from source if I want dedup to work.
Upgrade is often easier than complete reinstall but reinstall is also a good time to look for upgrading the sw to use. If you go with upgrade or rolling upgrade you may end up with a pile of old software that is no longer used but still hang around.
So, without knowing more about your environment no one but you can figure out the best route.
I first converted the production machines to RHEL 7.9 with convert2rhel (provided by RedHat), then upgraded to RHEL 9 with leapp (again, provided by RedHat), then converted to Rocky 9 with a similar converter script provided by Rocky. It was a long (2 weeks) and painful (not that much) process, but I took the opportunity to update all the old tools to the latest possible version or their alternatives that have proven their capabilities.
My first intention was to completely switch the production machines to RHEL to avoid future similar operations, so they all went through RHEL for a short while. Then I realized I don’t need to pay for the license that i am not going to use anyway. There are probably other ways to do the above steps without RHEL in between, for example you can use AlmaLinux ELevate to upgrade and migrate CentOS servers to other RHEL derivatives without went through RHEL.
I left CentOS completely because I felt that a system where RHEL was tested, although reliable, was not stable enough for me.
Please note: What is written here is purely my opinion and no one has said that this is the way it should be done, so I offer it in the same way, not as a suggestion but to raise awareness about alternative methods