Solved

Yum centOS upgrade and roll back question

Posted on 2013-01-21
11
781 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

623 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