Everything is a Freaking DNS problem - xen http://127.0.0.1:8080/blog/taxonomy/term/470/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 Puppet broke my Xen http://127.0.0.1:8080/blog/puppet-broke-my-xen <p>Actually it didn't , but now I got your attention.<br /> We just adopted the use of adding headers to all of our files that are managed by puppet so people will know not to touch it</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"> file {</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &quot;/etc/xen/scripts/network-custom-vlan-bridges&quot;:</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> owner =&gt; &quot;root&quot;,</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> group =&gt; &quot;root&quot;,</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> mode =&gt; &quot;0755&quot;,</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> content =&gt; template(</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &quot;headers/header-hash.erb',</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> &quot;xen/co-mmx-network-custom-vlan-bridges.erb&quot;);</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> }</div></li></ol></pre></div></p> <p>All worked nice however upon bootstrapping our Xen host the bridges stopped working .. running the network-custom-vlan-bridges script manually solved everything and created the appropriate bridges. But at boottime it didn't.. </p> <p>I added some debug info to the script and figured it never got executed at boot time.</p> <p>Turns out that when I removed the headers Xen actually does configure the bridges at boot time, Xen probably checks for a shebang at the beginning of the file.</p> <p>Putting the header at the end of the file therefore solved the problem. ,</p> http://127.0.0.1:8080/blog/puppet-broke-my-xen#comments devops puppet shebang xen Sat, 30 Oct 2010 14:35:01 +0000 Kris Buytaert 1019 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 Got Interviewed http://127.0.0.1:8080/blog/got-interviewed <p>by <a href="http://www.johnmwillis.com/devopsdays/devopsdays-09-interview-with-kris-buytaert/">@botchagalupe</a><br /> on Virtualization, Open Source tools and DNS Problems</p> <p><embed src="http://blip.tv/play/AYGuxQoC" type="application/xshockwave-flash" width="480" height="390" allowscriptaccess="always" allowfullscreen="true"></embed></p> http://127.0.0.1:8080/blog/got-interviewed#comments dnsproblem drupal ha heartbeat linux-ha mysql pacemaker puppet virtualization xen Wed, 18 Nov 2009 20:05:47 +0000 Kris Buytaert 960 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 Upcoming Training opportunities http://127.0.0.1:8080/blog/upcoming-training-opportunities <p><a href="http://www.kuleuven-kortrijk.be/nl/PAV/Opleidingsaanbod/Meerdaagse/Opleiding/?code=1534" rel="nofollow">Next month</a> I`ll be teaching a course on Virtualization at the KULAK.</p> <p>Apart from my training there is also a <a href="http://reductivelabs.com/training/" rel="nofollow">Puppet training</a> planned in Belgium.</p> <p>As I assisted Luke in finding a location for the training I tought it might be a good idea to have a Puppet Users meetup while some people are already gathering in Leuven</p> <p>Current plan is to meet up somewhere in Leuven on the evening of the 25th , more announcements later ..</p> http://127.0.0.1:8080/blog/upcoming-training-opportunities#comments kulak leuven puppet training virtualization xen Thu, 16 Apr 2009 21:45:57 +0000 Kris Buytaert 901 at http://127.0.0.1:8080/blog CloudCamp Antwerp http://127.0.0.1:8080/blog/cloudcamp-antwerp-0 <p>So yesterday a 100+ crowd met in the Antwerp Zoo.<br /> I heard different comments from that crowd... some of them liked the event, good networking, interresting topics , a broad overview, meeting new vendors active in the Cloud, others of them didn't .. it wasn't a real camp , just some vendors pitching, they didn't hear any new stuff , or we didn't touch the real stuff.</p> <p>So different opinions from different expectations... </p> <p>Anyhow for all those who could't read the slides : </p> <div style="width:425px;text-align:left" id="__ss_1271663"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/KrisBuytaert/cloudsec-dont-forget-security-in-the-cloud?type=presentation" title="CloudSec , don&#39;t forget Security in the Cloud !">CloudSec , don&#39;t forget Security in the Cloud !</a> <object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=cloudsec-090410031348-phpapp02&stripped_title=cloudsec-dont-forget-security-in-the-cloud" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=cloudsec-090410031348-phpapp02&stripped_title=cloudsec-dont-forget-security-in-the-cloud" 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>Or <a href=ihttp://www.krisbuytaert.be/presentations/CloudSec.odp">here</a></p> http://127.0.0.1:8080/blog/cloudcamp-antwerp-0#comments antwerpen cloud marketeers virtualization xen zoo Fri, 10 Apr 2009 19:21:53 +0000 Kris Buytaert 898 at http://127.0.0.1:8080/blog We are rebranding ! http://127.0.0.1:8080/blog/we-are-rebranding <p>So the cat is out of the bag,</p> <p>As of today Inuits is rebranding to Pinuits,<br /> The press release is <a href="http://www.pinuits.be/" rel="nofollow">here</a></p> <p>We've had good feedback on the new name so far. Different people told me the name matched better to what we are doing . Actually my wife thinks our new name is much better as at least the Pin in Pinuits refers to our favourite Tux again ..</p> <p>Finding an appropriate name for an Open Source consultancy company, with focus on Linux, Open Source Monitoring, MySQL, Open Source Virtualization , Large Scale Deployments , High Availability and Drupal, isn't easy .. you want to show both community involvement and professionality. And find a domain that's still available.</p> http://127.0.0.1:8080/blog/we-are-rebranding#comments apache drupal inuits lamp mysql opensource pinuits xen Tue, 31 Mar 2009 23:27:27 +0000 Kris Buytaert 895 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