<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>domsch.com blog</title>
	<atom:link href="http://domsch.com/wordpress/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://domsch.com/blog</link>
	<description>&#34;It Just Works&#34; is more than just a slogan, it&#039;s a way of life!</description>
	<lastBuildDate>Wed, 30 Jan 2013 20:33:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/><cloud domain='domsch.com' port='80' path='/blog/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>MirrorManager at FUDCon Lawrence</title>
		<link>http://domsch.com/blog/?p=607</link>
		<comments>http://domsch.com/blog/?p=607#comments</comments>
		<pubDate>Wed, 30 Jan 2013 20:33:10 +0000</pubDate>
		<dc:creator>mdomsch</dc:creator>
				<category><![CDATA[Dell]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MirrorManager]]></category>

		<guid isPermaLink="false">http://domsch.com/blog/?p=607</guid>
		<description><![CDATA[Two weeks ago I once again had the opportunity to attend the Fedora User and Developer Conference, this time in Lawrence, KS.  My primary purpose in going was to work with the Fedora Infrastructure team, and develop a plan for &#8230; <a href="http://domsch.com/blog/?p=607">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Two weeks ago I once again had the opportunity to attend the Fedora User and Developer Conference, this time in Lawrence, KS.  My primary purpose in going was to work with the Fedora Infrastructure team, and develop a plan for MirrorManager maintenance going forward, and learn about some of the faster-paced projects that Fedora is driving.</p>
<p>MirrorManager began as a labor of love immediately after the Fedora 6 launch, when our collection of mirrors was both significantly smaller and less well wrangled, leading to unacceptable download times for the release, and impacts to Fedora and Red Hat networks and our few functional mirrors that we swore never to suffer or inflict again.  Fedora 18 launch, 6 years later, was just as downloaded as before, but with nearly 300 public mirrors and hundreds of private mirrors, the release was nary a blip on the bandwidth charts, as &#8220;many  mirrors make for light traffic&#8221;.  To that end, MirrorManager continues to do its job well.</p>
<p>However, over the past 2 years, with changes in my job and outside responsibilities, I haven&#8217;t had as much time to devote to MirrorManager maintenance as I would have liked.  The MirrorManager 1.4 (future) branch has languished, with an occasional late-night prod, but no significant effort. This has prevented MirrorManager from being more widely adopted by other non-Fedora distributions.  The list of hotfixes sitting in Fedora Infrastructure&#8217;s tree was getting untenable.  And I hadn&#8217;t really taken advantage of numerous offers of help from potential new maintainers.</p>
<p>FUDCon gave me the opportunity to sit down with the Infrastructure team, including Kevin, Seth, Toshio, Pierre, Stephen, Ricky, Ian and now Ralph, to think through our goals for this year, specifically with MM.  Here&#8217;s what we came up with.</p>
<ol>
<li> I need to get MM 1.4 &#8220;finished&#8221; and into production.  This falls squarely on my shoulders, so I spent time both at FUDCon, and since, moving in that direction.  The backlog of hotfixes needed to get into the 1.4 branch.  The schema upgrade from 1.3 to 1.4 needed testing on a production database (Postgres) not just my local database (mysql) &#8211; that revealed additional work to be done.  Thanks to Toshio for getting me going on the staging environment again.  Now it&#8217;s just down to bug fixes.</li>
<li>I need not to be the single point of knowledge about how the system works.  To that end, I talked through the MM architecture, which components did what, and how they interacted.  Hopefully the whole FI team has a better understanding of how it all fits together.</li>
<li>I need to be more accepting of offers of assistance.  Stephen, Toshio, and Pierre have all offered, and I&#8217;m saying &#8220;yes&#8221;.  Stephen and I sat down, figured out a capability he wanted to see (better logging for mirrorlist requests to more easily root cause failure reports), he wrote the patch, and I accepted it.  +1 to the AUTHORS list.</li>
<li>Ralph has been hard at work on fedmsg, the Fedora Infrastructure Message Bus.  This is starting to be really cool, and I hope to see it used to replace a lot of the cronjob-based backend work, and cronjob-based rsyncs that all our mirrors do.  One step closer to a &#8220;push mirror&#8221; system.  Wouldn&#8217;t it be cool if Tier 2 mirrors listened on the message bus for their Tier 1 mirror to report &#8220;I have new content in this directory tree, now is a good time to come get it!&#8221; , and started their syncs, rather than the &#8220;we sync 2-6 times a day whenever we feel like it&#8221; that mirrors use today ?  I think so.</li>
</ol>
<p>Now, to get off (or really, on) the couch and make it happen!</p>
<p>A few other cool things I saw at FUDCon I wanted to share (snagged mostly from my twitter stream):</p>
<ol>
<li><span style="line-height: 15px;">OpenLMI = Open Linux Management Infrastructure software to manage systems based on DMTF standards. <a dir="ltr" title="http://del.ly/6019VxOl" href="http://t.co/EjY99Q84" target="_blank" data-expanded-url="http://del.ly/6019VxOl">http://del.ly/6019VxOl</a><br />
</span></li>
<li>Mark Langsdorf from <a dir="ltr" href="https://twitter.com/Calxeda"><s>@</s><b>calxeda</b></a> is demonstrating the ECX1000 <a dir="ltr" href="https://twitter.com/search?q=%23arm&amp;src=hash" data-query-source="hashtag_click"><s>#</s><b>arm</b></a>server SoC based build hardware going in PHX at <a dir="ltr" href="https://twitter.com/search?q=%23fudcon&amp;src=hash" data-query-source="hashtag_click"><s>#</s><b>fudcon</b></a> <a dir="ltr" href="http://t.co/hgfo2mO7" data-pre-embedded="true">pic.twitter.com/hgfo2mO7</a></li>
<li><a dir="ltr" href="https://twitter.com/ralphbean"><s>@</s><b>ralphbean</b></a> talking about fedmsg at <a dir="ltr" href="https://twitter.com/search?q=%23fudcon&amp;src=hash" data-query-source="hashtag_click"><s>#</s><b>fudcon</b></a>. <a dir="ltr" title="http://del.ly/6015VxTD" href="http://t.co/96I1Xzgt" target="_blank" data-expanded-url="http://del.ly/6015VxTD">http://del.ly/6015VxTD </a>. I need to think about how <a dir="ltr" href="https://twitter.com/mirrormanager"><s>@</s><b>mirrormanager</b></a> can leverage this.</li>
<li><a href="https://fedorahosted.org/hyperkitty/">Hyperkitty</a> is a new Mailman mailing list graphical front end, bringing email lists into the 21st century.</li>
</ol>
<p>I look forward to next year&#8217;s FUDCon, wherever it happens to be.</p>
]]></content:encoded>
			<wfw:commentRss>http://domsch.com/blog/?feed=rss2&#038;p=607</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>s3tools / s3cmd needs a new maintainer</title>
		<link>http://domsch.com/blog/?p=600</link>
		<comments>http://domsch.com/blog/?p=600#comments</comments>
		<pubDate>Wed, 01 Aug 2012 17:37:26 +0000</pubDate>
		<dc:creator>mdomsch</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://domsch.com/blog/?p=600</guid>
		<description><![CDATA[As posted to the s3tools-general mailing list, s3tools maintainer Michal Ludvig is looking for new maintainers to step up to continue the care and feeding of the s3tools / s3cmd application.  s3cmd is widely used, on both Linux and Windows, &#8230; <a href="http://domsch.com/blog/?p=600">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>As<a href="http://sourceforge.net/mailarchive/message.php?msg_id=29617533"> posted to the s3tools-general mailing list</a>, s3tools maintainer Michal Ludvig is looking for new maintainers to step up to continue the care and feeding of the s3tools / s3cmd application.  s3cmd is widely used, on both Linux and Windows, to publish and maintain content in the Amazon Web Services S3 storage system and CloudFront content distribution network.</p>
<p>I use s3cmd for two primary purposes:</p>
<ol>
<li>as Fedora Mirror Wrangler, I use it within <a href="https://fedoraproject.org/wiki/Infrastructure">Fedora Infrastructure</a> to maintain mirrors within S3 in each region for the benefit of EC2 users running Fedora or using the <a href="http://fedoraproject.org/wiki/EPEL">EPEL repository</a> on top of RHEL or a derivative.  Fedora has mirrors in us-east-1, us-west-1 and -2, and eu-west-1 right now, and may add the other regions over time.</li>
<li>for my own personal web site, I offload storage of static historical pictures and movies so that they are served from economical storage and not consuming space on my primary web server.</li>
</ol>
<p>I congratulate Michal for recognizing when he no longer has the time to commit to regular maintenance of such an important project, and to begin looking for contributors who can carry out that responsibility more effectively.  While I&#8217;ve submitted a few patches in support of the Fedora Infrastructure mirror needs, I know that I don&#8217;t have the time to take on that added responsibility right now either.</p>
<p>If you use s3cmd, or have contributed to s3cmd, and feel you could make the time commitment to be the next maintainer, you&#8217;ll find an active contributor base and dedicated user base to help you move the project forward.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://domsch.com/blog/?feed=rss2&#038;p=600</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>logrotate and bash</title>
		<link>http://domsch.com/blog/?p=592</link>
		<comments>http://domsch.com/blog/?p=592#comments</comments>
		<pubDate>Mon, 25 Jun 2012 17:34:21 +0000</pubDate>
		<dc:creator>mdomsch</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://domsch.com/blog/?p=592</guid>
		<description><![CDATA[It took me a while (longer that I should admit) to figure out how to make daemon processes written in bash, work properly with logrotate so that the output from bash gets properly rotated, compressed, closed, and re-opened. Say, you&#8217;re &#8230; <a href="http://domsch.com/blog/?p=592">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>It took me a while (longer that I should admit) to figure out how to make daemon processes written in bash, work properly with logrotate so that the output from bash gets properly rotated, compressed, closed, and re-opened.</p>
<p>Say, you&#8217;re doing this in bash:</p>
<pre>#!/bin/bash
logfile=somelog.txt
while :; do
     echo -n "Today's date is" &gt;&gt;  ${logfile}
     echo date &gt;&gt; ${logfile} 
     sleep 60
done</pre>
<p>This will run forever, adding a line to the noted logrotate file every minute.  Easy enough, and if logrotate is asked to rotate the <em>somelog.txt</em> file, it will do so happily.</p>
<p>But what if bash has started a process that itself takes a long time to complete:</p>
<pre>#!/bin/bash
logfile=somelog.txt
find / -type f -exec cat \{\} \; &gt;&gt;  ${logfile}</pre>
<p>which, I think we&#8217;d agree, will take a long time.  During this time, it keeps the logfile open for writing.  If logrotate then fires to rotate it, we will lose all data written to the logfile after the rotate occurs.  The find continues to run, but the results are lost.  This isn&#8217;t really what we want.</p>
<p>The solution is to change how logs are written.  Instead of using the &gt; ${logfile} syntax, we&#8217;re going to let bash itself do the writing.</p>
<pre>#!/bin/bash
logfile=somefile.txt
exec 1&gt;&gt;${logfile} 2&gt;&amp;1
find / -type f -exec cat \{\} \;</pre>
<p>Now, the output from the find command is written to its stdout, which winds up on bash&#8217;s stdout, which because of the <em>exec</em> command there, writes it to the logfile.  If logrotate fires here, we&#8217;ll still lose any data written after the rotate.  To solve this, we&#8217;d need to have bash close and re-open its logfile.</p>
<p>Logrotate can send a signal, say SIGHUP, to a process, when it rotates its logfile out from underneath it.  On receipt of that signal, the process should close its logfile and reopen it. Here&#8217;s how that looks in bash:</p>
<pre>#!/bin/bash
logfile=somelog.txt
pidfile=pidfile.txt

function sighup_handler()
{
    exec 1&gt;&gt;${logfile} 2&gt;&amp;1
}
trap sighup_handler HUP
trap "rm -f ${pidfile}" QUIT EXIT INT TERM
echo "$$" &gt; ${pidfile}
# fire the sighup handler to redirect stdout/stderr to logfile
sighup_handler
find / -type f -exec cat \{\} \;</pre>
<p>and we add to our logrotate snippet:</p>
<pre>somelog.txt {
 daily
 rotate 7
 missingok
 ifempty
 compress
 compresscmd /usr/bin/bzip2
 uncompresscmd /usr/bin/bunzip2
 compressext .bz2
 dateext
copytruncate
postrotate
    /bin/kill -HUP `cat pidfile.txt 2&gt;/dev/null` 2&gt;/dev/null || true
endscript
}</pre>
<p>Now, when logrotate fires, it sends a SIGHUP signal to our long-running bash process.  Bash catches the SIGHUP, closes and re-opens its logfiles (via the <em>exec</em> command), and continues writing.  There is a brief window between when the logrotate fires, and when bash can re-open the logfile, where those messages may be lost, but that is often pretty minimal.</p>
<p>There you have it.  Effective log rotation of bash-generated log files.</p>
<p>(Update 7/5: missed the &#8216;copytruncate&#8217; option in the logrotate config before, added it now.)</p>
<pre></pre>
]]></content:encoded>
			<wfw:commentRss>http://domsch.com/blog/?feed=rss2&#038;p=592</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Dell Linux Engineers work over 5000 bugs with Red Hat</title>
		<link>http://domsch.com/blog/?p=589</link>
		<comments>http://domsch.com/blog/?p=589#comments</comments>
		<pubDate>Fri, 30 Mar 2012 14:05:54 +0000</pubDate>
		<dc:creator>mdomsch</dc:creator>
				<category><![CDATA[Dell]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://domsch.com/blog/?p=589</guid>
		<description><![CDATA[A post today by Dell&#8217;s Linux Engineering team announcing support for RHEL 5.8 on PowerEdge 12G servers made me stop and think.  In the post, they included a link to a list of fixes and enhancements worked in preparing RHEL 5.8 for &#8230; <a href="http://domsch.com/blog/?p=589">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>A post today by Dell&#8217;s Linux Engineering team<a href="http://en.community.dell.com/techcenter/b/techcenter/archive/2012/03/30/red-hat-enterprise-linux-5-8-support-on-dell-poweredge-servers.aspx"> announcing support for RHEL 5.8</a> on PowerEdge 12G servers made me stop and think.  In the post, they included a link to a list of fixes and enhancements worked in preparing RHEL 5.8 for our new servers.  The list was pretty short. But that list doesn&#8217;t tell the whole story.</p>
<p>A quick search in <a href="http://bugzilla.redhat.com">Bugzilla</a> for issues which Dell has been involved in since 1999 yields 5420 bugs, 4959 of which are CLOSED, and only 380 of which are still in NEW or ASSIGNED state, many of which look like they&#8217;re pretty close to being closed as well.  This is a testament to the hard work Dell puts into ensuring Linux &#8220;Just Works&#8221; on our servers, <strong>straight out of the box</strong>, with few to no extra driver disks or post-install updates needed to make your server fully functional.  You want a working new 12G server?  Simply grab the latest RHEL or SLES DVD image and go.  Want a different flavor of Linux?  Just be sure you&#8217;re running a recent upstream kernel &#8211; we push updates and fixes there regularly too.</p>
<p>Sure, we could make it harder for you, but why?</p>
<p>Congratulations to the Linux Engineering team for launching 12G PowerEdge with full support baked into Linux!  Keep up the good work!</p>
]]></content:encoded>
			<wfw:commentRss>http://domsch.com/blog/?feed=rss2&#038;p=589</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>s3cmd sync enhancements and call for help</title>
		<link>http://domsch.com/blog/?p=586</link>
		<comments>http://domsch.com/blog/?p=586#comments</comments>
		<pubDate>Tue, 20 Mar 2012 05:29:28 +0000</pubDate>
		<dc:creator>mdomsch</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MirrorManager]]></category>
		<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://domsch.com/blog/?p=586</guid>
		<description><![CDATA[Coming soon, Fedora and EPEL users with virtual machines in Amazon (US East for starters) will have super-fast updates.  I&#8217;ve been hacking away in Fedora Infrastructure and the Fedora Cloud SIG to place a mirror in Amazon S3.  A little &#8230; <a href="http://domsch.com/blog/?p=586">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Coming soon,<a href="http://fedoraproject.org/"> Fedora</a> and <a href="http://fedoraproject.org/wiki/EPEL">EPEL</a> users with virtual machines in Amazon (US East for starters) will have super-fast updates.  I&#8217;ve been hacking away in <a href="http://fedoraproject.org/wiki/Infrastructure">Fedora Infrastructure</a> and the <a href="http://fedoraproject.org/wiki/Cloud_SIG">Fedora Cloud SIG</a> to place a mirror in <a href="http://aws.amazon.com/s3/">Amazon S3</a>.  A little more testing, and I&#8217;ll flip the switch in <a href="http://mirrormanager.org">MirrorManager</a>, and all Amazon EC2 US East users will be automatically directed to the S3 mirror first.  Yea!  Once that looks good, if there&#8217;s enough demand, we can put mirrors in other regions too.</p>
<p>I hadn&#8217;t done a lot of uploading into S3 before.  It seems the common tool people use is <a href="https://github.com/s3tools/s3cmd">s3cmd</a>.  I like to think of &#8216;s3cmd sync&#8217; as a replacement for rsync.  It&#8217;s not &#8211; but with a few patches, and your help, I think it can be made more usable.  So far I&#8217;ve patched in &#8211;<a href="https://github.com/s3tools/s3cmd/pull/27">exclude-from</a> so that it doesn&#8217;t walk the entire local file system only to later prune and exclude files &#8211; a speedup of over 20x in the Fedora case.  I added a <a href="https://github.com/s3tools/s3cmd/pull/30">&#8211;delete-afte</a>r option, because there&#8217;s no reason to delete files early in the case of S3 &#8211; you&#8217;ve got virtually unlimited storage.  And I added a <a href="https://github.com/s3tools/s3cmd/pull/34">&#8211;delay-updates</a> option, to minimize the amount of time the S3 mirror yum repositories are in an inconsistent state (now down to a few seconds, and could be <a href="https://github.com/s3tools/s3cmd/issues/33">even better</a>).  I&#8217;m waiting on upstream to accept/reject/modify my patches, but Fedora Infrastructure is using <a href="https://github.com/mdomsch/s3cmd/tree/merge">my enhancements</a> in the meantime.</p>
<p>One feature I&#8217;d really like to see added is to <a href="https://github.com/s3tools/s3cmd/issues/29">honor hardlinks</a>.  Fedora extensively uses hardlinks to cut down on the number of files, amount of storage, and time needed to upload content.  Some files in the Fedora tree have 6 hardlinks, and over three quarters of the files have at least one hardlink sibling.  Unfortunately, S3 doesn&#8217;t natively understand anything about hardlinks.  Lacking that support, I expect that S3 COPY commands would be the best way to go about duplicating the effect of hardlinks (reduced file upload time), even if we don&#8217;t get all the benefits.  However, I don&#8217;t have a lot more time available in the next few weeks to create such a patch myself &#8211; hence my lazyweb plea for help.  If this sounds like something you&#8217;d like to take on, please do!</p>
]]></content:encoded>
			<wfw:commentRss>http://domsch.com/blog/?feed=rss2&#038;p=586</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPv6 on Dell Cloud and Rackspace Cloud Servers</title>
		<link>http://domsch.com/blog/?p=582</link>
		<comments>http://domsch.com/blog/?p=582#comments</comments>
		<pubDate>Thu, 08 Mar 2012 19:58:16 +0000</pubDate>
		<dc:creator>mdomsch</dc:creator>
				<category><![CDATA[Dell]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://domsch.com/blog/?p=582</guid>
		<description><![CDATA[IPv6 is coming &#8211; albeit slowly.  While the core Internet is IPv6-capable, getting that plumbed all the way through to your system, be it at home, in your company&#8217;s data center, or in a cloud offering, is still elusive.  When &#8230; <a href="http://domsch.com/blog/?p=582">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>IPv6 is coming &#8211; albeit slowly.  While the core Internet is IPv6-capable, getting that plumbed all the way through to your system, be it <a href="http://www.timewarnercable.com/corporate/site.faqs/HighSpeedO/IPv6/What-is-Time-Warner-Cable-doin">at home</a>, in your company&#8217;s data center, or in a <a href="http://content.dell.com/us/en/enterprise/by-service-type-cloud-services-cloud-hosting.aspx">cloud offering</a>, is still elusive.  When waiting isn&#8217;t an option, tunneling IPv6 over IPv4 has proven viable, at least for light uses.</p>
<p>Since 2006, I&#8217;ve been using the tunnel service provided by <a href="http://www.sixxs.net">SixXS</a> to have IPv6 at home.  Now that I&#8217;ve been making more use of cloud servers, first with <a href="http://content.dell.com/us/en/enterprise/by-service-type-cloud-services-cloud-hosting.aspx">Dell Cloud with VMware vCloud Datacenter Service</a>, and now adding <a href="http://www.rackspace.com/cloud/">Rackspace Cloud Servers</a>, I&#8217;ve wanted IPv6 connectivity to those servers too.  While both clouds have roadmap plans to add native IPv6 connectivity, I&#8217;m a little impatient, and can afford to make the conversion once each is ready with native service.  So, I&#8217;ve expanded by my use of SixXS into each of those clouds as well.</p>
<p>As it happens, both Dell Cloud and Rackspace Cloud Servers are network-located in the Dallas, TX area, where SixXS also has a PoP.  That means in both cases there&#8217;s only about a 2ms round trip time between my cloud servers and the PoP, which is an acceptable overhead.  In configuring my cloud servers, I have requested a tunnel from SixXS, installed the aiccu program from the Linux distro repositories, and configured the /etc/aiccu.conf file with my credentials and tunnel ID.  Voila &#8211; IPv6 connectivity!  A quick update to /etc/sysconfig/ip6tables, and now my services are reachable through both IPv4 and IPv6.  As each tunnel also comes with a whole routed /48 subnet as well, as I stand up more cloud servers in each location, I can route this subnet so I don&#8217;t have to configure separate tunnels for each server.</p>
<p>Free IPv6 connectivity for my cloud servers, without waiting for native connectivity.  That&#8217;s cool!</p>
]]></content:encoded>
			<wfw:commentRss>http://domsch.com/blog/?feed=rss2&#038;p=582</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dell 12G PowerEdge &#8211; IPMI interrupt and the death of kipmi0</title>
		<link>http://domsch.com/blog/?p=579</link>
		<comments>http://domsch.com/blog/?p=579#comments</comments>
		<pubDate>Thu, 08 Mar 2012 15:50:12 +0000</pubDate>
		<dc:creator>mdomsch</dc:creator>
				<category><![CDATA[Dell]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://domsch.com/blog/?p=579</guid>
		<description><![CDATA[A seemingly minor feature was added to our 12G PowerEdge servers announced this week &#8211; IPMI interrupt handling.  This is the culmination of work I started back in 2005 when we discovered that many actions utilizing IPMI, such as polling &#8230; <a href="http://domsch.com/blog/?p=579">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>A seemingly minor feature was added to our 12G PowerEdge servers announced this week &#8211; <a href="http://en.community.dell.com/techcenter/b/techcenter/archive/2012/03/08/ipmi-kcs-interrupt-support-on-12g-servers-on-linux-oses.aspx">IPMI interrupt handling</a>.  This is the culmination of work I started back in 2005 when we discovered that many actions utilizing IPMI, such as polling all the sensors for status during system startup, and performing firmware updates to the IPMI controller itself, took a very very long time.  System startup could be delayed by minutes while <a href="http://dell.com/openmanage">OMSA</a> polled the sensors, and firmware updates could take 15 minutes or more.</p>
<p>At the time, hardware rarely had an interrupt line hooked up to the Baseboard Management Controller, which meant we had to rely on polling the IPMI status register for changes.  The polling interval, by default, was the 100Hz kernel timer, meaning we could transfer no more than 100 <strong>characters</strong> of information per second &#8211; reading a single sensor could take several seconds.  To speed up the process, I introduced the &#8220;kipmi0&#8243; kernel thread, which could poll much more quickly, but which PowerEdge users noted consumed far more CPU cycles than they would have liked.</p>
<p>Over time the Dell engineering team has made several enhancements to the IPMI driver to try to reduce the impact of the kipmi0 polling thread, but it could never be quite eliminated &#8211; until now.</p>
<p>With the launch of the 12G PowerEdge servers, we have a hardware interrupt line from the BMC hooked up and plumbed through the device driver.  This eliminates the need for the polling thread completely, and provides the best IPMI command performance while not needlessly consuming CPU cycles polling.</p>
<p>Congratulations to the Dell PowerEdge and Linux Engineering teams for finishing this effort!</p>
]]></content:encoded>
			<wfw:commentRss>http://domsch.com/blog/?feed=rss2&#038;p=579</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Dell Product Group GPG signing key</title>
		<link>http://domsch.com/blog/?p=576</link>
		<comments>http://domsch.com/blog/?p=576#comments</comments>
		<pubDate>Thu, 08 Mar 2012 04:27:16 +0000</pubDate>
		<dc:creator>mdomsch</dc:creator>
				<category><![CDATA[Dell]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://domsch.com/blog/?p=576</guid>
		<description><![CDATA[Back in 2001, I created the first GPG signing key for Dell, which the Linux Engineering team used to sign various packages and releases over time.  I&#8217;ve long since handed day-to-day use of that key over to the Product Group &#8230; <a href="http://domsch.com/blog/?p=576">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Back in 2001, I created the first GPG signing key for Dell, which the Linux Engineering team used to sign various packages and releases over time.  I&#8217;ve long since handed day-to-day use of that key over to the Product Group Release Engineering team.  They have issued a new stronger key which they will be using to sign future packages.  I have signed this new key, and it has been signed by the original 2001 key as well, to provide continuity in the web of trust.  The new key is on the usual keyservers, fingerprint:</p>
<pre>pub 4096R/34D8786F 2012-03-02
 Key fingerprint = 4255 0ABD 1E80 D7C1 BC0B AD85 1285 4914 34D8 786F
uid Dell Inc., PGRE 2012 (PG Release Engineering Build Group 2012) &lt;PG_Release_Engineering@Dell.com&gt;
sub 4096R/79DF80D8 2012-03-02</pre>
]]></content:encoded>
			<wfw:commentRss>http://domsch.com/blog/?feed=rss2&#038;p=576</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SELinux on a Rackspace Cloud Server</title>
		<link>http://domsch.com/blog/?p=570</link>
		<comments>http://domsch.com/blog/?p=570#comments</comments>
		<pubDate>Wed, 07 Mar 2012 03:30:36 +0000</pubDate>
		<dc:creator>mdomsch</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://domsch.com/blog/?p=570</guid>
		<description><![CDATA[After a long time hosting my personal web site at WestHost, I finally decided to move it to another cloud provider &#8211; a Rackspace Cloud Server.  This move gives me a chance to run Fedora 16, as I do at &#8230; <a href="http://domsch.com/blog/?p=570">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>After a long time hosting my personal web site at <a href="http://westhost.com">WestHost</a>, I finally decided to move it to another cloud provider &#8211; a <a href="http://www.rackspace.com/cloud/cloud_hosting_products/servers/">Rackspace Cloud Server</a>.  This move gives me a chance to run <a href="http://fedoraproject.org">Fedora 16</a>, as I do at home everywhere, and which is more than capable of serving a few light traffic domains, personal mail and mailing lists, and email for our <a href="http://nwayba.org">neighborhood youth basketball league</a>.</p>
<p>One thing that surprised me though was that the default Fedora 16 image provided by Rackspace in their smallest configuration (256<del>G</del>MB RAM, 10GB storage) had SELinux disabled, and no selinux-policy package installed.  Being a big fan of <a href="http://www.awe.com/mark/blog">Mark Cox&#8217;s</a> work reporting on vulnerabilities in RHEL, and <a href="http://www.bress.net/blog/">Josh Bressers</a> work leading the Fedora Security Response Team, it just didn&#8217;t feel right running an internet-facing Fedora server without having SELinux enabled.</p>
<p>This was easily enough resolved by installing the selinux-policy-targeted package, editing /etc/grub.conf to remove selinux=0 from the kernel command line, enabling the configuration in /etc/selinux/config, and restarting the server.  After a few minutes of autorelabeling, all is well and good.</p>
<p>I&#8217;m sure SELinux can get in the way of some application deployments.  It&#8217;s easiest for Rackspace to keep it disabled, letting experienced folks like myself enable it if they want.  I would have preferred it to be enabled by default, as there&#8217;s always the option to disable it later or run in permissive mode.</p>
<p>Because I run a few mailing lists using <a href="http://www.list.org">mailman</a>, across multiple domains, I of course wanted to run several separate instances of mailman, one for each domain.  Fedora has a SELinux-aware mailman package just a quick yum install away.  The problem is, the SELinux file context rules are written expecting only one instance of mailman per server.  That&#8217;s when I remembered a <a href="http://planet.ergo-project.org/blog/jmeeuwen/2012/02/28/running-most-secure-multi-domain-mailman-list-server">recent blog post</a> by <a href="http://planet.ergo-project.org/">Dutch</a> where he had patched the mailman spec and config files to build separate mailman-${sitename} RPMs, each with their own correct SELinux contexts.  Very cool, and exactly what I needed.  Well, almost &#8211; he did his work on EL6, I&#8217;m running Fedora 16, but close enough (see his blog comments for the few changes necessary on F16).  Thanks to Dutch, I&#8217;ve got a fully SELinux-secured web and mail server with separate mailman instances for each domain.</p>
<p>Next time you build a Rackspace Cloud Server running Fedora, take an extra couple minutes and enable SELinux.  The site you save may be your own!</p>
]]></content:encoded>
			<wfw:commentRss>http://domsch.com/blog/?feed=rss2&#038;p=570</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FUDCon Blacksburg videos</title>
		<link>http://domsch.com/blog/?p=561</link>
		<comments>http://domsch.com/blog/?p=561#comments</comments>
		<pubDate>Sun, 15 Jan 2012 17:50:34 +0000</pubDate>
		<dc:creator>mdomsch</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[FUDCon]]></category>
		<category><![CDATA[OpenStack]]></category>

		<guid isPermaLink="false">http://domsch.com/blog/?p=561</guid>
		<description><![CDATA[I shot videos of several of the presentations at the Fedora User and Developer Conference yesterday.  For your viewing pleasure: &#8220;State of Fedora&#8221; from the Fedora Project Leader, Jared Smith [ogg] Mike McGrath, team lead for OpenShift, demoing OpenShift [ogg] &#8230; <a href="http://domsch.com/blog/?p=561">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I shot videos of several of the presentations at the Fedora User and Developer Conference yesterday.  For your viewing pleasure:</p>
<ul>
<li>&#8220;State of Fedora&#8221; from the Fedora Project Leader, Jared Smith [<a href="http://alt.fedoraproject.org/pub/alt/videos/2012/fudcon-blacksburg/fudcon-blacksburg-2012-FPL-state-of-Fedora.ogg" target="_blank">ogg</a>]</li>
<li>Mike McGrath, team lead for OpenShift, demoing OpenShift [<a href="http://alt.fedoraproject.org/pub/alt/videos/2012/fudcon-blacksburg/openshift.ogg" target="_blank">ogg</a>]</li>
<li>Jon Masters and Chris Tyler, on the ARM architecture in Fedora [<a href="http://alt.fedoraproject.org/pub/alt/videos/2012/fudcon-blacksburg/intro-to-arm.ogg" target="_blank">ogg</a>]. ARM is a secondary architecture today.  By Fedora 18, with your help, it needs to become a primary architecture.</li>
<li>David Nalley presented on CloudStack, which is aiming for Fedora 17 inclusion. [<a href="http://alt.fedoraproject.org/pub/alt/videos/2012/fudcon-blacksburg/cloudstack.ogg">ogg</a>]</li>
<li>Dan Prince and Russell Bryant giving an introduction to OpenStack [<a href="http://alt.fedoraproject.org/pub/alt/videos/2012/fudcon-blacksburg/openstack.ogg" target="_blank">ogg</a>]</li>
<li>Mo Morsi presenting the Aeolus cloud management project [<a href="http://alt.fedoraproject.org/pub/alt/videos/2012/fudcon-blacksburg/aeolus.ogg">ogg</a>]</li>
</ul>
<p>[Update 1/18/2012] I was able to upload all the videos to YouTube.  <a href="http://www.youtube.com/playlist?list=PL2BAA7FF83E6482C2" rel="nofollow">http://www.youtube.com/playlist?list=PL2BAA7FF83E6482C2</a><br />
is a playlist with all 6.</p>
]]></content:encoded>
			<wfw:commentRss>http://domsch.com/blog/?feed=rss2&#038;p=561</wfw:commentRss>
		<slash:comments>4</slash:comments>
<enclosure url="http://alt.fedoraproject.org/pub/alt/videos/2012/fudcon-blacksburg/fudcon-blacksburg-2012-FPL-state-of-Fedora.ogg" length="53579095" type="audio/ogg" />
<enclosure url="http://alt.fedoraproject.org/pub/alt/videos/2012/fudcon-blacksburg/openshift.ogg" length="111343407" type="audio/ogg" />
<enclosure url="http://alt.fedoraproject.org/pub/alt/videos/2012/fudcon-blacksburg/intro-to-arm.ogg" length="142988013" type="audio/ogg" />
<enclosure url="http://alt.fedoraproject.org/pub/alt/videos/2012/fudcon-blacksburg/cloudstack.ogg" length="66705023" type="audio/ogg" />
<enclosure url="http://alt.fedoraproject.org/pub/alt/videos/2012/fudcon-blacksburg/openstack.ogg" length="113102190" type="audio/ogg" />
<enclosure url="http://alt.fedoraproject.org/pub/alt/videos/2012/fudcon-blacksburg/aeolus.ogg" length="56880354" type="audio/ogg" />
		</item>
	</channel>
</rss>
