Mailinglist Archive: opensuse-buildservice (193 mails)

< Previous Next >
Re: [opensuse-buildservice] OBS installation problem
  • From: Leo Eraly <leo@xxxxxxxxxxx>
  • Date: Thu, 26 Apr 2007 13:22:13 +0200
  • Message-id: <46308B65.2040806@xxxxxxxxxxx>
Michal Marek wrote:
Leo Eraly wrote:
But I can't seem to figure out how to configure remote workers.
I need a x86_64 remote worker and I need a x86_32 remote worker (in xen)

So I can install the obs-worker package on the different machines but
how do I configure all these different machines to be used in my build
system. Can you give me some pointers/examples?

This worked for me:

On the worker machine, set OBS_STORAGE_SERVER /etc/sysconfig/obs-worker.
Then on the scheduler machine, set $srcserver and $reposerver in
/usr/lib/obs/server/BSConfig.pm.

BTW couldn't the $srcserver and $reposerver default to

   http://`hostname -f`:port

or something like that? This would make switching from a single-host
installation to a distributed setup much easier :)


Yes , this seems to work. It took me a while to find out that the workers gets his configuration file from the central server and is therefore overwritten every time you restart your worker.

Another small question: Can my sles10 box also build the sles9 packages if a add a SUSE:SLES-9 repository or do I have to run a worker on a sles9 machine to make it work?


Kind regards,

Leo

--
Leo Eraly
<leo at unstable dot be>
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups