[tools] up2date client config
David Jonas
djonas at vitalwerks.com
Fri Jun 8 19:21:47 CEST 2007
Johan Booysen wrote:
> Hi David,
>
> Many thanks for your reply.
>
> In the meantime I've installed yum on the mrepo server and changed
> mrepo.conf to specify that yum metadata should be generated: 'metadata
> = yum'. Then ran the command 'mrepo -ugvv' but this didn't yield
> anything related to whether or not it actually generated yum metadata.
> Is it possible to somehow confirm what metadata was or wasn't created?
>
> On the client I commented out the "up2date default" entry and added the
> following to the sources file:
>
> yum base http://pofadder/mrepo/rhel3es-i386/RPMS.os
> yum updates http://pofadder/mrepo/rhel3es-i386/RPMS.updates
> yum other http://pofadder/mrepo/rhel3es-i386/RPMS.other
>
> But, the client still seems to be connecting to the RHN server and not
> to the mrepo one. It's a virtual RHEL3 server that was previously
> registered with RHN, and now, when running up2date, it complains about
> needing to reregister with RHN.
I am no authority on this, and in fact I know just enough to make our
system work, but I believe our RHEL3 boxes needed to be registered with
RHN before they would update against any repo.
Perhaps look at gensystemid in the mrepo package. Maybe if the box has a
proper systemid it will ignore registration and just try the sources.
Maybe someone else can comment more on how this works? I'd be curious
myself.
> Maybe it's the version of yum I'm using (yum-2.0.8-0.1.el3.rf), although
> the documentation states that yum < 2.4 should be ok for generating yum
> metadata.
>
> If you have any advice I will greatly appreciate it.
>
> Thanks.
>
> Johan
>
> -----Original Message-----
> From: David Jonas [mailto:djonas at vitalwerks.com]
> Sent: 08 June 2007 17:20
> To: Johan Booysen
> Cc: tools at lists.rpmforge.net
> Subject: Re: [tools] up2date client config
>
> Johan Booysen wrote:
>> Hi,
>>
>> I've just set up mrepo, and it looks very much like what we need.
>> Great piece of work!
>>
>> However, can anyone please tell me how I "point" up2date on Red Hat
>> EL3 clients at mrepo?
>
> Depends a little on what metadata you're generating. We use apt, so our
> line looks like this:
>
> apt all http://mrepo.localnet rhel4es-i386 os extras updates local
>
> Back in March there was a post that included a few yum lines:
>
> yum rhel4os http://hostname/mrepo/rhel4es-i386/RPMS.os/
> yum rhel4updates http://hostname/mrepo/rhel4es-i386/RPMS.updates/
> yum local http://hostname/mrepo/rhel4es-i386/RPMS.local/
>
>> I've found any number of instructions on how to use yum, but I want to
>
>> be able to use up2date on the clients.
>>
>> Most information about this simply says you need to modify
>> /etc/sysconfig/rhn/sources to point at mrepo, but I can't find an
>> example for doing that with up2date anywhere...so I've fiddled with
>> the sources file but don't seem to be getting anywhere.
>
> This instructions for the sources file should really get into
> http://svn.rpmforge.net/svn/trunk/tools/mrepo/docs/redhat-network.txt
>
>> I also tried using up2date-config to get up the gui and modified
>> "..Server to use" to be
>> http://pofadder/mrepo/rhel3es-i386/RPMS.updates/ (and variants of that
>
>> url), but no luck.
>>
>> Thanks in advance.
>>
>> Johan
>>
>>
>> ----------------------------------------------------------------------
>> --
>>
>> _______________________________________________
>> tools mailing list
>> tools at lists.rpmforge.net
>> http://lists.rpmforge.net/mailman/listinfo/tools
>
--
Vitalwerks, LLC / No-IP.com
More information about the tools
mailing list