[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] running latest dev versions of xenopsd on Debian/Ubuntu
Hi Dave, Cool, this is very handy! It is working for me, but I had to do a few more things before I could run a VM following the steps on your wiki page. They are mostly very basic steps, but perhaps it is good to still include them on the wiki for completeness. 1. First of all, I had to install Xen on my Ubuntu machine... ;) I installed the xen-hypervisor-4.1-amd64 package using apt-get, and rebooted. 2. I then needed to enable the virtualisation extensions in the BIOS in order to run the HVM guest. Xenopsd gave a rather misleading "cannot allocate memory" error when this was not the case. 3. I needed to reduce the amount of memory my Ubuntu, so that there is space to run new VMs. I ballooned down dom0 to 2G using 'sudo xl mem-set 0 2000' (my host has 4G of RAM). Directly writing the memory target to xenstore also works: 'sudo xenstore-write /local/domain/0/memory/target 2048000'. You could also add the Xen command line option to set dom0's memory. 4. I finally needed to add some xenstore keys for dom0. I did: sudo xenstore-write /local/domain/0/domid 0 sudo xenstore-write /local/domain/0/name Domain-0 sudo xenstore-write /local/domain/0/vm "hello" I believe that was all! Cheers, Rob > -----Original Message----- > From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api- > bounces@xxxxxxxxxxxxx] On Behalf Of Dave Scott > Sent: 04 January 2013 3:44 PM > To: xen-api@xxxxxxxxxxxxx > Subject: [Xen-API] running latest dev versions of xenopsd on > Debian/Ubuntu > > Hi, > > I've written a wiki page describing how to build the latest development > version of "xenopsd" (and its dependencies) from source: > > http://wiki.xen.org/wiki/Building_Xenopsd > > "xenopsd" is the name of the domain manager of the XCP toolstack -- it is > responsible for starting, stopping, migrating VMs. > > Being able to build the development version is really useful if you want to: > * check out a new feature > * reproduce a bug > * test a fix > > Let me know if you try this and have any problems or suggestions! > > There are a couple more components of the XCP toolstack that need some > fixups so they can build easily, in particular: > * squeezed: manages memory ballooning > * networkd: configures VM networking > * rrdd: collects and archives performance statistics > * xapi: manages the overall resource pool > > Hopefully we can work on these one-by-one until they are all as easy to > build as xenopsd. > > Cheers, > Dave > > _______________________________________________ > Xen-api mailing list > Xen-api@xxxxxxxxxxxxx > http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api _______________________________________________ Xen-api mailing list Xen-api@xxxxxxxxxxxxx http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |