Re: Distributed CC with QEMU?

Lothar Behrens <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Am 12.08.2009 um 20:48 schrieb Dan Rollo:

> Hi Lothar,
>
> Interesting idea. FWIW, I use a number of VirtualBox VMs with cc- 
> agents
> to perform builds, but I leave the VM/Agents running.
>

I do not have endless memory and keeping scheduled build running at  
distinct time
is a bit more work than simply running some qemu instances serialized  
in a script. Another solution
would be freezing unused qemu instances and keep only one continuing.  
Using a ring list of
qemu PID's to shedule probably keeps the qemu guest install simpler :-)

> I think it should be possible to do what you suggest.
> Have a look at the JMXBuildAgentUtility. This provides a way to
> programmatically stop a BuildAgent. You'd want to make sure the Agent
> stays alive long enough after a build to ensure all build results have
> been returned (so make sure KillOrRestartAfterBuildFinished=true).
>

I haven't setup that scenario yet. I need to read some about the  
JMXBuildAgentUtility :-)

> If the QEMU(or VBox ;) vm automatically starts a build agent when the
> OS/User luanches, then I think it would all work.
>

Using init scripts would help. On a Windows host there are similar  
solutions to start...

> You can probably use a CompoundBuilder to invoke the
> JMXBuildAgentUtility to kill the agent - and not even have to  
> customize
> Builders at all.
>

Maybe working on a sample setup and publish?

> If you get stuck, holler!
>
> Dan
>
> PS: I know cost is always an issue, but the time it takes a VM to load
> may or may not be faster than leaving the VM running...but that  
> tends to
> want more RAM...

Ringlist structure, but then swap may grow. I only have 3GB and use  
other VM's for CVS and Mailserver :-)
I have setup this VM's to keep resetup a bit easier, if I need to move  
between hosts.

Lothar

-- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
Lothar Behrens
Heinrich-Scheufelen-Platz 2
73252 Lenningen









------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.