Solved

Yum centOS upgrade and roll back question

Posted on 2013-01-21
11
744 Views
Last Modified: 2013-02-05
We are running CentOS6.2 in production and wants to upgrade it to 6.3. I know upgrade will do it, but if I upgrade it and if there
is any issue, can I roll back to 6.2?
0
Comment
Question by:mokkan
  • 5
  • 4
  • 2
11 Comments
 
LVL 88

Assisted Solution

by:rindi
rindi earned 334 total points
ID: 38801506
Just make a backup and test it before doing the upgrade.
0
 

Author Comment

by:mokkan
ID: 38801531
I totally understand, but can we downgrade using yum? I guess no? but can I downgrade specific package ? Or it won't work properly.
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 334 total points
ID: 38801575
No. Apart from that even if it were possible, a restore would probably be faster.

Of course if you are using a file-system that supports snapshots you could return to a previous version, but I've never used that myself.
0
 

Author Comment

by:mokkan
ID: 38801655
If I upgrade OS and if I downgrade one of the package? Would it work properly?
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 334 total points
ID: 38801683
No. Not without lots of work.
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 44

Assisted Solution

by:Darr247
Darr247 earned 166 total points
ID: 38802333
Don't you have grub installed in /boot ?
0
 

Author Comment

by:mokkan
ID: 38802554
Yes, I do. Why?
0
 

Author Comment

by:mokkan
ID: 38802557
When we execute yum update, does it look for next level of OS version or does it look for any update on packages?
0
 
LVL 44

Assisted Solution

by:Darr247
Darr247 earned 166 total points
ID: 38803003
Grub should keep three backup kernels by default... I don't recall doing anything other than upgrading my kernel when going from 6.0 to 6.1 to 6.2 to 6.3.
0
 
LVL 88

Accepted Solution

by:
rindi earned 334 total points
ID: 38803414
An upgrade does more than just upgrade the kernel. Kernel upgrades also happen with normal updates. There you could just use Grub to boot an older kernel.  With an upgrade of the OS there are many other things that also are updated and then using an older kernel will most likely cause problems.
0
 

Author Closing Comment

by:mokkan
ID: 38856940
Thank you guys
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now