<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On 21 Jul 2006, at 14:58, Neil Wilson wrote:</DIV><BLOCKQUOTE type="cite"><DIV><DIV> </DIV> <DIV>I have written a capistrano based Debian machine builder which builds Debian based Virtual Machines automatically and sits them on top of Xen (it also builds the Xen controller automatically). The idea is to build machines internally for testing purposes and also to bring the Bytemark VM service ( <A onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.bytemark.co.uk/" target="_blank">www.bytemark.co.uk</A>) up to a level where you can deploy Rails apps to the machine. Bytemark provide mirror support to both Rubyforge and Debian and they are just up the road from me. </DIV> <DIV> </DIV> <DIV>The idea was to have the RailsMachine gem deploy onto the base the tool built. But the lack of a Debian Apache 2.2 package has put the mockers on that. So (with extreme respect to the RailMachine crew) I've created an augmentation that is a little more flexible. </DIV> <DIV> </DIV> <DIV>It handles the automatic backporting of ruby 1.8.4 to Debian Stable and you can choose which release of Debian you want to use on each VM (other than the external Bytemark ones - which are always Sarge). Importantly it also knows all the dependencies required to run the various gems and packages required by Rails and mysql. </DIV> <DIV> </DIV> <DIV>I have a gem setup (vmbuilder), but I haven't released anything yet because the tool is not quite production ready. There are a lot of holes in it (primarily the lack of an Apache 2.0/pound combination that saves backporting Apache 2.2), but the basic Mongrel/Ruby/Mysql system is fully operational.</DIV> <DIV> </DIV> <DIV>The documentation is also only half-way there - although its not much more than describing your machine requirements in either Ruby or YAML and then doing 'rake vm:setup'.</DIV> <DIV> </DIV> <DIV>If anybody would find this useful I'll try and get the Gem up over the weekend. But please remember that it is very half-baked at the moment.</DIV> </DIV></BLOCKQUOTE></DIV><BR><DIV>Very cool! I'm going through this process manually at the moment, mainly to get to know the various bits of software I haven't used before. I have a machine here I can reinstall Debian on over and over so let me know if you want help testing it out.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Chers</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Chris</DIV></BODY></HTML>