Everything is a Freaking DNS problem - kvm http://127.0.0.1:8080/blog/taxonomy/term/506/0 en Converting KVM to VirtualBox http://127.0.0.1:8080/blog/converting-kvm-virtualbox <p>I have had most of my test environment, aka puppetmasters, test mysql setups etc running in KVM for the past couple of years .. (yes I`m still using a lot of Xen in production environments, but we've also been using KVM for a while already .. it's a good mix) , Virtual box has always been the lesser loved Virtualization platform , however while playing more and more with Vagrant Up I realized I needed to convirt some boxen (e.g my PuppetMaster) to Virtualbox, and google was really no good help(most people seem to go the other way , or want to use some proprietary tools )</p> <p>So I remembered VBoxManage and apparently I hade blogged about it myselve already ..<br /> I just hate it when I search for stuff and google points right back to <a href="http://www.krisbuytaert.be/blog/kvm-vs-virtualbox">me</a></p> <p>So I converted my puppetmaster's disks</p> <p><div class="geshifilter"><pre class="text geshifilter-text" style="font-family:monospace;"><ol><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">VBoxManage convertdd Emtpy-clone.img PuppetMasterroot.vdi</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">VBoxManage convertdd puppet-var.img PuppetMastervar.vdi</div></li></ol></pre></div></p> <p>Now when booting the VM in Virtualbox , obviously the kernel panicked .. as my KVM disks are recognised as as /dev/hda and and Virtualbox defaults to /dev/sda and LVM doesn't really like disks to be on another names<br /> No commandline fu here to help me, but using the VirtualBox gui to move the disks to the IDE controller rather than the SATA controller.</p> <p>Now all I need to do is wait for some smart guy who comments that you probably could use VBoxManage storagectl to achieve the same goal :)</p> <p>And wait till Vagrant Up start supporting KVM , so I can move back :)</p> http://127.0.0.1:8080/blog/converting-kvm-virtualbox#comments kvm vagrant virtualbox xen Tue, 22 Feb 2011 22:01:57 +0000 Kris Buytaert 1035 at http://127.0.0.1:8080/blog Building Virtual Appliances http://127.0.0.1:8080/blog/building-virtual-appliances <p>Johan from <a href="http://sizingservers.be/">Sizing Servers</a> asked me if I could talk about my experiences on building (virtual) appliances at their Advanced Virtualization and Hybrid Cloud seminar . Off course I said yes .. </p> <p>Slides are below ... Enjoy ..</p> <div style="width:425px" id="__ss_4321121"><strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/KrisBuytaert/building-appliances" title="Building appliances">Building appliances</a></strong> <object id="__sse4321121" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=buildingappliances-100526211332-phpapp01&stripped_title=building-appliances" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed name="__sse4321121" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=buildingappliances-100526211332-phpapp01&stripped_title=building-appliances" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object><div style="padding:5px 0 12px">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/KrisBuytaert">Kris Buytaert</a>.</div> </div> http://127.0.0.1:8080/blog/building-virtual-appliances#comments automation devops kvm virtualbox virtualization xen Thu, 27 May 2010 08:03:29 +0000 Kris Buytaert 1005 at http://127.0.0.1:8080/blog Disabling DHCP on a LibVirt setup http://127.0.0.1:8080/blog/disabling-dhcp-libvirt-setup <p>So you have this libvirt setup and you want to have a dhcp server on the virtual machines you are playing with , or you want to have all static IP's.</p> <p>Libvirt uses dnsmasq to provide dhcp services etc and when you generate a config from the gui it will look like<br /> <div class="geshifilter"><pre class="text geshifilter-text" style="font-family:monospace;"><ol><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&lt;network&gt;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &lt;name&gt;piponet&lt;/name&gt;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &lt;uuid&gt;e87d3bf1-a2e7-96ca-e131-7ae51ac033f9&lt;/uuid&gt;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &lt;bridge name='virbr2' stp='on' delay='0' /&gt;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &lt;ip address='192.168.100.1' netmask='255.255.255.0'&gt;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &lt;dhcp&gt;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &lt;range start='192.168.100.128' end='192.168.100.254' /&gt;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &lt;/dhcp&gt;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &lt;/ip&gt;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&lt;/network&gt;</div></li></ol></pre></div><br /> If you fully remove the dhcp section, then restart libvirt you'll notice dnsmasq running with no dhcpd on that subnet so you'll have full control again :)</p> <p><div class="geshifilter"><pre class="text geshifilter-text" style="font-family:monospace;"><ol><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&lt;network&gt;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &lt;name&gt;piponet&lt;/name&gt;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &lt;uuid&gt;e87d3bf1-a2e7-96ca-e131-7ae51ac033f9&lt;/uuid&gt;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &lt;bridge name='virbr2' stp='on' delay='0' /&gt;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &lt;ip address='192.168.100.1' netmask='255.255.255.0'&gt;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &lt;/ip&gt;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&lt;/network&gt;</div></li></ol></pre></div></p> http://127.0.0.1:8080/blog/disabling-dhcp-libvirt-setup#comments dhcp ha kvm libvirt xen Fri, 04 Dec 2009 18:43:27 +0000 Kris Buytaert 967 at http://127.0.0.1:8080/blog KVM vs Virtualbox http://127.0.0.1:8080/blog/kvm-vs-virtualbox <p>So you need that old FC9 instance on your fresh F11 install.</p> <p>Obviously I started a KVM instance on my desktop and installed FC9 in a Virtual Machine,<br /> It took long to install, too long, so I looked if KVM was working correctly<br /> Kvm was loaded but not in use ..<br /> And then you remember why you had VirtualBox on that machine before it's upgrade . indeed, this machine was to old it was not a VT Capable machine . VirtualBox performs much better there ..</p> <p>But you already have a working installed Qemu image.<br /> What do you do ? Google tells you about vidtool but all you find are broken links ..</p> <p>So you look further and you find that you can use VBoxManage for the same functionality</p> <p><div class="geshifilter"><pre class="text geshifilter-text" style="font-family:monospace;"><ol><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">VBoxManage convertdd FC9.bin FC0.vdi</div></li></ol></pre></div></p> http://127.0.0.1:8080/blog/kvm-vs-virtualbox#comments kvm novt stupidme virtualbox Thu, 30 Jul 2009 19:33:17 +0000 Kris Buytaert 927 at http://127.0.0.1:8080/blog KVM or Xen http://127.0.0.1:8080/blog/kvm-or-xen <p>Over at <a href="http://virtualization.com/guest-posts/2009/07/06/rhel-will-5.4-features-kvm/">Virtualization.com</a> I asked the crowd what they planned to do when RedHat plans on finally migrating from Xen to KVM .. you can have your say too . : </p> <script type="text/javascript" language="javascript" charset="utf-8" src="http://static.polldaddy.com/p/1761790.js"></script><p><noscript><br /> <a href="http://answers.polldaddy.com/poll/1761790/">Will you migrate from Xen to KVM</a><span style="font-size:9px;">(<a href="http://www.polldaddy.com">poll</a>)</span><br /> </noscript></p> http://127.0.0.1:8080/blog/kvm-or-xen#comments kvm xen Mon, 06 Jul 2009 20:47:17 +0000 Kris Buytaert 925 at http://127.0.0.1:8080/blog Slides updated http://127.0.0.1:8080/blog/slides-updated <p>I've updated the slidedeck of my Open Source Virtualization talk, with the 2009 edition as I gave it last week at the UKUUG Spring conference.</p> <p>Talk is up, both on <a href="http://www.krisbuytaert.be/presentations/OSSVirt2009.odp">my page</a> as on <a href="http://www.slideshare.net/KrisBuytaert/open-source-virtualization">SlideShare</a></p> <div style="width:425px;text-align:left" id="__ss_637726"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/KrisBuytaert/open-source-virtualization?type=powerpoint" title="open source virtualization">open source virtualization</a> <object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=open-source-virtualization-27314&stripped_title=open-source-virtualization" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=open-source-virtualization-27314&stripped_title=open-source-virtualization" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object><div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/KrisBuytaert">Kris Buytaert</a>.</div> </div> <p>Tom also updated our set of Open Source Monitoring Tool Shootout slides .<br /> They are also on <a href="http://www.slideshare.net/tomdc/open-source-monitoring-tools-shootout">SlideShare</a></p> <div style="width:425px;text-align:left" id="__ss_1226731"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/tomdc/open-source-monitoring-tools-shootout?type=presentation" title="Open Source Monitoring Tools Shootout">Open Source Monitoring Tools Shootout</a> <object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=monitoringshootout-ukuug-090331062800-phpapp02&stripped_title=open-source-monitoring-tools-shootout" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=monitoringshootout-ukuug-090331062800-phpapp02&stripped_title=open-source-monitoring-tools-shootout" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object><div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/tomdc">tomdc</a>.</div> </div> http://127.0.0.1:8080/blog/slides-updated#comments hyperic kvm opensource ukuug virtualization xen zabbix zenoss Tue, 31 Mar 2009 17:04:55 +0000 Kris Buytaert 894 at http://127.0.0.1:8080/blog UKUUG Spring 2009 Conference , here we come http://127.0.0.1:8080/blog/ukuug-spring-2009-conference-here-we-come <p>I`ll be heading to bed early today as tomorrow will be a busy day. I have to get up early to catch my flight to London where<br /> <a href="http://tdc.blogsite.org/index.php" rel="nofollow">Tom</a> and I will be representing Inuits at the UKUUG 2009 Spring Conference.</p> <p>Tom will be giving an updated version of our <a href="http://www.ukuug.org/events/spring2009/programme/systems-monitoring-shootout.shtml" rel="nofollow">Open Source Monitoring Shootout</a> talk again, I`ll probably be skipping a couple of his slides as right after that <a href="http://blog.zenoss.com/2009/03/23/jane-curry-zenoss-master/" rel="nofollow">Jane Curry</a> will be covering Zenoss in depth and on thursday there will be an OpenNMS talk too.</p> <p>On Thursday I will be giving another session of my Open Source Virtualization overview talk .. and I also plan on skipping slides and referring to the next speaker, as <a href="http://mattinaction.blogspot.com/" rel="nofollow">Matt</a> will be giving an <a href="http://www.openqrm.com/" rel="nofollow">openQRM talk</a> right after me :)</p> <p>See you there !</p> http://127.0.0.1:8080/blog/ukuug-spring-2009-conference-here-we-come#comments kvm openqrm ukuug xen zabbix zenoss Tue, 24 Mar 2009 20:11:21 +0000 Kris Buytaert 891 at http://127.0.0.1:8080/blog Open Source Virtualization http://127.0.0.1:8080/blog/node/738 <p>I've just placed the presentation I gave both yesterday at the <a href="http://www.opensourcedays.org/2008/" rel="nofollow">Open Source Days</a> in Copenhagen , and last week in Zurich at the <a href="http://openexpo.org/en" rel="nofollow">Open Expo</a> , about Open Source Virtualization online.<br /> The presentation is based on a series of articles I wrote earlier this year for <a href="http://virtualization.com/guides-howto-whitepaper-explanation/2008/03/10/looking-back-at-a-decade-of-open-source-virtualisation/" rel="nofollow">Virtualization.com</a></p> <p>You can download it <a href="http://www.krisbuytaert.be/presentations/OSSVirt.odp">here</a></p> <p>The presentation covers a fairly complete overview of what's around in Open Source Virtualization tools and and their Management frameworks.</p> <p>I will be giving the same presentation again at the end of the month at <a href="http://www.t-dose.org/" rel="nofollow">T-Dose</a> in Eindhoven, The Netherlands</p> http://127.0.0.1:8080/blog/node/738#comments conferences kvm open source open source days openexpo virtualbox virtualization xen Sat, 04 Oct 2008 11:18:26 +0000 Kris Buytaert 738 at http://127.0.0.1:8080/blog Excuses http://127.0.0.1:8080/blog/node/659 <p>Hmm.. need to find one to go <a href="http://virtualization.com/guest-posts-guestposts/2008/04/28/kvm-forum-2008-schedule-has-been-announced/" rel="nofollow">here</a></p> http://127.0.0.1:8080/blog/node/659#comments kvm virtualization Tue, 06 May 2008 18:04:15 +0000 Kris Buytaert 659 at http://127.0.0.1:8080/blog VMWare Revisited http://127.0.0.1:8080/blog/node/579 <p>Last century I was sometimes noticed to be using VMWare to run a weird platform on my Linux Desktop , or to run some test installations. With the introduction of Qemu and later Xen there was no need for me to use the proprietary closed alternative.</p> <p>So I got the question earlier this week to build a virtual instance of our bootstrapping environment so that field engineers could take that virtual machine on their laptop and do installations from there.</p> <p>One of the collegues told me that booting a fresh VMWare instance of the network would be no problem so I took up on the challenge.</p> <p>First of all a registration procedure so the nice folks over at VMWare can spam me with their marketing stuff during the next couple of months. I needed to register as I seemed to need a Serial Number.. whow .. that was ages ago since I last needed such a beast.<br /> A full 101Mb download later I had an RPM ready to be installed.</p> <p>"Cool an RPM" I tought, that means that I will be able to clean up all the mess they leave behind with a simple rpm -e.<br /> Wrong guess. it seems like VMWare starts copying around files in different places on your filesystem and actually even wants to compile stuff against your running kernel. All fine and well, but the result is a bunch of unidentified files that are cluttering my filesystem.</p> <p>The next step required me to start the gui to create a virtual machine, suddenly the load of my machine skyrocketed. Load 11 whew.. yep the VMware process was the guilty one.. luckily it went back to normal after a while .. but I`m still not sure what happened there.</p> <p>Click, click, click and before I knew it VMware was allocating 4Gb on myfilesystem for an empty VM. Noo.. don't allocate it yet.. retry.. ok .. take it when you need it .. that's better. And why do you think I only want 256Mb for this machine ? Hmm.. where's that config file.. aah.. clickerdy click again .</p> <p>Start VM, F12 to boot of the network, wait, reboot done.</p> <p>And thus we joined the era of transferring an unmanagable image that everyone will copy around wile slightly modifying things and never placing them in version control . hence ending up one day with something nobody knows how we got there..</p> <p>What did we learn, that the way I bootstrap a Virtual machine or a physical machine really doesn't matter, and is still just a matter of mapping a MAC address to a HOSTNAME.</p> <p>When working on the system, to check if the install was done correctly it felt like I was on a remotely bad connected machine, not really slow, but really slow but still (could have been because I logged on via the gui). Certainly not like the paravirtualized Xen machines I`m used to work with, more like the VirtualBox experience. </p> <p>The big problem with giving someone an image to play with however is that you loose all control over what is being deployed , configured or changed and it just becomes a change management nightmare. At least reinstalling won't take much time.</p> <p>But I`ll go back to KVM and Xen for my daily work.. I've seen enough GUI's for this month :)</p> http://127.0.0.1:8080/blog/node/579#comments i hate gui's kvm nothingchanged oldscool quem virtualisation vmware xen Thu, 31 Jan 2008 17:58:40 +0000 Kris Buytaert 579 at http://127.0.0.1:8080/blog