Solved

Yum centOS upgrade and roll back question

Posted on 2013-01-21
11
733 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 87

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 87

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 87

Assisted Solution

by:rindi
rindi earned 334 total points
ID: 38801683
No. Not without lots of work.
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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 87

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

758 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

22 Experts available now in Live!

Get 1:1 Help Now