LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 01-08-2008, 10:35 AM   #1
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
RHEL update procedure


The plan is to outtask system updates for some RHEL machines to system operations department.

As nobody can guarantee that an update is successful, we need to put some aces up our sleeves in case of an emergency.

One idea was to take one disk out of the RAID array and rebuild the whole system on another disk. In case we need to revert simply reconstruct the array from the backup disk. Alas the operation personell is not always in the datacenter to exchange disks (follow the sun support) and also this procedure does not scale well.

Since the affected machine is a dom0 of various host machines the outtime must be minimal. Also there is heavy use of SELinux so traditional backup will not work either.

Moreover it should be possible that untrained personell may perform the task.

Another possibility is to adapt a cloning process (tar/rsync based or serverless on the SAN or LVM snapshots) that is usually used to make snapshots of whole clusters. It needs to be adapted for SELinux (rather easy) but that also means heavy quality assurance tests until it may be used for such productive systems. We don't know if there is enough time for that.

Do you have any suggestions what other possibilities may be used to perform safe updates? What would you prefer? What are your procedures for a safe update that may be also performed by junior admins?
 
Old 01-08-2008, 03:31 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Why can't you do a backup/restore? My understanding is dump and restore should work and perserve all your SELinux contexts just fine on all the Red Hat distributions.
 
Old 01-31-2008, 02:29 AM   #3
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
how often do you apply patches? and once a patch is available, do
you need to have them applied asap?

rpm/up2date has the rollback option (that i really don't use .

but for me, evaluating the patches first on a clone of a
critical environment is the best practice to make sure
the updates won't break anything.

and since these are OS updates, i don't think the
backup/restore idea is the ideal solution.
but i do have a weekly fs dump of our OS partitions (using
LVM snapshots and dump command) just in case i
need to make reference to some files
in case i did something to mess up my system.
but for application of patches, that i do on a quarterly
basis, i never had the situation that calls for a rollback
because of application problems.
 
  


Reply

Tags
backup, clone, rhel, snapshot, update



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Update in RHEL 5 Uncle_Grombor Linux - Newbie 1 09-14-2007 05:00 AM
How to update RHEL sonirajesh Linux - Enterprise 6 07-26-2007 12:51 PM
updating RHEL AS4 update 1 to update 5 via CDs? icemaker Linux - Software 1 06-09-2007 06:29 PM
Procedure to update / upgrade Debian tommurdock Debian 3 10-23-2006 11:18 AM
RHEL-ES-V3 update jeganraj Red Hat 2 11-20-2005 11:47 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 03:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration