Realize EOL for CentOS v4...

General support questions including new installations
gfolkert
Posts: 3
Joined: 2007/09/26 06:36:25
Contact:

Realize EOL for CentOS v4...

Postby gfolkert » 2012/11/21 00:43:40

I have some application servers that must be either maintained or rebuilt using CentOSv4 for at least another 2 years... due to internal resistance to plan for upgrades. Heck, I've still got some, RHEL v3.x machines, some *OLD* RedHat v7.x and *OLD* RedHat v6.x machines beating around.

What has just come into being is a security policy that forces me to "mirror" my repositories.

I have to Mirror v4.9 from vault.centos.org, and from the rsync messages i get plus that fact this will be a private mirror (only mirrored once since there are no updates) of v4.9...

What do I have to do to get it.

Currently for v6 I'm mirroring using:
rsync -aqSH --delay-updates --delete --exclude "local*" --exclude "isos" rsync://example.rynchost.com/centos/6.3/ /export/mirror/CentOS/6.3/

Currently for v5 I'm mirroring using:
rsync -aqSH --delay-updates --delete --exclude "local*" --exclude "isos" rsync://example.rynchost.com/centos/6.3/ /export/mirror/CentOS/6.3/

But I don't want to pull down EVERYTHING... for the architecture support v4 (like ppc, ia64, s390...etc) has nor do I want to pull down the isos.

What should I use for the CentOSv4 rsync source from vault.centos.org, since all the other public mirrors *DO NOT* have v4.9 on them.

I'm at a loss as to what to continue on with versus dragging down 100GB of which I only need about 12GB.

User avatar
AlanBartlett
Forum Moderator
Posts: 9311
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Realize EOL for CentOS v4...

Postby AlanBartlett » 2012/11/21 01:55:44

If you can compile a list of packages that you do require, then just pull those from the vault.

gfolkert
Posts: 3
Joined: 2007/09/26 06:36:25
Contact:

Re: Realize EOL for CentOS v4...

Postby gfolkert » 2012/11/21 02:05:30

Of course... you realize that won't work. It won;t work that way... I'm forced to have the same functionality (headers, packages... etc) all have to be there for these machines.

Such as a new initiative needs a package we've never installed.

Well that means I've got to devote time to determining the needed packages and the deps and then go get them and then upload the files to my webserver.

I need to rsync the 4.9 repository once and get the whole thing without the alpha, ppc, s390, s390x, ia64 and isos related packages.

Cheers and thanks for the suggestion.

User avatar
toracat
Forum Moderator
Posts: 7230
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Realize EOL for CentOS v4...

Postby toracat » 2012/11/21 02:40:46

If I understand the situation correctly, you are looking for a replacement for rsync to mirror only certain directories on vault.centos.org? If so, you should be able to achieve that using lftp. You can either exclude unwanted directories or pull the ones you want individually. Something similar to:

lftp -e 'open http://vault.centos.org/4.9/updates && mirror -c --delete x86_64 && exit'

will create a local mirror of the 4.9/updates/x86_64 directory from vault.centos.org.

pjwelsh
Posts: 2580
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: Realize EOL for CentOS v4...

Postby pjwelsh » 2012/11/21 13:39:30

*IF* you could rsync to the vault.centos.org, you can use the curly operation for inclusion:

Code: Select all

rsync -nav --delay-updates --delete --exclude "local*" --exclude "isos" rsync://mirrors.usc.edu/centos/6.3/{os,updates}/{i386,x86_64} /tmp/
is a specific example taken from your base (but will not download anything with the "-n" option)

daiviet
Posts: 1
Joined: 2013/02/26 09:21:17
Contact:

Re: Realize EOL for CentOS v4...

Postby daiviet » 2013/02/26 09:29:21

pjwelsh wrote:
*IF* you could rsync to the vault.centos.org, you can use the curly operation for inclusion:

Code: Select all

rsync -nav --delay-updates --delete --exclude "local*" --exclude "isos" rsync://mirrors.usc.edu/centos/6.3/{os,updates}/{i386,x86_64} /tmp/
is a specific example taken from your base (but will not download anything with the "-n" option)


thanks you.