May 6, 2013

Redhat Enterprise Linux patching: Rollback strategies

Posted in Linux at 10:25 am by alessiodini

Soon i will patch a lot of systems ( RHEL 5 – RHEL 6 ) and i’m planning every rollback strategy.
Studying and looking for the web I found that people usually use RPM rollback but this is NOT RECOMMENDED!!

People on RHEL 5 add RPM macro , on RHEL 6 use yum history but both struments can be used for small rollbacks, not for minor release rollbacks!

I read this from Redhat:

Note: Downgrading a system to minor version (ex: RHEL-6.1 to RHEL-6.0) is not recommended as this might leave the system in broken state where libgcc and other libraries won’t rollback as expected. Use the history option for small update rollbacks.

Same is for RHEL 5.

So what can I think about rollback?

1) LVM snapshot ( usually estimated as ~ 20% lvol source space, only on RHEL 6 )
2) Files copy from / and /boot partitions with dd. This is useful with soft/hard links and it’s bit a bit copy. I just need a filesystem from SAN or NFS. If snapshot will not work I just need to boot the system in rescue mode , configure the network , mount the filesystems and use dd for rollback!
3) Disk from RAID HARDWARE
4) Dedicated software backup ( Networker Legato for example )

Advertisements

3 Comments »

  1. Hey! This is my first comment here so I just wanted to give a quick shout
    out and tell you I truly enjoy reading through your
    blog posts. Can you suggest any other blogs/websites/forums that deal with the same topics?

    Thanks!

    • alessiodini said,

      Hi,
      i did not found any useful link for this topic!
      That’s why i wanted to write something about it

      Thank you for visit my blog

  2. seo service uk

    You made several nice points there. I did a search on the theme and found mainly persons will agree with your blog.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: