[Spacewalk-list] Spacewalk using existing local repo?

Parsons, Aron parsonsa at bit-sys.com
Tue Nov 29 23:15:17 UTC 2011


Spacewalk will need to parse all of the files as it stores all of the package metadata in its database; it can't just reference an external repo, it has to process it.

If it's disk space you're worried about, put your mirror on the same filesystem (e.g., /var/satellite) and hardlink the files with the 'hardlink' command.  For example, I do this because I use 'mrepo' to mirror RHN and then import into Spacewalk.

/aron

-----Original Message-----
Date: Tue, 29 Nov 2011 17:00:38 -0500
From: Steve Ovens <steve_ovens at linux.com>
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] Spacewalk using existing local repo?
Message-ID:
	<CACrjgqjNy-NcZuq=B86sS5SAhtaVXgO_TUsn62q3fMJ=j53Xog at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

We currently have a few repo's setup for CentOS and RHEL servers. I have been searching for a few days but have not found whether this is possible or not

consider the following setup

Internet
   |
Yum mirror
   |
Lan

Since I have already pulled down all of the packages to the server "Yum Mirror", is it possible to install spacewalk on the Yum Mirror and simply create links to the packages?

EX.

the rpm mirror directory is

/archive/yum_mirror/{noarch, extras}

can spacewalk be pointed at that instead of putting them in /var/lib/satelite?

Or does it have to go through the entire mirroring process all over again?

Perhaps I don't really understand how Spacewalk operates. If that is the case, can someone point me to some (perhaps overlooked) documentation?

Thanks


--
Ubuntu Certified Professional
Novell Datacenter Specialist
Novell Certified Linux Administrator
LPIC-1 Certified
Linux+ Certified




More information about the Spacewalk-list mailing list