[Spacewalk-list] RES: Configuring channels Red Hat

Paulo Cesar Naves Mota paulo.mota at ntux.com.br
Tue Jul 27 11:18:42 UTC 2010


Hello  Colin Coe,

	Thanks for your answers. I have configured the channels clients
spacewalk and EPEL. I'll try use mrepo and rhnpush.

	Thanks!
-- 

Att,

Paulo César Nave Mota


-----Mensagem original-----
De: spacewalk-list-bounces at redhat.com
[mailto:spacewalk-list-bounces at redhat.com] Em nome de Colin Coe
Enviada em: Monday, July 26, 2010 10:05 PM
Para: spacewalk-list at redhat.com
Assunto: Re: [Spacewalk-list] Configuring channels Red Hat

Basic procedure:
1) Create the base channels for each arch.
2) Create the child channels for each arch.  There should be at least
the Spacewalk client channel, but you may also want EPEL and others.

These cannot be exactly the same name and label as what is in RHN
Hosted or RHN Satellite.  This Perl script might help (untested).  The
perl-Frontier-RPC package needs to be installed first.
---
      1 #!/usr/bin/perl
      2
      3 use strict;
      4 use warnings;
      5
      6 use Frontier::Client;
      7
      8 # Fill in the blanks
      9 my ($username, $password) = ("blank, "blank");
     10
     11 my $client = new Frontier::Client(url =>
"http://127.0.0.1/rpc/api");
     12 my $session = $client->call("auth.login", $username, $password);
     13
     14 for my $arch ("i386", "x86_64") {
     15         $client->call("channel.software.create",
     16                 $session,
     17                 "el-i386-server-5", # Label
     18                 "Enterprise Linux (v. 5 for i386)", # Name
     19                 "Enterprise Linux (v. 5 for i386)", # Summary
     20                 "channel-i386",  # Arch label
     21                 "");  # Parent channel
     22         $client->call("channel.software.create",
     23                 $session,
     24                 "sw-client-1.0-i386 ", # Label
     25                 "Spacewalk Client 1.0 i386", # Name
     26                 "Spacewalk Client 1.0 i386", # Summary
     27                 "channel-i386",  # Parent channel
     28                 "el-i386-server-5")  # Parent channel;
     29 }
     30 $client->call("auth.logout", $session); # Be nice
     31
     32 __END__
---
3). Sync the RedHat channel content.  mrepo can do this although it is
not intuitive.
4). Use rhnpush to push the sync'ed content into Spacewalk, mrepo will
download the packages but then they need to get into Spacewalk.
5). Consider using rhn-clone-errata.py to sync errata.  Very useful.

Notes:
- If you are planning on using oracle-xe realise that you may hit the
4GB data limit.
- Spacewalk is not a mechanism to bypass RedHat subscription limits.

CC

On Tue, Jul 27, 2010 at 7:01 AM, Paulo Cesar Naves Mota
<paulo.mota at ntux.com.br> wrote:
> Hello all,
>
>
>
>                 I’d like to know what channels I have to configuring on
> spacewalk for Red Hat ES 5 (i386 and x86_64) ?
>
>
>
>                 Thanks advance
>
> --
>
>
>
> Att,
>
>
>
> Paulo César Nave Mota
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>



-- 
RHCE#805007969328369

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list





More information about the Spacewalk-list mailing list