LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-08-2011, 03:06 PM   #1
bbolin
LQ Newbie
 
Registered: Jun 2006
Posts: 22

Rep: Reputation: 0
Keeping multiple severs current with the same patch level


Hello All,

I need to keep Dev and Prod boxes at the same patch level. Dev boxes get patched at least two weeks prior to Prod boxes.

How can I get the same patches installed on both boxes?

This is specifically for Redhat. I'll be testing with CentOS however.

This applies to 4.x and 5.x so needs to be done with up2date and yum I think.

I've read about installing yum-downloadonly but not sure if that's what I'm looking for.

What I'd like to do is run yum update --downloadonly --downloaddir=DLDIR on both systems the same day. Any only install on the Dev box. Then install on the Prod box

Is there a way to do something like this?

Thanks
 
Old 04-09-2011, 04:58 AM   #2
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
I use openSUSE and have a local mirror of their repository. This I can sync with external ones when I like to do so. And in the meantime all machines using my mirror have the same installation. In your case I would use even two mirrors, so that during testing on the dev machines the actual mirror prod machines can still install from the last mirror.
 
Old 04-10-2011, 06:26 AM   #3
bbolin
LQ Newbie
 
Registered: Jun 2006
Posts: 22

Original Poster
Rep: Reputation: 0
Thanks for your reply.

SLES is the second part of my question that I didn't even mention. So Dev and Prod boxes apply to both Redhat and Suse.

I have experimented with Redhat(Centos) creating an rsync local mirror. That seems to work well for Centos, but not sure if that can be done with Redhat because of none public rsync mirrors.

Again not sure how that would work with SLES because public rsync mirrors.
 
Old 04-27-2011, 04:58 PM   #4
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
with sles you can use smt, with SMT you can mirror the SLES repos. You have to have a subscription for updates though.
 
  


Reply



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
[SOLVED] is there any way to have multiple x severs running in different shells? elerek Linux - Newbie 2 05-24-2010 09:29 PM
How to patch my redhat Enterprise Linux 5.1 to the latest patch level? shaybery Red Hat 4 10-05-2008 02:04 AM
Keeping current with Slack JAKK Slackware 18 01-31-2007 05:24 PM
Keeping FreeBSD 4.10-stable (current) vaworx *BSD 20 05-02-2005 10:38 PM
rpc services current patch level amrogers3 Linux - Security 0 03-03-2005 09:53 AM

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

All times are GMT -5. The time now is 12:18 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