<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>MDLog:/sysadmin</title> <link>http://www.ducea.com</link> <description>The Journal Of A Linux Sysadmin</description> <lastBuildDate>Sun, 04 Dec 2011 06:53:45 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Mdlog" /><feedburner:info uri="mdlog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Mdlog</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>Getting ready for LISA11 – Boston</title><link>http://feedproxy.google.com/~r/Mdlog/~3/LVEIdWzzP_A/</link> <comments>http://www.ducea.com/2011/12/03/getting-ready-for-lisa11-boston/#comments</comments> <pubDate>Sun, 04 Dec 2011 06:53:45 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Conferences]]></category> <category><![CDATA[LISA]]></category> <category><![CDATA[LISA11]]></category><guid isPermaLink="false">http://www.ducea.com/?p=1406</guid> <description><![CDATA[I&#8217;m packing for Boston and will be there next week for LISA11. This will be my second year as part of the LISA blogging team, and after how much I enjoyed LISA last year in San Jose I wouldn&#8217;t miss this one even if it is on the other side of the country. I&#8217;ve tried [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>I&#8217;m packing for <strong>Boston</strong> and will be there next week for <a
href="http://www.usenix.org/events/lisa11/index.html" target="_blank">LISA11</a>. This will be my second year as part of the <a
href="http://blogs.usenix.org/2011/12/02/lisa11-next-week-meet-your-blog-team/" target="_blank">LISA blogging team</a>, and after how much I enjoyed LISA last year in San Jose I wouldn&#8217;t miss this one even if it is on the other side of the country. I&#8217;ve tried to finish as much work as possible to be able to focus on the conference <img
src='http://www.ducea.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> but for various reasons of course this was not quite possible, and actually during the first days I will even be on call&#8230; In anycase, I&#8217;m sure this is going to be a great week full of awesomeness. I will be blogging for the <a
href="http://blogs.usenix.org/" target="_blank">USENIX blog</a> every day, so be sure to follow that for fresh articles from me and the other memebers of our team (Ben, Rikki and Matt).</p><p>If you are going to <strong>LISA11</strong> in <strong>Boston</strong> next week, we should definitely meetup. Contact me on <a
href="http://twitter.com/mariusducea" target="_blank">twitter</a> or <a
href="http://www.ducea.com/contact/" target="_blank">email</a>.</p><p><a
href="http://www.usenix.org/lisa11/promote"> <img
src="http://www.usenix.org/events/lisa11/art/lisa11_banner_450.jpg" alt="LISA '11" width="450" height="94" border="0" /> </a></p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Mdlog?a=LVEIdWzzP_A:ywJa8jQINgk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=LVEIdWzzP_A:ywJa8jQINgk:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=LVEIdWzzP_A:ywJa8jQINgk:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=LVEIdWzzP_A:ywJa8jQINgk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=LVEIdWzzP_A:ywJa8jQINgk:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=LVEIdWzzP_A:ywJa8jQINgk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=LVEIdWzzP_A:ywJa8jQINgk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=LVEIdWzzP_A:ywJa8jQINgk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=LVEIdWzzP_A:ywJa8jQINgk:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=LVEIdWzzP_A:ywJa8jQINgk:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2011/12/03/getting-ready-for-lisa11-boston/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.ducea.com/2011/12/03/getting-ready-for-lisa11-boston/</feedburner:origLink></item> <item><title>Interview with LISA11 Program Co-Chairs: Tom Limoncelli and Doug Hughes</title><link>http://feedproxy.google.com/~r/Mdlog/~3/ajKYK4bItxE/</link> <comments>http://www.ducea.com/2011/11/30/interview-with-lisa11-program-co-chairs-tom-limoncelli-and-doug-hughes/#comments</comments> <pubDate>Thu, 01 Dec 2011 06:31:35 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Conferences]]></category> <category><![CDATA[interviews]]></category> <category><![CDATA[LISA]]></category> <category><![CDATA[LISA11]]></category> <category><![CDATA[USENIX]]></category><guid isPermaLink="false">http://www.ducea.com/?p=1394</guid> <description><![CDATA[One of the advantages of being a member of the LISA11 Blog Team is that I was able to talk and interview this year program co-chairs: Tom Limoncelli and Doug Hughes. This was a great honor for me especially since I&#8217;ve been a big fan of Tom&#8217;s work for many years. The full article is available on [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>One of the advantages of being a member of the <strong>LISA11 Blog Team</strong> is that I was able to talk and interview this year program co-chairs: <strong>Tom Limoncelli</strong> and <strong>Doug Hughes</strong>. This was a great honor for me especially since I&#8217;ve been a big fan of Tom&#8217;s work for many years. The full article is available on the USENIX blog: &#8220;<a
href="http://blogs.usenix.org/2011/12/02/tom-limoncelli-and-doug-hughes-interview/" target="_blank">Tom Limoncelli and Doug Hughes Interview</a>&#8221;</p><p>Also my colleagues from the LISA11 blogging team (Ben, Rikki and Matt) have done some very interesting interviews with some key people from LISA11 to get you prepared for the event. Check out the <a
href="http://blogs.usenix.org/" target="_blank">USENIX blog</a> for more from us in the next week.</p><p>Here is also a quick intro of our team: &#8220;<a
href="http://blogs.usenix.org/2011/12/02/lisa11-next-week-meet-your-blog-team/" target="_blank">LISA11 Next Week – Meet your blog team!</a>&#8220;</p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Mdlog?a=ajKYK4bItxE:BbEXOEWMHFY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=ajKYK4bItxE:BbEXOEWMHFY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=ajKYK4bItxE:BbEXOEWMHFY:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=ajKYK4bItxE:BbEXOEWMHFY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=ajKYK4bItxE:BbEXOEWMHFY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=ajKYK4bItxE:BbEXOEWMHFY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=ajKYK4bItxE:BbEXOEWMHFY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=ajKYK4bItxE:BbEXOEWMHFY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=ajKYK4bItxE:BbEXOEWMHFY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=ajKYK4bItxE:BbEXOEWMHFY:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2011/11/30/interview-with-lisa11-program-co-chairs-tom-limoncelli-and-doug-hughes/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.ducea.com/2011/11/30/interview-with-lisa11-program-co-chairs-tom-limoncelli-and-doug-hughes/</feedburner:origLink></item> <item><title>Build your own packages easily with FPM</title><link>http://feedproxy.google.com/~r/Mdlog/~3/2xqjel9MmMc/</link> <comments>http://www.ducea.com/2011/08/31/build-your-own-packages-easily-with-fpm/#comments</comments> <pubDate>Wed, 31 Aug 2011 22:13:02 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Centos]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[Fedora]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[RHEL]]></category> <category><![CDATA[Tools]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[deb]]></category> <category><![CDATA[debian_packages]]></category> <category><![CDATA[FPM]]></category> <category><![CDATA[rpm]]></category><guid isPermaLink="false">http://www.ducea.com/?p=1369</guid> <description><![CDATA[Building packages is a task that every system administrator will end up doing. Most of the time this is not a very interesting task but someone has to do it, right? Normally you will end up modifying and tweaking based on your own needs an existing package that was built by the maintainers of the [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p><strong>Building packages</strong> is a task that every system administrator will end up doing. Most of the time this is not a very interesting task but someone has to do it, right? Normally you will end up modifying and tweaking based on your own needs an existing package that was built by the maintainers of the Linux distribution that you are using. In time you might even become familiar with the packaging system you are using (rpm, deb, etc.) and you will be able to write a spec file and start from scratch and build a new package if you need to. Still, this <em>process is complicated and requires a lot of work</em>.</p><p>Luckily, <strong><a
href="http://www.semicomplete.com/blog" target="_blank">Jordan Sissel</a></strong> has built a tool called <strong><a
href="https://github.com/jordansissel/fpm" target="_blank">FPM</a></strong> (Effing Package Management), exactly for this: to ease the pain of building new packages; packages that you will use for your own infrastructure and you want them customized based on your own needs; and you don&#8217;t care about upstream rules and standards and other limitations when building such packages. This can be very useful for people deploying their own applications as rpms (or debs) and can simplify a lot of the process of building those packages.</p><p>FPM can be easily installed on your build system using rubygems:<br
/> <code>gem install fpm</code></p><p>Once installed you can use fpm to build <strong>packages</strong> (targets):</p><ul><li>deb</li><li>rpm</li><li>solaris</li></ul><p>from any of the following <strong>sources</strong>:</p><ul><li>directory (of compiled source of some application)</li><li>gem</li><li>python eggs</li><li>rpm</li><li>node npm packages</li></ul><p><span
id="more-1369"></span>Use the command line help (fpm &#8211;help) or the <a
href="https://github.com/jordansissel/fpm/wiki" target="_blank">wiki</a> to see full details on how to use it. I&#8217;ll show some simple examples on how to build some packages from various input sources that I&#8217;ve found useful myself.</p><h3>1. Package a directory &#8211; output of a &#8216;make install&#8217; command</h3><p>This is how you would usually package an application that you would install with:<br
/> <em>./configure; make; make install</em><br
/> For example, here is how you can create an rpm of the latest version of memcached:<br
/> <code>wget http://memcached.googlecode.com/files/memcached-1.4.7.tar.gz<br
/> tar -zxvf memcached-1.4.7.tar.gz<br
/> cd memcached-1.4.7<br
/> ./configure --prefix=/usr<br
/> make</code><br
/> so far everything looks like a normal manual installation (that would be followed by make install). Still we will now install it in a separate folder so we can capture the output:<br
/> <code>mkdir /tmp/installdir<br
/> make install DESTDIR=/tmp/installdir</code><br
/> and finally using fpm to create the rpm package:<br
/> <code>fpm -s dir -t rpm -n memcached -v 1.4.7 -C /tmp/installdir</code><br
/> where <strong>-s</strong> is the input source type (directory), <strong>-t</strong> is the type of package (rpm), <strong>-n</strong> in the name of the package and <strong>-v</strong> is the version; <strong>-C</strong> is the directory where fpm will look for the files.<br
/> Note: you might need to install various libraries to build your package; for ex. in this case I had to install libevent-dev.</p><p>If you are packaging your own application you can do this just by pointing to your build folder and set the version of the app. Here is an example for an deb package:<br
/> <code>fpm -s dir -t deb -n myapp -v 0.0.1 -C /build/myapp/0.0.1/</code></p><p>There are various other parameters that you can use but basically this is how simple it is to build a package from a directory.<br
/> Here is an example on how to define some dependencies on the package you are building (using <strong>-d</strong>; repeat it as many times as needed):<br
/> <code>fpm -s dir -t deb -n memcached -v 1.4.7 -C /tmp/installdir \<br
/> -d "libstdc++6 (&gt;= 4.4.5)" \<br
/> -d "libevent-1.4-2 (&gt;= 1.4.13)"</code></p><h3>2. Ruby gems or python egg &#8211; converted to packages</h3><p>You can create a deb or rpm from a gem very simple with fpm:<br
/> <code>fpm -s gem -t deb &lt;gem_name&gt;</code><br
/> this will download the gem and create a package named rubygem-&lt;gem_name&gt;<br
/> For example:<br
/> <code>fpm -s gem -t deb fpm</code><br
/> will create a debian package for fpm: rubygem-fpm_0.3.7_all.deb</p><p>You can inspect it with<em> dpkg &#8211;info</em> and you can notice that in this case it will fill nicely all the fields with the maintainer, and dependencies on various other gems. Very cool.</p><p>If you use python and want to package various python eggs this will work exactly the same and you will use -s python (it will download the python packages with easy_install first).</p><p>Overall <strong>FPM</strong> is a great tool and can help you<span
style="text-decoration: underline;"><em> simplify the way you are building your own packages</em></span>. Check it out and let me know what you think and if you found it useful. And if you found this useful don’t forget to thank <strong><a
href="http://www.twitter.com/jordansissel" target="_blank">Jordan</a></strong> for his great work on this awesome tool.</p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Mdlog?a=2xqjel9MmMc:sS3UTVDNaNo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=2xqjel9MmMc:sS3UTVDNaNo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=2xqjel9MmMc:sS3UTVDNaNo:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=2xqjel9MmMc:sS3UTVDNaNo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=2xqjel9MmMc:sS3UTVDNaNo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=2xqjel9MmMc:sS3UTVDNaNo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=2xqjel9MmMc:sS3UTVDNaNo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=2xqjel9MmMc:sS3UTVDNaNo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=2xqjel9MmMc:sS3UTVDNaNo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=2xqjel9MmMc:sS3UTVDNaNo:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2011/08/31/build-your-own-packages-easily-with-fpm/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://www.ducea.com/2011/08/31/build-your-own-packages-easily-with-fpm/</feedburner:origLink></item> <item><title>First Chef Cookbook Contest Announced!</title><link>http://feedproxy.google.com/~r/Mdlog/~3/KYgmSrxodOs/</link> <comments>http://www.ducea.com/2011/08/23/first-chef-cookbook-contest-announced/#comments</comments> <pubDate>Tue, 23 Aug 2011 18:18:14 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Configuration management]]></category> <category><![CDATA[News from Outside]]></category> <category><![CDATA[chef]]></category> <category><![CDATA[cookbooks]]></category> <category><![CDATA[opschef]]></category> <category><![CDATA[opscode]]></category><guid isPermaLink="false">http://www.ducea.com/?p=1363</guid> <description><![CDATA[Yesterday Opscode, the company behind Chef, announced the first ever chef cookbook contest. In order to participate in the contest you will need to write a new cookbook and submit it by the end of September; this is going to be a little tricky as there are many cookbooks already available on the community site. [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>Yesterday <strong><a
href="http://www.opscode.com/" target="_blank">Opscode</a></strong>, the company behind <strong><a
href="http://www.opscode.com/chef/" target="_blank">Chef</a></strong>, <a
href="http://www.opscode.com/blog/2011/08/22/cookbook-contest/" target="_blank">announced</a> the first ever <strong>chef cookbook contest</strong>. In order to participate in the contest you will need to write a new cookbook and submit it by the <em>end of September;</em> this is going to be a little tricky as there are many cookbooks already available on the <a
href="http://community.opscode.com/cookbooks" target="_blank">community site</a>. So this is a great idea and it will take care of the few applications that don&#8217;t already have chef cookbooks. The cookbooks which shows off the awesome Chef features will have better chances to win. The prizes are also interesting: iPad, gift cards, etc. Here are the full details and rules of the contest: <a
href="http://www.opscode.com/blog/2011/08/22/cookbook-contest/" target="_blank">http://www.opscode.com/blog/2011/08/22/cookbook-contest/</a></p><p>So if you have an <strong>idea</strong> for a chef cookbook, <strong>now</strong> it&#8217;s the time to start working on it. I&#8217;m offering my <strong>help for free</strong> for all my blog readers: I will help you write a cookbook by implementing your ideas; help reviewing it or suggest improvements, or whatever else you might need help with. Use the <a
href="http://www.ducea.com/contact/">contact</a> form to email me (or DM me on <a
href="http://twitter.com/mariusducea">twitter</a>) and let me know how I can help.</p><p>If you don&#8217;t have time to write a new cookbook but you have a great idea for a cookbook that is missing from the opscode community site, please post it bellow in the <strong>comments section</strong> and I&#8217;m sure some of my blog readers will help create it.</p><p>Again this is a brilliant idea from Opscode and it creates a win-win situation for everyone. I&#8217;m just curious, is this the first idea from their new community manager? If this is the case, great job Jesse <img
src='http://www.ducea.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Mdlog?a=KYgmSrxodOs:TugY0Sjs6No:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=KYgmSrxodOs:TugY0Sjs6No:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=KYgmSrxodOs:TugY0Sjs6No:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=KYgmSrxodOs:TugY0Sjs6No:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=KYgmSrxodOs:TugY0Sjs6No:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=KYgmSrxodOs:TugY0Sjs6No:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=KYgmSrxodOs:TugY0Sjs6No:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=KYgmSrxodOs:TugY0Sjs6No:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=KYgmSrxodOs:TugY0Sjs6No:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=KYgmSrxodOs:TugY0Sjs6No:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2011/08/23/first-chef-cookbook-contest-announced/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://www.ducea.com/2011/08/23/first-chef-cookbook-contest-announced/</feedburner:origLink></item> <item><title>Building Vagrant boxes with veewee</title><link>http://feedproxy.google.com/~r/Mdlog/~3/YX7iFcPlUio/</link> <comments>http://www.ducea.com/2011/08/15/building-vagrant-boxes-with-veewee/#comments</comments> <pubDate>Tue, 16 Aug 2011 01:49:23 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Configuration management]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[MacOSX]]></category> <category><![CDATA[Tools]]></category> <category><![CDATA[chef]]></category> <category><![CDATA[puppet]]></category> <category><![CDATA[vagrant]]></category> <category><![CDATA[veewee]]></category> <category><![CDATA[virtualbox]]></category><guid isPermaLink="false">http://www.ducea.com/?p=1350</guid> <description><![CDATA[If you used vagrant (great tool, right?) you have probably downloaded a basebox from some remote location to get you started. This is a great quick start, and there are many good boxes out there that you can use; vagrantbox.es does a great job in listing various public vagrant boxes. But if you are like [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>If you used <strong><a
href="http://vagrantup.com/" target="_blank">vagrant</a></strong> (great tool, right?) you have probably downloaded a basebox from some remote location to get you started. This is a great quick start, and there are many good boxes out there that you can use; <a
href="http://www.vagrantbox.es/" target="_blank">vagrantbox.es</a> does a great job in listing various public vagrant boxes. But if you are like me, you probably will want to customize the boxes you are using; you might want to install them from scratch based on your own little/or/big customizations. Well if you are like that, then you will be happy to hear that <strong><a
href="http://www.jedi.be/blog" target="_blank">Patrick Debois</a></strong> had exactly the same problem when he decided to write <strong><a
href="https://github.com/jedi4ever/veewee" target="_blank">veewee</a></strong>. And veewee is exactly that missing part of vagrant that allows you to easily build your own vagrant boxes from scratch.</p><p>So let&#8217;s see how we can use veewee. I&#8217;m assuming you already have vagrant installed (and <a
href="http://download.virtualbox.org/virtualbox/" target="_blank">virtualbox</a>), but if you don&#8217;t please install them first. To install <strong>veewee</strong> we just have to install the veewee gem:<br
/> <code>gem install veewee</code><br
/> once you installed veewee you can see a new task added to vagrant: <strong>basebox</strong>.</p><p><span
id="more-1350"></span>Here is the list of the <strong>templates</strong> we get out of the box once we install veewee:<br
/> <code><strong>vagrant basebox templates</strong><br
/> The following templates are available:<br
/> vagrant basebox define '' 'archlinux-i686'<br
/> vagrant basebox define '' 'CentOS-4.8-i386'<br
/> vagrant basebox define '' 'CentOS-5.6-i386'<br
/> vagrant basebox define '' 'CentOS-5.6-i386-netboot'<br
/> vagrant basebox define '' 'Debian-6.0.1a-amd64-netboot'<br
/> vagrant basebox define '' 'Debian-6.0.1a-i386-netboot'<br
/> vagrant basebox define '' 'Fedora-14-amd64'<br
/> vagrant basebox define '' 'Fedora-14-amd64-netboot'<br
/> vagrant basebox define '' 'Fedora-14-i386'<br
/> vagrant basebox define '' 'Fedora-14-i386-netboot'<br
/> vagrant basebox define '' 'freebsd-8.2-experimental'<br
/> vagrant basebox define '' 'freebsd-8.2-pcbsd-i386'<br
/> vagrant basebox define '' 'freebsd-8.2-pcbsd-i386-netboot'<br
/> vagrant basebox define '' 'gentoo-latest-i386-experimental'<br
/> vagrant basebox define '' 'opensuse-11.4-i386-experimental'<br
/> vagrant basebox define '' 'solaris-11-express-i386'<br
/> vagrant basebox define '' 'Sysrescuecd-2.0.0-experimental'<br
/> vagrant basebox define '' 'ubuntu-10.04.2-amd64-netboot'<br
/> vagrant basebox define '' 'ubuntu-10.04.2-server-amd64'<br
/> vagrant basebox define '' 'ubuntu-10.04.2-server-i386'<br
/> vagrant basebox define '' 'ubuntu-10.04.2-server-i386-netboot'<br
/> vagrant basebox define '' 'ubuntu-10.10-server-amd64'<br
/> vagrant basebox define '' 'ubuntu-10.10-server-amd64-netboot'<br
/> vagrant basebox define '' 'ubuntu-10.10-server-i386'<br
/> vagrant basebox define '' 'ubuntu-10.10-server-i386-netboot'<br
/> vagrant basebox define '' 'ubuntu-11.04-server-amd64'<br
/> vagrant basebox define '' 'ubuntu-11.04-server-i386'<br
/> vagrant basebox define '' 'windows-2008R2-amd64-experimental'</code></p><p>This means that we can build a box based on <strong>any</strong> of the above templates. <em>That&#8217;s awesome!</em> Let&#8217;s say we want to build a debian squeeze box using veewee; we would have to run:<br
/> <code>vagrant basebox define 'debian-60' 'Debian-6.0.1a-amd64-netboot'</code><br
/> and this will create a folder definitions/debian-60 with the following files (the content of the veewee template):<br
/> <code>definition.rb<br
/> postinstall.sh<br
/> preseed.cfg</code><br
/> we can modify/tune any of those files based on our custom needs. The file <strong>definition.rb</strong> is the main definition of the template. Here you would define the memory size, disk size, iso file, etc. The content is very easy to understand, but you would normally not have to change many things here. <strong>preseed.cfg</strong> is just a standard preseed file where you would customize the actual install process (you could change here the partitions or their type, timezone setup, etc). And finally <strong>postinstall.sh</strong> that is a bash script that will run at the end of the installation process and it will install ruby, gems , chef and puppet and also the virtualbox guest additions (needed for shared folders).</p><p>If you have the iso already place it in <strong>&#8216;currentdir&#8217;/iso</strong>. If not, veewee will download it and place it in the appropriate folder before starting the install process:<br
/> <code>vagrant basebox build 'debian-60'</code><br
/> this will start the installation and you can see all the steps it takes (the keystrokes as they are entered, etc.). This can take a while… Once it is done you can validate the build with:<br
/> <code>vagrant basebox validate 'debian-60'</code><br
/> (this will run a few basic tests to see if it can connect to the vm as user vagrant, if chef and puppet were installed, if the shared folders are accessible, etc).</p><p>And finally you can export it as a vagrant box with:<br
/> <code>vagrant basebox export 'debian-60'</code><br
/> and add it to vagrant:<br
/> <code>vagrant box add 'debian-60' debian-60.box</code><br
/> and now you can use it in vagrant with:<br
/> <code>vagrant init 'debian-60'</code></p><p>That&#8217;s it. Very simple and now we have our own box built from scratch. As a side note, I found this very useful to test and troubleshoot preseed configurations <img
src='http://www.ducea.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . As you can see there are plenty of templates available in veewee but if you create a new one please consider to share it with others and send it to Patrick on <a
href="https://github.com/jedi4ever/veewee" target="_blank">github</a>. I&#8217;m sure he will be happy to include it in newer versions of veewee. And if you found this useful don&#8217;t forget to thank <a
href="https://twitter.com/#!/patrickdebois" target="_blank">Patrick</a> for his great work on this awesome tool.</p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Mdlog?a=YX7iFcPlUio:FB_5ARR307Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=YX7iFcPlUio:FB_5ARR307Y:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=YX7iFcPlUio:FB_5ARR307Y:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=YX7iFcPlUio:FB_5ARR307Y:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=YX7iFcPlUio:FB_5ARR307Y:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=YX7iFcPlUio:FB_5ARR307Y:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=YX7iFcPlUio:FB_5ARR307Y:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=YX7iFcPlUio:FB_5ARR307Y:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=YX7iFcPlUio:FB_5ARR307Y:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=YX7iFcPlUio:FB_5ARR307Y:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2011/08/15/building-vagrant-boxes-with-veewee/feed/</wfw:commentRss> <slash:comments>6</slash:comments> <feedburner:origLink>http://www.ducea.com/2011/08/15/building-vagrant-boxes-with-veewee/</feedburner:origLink></item> <item><title>Monitoring with Icinga @ SF Bay Area LSPE meetup</title><link>http://feedproxy.google.com/~r/Mdlog/~3/d6oyCjikNlQ/</link> <comments>http://www.ducea.com/2011/07/22/monitoring-with-icinga-sf-bay-area-lspe-meetup/#comments</comments> <pubDate>Fri, 22 Jul 2011 18:15:22 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Conferences]]></category> <category><![CDATA[General]]></category> <category><![CDATA[Monitoring]]></category> <category><![CDATA[bay area]]></category> <category><![CDATA[icinga]]></category> <category><![CDATA[meetups]]></category> <category><![CDATA[monitoring]]></category> <category><![CDATA[nagios]]></category><guid isPermaLink="false">http://www.ducea.com/?p=1340</guid> <description><![CDATA[Yesterday evening I presented at the SF Bay Area Large-Scale Production Engineering meetup group at Yahoo HQ a talk about &#8220;Monitoring with Icinga&#8221;. This was an introductory talk intended to bring awareness about icinga (there were only 3-4 people from the audience of about 75 that heard of it before), and I think it reached [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>Yesterday evening I presented at the SF Bay Area Large-Scale Production Engineering meetup group at Yahoo HQ a talk about <strong>&#8220;Monitoring with Icinga&#8221;</strong>. This was an introductory talk intended to bring awareness about <a
href="https://www.icinga.org/" target="_blank">icinga</a> (there were only 3-4 people from the audience of about 75 that heard of it before), and I think it reached its goal very well; afterwards there were many people interested to try it out and had various questions about it at the end. I was also very happy to have <a
href="https://twitter.com/#!/mjbrooks_dev" target="_blank">Matthew Brooks</a> one of the icinga core developers in the audience and backing me up to some of the more difficult questions people had. Thanks again Matthew for coming! Here are the slides from my presentation:</p><div
id="__ss_8657145" style="width: 560px;"><p><strong
style="display: block; margin: 12px 0 4px;"><a
title="Monitoring with Icinga @ SF Bay Area LSPE meetup" href="http://www.slideshare.net/mdxp/monitoring-with-icinga-sf-bay-area-lspe-meetup-8657145" target="_blank">Monitoring with Icinga @ SF Bay Area LSPE meetup</a></strong> <iframe
src="http://www.slideshare.net/slideshow/embed_code/8657145?rel=0" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="510" height="426"></iframe></p><div
style="padding: 5px 0 12px;">View more <a
href="http://www.slideshare.net/" target="_blank">presentations</a> from <a
href="http://www.slideshare.net/mdxp" target="_blank">mdxp</a></div></div><p><a
href="http://twitter.com/LSPEMeetup" target="_blank">@LSPEMeetup</a> made available the video on justin.tv; unfortunately the quality of the video/sound is not the best; you can find it <a
href="http://www.justin.tv/kctv88/b/290736874" target="_blank">here</a>.</p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Mdlog?a=d6oyCjikNlQ:fF_xH50jSt8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=d6oyCjikNlQ:fF_xH50jSt8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=d6oyCjikNlQ:fF_xH50jSt8:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=d6oyCjikNlQ:fF_xH50jSt8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=d6oyCjikNlQ:fF_xH50jSt8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=d6oyCjikNlQ:fF_xH50jSt8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=d6oyCjikNlQ:fF_xH50jSt8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=d6oyCjikNlQ:fF_xH50jSt8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=d6oyCjikNlQ:fF_xH50jSt8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=d6oyCjikNlQ:fF_xH50jSt8:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2011/07/22/monitoring-with-icinga-sf-bay-area-lspe-meetup/feed/</wfw:commentRss> <slash:comments>3</slash:comments> <feedburner:origLink>http://www.ducea.com/2011/07/22/monitoring-with-icinga-sf-bay-area-lspe-meetup/</feedburner:origLink></item> <item><title>HowTo Improve IO Performance for KVM Guests</title><link>http://feedproxy.google.com/~r/Mdlog/~3/zccCKtnbgPs/</link> <comments>http://www.ducea.com/2011/07/06/howto-improve-io-performance-for-kvm-guests/#comments</comments> <pubDate>Wed, 06 Jul 2011 17:58:18 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Tips & Tricks]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Virtualization]]></category> <category><![CDATA[kvm]]></category> <category><![CDATA[performance]]></category> <category><![CDATA[xen]]></category><guid isPermaLink="false">http://www.ducea.com/?p=1313</guid> <description><![CDATA[Recently I&#8217;ve worked on a project where we deployed a bunch KVM instances. Immediately we noticed horrible IO performance on all the guests instances. In this particular case the hosts and the guests were all Ubuntu 10.04 Lucid and were created with vmbuilder without any special settings using the ubuntu defaults. Here is a sample [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>Recently I&#8217;ve worked on a project where we deployed a bunch <strong>KVM</strong> instances. Immediately we noticed <em>horrible IO performance</em> on all the guests instances. In this particular case the hosts and the guests were all <em>Ubuntu 10.04 Lucid</em> and were created with <strong>vmbuilder</strong> without any special settings using the ubuntu defaults. Here is a sample command similar to what we used to build the kvm images:</p><p><code>vmbuilder kvm ubuntu --suite=lucid --flavour=virtual --arch=amd64 --mirror=http://en.archive.ubuntu.com/ubuntu -o --libvirt=qemu:///system --ip=10.0.0.11 --gw=10.0.0.1 --part=vmbuilder.partition --templates=mytemplates --user=username --pass=password --firstboot=/var/vms/vm1/boot.sh --mem=1024 --hostname=myhost --bridge=br0</code></p><p>Now even if we haven&#8217;t tuned anything I would have expected it to perform at least the same level or even better compared with a <strong>Xen</strong> instance. Still, this was not the case, and the performance was really horrible and any kind of IO bound tasks would effectively lock the instance. Looking into this and trying to understand what was the problem I was able to isolate this issue happening only on instances that had <strong>ext4</strong> as the filesystem (the default for lucid), but strangely enough this didn&#8217;t happen for an older instance that was build with <strong>ext3</strong> (actually a <em>debian lenny</em> instance). All the images build with the above command will use <strong>qcow2</strong> sparse format as the default format for the disk.</p><p><span
id="more-1313"></span>In order to achieve good IO performance we had to use <strong>cache=&#8217;writeback&#8217;</strong> for the instances and this will significantly increase the IO performance and bring it almost to host level performance, but in anycase much better compared with the old xen instances we had. Here is how you can enable writeback for an instance: stop the vm; edit the guestdomain and add cache=writeback in the driver section, save and start back the vm:<br
/> <code>virsh --connect qemu:///system<br
/> stop guestdomain<br
/> edit guestdomain   &lt;-- add cache='writeback' in the driver section<br
/> start guestdomain</code></p><p>Here is the how the disk part of my guest domain looks like after adding the cache writeback:<br
/> <code>&lt;disk type='file' device='disk'&gt;<br
/> &lt;driver name='qemu' type='qcow2' <strong>cache='writeback'</strong>/&gt;<br
/> &lt;source file='/var/vms/vm2/ubuntu-kvm/tmphAUcOB.qcow2'/&gt;<br
/> &lt;target dev='hda' bus='ide'/&gt;<br
/> &lt;/disk&gt;</code></p><p>In the process of debugging and searching for a fix for this issue, I&#8217;ve found out that it can also be useful to use <strong>elevator=noop</strong> as the <em>default kernel io scheduler</em>; this definitely helps, but not to the same extend as the cache writeback setting on the virtio disk. You can add elevator=noop to your kernel command line in your grub config, and I have this by default on all the instances.</p><p>Hopefully this will help you greatly improve IO performance for your KVM guests and will save you the time I&#8217;ve lost while trying to find a solution to this problem. Please feel free to share your experiences using the comment form bellow; also I&#8217;m curious if you have any other tips on how to improve this even more.</p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Mdlog?a=zccCKtnbgPs:-VM7Tb9_JkM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=zccCKtnbgPs:-VM7Tb9_JkM:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=zccCKtnbgPs:-VM7Tb9_JkM:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=zccCKtnbgPs:-VM7Tb9_JkM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=zccCKtnbgPs:-VM7Tb9_JkM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=zccCKtnbgPs:-VM7Tb9_JkM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=zccCKtnbgPs:-VM7Tb9_JkM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=zccCKtnbgPs:-VM7Tb9_JkM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=zccCKtnbgPs:-VM7Tb9_JkM:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=zccCKtnbgPs:-VM7Tb9_JkM:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2011/07/06/howto-improve-io-performance-for-kvm-guests/feed/</wfw:commentRss> <slash:comments>13</slash:comments> <feedburner:origLink>http://www.ducea.com/2011/07/06/howto-improve-io-performance-for-kvm-guests/</feedburner:origLink></item> <item><title>HowTo upgrade Chef from 0.10 to 0.10.2 – rubygems install</title><link>http://feedproxy.google.com/~r/Mdlog/~3/dsNN0FDGmhM/</link> <comments>http://www.ducea.com/2011/07/01/howto-upgrade-chef-from-0-10-to-0-10-2-rubygems-install/#comments</comments> <pubDate>Fri, 01 Jul 2011 19:30:48 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Configuration management]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Tips & Tricks]]></category> <category><![CDATA[chef]]></category> <category><![CDATA[opschef]]></category><guid isPermaLink="false">http://www.ducea.com/?p=1327</guid> <description><![CDATA[A few days ago Opscode released a security fix for chef server 0.10.0 and 0.9.16 and this post will show how upgrade to chef-server 0.10.2. First start by backing up your data. Seriously. In the past I&#8217;ve had serious problems when performing similar upgrades (even a minor one like this that looks harmless), and even if [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>A few days ago <strong><a
href="http://www.opscode.com/" target="_blank">Opscode</a></strong> released a <a
href="http://www.opscode.com/blog/2011/06/29/chef-0-10-2-and-0-9-18-released/" target="_blank">security fix</a> for <strong>chef server 0.10.0</strong> and 0.9.16 and this post will show how upgrade to chef-server <strong>0.10.2</strong>. First start by backing up your data. Seriously. In the past I&#8217;ve had serious problems when performing similar upgrades (even a minor one like this that looks harmless), and even if now opscode are much better with this process it never hurts to be precautions. Since I use a <strong>rubygem</strong> install the next steps will focus on this type of installation; if you are using distribution or opscode packages this will not be very helpful as probably packages are not yet available for this upgrade; once they will replace the gem upgrade part with the deb/rpm upgrade and you should be set.</p><h3>1. Stop all the chef related services</h3><p>Here is a handy command that will stop all the possible chef server related services:<br
/> <code>for svc in server server-webui solr expander<br
/> do<br
/> sudo /etc/init.d/chef-${svc} stop<br
/> done</code></p><h3><span
id="more-1327"></span>2. Upgrade the chef-server gems</h3><p>Simply run:<br
/> <code>sudo gem update chef chef-server --no-ri --no-rdoc</code><br
/> and this should upgrade all the other gems it needs to. A sample output will look like this:<br
/> <code>gem update chef chef-server --no-ri --no-rdoc<br
/> Updating installed gems<br
/> Updating chef<br
/> Successfully installed chef-0.10.2<br
/> Updating chef-expander<br
/> Successfully installed chef-expander-0.10.2<br
/> Updating chef-server<br
/> Successfully installed chef-server-api-0.10.2<br
/> Successfully installed chef-server-webui-0.10.2<br
/> Successfully installed chef-solr-0.10.2<br
/> Successfully installed chef-server-0.10.2<br
/> Gems updated: chef, chef-expander, chef-server-api, chef-server-webui, chef-solr, chef-server</code></p><p>Optional: if you want you can cleanup the system from old, unused gems with:<br
/> <code>sudo gem cleanup</code></p><h3>3. Start back the chef server services</h3><p>Again in a single command, now to start them:<br
/> <code>for svc in server server-webui solr expander<br
/> do<br
/> sudo /etc/init.d/chef-${svc} start<br
/> done</code></p><p>That&#8217;s it, now you should be running the latest and greatest chef server version 0.10.2.</p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Mdlog?a=dsNN0FDGmhM:vXXskBNuBXg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=dsNN0FDGmhM:vXXskBNuBXg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=dsNN0FDGmhM:vXXskBNuBXg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=dsNN0FDGmhM:vXXskBNuBXg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=dsNN0FDGmhM:vXXskBNuBXg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=dsNN0FDGmhM:vXXskBNuBXg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=dsNN0FDGmhM:vXXskBNuBXg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=dsNN0FDGmhM:vXXskBNuBXg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=dsNN0FDGmhM:vXXskBNuBXg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=dsNN0FDGmhM:vXXskBNuBXg:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2011/07/01/howto-upgrade-chef-from-0-10-to-0-10-2-rubygems-install/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.ducea.com/2011/07/01/howto-upgrade-chef-from-0-10-to-0-10-2-rubygems-install/</feedburner:origLink></item> <item><title>Devopsdays 2011 – Mountain View</title><link>http://feedproxy.google.com/~r/Mdlog/~3/Zk1rwdGqpA4/</link> <comments>http://www.ducea.com/2011/06/27/devopsdays-2011-mountain-view/#comments</comments> <pubDate>Tue, 28 Jun 2011 01:05:24 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Conferences]]></category> <category><![CDATA[devops]]></category> <category><![CDATA[devopsdays]]></category> <category><![CDATA[velocityconf]]></category><guid isPermaLink="false">http://www.ducea.com/?p=1299</guid> <description><![CDATA[Just like last year, after Velocity, I attended DevOpsDays in Mountain View, now at its second edition. Many people that were in town for Velocity spent at least one extra day for DevOpsDays, but also many people from the area that for some reason could not attend Velocity came to LinkedIn HQ for this event; [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>Just like last year, after <strong>Velocity</strong>, I attended <strong><a
href="http://devopsdays.org/events/2011-mountainview/" target="_blank">DevOpsDays</a></strong> in <strong>Mountain View</strong>, now at its second edition. Many people that were in town for Velocity spent at least one extra day for DevOpsDays, but also many people from the area that for some reason could not attend Velocity came to LinkedIn HQ for this event; about 200-250 people I would say. Even if the same type of people were at both events (awesome dev/ops), because of the completely different way they are organized they didn&#8217;t overlap at all. As you will see bellow in my impressions <em>DevOpsDays wins largely</em> in most of the areas:</p><ul><li>first of all it is a <strong>free</strong> event (compared with a regular O&#8217;Reilly conference where prices usually start at<strong> $1k</strong>).</li><li>it is much more <strong>interactive</strong>: while Velocity is a classic conference where you normally have a presenter showing off something (hopefully not selling or hiring), and maybe some questions at the end, DevOpsDays is more like an open discussion, with people either on a panel or open spaces.</li><li>the <strong>food</strong> was way better at DevOpsDays, no question about it. And the <em>ice cream</em> on Saturday added an extra special touch <img
src='http://www.ducea.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</li></ul><p>The first day, Friday, started with the &#8220;<strong>Devops State of the Union</strong>&#8221; by <a
href="https://twitter.com/#!/botchagalupe" target="_blank">John Willis</a>. This was a very good introduction on what DevOps means and a look back on what happened during the past couple of years, especially considering the fact that many people where there for the first time. For example I met someone from Microsoft that was sent here to find out <em>&#8220;what is this devops thing&#8221;</em> and how they can use it, and this just shows what a huge progress the devops movement has made in such a short amount of time, and how many people are now interested in the movement. (in this particular case I&#8217;m not sure he returned at Microsoft with something useful, but just the fact that they are interested in this demonstrates my point).</p><p><span
id="more-1299"></span>Next, we had some very interesting panels (4-5 people in general) like: &#8220;<em>To Package or not to Package</em>&#8220;, &#8220;<em>Orchestration at Scale</em>&#8220;, &#8220;<em>DevOps Metrics and Measurement</em>&#8220;, &#8220;<em>DevOps..Where&#8217;s the QA</em>?&#8221; and finally &#8220;<em>Escaping the DevOps Echo Chamber</em>&#8220;. Even though I believe some moderators could have done a better job (not leaving for 10-15mins people standing/waiting to ask a question) I believe this is a great format, very informal and interactive promoting an open discussion and people sharing their experiences. We had also some great <strong>ignite presentations</strong> and by far the most interesting and unexpected one was <a
href="https://twitter.com/#!/dlutzy" target="_blank">David Lutz</a> with his <a
href="http://www.vimeo.com/25260799" target="_blank">DevOps song</a>.</p><p>The second day was in the format of an <strong>unconference</strong>, with several <strong>open spaces</strong> and some short presentations around lunch time. Many people left as they probably wanted to spend the weekend home with their families, but many stayed for Saturday also (about half). From the sessions I attended, I really enjoyed a lot the one about <strong>Kanban</strong>; very useful to see how others used it in operations teams and what problems they had implementing it. I enjoyed also <a
href="https://twitter.com/#!/patrickdebois" target="_blank">Patrick&#8217;s</a> <a
href="http://www.slideshare.net/jedi4ever/vagrant-devopsdays-mountain-view-2011" target="_blank">presentation about vagrant (</a>I&#8217;m playing already with <strong>veewee</strong>). Also was very proud of Nate and Rich releasing their product <a
href="http://reactor8.com/" target="_blank">Reactor8</a> with this occasion.</p><p>Overall I think this was an awesome event. Very much improved compared with last year: two days compared with only one, and I liked a lot the format (day 1 panels &amp; day 2 open spaces). Personally I will probably skip Velocity next year (unless I have a talk accepted) and stick only with DevOpsDays. If you are in the area there is no reason to miss <strong>DevOpsDays</strong> and I would highly recommend it, or any of the other <a
href="http://devopsdays.org/" target="_blank">DevOpsDays events</a> close to your area.</p><p>ps: They recorded all the event (very professional, with multiple angles, etc.) and the content will probably come up online very soon, and once that happens I will link it here also.</p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Mdlog?a=Zk1rwdGqpA4:3CATwjSLSPs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=Zk1rwdGqpA4:3CATwjSLSPs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=Zk1rwdGqpA4:3CATwjSLSPs:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=Zk1rwdGqpA4:3CATwjSLSPs:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=Zk1rwdGqpA4:3CATwjSLSPs:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=Zk1rwdGqpA4:3CATwjSLSPs:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=Zk1rwdGqpA4:3CATwjSLSPs:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=Zk1rwdGqpA4:3CATwjSLSPs:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=Zk1rwdGqpA4:3CATwjSLSPs:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=Zk1rwdGqpA4:3CATwjSLSPs:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2011/06/27/devopsdays-2011-mountain-view/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.ducea.com/2011/06/27/devopsdays-2011-mountain-view/</feedburner:origLink></item> <item><title>Velocity 2011 impressions</title><link>http://feedproxy.google.com/~r/Mdlog/~3/PRP7G0DPvWs/</link> <comments>http://www.ducea.com/2011/06/20/velocity-2011-impressions/#comments</comments> <pubDate>Mon, 20 Jun 2011 22:47:30 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Conferences]]></category> <category><![CDATA[velocityconf]]></category><guid isPermaLink="false">http://www.ducea.com/?p=1260</guid> <description><![CDATA[Last week I attended Velocity 2011 in Santa Clara, CA; this was the 4th edition of Velocity and my 2nd one. This means that even if I was still very much impressed with everything what happened during these 3 days, it was not quite so mind blowing like last year, and you will be able [...]<p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p> ]]></description> <content:encoded><![CDATA[<p>Last week I attended <strong><a
href="http://velocityconf.com/velocity2011" target="_blank">Velocity 2011</a></strong> in Santa Clara, CA; this was the <em>4th edition</em> of Velocity and my <em>2nd</em> one. This means that even if I was still very much impressed with everything what happened during these 3 days, it was not quite so mind blowing like last year, and you will be able to see this from my impressions bellow.</p><p>First impression was that this was <strong>much bigger than last year</strong>, and the numbers just released by O&#8217;Reilly demonstrate it was almost double with about <strong>2,000</strong> participants and another sell out (compared with <strong>1,200</strong> in 2010). Considering the high price of the conference (~1k) this is very impressive and interesting to see how they will host next year even more people. From a question a speaker had many people where at their first Velocity, but even so I met many friends and people I met last year. From the content point of view there was a lot of focus on mobile performance that I haven&#8217;t seen last year. Myself I mostly followed the operations track, and only a few talks in the performance track.</p><p><span
id="more-1260"></span>Tuesday was the &#8220;<em>workshop</em>&#8221; day, and I feel that they should change that name as none of the workshops I attended (OpenStack, Chef, Postmortem, etc.) were nothing else that talks (some quite interesting ones) that were maybe longer than a usual conference talk, but <em>not workshops</em>. This is confusing and people I spoke didn&#8217;t really liked it either. Not even the Chef workshop that could have had a practical exercise (and even if they sent instructions for people to configure their laptops to prepare for this), had nothing for the people in the audience to test and get their hands dirty. Even if this was not a real workshop either the talk by <strong>John Allspaw</strong>: &#8220;<a
href="http://velocityconf.com/velocity2011/public/schedule/detail/19766" target="_blank">Advanced Postmortem Fu and Human Error 101</a>&#8221; (<a
href="http://www.slideshare.net/jallspaw/advanced-postmortem-fu-and-human-error-101-velocity-2011" target="_blank">slides</a>) was the best of the conference in my opinion and I highly recommend it to anyone interested in the topic (if of course O&#8217;Reilly will publish the video). The day ended with a very good <strong>Ignite</strong> session (including a karaoke part that was quite entertaining).</p><p>Wednesday and Thursday were the main days of the conference with even more people arriving in Santa Clara. I&#8217;ve met people that traveled from all over US, but also from other parts of the world (Europe in general). Each day started with plenaries and sponsored talks in the morning until lunch. Personally I would cut down on these plenaries and sponsored talks, or at least give people some alternatives; even allowing for BoFs or any other talks would be great. From the actual presentations, I liked <strong>Mark Imbriaco</strong> talk &#8220;<a
href="http://velocityconf.com/velocity2011/public/schedule/detail/18128" target="_blank">Building for the Cloud: Lessons Learned at Heroku</a>&#8220;, <strong>Patrick Debois</strong> and <strong>Andrew Shafer </strong>&#8220;<a
href="http://velocityconf.com/velocity2011/public/schedule/detail/17996" target="_blank">Measuring the devops gap</a>&#8221; (<a
href="http://assets.en.oreilly.com/1/event/60/Measuring%20the%20devops%20gap%20Presentation.pdf" target="_blank">slides</a>).<br
/> In general all the talks I attended were very good. I had high hopes for <strong>Adam Jacob&#8217;s</strong> &#8220;<a
href="http://velocityconf.com/velocity2011/public/schedule/detail/19912" target="_blank">Choose Your Own Adventure 2</a>&#8221; (<a
href="http://dl.dropbox.com/u/1557449/choose_your_own_adventure_2_velocity_2011.pdf" target="_blank">slides</a>) but this was not even close as funny as the one from last year (not sure why; maybe the room was too big, but also the content was not quite so funny).</p><p>On another note,<strong> Velocity Europe</strong> was announced to be happening sometimes in <strong>November</strong> in <strong>Berlin</strong>. Also <strong>Jesse Robbins</strong> passed the co-chair duties he had for the last 4 years to <strong>John Allspaw</strong>.</p><p><em>Overall, I would say that <strong>Velocity</strong> is still the conference to go for anyone serious about operations (even though there are some other good options appearing: DevOpsDays, Surge). Velocity is a great, high quality conference that gathers the best people in operations and web performance field. Still for me, I will probably follow next year only the &#8216;hall/bar track&#8217; as that is what I found to be the most valuable; and of course <strong>DevOpsDays</strong> that followed Friday and Saturday, is something I wouldn&#8217;t miss for anything.</em></p><p><a
href="http://www.thycotic.com/zSS_Ducea.html?utm_source=ducea&utm_medium=banner&utm_content=iquit&utm_campaign=SSDucea"><img
src="http://www.ducea.com/images/SS468by60.jpg"></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Mdlog?a=PRP7G0DPvWs:VmGQ1xjCzSE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=PRP7G0DPvWs:VmGQ1xjCzSE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=PRP7G0DPvWs:VmGQ1xjCzSE:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=PRP7G0DPvWs:VmGQ1xjCzSE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=PRP7G0DPvWs:VmGQ1xjCzSE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=PRP7G0DPvWs:VmGQ1xjCzSE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=PRP7G0DPvWs:VmGQ1xjCzSE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=PRP7G0DPvWs:VmGQ1xjCzSE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Mdlog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Mdlog?a=PRP7G0DPvWs:VmGQ1xjCzSE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Mdlog?i=PRP7G0DPvWs:VmGQ1xjCzSE:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2011/06/20/velocity-2011-impressions/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.ducea.com/2011/06/20/velocity-2011-impressions/</feedburner:origLink></item> </channel> </rss><!-- Served from: www.ducea.com @ 2012-01-21 18:32:40 by W3 Total Cache -->

