There is plenty of info on the web.
In the nutshell depending on how you want this to function you can either use 
mrepo (to get point in time latest packages from rhn) or rhn_get to get full 
replica of the subscribed channel. You will need to create system ids or just 
copy them from entitled hosts to one server. Once you get RPMs you can either 
have utilities named above create yum repo metadata or run create repo locally 
with update option.
You can run package import into a channel nightly or whatever frequency you 
prefer.
In terms of errata cloning, there are several scripts available as well, 
depending on your preference. I know if two which work well, one by andy 
speagle named "rhn-clone-errata" and another one by paul marino, if you search 
this mailing list, you will see the references to both.
NOTE: make sure package import occurs before errata clone.
From: [email protected] 
[mailto:[email protected]] On Behalf Of Jerome Bossert
Sent: Thursday, May 31, 2012 4:42 PM
To: [email protected]
Subject: [Spacewalk-list] RHEL repos in spacewalk ?

Hi List,

I'm fairly new to both RHEL and Spacewalk, and i have an issue to update my 
RHEL servers, I'm missing something.
I've chosen Spacewalk rather then "redhat satellite server" because I want to 
be able to manage my Solaris (Sparc) and Suse boxes as well in a near future.


NEEDS :
I have a high number of RHEL 5.x /6.x servers to manage/update. Right now they 
have an active subscription to "rhn classic subscription management" with red 
hat, and it's working well.
I've installed Spacewalk 1.7, I can add/see my testing RHEL5 server, I can 
create a channel "rhel5".

PROBLEM :
But now I want this channel to be (automatically and frequently) populated (and 
locally downloaded) with the official RHEL packages (in my case v. 5 for 64-bit 
x86_64), and being able to update my test server from Spacewalk.

Would you help me out to point what I'm missing ?

Thanks a lot,

Jerome


_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to