Hello Group,
I am installed some application running on top of Centos 5.2 OS and these applications are running fine. However, we are thinking of upgrading our 5.2 Centos to 5.7 (hot upgrade). That is we want to upgrade from 5.2 Centos to 5.7 Centos and not disturb the applications.
Is it possible? Could someone please help.
On 10/18/11 3:02 PM, Vinay Nagrik wrote:
I am installed some application running on top of Centos 5.2 OS and these applications are running fine. However, we are thinking of upgrading our 5.2 Centos to 5.7 (hot upgrade). That is we want to upgrade from 5.2 Centos to 5.7 Centos and not disturb the applications.
Is it possible? Could someone please help.
assuming those applications didn't replace system files that are under RPM management, then a yum update should be just fine.
I recently upgraded a system that had been left at 5.4 a little too long, and found I had to update yum and some other things first, before the full yum update would work, I also had to do a yum cleanall after that update of yum itself.
do watch the output of the yum update for `rpmnew` files, and diff each of these with your system files, and merge the changes manually (I usually copy my stuff from the old file to the rpmnew file, then mv x.rpm x...) this is typically .conf files.
Vreme: 10/19/2011 12:18 AM, John R Pierce piše:
On 10/18/11 3:02 PM, Vinay Nagrik wrote:
I am installed some application running on top of Centos 5.2 OS and these applications are running fine. However, we are thinking of upgrading our 5.2 Centos to 5.7 (hot upgrade). That is we want to upgrade from 5.2 Centos to 5.7 Centos and not disturb the applications.
Is it possible? Could someone please help.
assuming those applications didn't replace system files that are under RPM management, then a yum update should be just fine.
I recently upgraded a system that had been left at 5.4 a little too long, and found I had to update yum and some other things first, before the full yum update would work, I also had to do a yum cleanall after that update of yum itself.
do watch the output of the yum update for `rpmnew` files, and diff each of these with your system files, and merge the changes manually (I usually copy my stuff from the old file to the rpmnew file, then mv x.rpm x...) this is typically .conf files.
Shouldn't he run "yum upgrade" instead of update? upgrade will take into account any possible obsoletes.
On 10/18/11 4:16 PM, Ljubomir Ljubojevic wrote:
Shouldn't he run "yum upgrade" instead of update? upgrade will take into account any possible obsoletes.
as far as I know, those are equivalent.
upgrade is equivalent to update with --obsoletes and --obsoletes is true by default:
# grep obsoletes /etc/yum.conf obsoletes=1
On Tue, Oct 18, 2011 at 5:02 PM, Vinay Nagrik vnagrik@gmail.com wrote:
Hello Group,
I am installed some application running on top of Centos 5.2 OS and these applications are running fine. However, we are thinking of upgrading our 5.2 Centos to 5.7 (hot upgrade). That is we want to upgrade from 5.2 Centos to 5.7 Centos and not disturb the applications.
Is it possible? Could someone please help.
It is rare for a 'yum update' to disturb already working applications. It is possible of course, but the point of 'enterprise' distributions is that a lot of care is taken to not break things (i.e. make changes that aren't backwards compatible) within a major release version.
Not sure if it is necessary but there were some quirks in the updates along the way that might make it a good idea to:
yum update glibc* rpm* yum* python* before doing a full 'yum update'.
Hello Group,
I am installed some application running on top of Centos 5.2 OS and these applications are running fine. However, we are thinking of upgrading our 5.2 Centos to 5.7 (hot upgrade). That is we want to upgrade from 5.2 Centos to 5.7 Centos and not disturb the applications.
Is it possible? Could someone please help.
It is rare for a 'yum update' to disturb already working applications. It is possible of course, but the point of 'enterprise' distributions is that a lot of care is taken to not break things (i.e. make changes that aren't backwards compatible) within a major release version.
Not sure if it is necessary but there were some quirks in the updates along the way that might make it a good idea to:
yum update glibc* rpm* yum* python* before doing a full 'yum update'.
I might suggest a yum clean all before the above command. I've seen a 5.0 yum update to a 5.6 without issue, but there was very little on the server.
On 10/18/2011 9:15 PM, Barry Brimer wrote:
Hello Group,
I am installed some application running on top of Centos 5.2 OS and these applications are running fine. However, we are thinking of upgrading our 5.2 Centos to 5.7 (hot upgrade). That is we want to upgrade from 5.2 Centos to 5.7 Centos and not disturb the applications.
Is it possible? Could someone please help.
It is rare for a 'yum update' to disturb already working applications. It is possible of course, but the point of 'enterprise' distributions is that a lot of care is taken to not break things (i.e. make changes that aren't backwards compatible) within a major release version.
Not sure if it is necessary but there were some quirks in the updates along the way that might make it a good idea to:
yum update glibc* rpm* yum* python* before doing a full 'yum update'.
I might suggest a yum clean all before the above command. I've seen a 5.0 yum update to a 5.6 without issue, but there was very little on the server.
Actually, I generally do something like this when there is a new version of yum:
yum clean all yum update glibc* rpm* yum* python* yum clean all yum update
This lets the new yum version recreate everything so there are less likely to be any issues.