LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-26-2017, 02:17 AM   #1
ofirbs
LQ Newbie
 
Registered: Jun 2014
Posts: 7

Rep: Reputation: Disabled
Lightbulb Best practice for yum repositories


My organization has a variety of RHEL 5/6/7 servers in an offline environment, so we have to manage our own yum repos.

What will be the best yum architecture for us:
1) One big yum repository for every major version (5,6,7)
2) Small repo for each minor version (7.0, 7.1, 7.2, 7.3)

Advantages:
One big repo
yum update will take the newest package every time.
rpm versions conflicts?

Small repos
small, fast and compact repo for every server

Disadvantages:
One big repo
big yum cache file?
long yum queries?
Tens of thousands of packages

Small repos
yum update will not get the latest package

Thoughts?
 
Old 01-26-2017, 02:55 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,792

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
if I were you I shouldn't mix them
 
1 members found this post helpful.
Old 01-26-2017, 04:07 AM   #3
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
Hi,

Even, if your environment is offline, you will still need (or are already using) an online machine to get the yum packages.

For your problem Red Hat has solutions.
With Red Hat Satellite you can have one machine get the required packages and avail them for the other offline machines.
Talk to them, as surely you have a valid subscription for using their products.
 
Old 01-26-2017, 02:23 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
for RHEL 5.11 RHEL 6.8 and RHEL 7.3

use the REDHAT repos !!!!

and contact redhat support for installing and CONFIGURING!!!!!!!!
"yum-protectbase" ( rhel5 and 6)
and for
"yum-priorites" for rhel5,6, 7 )

if you use any third party repos

using them might null and void your support contract
so contact redhat support
 
Old 05-21-2017, 02:49 AM   #5
ofirbs
LQ Newbie
 
Registered: Jun 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
OP here,

After using both methods for a while, I would definitely recommend using small repositories.
Which means a repo for each of minor versions (ex: 6.5,7.3..), and not one big repo for each major version (ex: 5,6,7)

Upgrading some packages resulted with some irritating dependencies errors.
 
  


Reply

Tags
repositories, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
yum repositories steinz Linux - Newbie 7 11-13-2012 01:13 PM
[SOLVED] Yum repositories gymiv@aol.com Linux - Software 12 03-10-2011 04:04 PM
YUM Repositories MMaghraby Linux - Software 4 03-30-2009 03:31 AM
Yum Repositories for RHEL 5 kdwillson Linux - Enterprise 3 02-11-2008 05:49 AM
yum repositories ?? ZeroIdea Linux - Software 2 10-23-2005 06:02 AM

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

All times are GMT -5. The time now is 06:02 PM.

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