<?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"
	>

<channel>
	<title>Christian's blog</title>
	<atom:link href="http://blog.barfoo.org/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.barfoo.org</link>
	<description>The usual IT babble</description>
	<pubDate>Wed, 23 Jul 2008 12:13:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-bleeding</generator>
	<language>en</language>
			<item>
		<title>Connecting to a remote console with MSTSC 6.0.6001</title>
		<link>http://blog.barfoo.org/2008/07/23/connecting-to-a-remote-console-with-mstsc-606001</link>
		<comments>http://blog.barfoo.org/2008/07/23/connecting-to-a-remote-console-with-mstsc-606001#comments</comments>
		<pubDate>Wed, 23 Jul 2008 12:02:00 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=572</guid>
		<description><![CDATA[Well, as one can read in about every damn post you can find afor that topic, the /console switch is now silently ignored, as well as the rdp file option &#8220;connect to console:i:1&#8220;.
Now, what you don&#8217;t find anywhere (only in some scenario explanation), that it is allowed to specifiy the mode (ie /console previously and [...]]]></description>
			<content:encoded><![CDATA[<p>Well, as one can read in about every damn post you can find afor that topic, the <em>/console</em> switch is now silently ignored, as well as the rdp file option &#8220;<em>connect to console:i:1</em>&#8220;.</p>
<p>Now, what you don&#8217;t find anywhere (only in some <a href="http://theregime.wordpress.com/2007/12/27/changes-to-rdp-for-61/">scenario explanation</a>), that it <strong>is</strong> allowed to specifiy the mode (ie <em>/console</em> previously and now <em>/admin</em>) within the full address parameter.</p>
<blockquote><p><span style="font-size: 10pt;"><span style="font-family: Calibri;"><strong>Scenario:</strong> In the RDC client UI, you specify <strong><em>Computer_name</em> /console</strong> in the <strong>Computer</strong> box (where <em>Computer_name</em> represents the name of the remote computer to which you want to connect), and then click <strong>Connect</strong>. </span></span></p>
<p><span style="font-size: 10pt;"><span style="font-family: Calibri;"><strong>Behaviour:</strong> </span></span><span style="font-size: 10pt;"><span style="font-family: Calibri;">The <strong>/console</strong> switch is silently ignored. You will be connected to a session to remotely administer the server.</span></span><span style="font-size: 10pt;"><span style="font-family: Calibri;"> </span></span><span style="font-size: 10pt;"><span style="font-family: Calibri;">(For more information about the Windows Server 2008 behavior, see the “Behavior when you connect to a server that does not have Terminal Server installed” section of this article.)</span></span></p></blockquote>
<p>So my rdp connection file basically looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="text">screen mode id:i:1
desktopwidth:i:1152
desktopheight:i:864
session bpp:i:24
winposstr:s:0,1,0,0,1219,971
full address:s:ip-address /admin
compression:i:1
keyboardhook:i:2
audiomode:i:0
redirectdrives:i:0
redirectprinters:i:0
redirectcomports:i:0
redirectsmartcards:i:0
displayconnectionbar:i:1
autoreconnection enabled:i:1
alternate shell:s:
shell working directory:s:
disable wallpaper:i:0
disable full window drag:i:0
disable menu anims:i:0
disable themes:i:0
disable cursor setting:i:0
bitmapcachepersistenable:i:1
redirectclipboard:i:1
redirectposdevices:i:0
drivestoredirect:s:
authentication level:i:0
prompt for credentials:i:0
negotiate security layer:i:1
remoteapplicationmode:i:0
allow desktop composition:i:1
allow font smoothing:i:1
gatewayhostname:s:
gatewayusagemethod:i:0
gatewaycredentialssource:i:4
gatewayprofileusagemethod:i:0
prompt for credentials:i:0
EnableCredSSPSupport:i:0</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/07/23/connecting-to-a-remote-console-with-mstsc-606001/feed</wfw:commentRss>
		</item>
		<item>
		<title>SUSE Linux Enterprise Server 10 on VMware ESX</title>
		<link>http://blog.barfoo.org/2008/07/22/suse-linux-enterprise-server-10-on-vmware-esx</link>
		<comments>http://blog.barfoo.org/2008/07/22/suse-linux-enterprise-server-10-on-vmware-esx#comments</comments>
		<pubDate>Tue, 22 Jul 2008 09:06:38 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[SLES10]]></category>

		<category><![CDATA[VMware ESX]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=565</guid>
		<description><![CDATA[We&#8217;re currently having a *really* weird problem with our VM&#8217;s. Sometime last week, SUSE released a kernel update. Now, once you install it and you reboot the selected VM with a DVD/CD image present, you&#8217;re gonna see this:
The only workaround so far has been to unmount *any* cleanse any CD-Drives attached to the VM. And [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re currently having a <strong>*really*</strong> weird problem with our VM&#8217;s. Sometime last week, SUSE released a kernel update. Now, once you install it and you reboot the selected VM with a DVD/CD image present, you&#8217;re gonna see this:</p>
<div class="wp-caption aligncenter" style="width: 410px"><a rel="lightbox2" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=45546&amp;g2_serialNumber=1"><img title="msg.vmxaiomgr.retrycontabort.unknown" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=45548&amp;g2_serialNumber=2" alt="msg.vmxaiomgr.retrycontabort.unkown" width="400" height="167" /></a><p class="wp-caption-text">msg.vmxaiomgr.retrycontabort.unknown</p></div>
<p>The only workaround so far has been to unmount <strong>*any*</strong> cleanse any CD-Drives attached to the VM. And yes, this is reproduceable, even reinstalling from scratch doesn&#8217;t change the fact, that after installing the patch the VM quits working.</p>
<p>I also know, SLES10 SP2 ain&#8217;t officially supported yet by VMware, but I&#8217;d still suspect it to just work and not produce such weird errors. The only thing I found so far is <a href="http://communities.vmware.com/thread/154669;jsessionid=78206EB460BBE69219CA797F56A2D5CF?tstart=15">this</a> VMTN thread ..</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/07/22/suse-linux-enterprise-server-10-on-vmware-esx/feed</wfw:commentRss>
		</item>
		<item>
		<title>Nagios Hostgroup Inheritance (continued)</title>
		<link>http://blog.barfoo.org/2008/07/19/nagios-hostgroup-inheritance-continued</link>
		<comments>http://blog.barfoo.org/2008/07/19/nagios-hostgroup-inheritance-continued#comments</comments>
		<pubDate>Sat, 19 Jul 2008 09:41:21 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Nagios]]></category>

		<category><![CDATA[SLES10]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=561</guid>
		<description><![CDATA[Well, it turns out that my thought was ultimativly flawed. When defining the hostgroup_members in the lower tiers, nagios is association the checks from the lower tier with the upper tiers. Thus propagandating all checks upwards, and me ending up with ~250 checks instead of ~150.
Gonna have to try to define the dependency backwards, maybe [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it turns out that <a href="http://blog.barfoo.org/2008/07/17/nagios-hostgroup-inheritance">my thought</a> was ultimativly flawed. When defining the <em><a href="http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup">hostgroup_members</a></em> in the lower tiers, nagios is association the checks from the lower tier with the upper tiers. Thus propagandating all checks upwards, and me ending up with ~250 checks instead of ~150.</p>
<p>Gonna have to try to define the dependency backwards, maybe that&#8217;ll help. But that&#8217;s a topic for Monday. Guess I&#8217;ll finish viewing Ghost in the Shell - Stand Alone Complex first.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/07/19/nagios-hostgroup-inheritance-continued/feed</wfw:commentRss>
		</item>
		<item>
		<title>Nagios Hostgroup Inheritance</title>
		<link>http://blog.barfoo.org/2008/07/17/nagios-hostgroup-inheritance</link>
		<comments>http://blog.barfoo.org/2008/07/17/nagios-hostgroup-inheritance#comments</comments>
		<pubDate>Thu, 17 Jul 2008 19:18:20 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Nagios]]></category>

		<category><![CDATA[SLES10]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=519</guid>
		<description><![CDATA[As I wrote earlier, I recently virtualized our nagios. Along with that came a complete &#8220;redesign&#8221; of how checks are applied. Up till now, I defined checks for each and every single server, thus ending up with ~25 files, each holding roughly 6 checks which are in the same file just sorted by hostname.
As you [...]]]></description>
			<content:encoded><![CDATA[<p>As I wrote earlier, I recently <a href="http://blog.barfoo.org/2008/07/15/nagios-virtualization">virtualized our nagios</a>. Along with that came a complete &#8220;<em>redesign</em>&#8221; of how checks are applied. Up till now, I defined checks for each and every single server, thus ending up with ~25 files, each holding roughly 6 checks which are in the same file just sorted by hostname.</p>
<p>As you can imagine, it gets quite confusing with that amount of checks (~150). So the last two days I spent on reorganizing (with Visio), on which object/hostgroup placing a check would make sense. Now, this is my first result of two days planning, reorganizing, reordering and moving hosts into different hostgroups.</p>
<div class="wp-caption aligncenter" style="width: 410px"><a title="Nagios Hostgroup Inheritance - Linux" rel="lightbox2" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=45539&amp;g2_serialNumber=2"><img title="Nagios Hostgroup Inheritance - Linux" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=45536&amp;g2_serialNumber=2" alt="Nagios Hostgroup Inheritance - Linux" width="400" height="259" /></a><p class="wp-caption-text">Nagios Hostgroup Inheritance - Linux</p></div>
<div class="wp-caption aligncenter" style="width: 410px"><a title="Nagios Hostgroup Inheritance - Windows" rel="lightbox2" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=45521&amp;g2_serialNumber=2"><img title="Nagios Hostgroup Inheritance - Windows" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=45518&amp;g2_serialNumber=2" alt="Nagios Hostgroup Inheritance - Windows" width="400" height="283" /></a><p class="wp-caption-text">Nagios Hostgroup Inheritance - Windows</p></div>
<p>Thanks to <a href="http://tsunam.org">Josh</a> (and Chris I think), realizing the above is gonna get quite easy. Gonna talk about the config layout itself about once I have it all wrapped up. Stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/07/17/nagios-hostgroup-inheritance/feed</wfw:commentRss>
		</item>
		<item>
		<title>Nagios virtualization</title>
		<link>http://blog.barfoo.org/2008/07/15/nagios-virtualization</link>
		<comments>http://blog.barfoo.org/2008/07/15/nagios-virtualization#comments</comments>
		<pubDate>Tue, 15 Jul 2008 09:46:13 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Nagios]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=513</guid>
		<description><![CDATA[As virtualization seems to be a trendy thing to do, I went ahead and virtualized our nagios (while reinstalling the whole thing &#8230;).
Now as I went into work today and started my email client, I received 4 nagios warnings about a LOAD service reaching critical state. Looked at the nagios box itself, opened up the [...]]]></description>
			<content:encoded><![CDATA[<p>As virtualization seems to be a trendy thing to do, I went ahead and virtualized our nagios (while reinstalling the whole thing &#8230;).</p>
<p>Now as I went into work today and started my email client, I received 4 nagios warnings about a LOAD service reaching critical state. Looked at the nagios box itself, opened up the VM console, looked into the syslog. Nothing.</p>
<p>Yet over 3/4 of the services were flapping, some ping checks were critical (for whatever reason). So I opened the nagios webinterface again, and noticed it dropping the connection over and over again (had to reauthentificate me again and again).</p>
<p>So I opened up Putty, which established the connection without a single problem, but dropped me like a stone after a short amount of time. I restarted the session and got a security warning from Putty (due to different than the saved sshd public key). That raised my suspicion. So I took a look at the hostname, and lookie there.</p>
<p>Somehow my old nagios box (which is a physical box), got turned online again, thus having the same IP address as my virtualized one. So the virtualized nagios wasn&#8217;t really dropping my connection, but I was being directed to the old nagios.</p>
<p>Walked over into the data center, turned of the old box (well, I kept the power button pressed for a short time), and away went my troubles.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/07/15/nagios-virtualization/feed</wfw:commentRss>
		</item>
		<item>
		<title>Latest SLES10 RPM additions</title>
		<link>http://blog.barfoo.org/2008/07/14/latest-sles10-rpm-additions</link>
		<comments>http://blog.barfoo.org/2008/07/14/latest-sles10-rpm-additions#comments</comments>
		<pubDate>Mon, 14 Jul 2008 17:54:43 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[RPM]]></category>

		<category><![CDATA[SLES10]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=504</guid>
		<description><![CDATA[Well, as some people know, I keep around a small set of packages for my own needs (stuff I need from time to time, packages currently in the distributions but yet too old).
So here are some additions to my small repo (that is so far this month):

iftop 0.17-7 for SLES10 (i586, x86_64, srpm) &#8212; Rebuild [...]]]></description>
			<content:encoded><![CDATA[<p>Well, as some people know, I keep around a small set of packages for my own needs (stuff I need from time to time, packages currently in the distributions but yet too old).</p>
<p>So here are some additions to my small repo (that is so far this month):</p>
<ul>
<li>iftop 0.17-7 for SLES10 (<a href="http://distributions.barfoo.org/SLES10/i586/iftop-0.17-7.sle10.i586.rpm">i586</a>, <a href="http://distributions.barfoo.org/SLES10/x86_64/iftop-0.17-7.sle10.x86_64.rpm">x86_64</a>, <a href="http://distributions.barfoo.org/SLES10/src/iftop-0.17-7.sle10.src.rpm">srpm</a>) &#8212; Rebuild from Fedora&#8217;s SRPM</li>
<li>nagios-nrpe 2.12-1 for SLES10 (<a href="http://distributions.barfoo.org/SLES10/i586/nagios-nrpe-2.12-1.sle10.i586.rpm">i586</a>, <a href="http://distributions.barfoo.org/SLES10/x86_64/nagios-nrpe-2.12-1.sle10.x86_64.rpm">x86_64</a>, <a href="http://distributions.barfoo.org/SLES10/src/nagios-nrpe-2.12-1.sle10.src.rpm">srpm</a>) &#8212; Rebuild/Bump from my previous SRPM</li>
<li>nagios 3.0.3-1 for SLES10 &#8212; Rebuild/Bump from the original SLES10 SRPM
<ul>
<li> nagios-3.0.3 (<a href="http://distributions.barfoo.org/SLES10/i586/nagios-3.0.3-1.sle10.i586.rpm">i586</a>, <a href="http://distributions.barfoo.org/SLES10/x86_64/nagios-3.0.3-1.x86_64.rpm">x86_64</a>, <a href="http://distributions.barfoo.org/SLES10/src/nagios-3.0.3-1.sle10.src.rpm">srpm</a>)</li>
</ul>
<ul>
<li>nagios-www-3.0.3 (<a href="http://distributions.barfoo.org/SLES10/i586/nagios-www-3.0.3-1.sle10.i586.rpm">i586</a>, <a href="http://distributions.barfoo.org/SLES10/x86_64/nagios-www-3.0.3-1.x86_64.rpm">x86_64</a>)</li>
</ul>
</li>
<li>pnp4nagios 0.4.10 for SLES10 (<a href="http://distributions.barfoo.org/SLES10/i586/pnp4nagios-0.4.10-1.sle10.i586.rpm">i586</a>, <a href="http://distributions.barfoo.org/SLES10/x86_64/pnp4nagios-0.4.10-1.sle10.x86_64.rpm">x86_64</a>, <a href="http://distributions.barfoo.org/SLES10/src/pnp4nagios-0.4.10-1.sle10.src.rpm">srpm</a>) &#8212; Rebuild from CentOS SRPM, modified to fit into the SLES scheme &#8212; currently has a small bug, still need to fix it tomorrow (<em>/etc/apache2/conf.d/pnp4nagios.conf</em> has a wrong &#8220;<em>Allow</em>&#8221; line &#8230; ooooops).</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/07/14/latest-sles10-rpm-additions/feed</wfw:commentRss>
		</item>
		<item>
		<title>Extending VMotion compatiblity (continued)</title>
		<link>http://blog.barfoo.org/2008/07/14/extending-vmotion-compatiblity-continued</link>
		<comments>http://blog.barfoo.org/2008/07/14/extending-vmotion-compatiblity-continued#comments</comments>
		<pubDate>Mon, 14 Jul 2008 17:41:40 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[VMotion]]></category>

		<category><![CDATA[VMware Infrastructure]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=500</guid>
		<description><![CDATA[Remember my last post about cpu masking ? Well, turns out that you can do it to a &#8220;template&#8221;.
The only point you don&#8217;t need to do, is to mark the VM as a &#8220;template&#8220;. You still can clone it and move it around and all that other stuff, but the good part is, that the [...]]]></description>
			<content:encoded><![CDATA[<p>Remember my <a href="http://blog.barfoo.org/2008/07/04/extending-vmotion-compatiblity">last post about cpu masking</a> ? Well, turns out that you can do it to a &#8220;template&#8221;.</p>
<p>The only point you don&#8217;t need to do, is to mark the <strong>VM</strong> as a &#8220;<em>template</em>&#8220;. You still can clone it and move it around and all that other stuff, but the good part is, that the cloned VM keeps the cpu mask set to the &#8220;<em>template</em>&#8221; <strong>*shrug*</strong></p>
<p>I don&#8217;t know, why VMware didn&#8217;t include that feature into the templates, since it&#8217;s a real freaky way to do.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/07/14/extending-vmotion-compatiblity-continued/feed</wfw:commentRss>
		</item>
		<item>
		<title>Nagios3 with Active Directory authorization on SLES10</title>
		<link>http://blog.barfoo.org/2008/07/14/nagios3-with-active-directory-authorization-on-sles10</link>
		<comments>http://blog.barfoo.org/2008/07/14/nagios3-with-active-directory-authorization-on-sles10#comments</comments>
		<pubDate>Mon, 14 Jul 2008 17:32:04 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Active Directory]]></category>

		<category><![CDATA[Nagios]]></category>

		<category><![CDATA[SLES10]]></category>

		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=494</guid>
		<description><![CDATA[Well, it seems to be getting a &#8220;trend&#8221; for me, to integrate stuff into our Active Directory. Now that I know why, and how easy that is, I expect to add more stuff. The good thing about the integration is, that you only need to maintain a single source for authorization.
The bad thing about that [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it seems to be getting a &#8220;trend&#8221; for me, to integrate stuff into our Active Directory. Now that I know why, and how easy that is, I expect to add more stuff. The good thing about the integration is, that you only need to maintain a single source for authorization.</p>
<p>The bad thing about that is, that stuff becomes dependant on the Active Directory (we do have four domain controllers, so that should be fine).</p>
<p>Now, here&#8217;s the ssl-(only) apache2 configuration file for my vhost:</p>

<div class="wp_syntax"><div class="code"><pre class="apache">&lt;VirtualHost *:<span style="color: #ff0000;">80</span>&gt;
&nbsp;
  <span style="color: #adadad; font-style: italic;">## mod_core</span>
  <span style="color: #00007f;">DocumentRoot</span> <span style="color: #7f007f;">&quot;/usr/share/nagios&quot;</span>
&nbsp;
  <span style="color: #00007f;">ServerName</span> nagios.barfoo.org
  <span style="color: #00007f;">ServerAlias</span> nagios3.barfoo.org
  <span style="color: #00007f;">ServerAdmin</span> nagiosadmin@barfoo.org
&nbsp;
  <span style="color: #adadad; font-style: italic;">## mod_rewrite</span>
  <span style="color: #00007f;">RewriteEngine</span> <span style="color: #0000ff;">On</span>
  <span style="color: #00007f;">RewriteRule</span> ^/<span style="color: #66cc66;">&#40;</span>.*<span style="color: #66cc66;">&#41;</span>         https://nagios.barfoo.org/$<span style="color: #ff0000;">1</span> <span style="color: #66cc66;">&#91;</span>L,R<span style="color: #66cc66;">&#93;</span>
&nbsp;
&lt;/VirtualHost&gt;
&nbsp;
&lt;VirtualHost *:<span style="color: #ff0000;">443</span>&gt;
&nbsp;
  <span style="color: #adadad; font-style: italic;">## mod_core</span>
  <span style="color: #00007f;">DocumentRoot</span> <span style="color: #7f007f;">&quot;/usr/share/nagios&quot;</span>
&nbsp;
  <span style="color: #00007f;">ServerName</span> nagios.barfoo.org
  <span style="color: #00007f;">ServerAdmin</span> nagiosadmin@barfoo.org
&nbsp;
  <span style="color: #00007f;">ScriptAlias</span> /nagios/cgi-bin /usr/lib/nagios/cgi
  <span style="color: #00007f;">Alias</span> /nagios /usr/share/nagios
  <span style="color: #00007f;">Alias</span> /pnp /usr/share/nagios/html/pnp4nagios
&nbsp;
  &lt;DirectoryMatch <span style="color: #7f007f;">&quot;/usr/(share/nagios|lib/nagios/cgi)&quot;</span>&gt;
    <span style="color: #00007f;">AllowOverride</span> <span style="color: #0000ff;">None</span>
    <span style="color: #00007f;">Order</span> <span style="color: #00007f;">deny</span>,<span style="color: #00007f;">allow</span>
    <span style="color: #00007f;">Deny</span> <span style="color: #00007f;">from</span> <span style="color: #00007f;">all</span>
    <span style="color: #00007f;">Allow</span> <span style="color: #00007f;">from</span> <span style="color: #ff0000;">10.0</span><span style="color: #ff0000;">.0</span>.
    <span style="color: #00007f;">Options</span> <span style="color: #0000ff;">None</span>
&nbsp;
    <span style="color: #adadad; font-style: italic;"># Authorization</span>
    <span style="color: #00007f;">AuthType</span> Basic
    <span style="color: #00007f;">AuthName</span> <span style="color: #7f007f;">&quot;Nagios Barfoo&quot;</span>
&nbsp;
    <span style="color: #adadad; font-style: italic;"># The authentification provider is mod_ldap</span>
    AuthBasicProvider ldap
&nbsp;
    <span style="color: #adadad; font-style: italic;"># mod_ldap is our *only* authentification provider for this!</span>
    AuthzLDAPAuthoritative <span style="color: #0000ff;">on</span>
&nbsp;
    <span style="color: #adadad; font-style: italic;"># Redirect the userfile requests to /dev/null</span>
    <span style="color: #00007f;">AuthUserFile</span> /dev/null
&nbsp;
    <span style="color: #adadad; font-style: italic;"># AD requires an authentication DN to access any records</span>
    AuthLDAPBindDN <span style="color: #7f007f;">&quot;BARFOO<span style="color: #000099; font-weight: bold;">\\</span>ldap_nagios&quot;</span>
    AuthLDAPBindPassword <span style="color: #7f007f;">&quot;somethingrandom&quot;</span>
&nbsp;
    <span style="color: #adadad; font-style: italic;"># The URL to search in</span>
    AuthLDAPURL <span style="color: #7f007f;">&quot;ldap://dc0.barfoo.org dc1.barfoo.org dc2.barfoo.org dc3.barfoo.org/OU=Users,dc=barfoo,dc=org?sAMAccountName?sub?(objectClass=*)&quot;</span>
&nbsp;
    <span style="color: #adadad; font-style: italic;"># Search the group membership in the specified group, otherwise it's gonna</span>
    <span style="color: #adadad; font-style: italic;"># get searched at the binding DN's location</span>
    AuthLDAPGroupAttributeIsDN <span style="color: #0000ff;">on</span>
    <span style="color: #00007f;">Require</span> ldap-<span style="color: #00007f;">group</span> CN=gr_nagios,OU=Groups,DC=barfoo,DC=org
  &lt;/DirectoryMatch&gt;
&nbsp;
  <span style="color: #adadad; font-style: italic;">## mod_log</span>
  <span style="color: #00007f;">ErrorLog</span> /var/log/apache2/nagios.barfoo.org.error_log
  <span style="color: #00007f;">TransferLog</span> /var/log/apache2/nagios.barfoo.org.access_log
  <span style="color: #00007f;">CustomLog</span> /var/log/apache2/nagios.barfoo.org.ssl_request_log   ssl_combined
&nbsp;
  <span style="color: #adadad; font-style: italic;">## mod_ssl</span>
  SSLEngine <span style="color: #0000ff;">on</span>
  SSLCipherSuite <span style="color: #00007f;">ALL</span>:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
  SSLCertificateFile /etc/apache2/ssl.crt/nagios.barfoo.org.crt
  SSLCertificateKeyFile /etc/apache2/ssl.key/nagios.barfoo.org.key
&nbsp;
  &lt;Files ~ <span style="color: #7f007f;">&quot;<span style="color: #000099; font-weight: bold;">\.</span>(cgi|shtml|phtml|php3|php?)$&quot;</span>&gt;
    SSLOptions +StdEnvVars
  &lt;/Files&gt;
&nbsp;
  <span style="color: #00007f;">SetEnvIf</span> User-Agent <span style="color: #7f007f;">&quot;.*MSIE.*&quot;</span> \
    <span style="color: #0000ff;">nokeepalive</span> ssl-unclean-shutdown \
    downgrade<span style="color: #ff0000;">-1.0</span> force-response<span style="color: #ff0000;">-1.0</span>
&nbsp;
&lt;/VirtualHost&gt;</pre></div></div>

<p>As you can see, AuthLDAPUrl holds the four LDAP servers separated by spaces (that&#8217;s what the <a href="http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html#authldapurl">Apache2 documentation</a> says about that), and that actually works.</p>
<p>The only additional thing I had to change from the nagios part is in <em>/etc/nagios/cgi.cfg</em> to allow everyone to issue system commands. Also, if you ever stumble upon extranous chars in the check_nrpe output, update to a newer NRPE version, that fixed it for me (that is on the receiver side - as in the box running the NRPE agent).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/07/14/nagios3-with-active-directory-authorization-on-sles10/feed</wfw:commentRss>
		</item>
		<item>
		<title>Extending VMotion compatiblity</title>
		<link>http://blog.barfoo.org/2008/07/04/extending-vmotion-compatiblity</link>
		<comments>http://blog.barfoo.org/2008/07/04/extending-vmotion-compatiblity#comments</comments>
		<pubDate>Fri, 04 Jul 2008 13:09:10 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[cpu mask]]></category>

		<category><![CDATA[VMotion]]></category>

		<category><![CDATA[VMware ESX]]></category>

		<category><![CDATA[VMware Infrastructure]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=482</guid>
		<description><![CDATA[Today I did something horrible. I yet again noticed that I bought the wrong CPU&#8217;s (basically I bought Xeon DP&#8217;s with four cores). Those have apparently a feature called SSSE3, which makes VMotion with our old Xeon DP&#8217;s (dual cores) fail before even trying.
But as we had a cooling outage today (basically &#8217;cause it broke), [...]]]></description>
			<content:encoded><![CDATA[<p>Today I did something horrible. I yet again noticed that I bought the wrong CPU&#8217;s (basically I bought Xeon DP&#8217;s with four cores). Those have apparently a feature called SSSE3, which makes VMotion with our old Xeon DP&#8217;s (dual cores) fail before even trying.</p>
<p>But as we had a cooling outage today (basically &#8217;cause it broke), I needed to turn off some ESX servers. Thus leaving me with the new ones and one of the old ones. *<strong>yuck</strong>*</p>
<p>So after a bit of googling, I found <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1993">this VMware KB entry</a>, which luckily lists the registers (on level 1) you need to zero out.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="text">ecx ---- ---- ---- -0-- ---- --0- ---0 -0--
edx ---- ---- ---- --0- ---- ---- ---- ----</pre></td></tr></table></div>

<p>Only problem after that was that it still wasn&#8217;t enough. So back to the drawing board. The final solution came rather quick and looks like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="text">eax ---- ---- ---- ---- ---- 0--0 ---- ----
ecx ---- ---- ---- -0-- ---- --0- ---0 -0--
edx ---- ---- ---- --0- ---- ---- ---- ----</pre></td></tr></table></div>

<p>The only stupid thing about this is, that</p>
<ol>
<li>it ain&#8217;t supported by VMware (as in if you&#8217;re having trouble with your ESX/VC and you have a VM running with this, you&#8217;re shit outta luck!)</li>
<li>you have to define this on a *<strong>per VM basis</strong>*, which really is a pain in the ass for larger installations</li>
</ol>
<p>True, I just should&#8217;ve bought VMotion compatible CPU&#8217;s, that would have spared me the hassle &#8230; but it&#8217;s too late now, I have to live with those ones.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/07/04/extending-vmotion-compatiblity/feed</wfw:commentRss>
		</item>
		<item>
		<title>Managing unixODBC connections on SLES10</title>
		<link>http://blog.barfoo.org/2008/07/03/managing-unixodbc-connections-on-sles10</link>
		<comments>http://blog.barfoo.org/2008/07/03/managing-unixodbc-connections-on-sles10#comments</comments>
		<pubDate>Thu, 03 Jul 2008 06:42:27 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[freetds]]></category>

		<category><![CDATA[SLES10]]></category>

		<category><![CDATA[unixODBC]]></category>

		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=454</guid>
		<description><![CDATA[Recently I got the task, to implement unixODBC/freetds on one (well, it&#8217;s really three) of our web servers, as someone wanted to use Microsoft SQL Server 2005 with PHP (without using the MSSQL functions, which PHP provides soo nicely; don&#8217;t ask me why).
With that I also got a set of &#8220;instructions&#8221; on how to install [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I got the task, to implement unixODBC/<a href="http://distributions.barfoo.org/SLES10/x86_64/freetds-0.82-1.sle10.x86_64.rpm">freetds</a> on one (well, it&#8217;s really three) of our web servers, as someone wanted to use Microsoft SQL Server 2005 with PHP (without using the <a href="http://de3.php.net/manual/en/ref.mssql.php">MSSQL functions</a>, which PHP provides soo nicely; don&#8217;t ask me why).</p>
<p>With that I also got a set of &#8220;<em>instructions</em>&#8221; on how to install freetds from source (remember, I was a Gentoo dev, so I know my way around, when it comes to building from source), as well as a small set of instructions on how to create the connection.</p>
<p>Well, after trying to figure out why the hell the connection ain&#8217;t working with unixODBC&#8217;s tsql and PHP&#8217;s <a href="http://de3.php.net/manual/en/ref.uodbc.php">odbc functions</a>, and yet the plain connection using <em>telnet</em> works &#8230; <strong>*shrug*</strong> turns out it was a simple mistake &#8230;</p>
<p>The &#8220;<em>howto</em>&#8221; said something like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
</pre></td><td class="code"><pre class="text">[FreeTDS]
Description  = FreeTDS unixODBC Driver
Driver       = /usr/lib64/libtdsodbc.so
Setup        = /usr/lib64/libtdsodbc.so
&nbsp;
[ODBC Data Sources]
mssql        = Microsoft SQL Server 2005
&nbsp;
[mssql]
Driver       = /usr/lib64/libtdsodbc.so
Description  = MSSQLServer
Trace        = No
Database     = Database
TraceFile    = /var/log/freetdssql-foobar.log
Servername   = sql.foobar.org
Port         = 2433
TDS_Version  = 8.0
&nbsp;
[Default]
Driver       = /usr/lib64/libtdsodbc.so</pre></td></tr></table></div>

<p>While it should have been this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
</pre></td><td class="code"><pre class="text">[FreeTDS]
Description  = FreeTDS unixODBC Driver
Driver       = /usr/lib64/libtdsodbc.so
Setup        = /usr/lib64/libtdsodbc.so
&nbsp;
[ODBC Data Sources]
mssql        = Microsoft SQL Server 2005
&nbsp;
[mssql]
Driver       = /usr/lib64/libtdsodbc.so
Description  = MSSQLServer
Trace        = No
Database     = Database
TraceFile    = /var/log/freetdssql-foobar.log
Server       = sql.foobar.org
Port         = 2433
TDS_Version  = 8.0
&nbsp;
[Default]
Driver       = /usr/lib64/libtdsodbc.so</pre></td></tr></table></div>

<p>See the difference ? If not, I&#8217;ll show you a diff:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="diff"><span style="color: #888822;">--- odbc.ini.orig</span>
<span style="color: #888822;">+++ odbc.ini</span>
<span style="color: #440088;">@@ <span style="">-12</span>,<span style="">7</span> <span style="">+12</span>,<span style="">7</span> @@</span>
 Trace        = No
 Database     = Database
 TraceFile    = /var/log/freetdssql-foobar.log
<span style="color: #991111;">-Servername   = sql.barfoo.org</span>
<span style="color: #00b000;">+Server       = sql.barfoo.org</span>
 Port         = <span style="">2433</span>
 TDS_Version  = <span style="">8.0</span></pre></td></tr></table></div>

<p>Something as simple as adding another part of a word (as in &#8220;<em>name</em>&#8220;) to <strong><em>Server</em></strong>, makes the whole thing go <strong>wonko</strong>. Well, it ain&#8217;t going wonko per se, as <strong><em>Servername</em></strong> is different from the meaning of <strong><em>Server</em></strong>, at least when it comes to freetds.</p>
<p><em><strong>Servername</strong></em> is the SQL-Server Instance name, while <em><strong>Server</strong></em> is the DNS name .. figures.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/07/03/managing-unixodbc-connections-on-sles10/feed</wfw:commentRss>
		</item>
		<item>
		<title>subversion on WebDAV with Active Directory authorization on SLES10</title>
		<link>http://blog.barfoo.org/2008/06/29/subversion-on-webdav-with-active-directory-authorization-on-sles10</link>
		<comments>http://blog.barfoo.org/2008/06/29/subversion-on-webdav-with-active-directory-authorization-on-sles10#comments</comments>
		<pubDate>Sun, 29 Jun 2008 17:49:29 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Active Directory]]></category>

		<category><![CDATA[Apache]]></category>

		<category><![CDATA[SLES10]]></category>

		<category><![CDATA[subversion]]></category>

		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=425</guid>
		<description><![CDATA[Okay, so I ended up toying with subversion via WebDAV on SLES today (I know, I know .. it&#8217;s bloody Sunday). It wasn&#8217;t much of a hassle though, after reading this. Sure, I made a few errors at first (simply confused the logic behind &#8220;Location&#8221; and &#8220;Directory&#8220;), but after that plain subversion commits via WebDAV [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, so I ended up toying with subversion via WebDAV on SLES today (I know, I know .. it&#8217;s bloody Sunday). It wasn&#8217;t much of a hassle though, after reading <a href="http://cheminfo.informatics.indiana.edu/~rguha/misc/svnapache.html">this</a>. Sure, I made a few errors at first (simply confused the logic behind &#8220;<em><a href="http://httpd.apache.org/docs/2.2/mod/core.html#location">Location</a></em>&#8221; and &#8220;<em><a href="http://httpd.apache.org/docs/2.2/mod/core.html#directory">Directory</a></em>&#8220;), but after that plain subversion commits via WebDAV (thus utilizing apache) worked fine.</p>
<p>For POC or as a hint to myself, here&#8217;s where and what I needed to add/change:</p>
<p>Add the following modules to <strong><em>APACHE_MODULES</em></strong> in <em>/etc/sysconfig/apache2</em>:</p>
<ol>
<li>dav_svn (dav_svn needs dav, thus the need to add it too)</li>
<li><a href="http://httpd.apache.org/docs/2.2/mod/mod_dav.html">dav</a></li>
<li><a href="http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html">authnz_ldap</a> (authnz_ldap needs ldap, so again we need that too!)</li>
<li><a href="http://httpd.apache.org/docs/2.2/mod/mod_ldap.html">ldap</a></li>
</ol>
<p>After that, we can add our repository (or our multi-repository folder) to <em>/etc/apache2/conf.d/subversion.conf</em>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
</pre></td><td class="code"><pre class="apache">&lt;IfModule mod_dav_svn.c&gt;
&nbsp;
&lt;Location /svn&gt;
  DAV svn
  SVNParentPath /srv/svn
&nbsp;
  <span style="color: #adadad; font-style: italic;"># Limit write permission to list of valid users.</span>
  &lt;LimitExcept GET PROPFIND <span style="color: #00007f;">OPTIONS</span> REPORT&gt;
    <span style="color: #adadad; font-style: italic;"># Require SSL connection for password protection.</span>
    <span style="color: #adadad; font-style: italic;"># SSLRequireSSL</span>
&nbsp;
    <span style="color: #00007f;">AuthType</span> Basic
    <span style="color: #00007f;">AuthName</span> <span style="color: #7f007f;">&quot;Subversion repositories (Domänenzugangsdaten)&quot;</span>
&nbsp;
    <span style="color: #adadad; font-style: italic;"># The authentification provider is mod_ldap</span>
    AuthBasicProvider ldap
&nbsp;
    <span style="color: #adadad; font-style: italic;"># mod_ldap is our *only* authentification provider for this!</span>
    AuthzLDAPAuthoritative <span style="color: #0000ff;">on</span>
&nbsp;
    <span style="color: #adadad; font-style: italic;"># AD requires an authentication DN to access any records</span>
    AuthLDAPBindDN <span style="color: #7f007f;">&quot;CN=LDAP Subversion,OU=anon_accounts,OU=Users,DC=foobar,DC=org&quot;</span>
    AuthLDAPBindPassword <span style="color: #7f007f;">&quot;somethingrandom&quot;</span>
&nbsp;
    <span style="color: #adadad; font-style: italic;"># The URL to search in</span>
    AuthLDAPURL <span style="color: #7f007f;">&quot;ldap://dc0.foobar.org/ou=Users,dc=foobar,dc=org?sAMAccountName?sub?(objectClass=*)&quot;</span>
&nbsp;
    <span style="color: #adadad; font-style: italic;"># Search the group membership in the specified group, otherwise it's gonna</span>
    <span style="color: #adadad; font-style: italic;"># get searched at the binding DN's location</span>
    AuthLDAPGroupAttributeIsDN <span style="color: #0000ff;">on</span>
    <span style="color: #00007f;">Require</span> ldap-<span style="color: #00007f;">group</span> CN=gr_subversion,OU=Groups,DC=foobar,DC=org
&nbsp;
  &lt;/LimitExcept&gt;
&lt;/Location&gt;</pre></td></tr></table></div>

<p>Now, as you can see, my goal was to not rely on a separate authorization database, but to use our already existing Active Directory at work. Generally this works just fine, but it didn&#8217;t. I tried various things, like trying another user, changing the group (as in the &#8220;<em><a href="http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html#reqgroup">require ldap-group</a></em>&#8220;) as well as changing my own password. Zip.</p>
<p>All I got was this line in the <em>error_log</em> of apache:</p>

<div class="wp_syntax"><div class="code"><pre class="text">[warn] [client 10.0.0.148] [9486] auth_ldap authenticate: user foo authentication failed; URI /svn/admin-scripts/!svn/act/71f2b65f-d050-0410-b33c-3b31fbb94a00 [ldap_search_ext_s() for use
r failed][Operations error]</pre></div></div>

<p>Now, that itself does tell you what is happening, but not why. So again, I ended up googling till I found <a href="http://michele.pupazzo.org/diary/?p=227">this</a>:</p>
<p>The suggested step was to add &#8220;<strong><em>REFERRALS off</em></strong>&#8221; to <em>/etc/ldap/ldap.conf</em>. Surprise, the file don&#8217;t exist. Heck, there&#8217;s that one in <em>/etc/ldap.conf</em>. I did that, still zip.</p>
<p>Did I get the wrong file ? Absolutely. </p>
<p><em>/etc/ldap.conf</em> is used by <strong>nsswitch</strong> and <strong>pam_ldap</strong>, but not by <strong>openldap2</strong> (which is what apache is using). So reading <a href="http://michele.pupazzo.org/diary/?p=227#comment-82">this comment</a>, adding the line to /etc/openldap2/ldap.conf, and <strong>*kaching*</strong>! Works.</p>
<p>Now I just need to install <a href="http://www.redmine.org/">redmine</a> (already installed ruby, rubygems and rubygem-rails from the SDK Addon), but I&#8217;ll leave that for tommorow, today I&#8217;m gonna watch <em><a href="http://en.wikipedia.org/wiki/Band_of_brothers">Band of Brothers</a></em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/06/29/subversion-on-webdav-with-active-directory-authorization-on-sles10/feed</wfw:commentRss>
		</item>
		<item>
		<title>The clue to build ppc64 RPM&#8217;s</title>
		<link>http://blog.barfoo.org/2008/06/26/the-clue-to-build-ppc64-rpms</link>
		<comments>http://blog.barfoo.org/2008/06/26/the-clue-to-build-ppc64-rpms#comments</comments>
		<pubDate>Thu, 26 Jun 2008 15:52:22 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[PowerPC]]></category>

		<category><![CDATA[RPM]]></category>

		<category><![CDATA[SLES10]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=400</guid>
		<description><![CDATA[Remember, I talked about building RPM&#8217;s on SLES10SP2 on ppc64 ? Well, turns out I was rather stupid .. and it was rather simple (don&#8217;t ask me why I didn&#8217;t think of that). I tried asking solar, I used google (apparently with the wrong search parameters), nothing though. Not a clue.
Today it bugged me again, [...]]]></description>
			<content:encoded><![CDATA[<p>Remember, I <a href="http://blog.barfoo.org/2008/06/14/building-rpms-on-sles10sp2-ppc64">talked</a> about building RPM&#8217;s on SLES10SP2 on ppc64 ? Well, turns out I was rather stupid .. and it was rather simple (don&#8217;t ask me why I didn&#8217;t think of that). I tried asking solar, I used google (apparently with the wrong search parameters), nothing though. Not a clue.</p>
<p>Today it bugged me again, so I used google again. This time with &#8220;<em><a href="http://www.google.de/search?q=ppc64+suse+rpmbuild&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:de:official&amp;client=firefox-a">ppc64 suse rpmbuild</a></em>&#8220;, and guess what I saw within the preview of the second hit ..</p>

<div class="wp_syntax"><div class="code"><pre class="bash">rpmbuild -ba --target ppc64 myfile.spec</pre></div></div>

<p>And here I thought I was missing something, turns out I was really stupid though .. <strong>*shrug*</strong> Building stuff like nagios works with that <span style="text-decoration: underline;">just</span> fine ..</p>
<p><strong>Update</strong>: or not. It worked only a single time and is broken ever since again. Guess I&#8217;m gonna reload the box on Tuesday.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/06/26/the-clue-to-build-ppc64-rpms/feed</wfw:commentRss>
		</item>
		<item>
		<title>Removing newlines (\n) with sed</title>
		<link>http://blog.barfoo.org/2008/06/24/removing-newlines-n-with-sed</link>
		<comments>http://blog.barfoo.org/2008/06/24/removing-newlines-n-with-sed#comments</comments>
		<pubDate>Tue, 24 Jun 2008 13:39:14 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[safekeeping]]></category>

		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=386</guid>
		<description><![CDATA[Today I had to search again on how to remove newline special characters with sed. Thanks to Kamil over at  linux.dsplabs.com.au, I found it again rather quickly.
Now, this is just for my own safekeeping, so I don&#8217;t end up googling for it again &#8230; *shrug*

echo -e &#34;Line containing \nnewlines!&#34; &#124; sed ':a;N;$!ba;s/\n//g'

]]></description>
			<content:encoded><![CDATA[<p>Today I had to search again on how to remove newline special characters with sed. Thanks to <a href="http://kamil.dsplabs.com.au/resume/">Kamil</a> over at  <a href="http://linux.dsplabs.com.au/">linux.dsplabs.com.au</a>, I found <a href="http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/">it</a> again rather quickly.</p>
<p>Now, this is just for my own safekeeping, so I don&#8217;t end up googling for it again &#8230; <strong>*shrug*</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #7a0874; font-weight: bold;">echo</span> -e <span style="color: #ff0000;">&quot;Line containing <span style="color: #000099; font-weight: bold;">\n</span>newlines!&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">':a;N;$!ba;s/<span style="color: #000099; font-weight: bold;">\n</span>//g'</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/06/24/removing-newlines-n-with-sed/feed</wfw:commentRss>
		</item>
		<item>
		<title>VMware design rules</title>
		<link>http://blog.barfoo.org/2008/06/20/vmware-design-rules</link>
		<comments>http://blog.barfoo.org/2008/06/20/vmware-design-rules#comments</comments>
		<pubDate>Fri, 20 Jun 2008 18:32:32 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[VMware ESX]]></category>

		<category><![CDATA[VMware Infrastructure]]></category>

		<category><![CDATA[VMware VirtualCenter]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=357</guid>
		<description><![CDATA[I&#8217;m just got back from four days in Rostock over at S&#38;N, where I was attending a VMware design course and here&#8217;s a list of questions I did ask the trainer:

What&#8217;s the disadvantage of having a 1016 ported vSwitch ?
Any clues on how to exchange the default certificate of the Virtual Center ?
Are there any [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m just got back from four days in Rostock over at <a href="http://www.sundat.net/De/Default.aspx">S&amp;N</a>, where I was attending a VMware design course and here&#8217;s a list of questions I did ask the trainer:</p>
<ol>
<li>What&#8217;s the disadvantage of having a 1016 ported vSwitch ?</li>
<li>Any clues on how to exchange the default certificate of the Virtual Center ?</li>
<li>Are there any tools to stress test the virtual system ?</li>
<li>Are there any performance impacts of having more than 10 users in Virtual Center ?</li>
<li>Any clues and/or guides on how to do time synchronization in VMware guests, especially Linux guests ?</li>
<li>What&#8217;s the preferred NIC type for Linux guests ?</li>
<li>Any clues to using Raw Device Mappings with VMotion ?</li>
<li>Is there a way of defining CPU masks on a global level ?</li>
</ol>
<p>Answers:</p>
<ol>
<li>There might be a small overhead, though that&#8217;s limited to a really, non-measureable amount</li>
<li>Hasn&#8217;t done it yet.</li>
<li>Yes, there are free stress test tools like <a href="http://blog.barfoo.org/wp-content/uploads/2008/06/cpubusy.vbs">cpubusy.vbs</a>, <a href="http://blog.barfoo.org/wp-content/uploads/2008/06/cpubusy.pl">cpubusy.pl</a>, <a href="http://kb.ciprico.com/lore/article.php?id=205">iometer.exe</a>, ..</li>
<li>Nope, you should only experienece load problems starting at 25 or so users</li>
<li>Select <strong>*one*</strong> variant, either time synchronization by use of the VMware tools or <em>ntpupdate</em>; if <em>ntpupdate</em>, select a single time source for your whole environment</li>
<li>For ESX 3.5.0 that would be &#8220;Flexible&#8221; (as per <a href="http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=1001805&amp;sliceId=1&amp;docTypeID=DT_KB_1_1&amp;dialogID=10362975&amp;stateId=1%200%2010364099">VMware Knowledgebase</a>), as the vmxnet type is a leftover from ESX 3.0</li>
<li>Raw device mappings are <strong>*absolutely*</strong> supported by VMware, and also work without any troubles (when mapping/zonig is correctly configured)</li>
<li>Currently there&#8217;s no known way of doing this</li>
</ol>
<ul>
<li>When adjusting the CPU afinity of a VM, <strong>*always*</strong> completely stop the virtual machine afterwards</li>
<li>When trying to figure out CPU bottlenecks, check whether or not hyperthreading is enabled. The hyperthreaded (second) core is only giving you a CPU with 15% of the first.</li>
</ul>
<p>Also, here are some <strong>guidelines</strong> on how the trainer extended the defaults:</p>
<p><strong>ESX Server</strong>:</p>
<ul>
<li>Extend the &#8220;<em>/</em>&#8221; size to 10GiB</li>
<li>Extend the &#8220;<em>swap</em>&#8221; partition to about 1GiB</li>
<li>Extend the &#8220;<em>/var/log</em>&#8221; partition to about 4 GiB</li>
<li>don&#8217;t mess around with creating too many vSwitches; just keep it simple</li>
<li>set the duplex mode manually if the ESX is giving you any trouble</li>
<li>disable the <em>Traffic Shaping</em>, unless you <strong>*really*</strong> need it</li>
</ul>
<p><strong>VirtualCenter</strong>:</p>
<ul>
<li>There&#8217;s two options when installing VirtualCenter: either install it on a physical box or simply put it into a virtual machine itself</li>
<li>A problem with putting it into a virtual machine is, when the VM is shutting down or powered off due to isolation of the ESX running it, any ESX Server powering up isn&#8217;t going to start any virtual machines as that in return requires the License Server</li>
<li>Only use the SQL Server Express variant if you really have to. It&#8217;s limited to 4GB database size, so if your installation grows above say 50 hosts and 2000 VM&#8217;s, this is gonna break the limits of SQL Server Express</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/06/20/vmware-design-rules/feed</wfw:commentRss>
		</item>
		<item>
		<title>Updated `check_ram&#8217; plugin</title>
		<link>http://blog.barfoo.org/2008/06/17/updated-check_ram-plugin</link>
		<comments>http://blog.barfoo.org/2008/06/17/updated-check_ram-plugin#comments</comments>
		<pubDate>Tue, 17 Jun 2008 09:25:21 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[check_ram]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=358</guid>
		<description><![CDATA[As I was building the updated RPMs for SLES10, though needed to refresh my old patch. Also, I was getting strange messages from autotools and fixed these quirks, Now, I prepped a patch for it, and finished building new RPMs for i585 and x86_64.
]]></description>
			<content:encoded><![CDATA[<p>As I was building the updated RPMs for SLES10, though needed to <a href="http://blog.barfoo.org/wp-content/uploads/2008/06/nagios-plugins-1412-check_ram.patch">refresh</a> my old patch. Also, I was getting strange messages from autotools and fixed these <a href="http://blog.barfoo.org/wp-content/uploads/2008/06/nagios-plugins-1412-autoconf-quirks.patch">quirks</a>, Now, I prepped a patch for it, and finished building new RPMs for <a href="http://distributions.barfoo.org/SLES10/i586/nagios-plugins-1.4.12-1.sle10.i586.rpm">i5</a><a href="http://distributions.barfoo.org/SLES10/i586/nagios-plugins-extras-1.4.12-1.sle10.i586.rpm">85</a> and <a href="http://distributions.barfoo.org/SLES10/x86_64/nagios-plugins-1.4.12-1.sle10.x86_64.rpm">x86</a><a href="http://distributions.barfoo.org/SLES10/x86_64/nagios-plugins-extras-1.4.12-1.sle10.x86_64.rpm">_64</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/06/17/updated-check_ram-plugin/feed</wfw:commentRss>
		</item>
		<item>
		<title>Looong time</title>
		<link>http://blog.barfoo.org/2008/06/16/looong-time</link>
		<comments>http://blog.barfoo.org/2008/06/16/looong-time#comments</comments>
		<pubDate>Mon, 16 Jun 2008 18:50:58 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=196</guid>
		<description><![CDATA[Well, it&#8217;s been a loong time since I first thought about retiring (yes, I know that #-dev&#8217;s topic states &#8220;developer blogs&#8221; ain&#8217;t for announcing important things, but my blog has to do for this; if not, I don&#8217;t care anymore  ).
But I think it&#8217;s about time for me to leave. I haven&#8217;t done much [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s been a loong time since I first thought about retiring (yes, I know that #-dev&#8217;s topic states &#8220;<em>developer blogs</em>&#8221; ain&#8217;t for announcing important things, but my blog has to do for this; if not, I don&#8217;t care anymore <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_exclaim.gif' alt=':!:' class='wp-smiley' /> ).</p>
<p>But I think it&#8217;s about time for me to leave. I haven&#8217;t done much lately, I&#8217;ve been soo damn busy with work these last months like I would never have imagined. I gave it some more thought, and I finally got to the point (again I might add) where all just annoys and/or and frustrates me.</p>
<p>All the damn bickering, the childish behaviour <a href="http://tsunam.org/2008/04/03/professional-expectations-from-non-professionals/">Josh talked about</a> (&#8221;<em>noooo, that&#8217;s my TOY!</em>&#8220;), the constant abuse of power (hey #-chat, #-kde ops). I thought most of us would at least try and behave like the elderish people we are (well besides the few of us, who really are children by law&#8217;s definition - hey there welp, omp, keytoaster <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> ). But I guess that&#8217;s just been an imaginary thought I had .. *<strong>shrug</strong>*</p>
<p><span id="more-196"></span></p>
<p>Just this last thing, I&#8217;m gonna say thank to you to the few of you I&#8217;ve been gotten around to call friends.</p>
<p>Thank you</p>
<ul>
<li>Christina</li>
<li>Diego</li>
<li>Joshua (tsunam)</li>
<li>Joshua (nightmorph)</li>
<li>Łukasz</li>
<li>Jorge</li>
<li>Markus</li>
<li>Daniel (dsd)</li>
<li>Gysbert</li>
<li>Peter</li>
<li>Christian (well, not me. But hoffie and opfer)</li>
<li>Chris</li>
<li>Mike (well, three of you. &#8216;taco, mpagano and vapier)</li>
<li>solar</li>
<li>Andrew</li>
<li>Alex</li>
<li>Raúl</li>
<li>Tobias (dertobi)</li>
<li>Tobias (klausman)</li>
<li>Robert (rbu)</li>
<li>Robin</li>
<li>Shyam</li>
<li>Brent</li>
<li>Benedikt</li>
<li>Homer</li>
</ul>
<p>It&#8217;s been a hell of a ride, and I thank all of you, deeply, from the bottom of my heart for the support, advice and resources you all gave me. <strong>This is it</strong>! This time, there&#8217;s no turning back, sorry Christina <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
<p>So, I&#8217;m gonna stick to my day job, pay more attention to my trainees and maybe put some effort into getting something better! So long, farewell people. If people need to reach me; my email addresses still are in ldap, so that shouldn&#8217;t be a problem. Hasta luego (or maybe not, we&#8217;ll see &#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/06/16/looong-time/feed</wfw:commentRss>
		</item>
		<item>
		<title>Building RPMs on SLES10SP2-ppc64</title>
		<link>http://blog.barfoo.org/2008/06/14/building-rpms-on-sles10sp2-ppc64</link>
		<comments>http://blog.barfoo.org/2008/06/14/building-rpms-on-sles10sp2-ppc64#comments</comments>
		<pubDate>Sat, 14 Jun 2008 16:42:28 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[PowerPC]]></category>

		<category><![CDATA[RPM]]></category>

		<category><![CDATA[SLES10]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=352</guid>
		<description><![CDATA[Well, it turns out that building stuff on ppc64 is a *real* pain in the ass, at least on anything SUSE related. I do have to tweak every damn spec to include this:

%ifarch ppc64
export LDFLAGS=&#34;$LDFLAGS -m64&#34;
%endif

Otherwise, ld is gonna fail when linking, as it&#8217;s gonna try linking the generated 64bit code (-m64 is passed on [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it turns out that building stuff on <a href="http://distributions.barfoo.org/SLES10/ppc64/">ppc64</a> is a <strong>*real*</strong> pain in the ass, at least on anything SUSE related. I do have to tweak <strong><em>every</em></strong> damn spec to include this:</p>

<div class="wp_syntax"><div class="code"><pre class="autoit"><span style="font-weight: bold; color: #AA0000;">%ifarch</span> ppc64
export LDFLAGS<span style="color: #FF0000; font-weight: bold;">=</span><span style="font-weight: bold; color: #008080;">&quot;$LDFLAGS -m64&quot;</span>
<span style="font-weight: bold; color: #AA0000;">%endif</span></pre></div></div>

<p>Otherwise, ld is gonna fail when linking, as it&#8217;s gonna try linking the generated 64bit code (<strong>-m64</strong> is passed on via <em>RPM_OPT_FLAGS</em> to <em>CFLAGS</em>) as 32bit code, which ain&#8217;t gonna work at all &#8230;</p>
<p>On top of that, stuff ain&#8217;t building due to multiple problems (for example nagios and vim, cause ld is unable to find the fitting -lperl (for nagios) and -lXt (for vim)) as well as source errors &#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="text"> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/include -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG=4 -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -Wdeclaration-after-statement -MT connectparams.lo -MD -MP -MF .deps/connectparams.Tpo -c connectparams.c  -fPIC -DPIC -o .libs/connectparams.o
In file included from connectparams.c:22:
../../include/config.h:375:1: warning: &quot;SIZEOF_LONG&quot; redefined
&lt;command line&gt;:1:1: warning: this is the location of the previous definition
connectparams.c:90: error: static declaration of `SQLGetPrivateProfileString' follows non-static declaration
/usr/include/odbcinst.h:170: error: previous declaration of `SQLGetPrivateProfileString' was here
make[3]: *** [connectparams.lo] Error 1
make[3]: Leaving directory `/srv/BUILD/freetds-0.82/src/odbc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/srv/BUILD/freetds-0.82/src/odbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/srv/BUILD/freetds-0.82/src'
make: *** [all-recursive] Error 1</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/06/14/building-rpms-on-sles10sp2-ppc64/feed</wfw:commentRss>
		</item>
		<item>
		<title>GPO (behind the scenes)</title>
		<link>http://blog.barfoo.org/2008/06/05/gpo-behind-the-scenes</link>
		<comments>http://blog.barfoo.org/2008/06/05/gpo-behind-the-scenes#comments</comments>
		<pubDate>Thu, 05 Jun 2008 06:46:20 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Group Policy Object]]></category>

		<category><![CDATA[Windows Server 2003]]></category>

		<category><![CDATA[Windows XP Embedded]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=340</guid>
		<description><![CDATA[Well, to begin with we had this really weird problem that the thin clients as well as the terminal server would only load user based group policy if you are a member of the group of local administrators. While that&#8217;s ok for the thin clients (users can&#8217;t  actually change something unless they log in [...]]]></description>
			<content:encoded><![CDATA[<p>Well, to begin with we had this really weird problem that the <a href="http://blog.barfoo.org/2008/05/19/windows-xp-embedded-and-gpo-settings">thin clients</a> as well as the terminal server would only load user based group policy if you are a <a href="http://blog.barfoo.org/2008/05/26/windows-xp-embedded-and-gpo-settings-continued">member of the group of local administrators</a>. While that&#8217;s ok for the thin clients (users can&#8217;t  actually change something unless they log in as &#8220;Administrator&#8221; - don&#8217;t ask me why), it&#8217;s a real no-no on the terminal server.</p>
<p>We tried redoing <strong>*everything*</strong> (that is, starting with the domain, then terminal server and after that the thin clients) and yet nothing changed, it didn&#8217;t work either. That&#8217;s what I&#8217;ve been doing the last 2 weeks. Up till now, I always thought a user would have access to the ntuser.dat (that is HKEY_CURRENT_USER), if his NTFS permissions would be correct. But nooooooooooooooooooooo, Microsoft had to introduce another layer of permissions.</p>
<div class="wp-caption aligncenter" style="width: 398px"><a title="Old permissions on HKEY_CURRENT_USER" rel="lightbox2[ntuser.dat]" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=20781&amp;g2_serialNumber=1"><img title="Old permissions on HKEY_CURRENT_USER" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=34397&amp;g2_serialNumber=4" alt="Old permissions on HKEY_CURRENT_USER" width="388" height="400" /></a><p class="wp-caption-text">Old permissions on HKEY_CURRENT_USER</p></div>Once you change it to be proper (as in remove the dead user entry and add a group that actually gets you somewhere), it&#8217;s all starting to work!</p>
<p><div class="wp-caption aligncenter" style="width: 410px"><a title="New permissions on HKEY_CURRENT_USER" rel="lightbox2[ntuser.dat]" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=20785&amp;g2_serialNumber=1"><img title="New permissions on HKEY_CURRENT_USER" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=34398&amp;g2_serialNumber=4" alt="New permissions on HKEY_CURRENT_USER" width="400" height="323" /></a><p class="wp-caption-text">New permissions on HKEY_CURRENT_USER</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/06/05/gpo-behind-the-scenes/feed</wfw:commentRss>
		</item>
		<item>
		<title>Windows XP Embedded, Windows Server 2003 and GPO settings (the solution)</title>
		<link>http://blog.barfoo.org/2008/06/04/windows-xp-embedded-windows-server-2003-and-gpo-settings-the-solution</link>
		<comments>http://blog.barfoo.org/2008/06/04/windows-xp-embedded-windows-server-2003-and-gpo-settings-the-solution#comments</comments>
		<pubDate>Wed, 04 Jun 2008 19:35:57 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Active Directory]]></category>

		<category><![CDATA[Group Policy Object]]></category>

		<category><![CDATA[Thin Clients]]></category>

		<category><![CDATA[Windows Server 2003]]></category>

		<category><![CDATA[Windows XP Embedded]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=338</guid>
		<description><![CDATA[OK, so about an hour (yeah, yeah; I know .. I shouldn&#8217;t be working at that time, but it really gave me sleepless nights) ago, I finally figured out why the hell both my Windows XP Embedded thin clients as well as my Windows Server 2003 systems where showing this real *weird* behaviour when applying [...]]]></description>
			<content:encoded><![CDATA[<p>OK, so about an hour (yeah, yeah; I know .. I shouldn&#8217;t be working at that time, but it really gave me sleepless nights) ago, I finally figured out why the hell both my Windows XP Embedded thin clients as well as my Windows Server 2003 systems where showing this <a href="http://blog.barfoo.org/2008/05/26/windows-xp-embedded-and-gpo-settings-continued">real <strong>*weird*</strong> behaviour</a> when applying group policies, or more precise the user based configuration of a group policy.</p>
<p>The inspiration came to me after reading <a href="http://www.gpoguy.com/FAQs/tattoo.htm">this</a> and taking a look at <em>regedit</em> myself, where I noticed the entry &#8220;<em>Permissions</em>&#8221; for the first time ever since I&#8217;m using <em>regedit</em>. I also noticed, that the <em>regedit</em> permissions seem to be using the same groups, one would assign to NTFS resources.</p>
<p>That said, it really all boils down to the ntuser.dat (which <strong>*IS*</strong> <em>HKEY_CURRENT_USER</em>). As I created the profile with a different user than I am using it with (basically, I want ~12.000 users to use this one profile), I needed to change the permissions <strong>*INSIDE*</strong> <em>regedit</em> to include a group containing all these users. After that, any user could again merge the settings from <em>ntuser.pol</em> into <em>HKEY_CURRENT_USER\Software\Policies</em>, which in return gives you the joy of your fucking policies working again.</p>
<p>TADAAAAAA! About two weeks worth of work spent for such a shitty thing, and noticing it when you&#8217;re off work &#8212; priceless!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/06/04/windows-xp-embedded-windows-server-2003-and-gpo-settings-the-solution/feed</wfw:commentRss>
		</item>
		<item>
		<title>Shopping list</title>
		<link>http://blog.barfoo.org/2008/06/01/shopping-list</link>
		<comments>http://blog.barfoo.org/2008/06/01/shopping-list#comments</comments>
		<pubDate>Sun, 01 Jun 2008 11:37:26 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[EPIA]]></category>

		<category><![CDATA[full-silent]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=254</guid>
		<description><![CDATA[Ok, as I promised my fellow collegue, I wanted to search for all the components I need to build my EPIA desktop. And here&#8217;s the list:

VIA EPIA SN10000EG - Hanobox - 206,60€
Kingston ValueRAM SO-DIMM 2GB (DDR2-667) - Alkon-PC - 29,90€ each
Transcend SSD 2.5&#8243;, 8GB IDE - K&#38;M Elektronik - 86,35€
Ably GH-PELX16-C7 PCIe X16 Riser Card [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, as I promised my fellow collegue, I wanted to search for all the components I need to build my <a href="http://blog.barfoo.org/2008/01/08/cant-find-sheephsleep">EPIA desktop</a>. And here&#8217;s the list:</p>
<ul>
<li><a href="http://www.hanobox.de/product_info.php/info/p1527_VIA-EPIA-SN10000EG.html">VIA EPIA SN10000EG</a> - Hanobox - 206,60€</li>
<li><a href="http://www.alkon-pc.de/eshop.php?action=article_detail&amp;s_supplier_aid=518845000&amp;rid=geizhals">Kingston ValueRAM SO-DIMM 2GB (DDR2-667)</a> - Alkon-PC - 29,90€ each</li>
<li><a href="http://www.kmelektronik.de/main_site/?SiteType=Shop&amp;type=shop&amp;ArtNr=261409&amp;Ref=104&amp;gp=5973&amp;fd=366605">Transcend SSD 2.5&#8243;, 8GB IDE</a> - K&amp;M Elektronik - 86,35€</li>
<li><a href="http://www.mini-tft.de/xtc-neu/product_info.php/products_id/18942/product/gh-pelx16-c7,-riser-karte,-pci-express-x16,-flexib.html">Ably GH-PELX16-C7 PCIe X16 Riser Card</a> - HRT Informationstechnik - 28,69€</li>
<li><a href="http://www.xada.de/shop2/index3.php?xlink=38046&amp;ref=8&amp;ps=1">Club 3D GeForce 7300 GT, 256MB DDR2, 2x DVI, PCIe</a> - Xada - 56,50€</li>
<li><a href="http://www.n-oreal.de/tft-monitore/samsung/20-zoll/samsung-syncmaster-tft-204b-ls20brdesqedc.html">Samsung SyncMaster 204B, 20.1&#8243;</a> - 270,00€ each</li>
</ul>
<p>So we are currently at <strong>759,24</strong>€ for the whole thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/06/01/shopping-list/feed</wfw:commentRss>
		</item>
		<item>
		<title>Windows Cluster Service (continued)</title>
		<link>http://blog.barfoo.org/2008/06/01/windows-cluster-service-continued</link>
		<comments>http://blog.barfoo.org/2008/06/01/windows-cluster-service-continued#comments</comments>
		<pubDate>Sun, 01 Jun 2008 09:25:48 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[MSCS]]></category>

		<category><![CDATA[Windows Server 2003]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=334</guid>
		<description><![CDATA[Well, guess my &#8220;solution&#8221; didn&#8217;t work sooo good. Lemme tell you what&#8217;s happening. I successfully added the node to the cluster group, but I can&#8217;t get *any* resources online.
The node tries bringing it online, then shows a failure and immidiately moves them over to the next node. There the resource is being successfully moved online [...]]]></description>
			<content:encoded><![CDATA[<p>Well, guess my &#8220;<a href="http://blog.barfoo.org/2008/05/28/ibm-rdac-and-windows-cluster-service"><em>solution</em></a>&#8221; didn&#8217;t work sooo good. Lemme tell you what&#8217;s happening. I successfully added the node to the cluster group, but I can&#8217;t get <strong>*any*</strong> resources online.</p>
<p>The node tries bringing it online, then shows a failure and immidiately moves them over to the next node. There the resource is being successfully moved online .. So again, I&#8217;m out of ideas ..</p>
<p>Already tried reinstalling the box, after that I could get the third node successfully into the cluster, without the &#8220;<em>Advanced (minimum)</em>&#8221; trick &#8230; <strong>*shrug*</strong> still ain&#8217;t bringing any resources online.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/06/01/windows-cluster-service-continued/feed</wfw:commentRss>
		</item>
		<item>
		<title>Retiring people</title>
		<link>http://blog.barfoo.org/2008/05/28/retiring-people</link>
		<comments>http://blog.barfoo.org/2008/05/28/retiring-people#comments</comments>
		<pubDate>Wed, 28 May 2008 12:55:34 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[safekeeping]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=329</guid>
		<description><![CDATA[I&#8217;m not sure whether or not I blogged about this before, but here it is just for me to actually remember what, in which order I need to do.  If  you got the list in form of a  csv file, simply  do the following:

$ wget -q http://tinyurl.com/4atkz7 -O - &#124; grep [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not sure whether or not I blogged about this before, but here it is just for me to actually remember what, in which order I need to do.  If  you got the list in form of a  csv file, simply  do the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">$ <span style="color: #c20cb9; font-weight: bold;">wget</span> -q http:<span style="color: #000000; font-weight: bold;">//</span>tinyurl.com<span style="color: #000000; font-weight: bold;">/</span>4atkz7 -O - <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;(&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> -d<span style="color: #ff0000;">'('</span> -f2 <span style="color: #000000; font-weight: bold;">|</span> \
    <span style="color: #c20cb9; font-weight: bold;">cut</span> -d<span style="color: #ff0000;">')'</span> -f1 <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{ print tolower($1) }'</span> <span style="color: #000000; font-weight: bold;">&gt;</span> retirements
$ <span style="color: #000000; font-weight: bold;">for</span> developer <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #000000; font-weight: bold;">&lt;</span> retirements <span style="color: #7a0874; font-weight: bold;">&#41;</span>
    <span style="color: #000000; font-weight: bold;">do</span> retire.py --metadata <span style="color: #007800;">$developer</span> <span style="color: #000000; font-weight: bold;">/</span>cvs<span style="color: #000000; font-weight: bold;">/</span>gentoo-x86<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">|</span> \
    diffstat <span style="color: #000000; font-weight: bold;">&gt;</span> ~<span style="color: #000000; font-weight: bold;">/</span>metadata.<span style="color: #007800;">$developer</span>
    <span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<p>That&#8217;ll give you a detailed list of which metadata.xml need to be changed.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/05/28/retiring-people/feed</wfw:commentRss>
		</item>
		<item>
		<title>IBM RDAC and Windows Cluster Service</title>
		<link>http://blog.barfoo.org/2008/05/28/ibm-rdac-and-windows-cluster-service</link>
		<comments>http://blog.barfoo.org/2008/05/28/ibm-rdac-and-windows-cluster-service#comments</comments>
		<pubDate>Wed, 28 May 2008 11:18:37 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[IBM]]></category>

		<category><![CDATA[MSCS]]></category>

		<category><![CDATA[Multipath]]></category>

		<category><![CDATA[RDAC]]></category>

		<category><![CDATA[Windows Server 2003]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=328</guid>
		<description><![CDATA[Okay, so we received a brand new x3650 the other day entitled to replace one (or better two) of our NAS frontend servers. We installed Windows on it the other day (had to create a custom Windows Server 2003 CD first, since the default one doesn&#8217;t recognize the integrated ServeRAID), and we prepped the box [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, so we received a brand new x3650 the other day entitled to replace one (or better two) of our NAS frontend servers. We installed Windows on it the other day (had to create a custom Windows Server 2003 CD first, since the default one doesn&#8217;t recognize the integrated ServeRAID), and we prepped the box during the week with the usual things.</p>
<p>On Monday I started installing the &#8220;<a href="http://www-304.ibm.com/systems/support/storage/disk/ds4700/stormgr1.html"><em>IBM StorageManager RDAC</em></a>&#8221; MultiPath driver (since the box got two single port PCIe FC-HBA&#8217;s) and figured I&#8217;d be nice if we had this. I asked a IBM Systems Engineer of one of our partners, which told me generally there wouldn&#8217;t be a problem with Microsoft Cluster Services (MSCS) and the IBM MPIO driver. Only requirement would be that I&#8217;d install the new storport.sys driver (version 5.2.3790.4021) first (as in Microsoft <a href="http://support.microsoft.com/?scid=kb%3Ben-us%3B932755&amp;x=17&amp;y=8">KB932755</a>).</p>
<p>Now, yesterday I finished the zoning, did the mappings on the storage arrays and then figured the box should see the hard disks. So I started adding another node to our existing Microsoft Cluster.</p>
<p>Result: Zip (as in MSCS telling me not all nodes could see the quorum disk)</p>
<p>Reason: a combination of two things. First, said IBM Storage Manager RDAC. The first time I installed it, I forgot about the storage mappings, thus the box seeing zero disks. After uninstalling it, I was seeing 121 (that&#8217;s right, <strong>one hundred and twenty one</strong>) new devices.</p>
<p><div class="wp-caption aligncenter" style="width: 410px"><a title="Visible volumes previous to installing the RDAC driver" rel="lightbox2[SAN]" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=38426&amp;g2_serialNumber=2"><img title="Visible volumes previous to installing the RDAC driver" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=34395&amp;g2_serialNumber=4" alt="Visible volumes previous to installing the RDAC driver" width="400" height="288" /></a><p class="wp-caption-text">Visible volumes previous to installing the RDAC driver</p></div>That is basically a result of the zoning I did for this particular device, which has <strong>*all*</strong> controllers present in a single SAN zone, thus the HBA&#8217;s seeing devices eight (or nine) times .. Update: yes, I&#8217;m missing one controller &#8230; <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p><div class="wp-caption aligncenter" style="width: 410px"><a title="SAN mapping for the box" rel="lightbox2[SAN]" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=38428&amp;g2_serialNumber=2"><img title="SAN mapping for the box" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=34396&amp;g2_serialNumber=4" alt="SAN mapping for the box" width="400" height="303" /></a><p class="wp-caption-text">SAN mapping for the box</p></div>Now, as I reinstalled the RDAC <strong>*after*</strong> the host discovered the volumes, it&#8217;s showing only a dozen drives.</p>
<p><div class="wp-caption aligncenter" style="width: 410px"><a title="Visible volumes after installing the RDAC driver" rel="lightbox2[SAN]" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=38424&amp;g2_serialNumber=2"><img title="Visible volumes after installing the RDAC driver" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=34394&amp;g2_serialNumber=4" alt="Visible volumes after installing the RDAC driver" width="400" height="292" /></a><p class="wp-caption-text">Visible volumes after installing the RDAC driver</p></div>Now, as I figured this out, I told myself &#8220;<em>Hey, adding the third node to the Windows Cluster should now work without a clue &#8230;</em>&#8221; &#8230; guess what ?</p>
<p>It&#8217;s Microsoft and it doesn&#8217;t. Now why doesn&#8217;t it work ? &#8216;Cause the Cluster Setup Wizard <a href="http://support.microsoft.com/?scid=kb%3Ben-us%3B331801&amp;x=15&amp;y=9">is getting confused</a> in Typical mode, as it&#8217;s creating a &#8220;local quorum disk&#8221; which naturally isn&#8217;t present in the cluster it&#8217;s joining. Now, switching the wizard to &#8220;Advanced (minimum) configuration&#8221; as suggested in <a href="http://support.microsoft.com/?scid=kb%3Ben-us%3B331801&amp;x=15&amp;y=9">Q331801</a>, just works &#8230; <strong>*shrug*</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/05/28/ibm-rdac-and-windows-cluster-service/feed</wfw:commentRss>
		</item>
		<item>
		<title>Windows XP Embedded and GPO settings (continued)</title>
		<link>http://blog.barfoo.org/2008/05/26/windows-xp-embedded-and-gpo-settings-continued</link>
		<comments>http://blog.barfoo.org/2008/05/26/windows-xp-embedded-and-gpo-settings-continued#comments</comments>
		<pubDate>Mon, 26 May 2008 15:25:07 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Active Directory]]></category>

		<category><![CDATA[Thin Clients]]></category>

		<category><![CDATA[Windows XP Embedded]]></category>

		<category><![CDATA[Wyse Device Manager]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=325</guid>
		<description><![CDATA[Well, as I said in my previous post, I do have some weird things happening. Apparently adding the domain user to the local group &#8220;Administrators&#8221; makes everything just works fine, yet he can&#8217;t do administrator like stuff (like turning off the write protection, changing local user accounts, &#8230;).
Also, if you&#8217;re looking for a smart way [...]]]></description>
			<content:encoded><![CDATA[<p>Well, as I said in my <a href="http://blog.barfoo.org/2008/05/19/windows-xp-embedded-and-gpo-settings">previous post</a>, I do have some weird things happening. Apparently adding the domain user to the local group &#8220;Administrators&#8221; makes everything just works fine, yet he can&#8217;t do administrator like stuff (like turning off the write protection, changing local user accounts, &#8230;).</p>
<p>Also, if you&#8217;re looking for a smart way of how to add a certain global group (as in Active Directory group) to a local group, try this:</p>

<div class="wp_syntax"><div class="code"><pre class="winbatch">NET <span style="color: #0080FF; font-weight: bold;">LOCALGROUP</span> Administrators <span style="color: #66cc66;">/</span>ADD DOMAIN\GROUPNAME</pre></div></div>

<p>That simple, doesn&#8217;t even need the usual credentials to lookup the object, it apparently bypassed that step <strong>*shrug*</strong>.</p>
<p>And yet another weird thing is: if I run a certain command from a deployment script, it gives me different result as a manual execution of said script would give me .. *shrug*</p>

<div class="wp_syntax"><div class="code"><pre class="winbatch">NETDOM JOIN <span style="color: #66cc66;">%</span>COMPUTERNAME<span style="color: #66cc66;">%</span> <span style="color: #66cc66;">/</span>domain<span style="color: #FF1010; font-weight: bold;">:barfoo.org \</span>
  <span style="color: #66cc66;">/</span>OU<span style="color: #FF1010; font-weight: bold;">:&quot;OU=Thinclients,OU=Computers,DC=barfoo,DC=org&quot; \</span>
  <span style="color: #66cc66;">/</span>UserD<span style="color: #FF1010; font-weight: bold;">:%ADMIN% /PasswordD:somepass \</span>
  <span style="color: #66cc66;">/</span>User0<span style="color: #FF1010; font-weight: bold;">: Administrator /Password0:Administrator</span>
&nbsp;
NET <span style="color: #0080FF; font-weight: bold;">LOCALGROUP</span> Administrators <span style="color: #66cc66;">/</span>ADD BARFOO\Domain<span style="color: #66cc66;">-</span>Users</pre></div></div>

<p>If I put that into a rsp (that is Wyse Device Manager script), it ain&#8217;t working. Would I be executing it myself without the WDM, everything works like a charm &#8230; <strong>*yuck*</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/05/26/windows-xp-embedded-and-gpo-settings-continued/feed</wfw:commentRss>
		</item>
		<item>
		<title>Rescuing a rebooting machine that&#8217;s hanging</title>
		<link>http://blog.barfoo.org/2008/05/24/rescuing-a-rebooting-machine-thats-hanging</link>
		<comments>http://blog.barfoo.org/2008/05/24/rescuing-a-rebooting-machine-thats-hanging#comments</comments>
		<pubDate>Sat, 24 May 2008 17:14:56 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Kernel]]></category>

		<category><![CDATA[safekeeping]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=311</guid>
		<description><![CDATA[One of my co-worker approached me today with a weird problem. Yesterday he had a disk in a 900GiB array failing which he replaced. After that, he run a rebuild/verification, fsck&#8217;ed the file system and tried to mount the volume again.
Apparently the mount produced a kernel oops (guess what, the 900GiB is running reiserfs), thus [...]]]></description>
			<content:encoded><![CDATA[<p>One of my co-worker approached me today with a weird problem. Yesterday he had a disk in a 900GiB array failing which he replaced. After that, he run a rebuild/verification, fsck&#8217;ed the file system and tried to mount the volume again.</p>
<p>Apparently the mount produced a kernel oops (guess what, the 900GiB is running reiserfs), thus leaving the kernel tainted (or what do they call it ?). So he tried to reboot the box but it didn&#8217;t reboot. It started rebooting but then hung (as in not continuing the reboot). He tried to ssh back to the box, and it worked just fine.</p>
<p>This is where sysrq comes in handy.</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #666666; font-style: italic;"># This is gonna activate the sysrq</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>kernel<span style="color: #000000; font-weight: bold;">/</span>sysrq
&nbsp;
<span style="color: #666666; font-style: italic;"># Now, since we ain't at a console, we can't use the sysrq keys</span>
<span style="color: #666666; font-style: italic;"># (&quot;b&quot; for reboot, &quot;o&quot; for shutdown)</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> b <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>sysrq-trigger</pre></div></div>

<p>That&#8217;ll restart the box, and cha-ching .. <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/05/24/rescuing-a-rebooting-machine-thats-hanging/feed</wfw:commentRss>
		</item>
		<item>
		<title>IBM (Tivoli) Integrated Solutions Console</title>
		<link>http://blog.barfoo.org/2008/05/23/ibm-tivoli-integrated-solutions-console</link>
		<comments>http://blog.barfoo.org/2008/05/23/ibm-tivoli-integrated-solutions-console#comments</comments>
		<pubDate>Fri, 23 May 2008 17:28:03 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[SLES10]]></category>

		<category><![CDATA[Tivoli]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=295</guid>
		<description><![CDATA[Here I am, preparing our environment for the first (of hopefully many) tester for our upcoming VTL project. So I ended up installing the ISC and Administration Center for Tivoli Storage Manager on a 64bit guest (that is SLES10 for AMD64), just because I forgot to include support for later versions with our current running [...]]]></description>
			<content:encoded><![CDATA[<p>Here I am, preparing our environment for the first (of hopefully many) tester for our upcoming VTL project. So I ended up installing the ISC and Administration Center for Tivoli Storage Manager on a 64bit guest (that is SLES10 for AMD64), just because I forgot to include support for later versions with our current running one. Guess what, <em>na</em>-<em>na</em> <em>na</em> <em>na</em> <em>na</em>. Exactly, didn&#8217;t work, the same errors I got while trying it before in a virtual environment. &#8220;Portlet is not available.&#8221;</p>
<p>So I ended up redoing the whole thing on a 32bit guest and guess what &#8230; bada-bing. works &#8230; <strong>*shrug*</strong> I don&#8217;t know whether or not that&#8217;s a surprising thing .. but what surprises me, is that I do have a working 64bit Integrated Solutions Console and  Administration Center running, only difference is that one is running on real hardware.</p>
<p>Anyway, after looking on how the Integrated Solutions Console (that is the Websphere environment - yes <strong>*yuck*</strong>) did it&#8217;s own start up after boot (you know, I&#8217;d like to restart an application if it&#8217;s hanging without the need to reboot the whole box), I found this particular line of code:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">isc6:<span style="color: #000000;">23</span>:boot:<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>tivoli<span style="color: #000000; font-weight: bold;">/</span>isc<span style="color: #000000; font-weight: bold;">/</span>PortalServer<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>startISC.<span style="color: #c20cb9; font-weight: bold;">sh</span> ISC_Portal</pre></div></div>

<p>And since I was lazy (and it was already Friday afternoon), I ended up writing a small init script which rids you of the need of such a ugly way to start a service.</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #666666; font-style: italic;">#! /bin/sh</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># /etc/init.d/isc</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">### BEGIN INIT INFO</span>
<span style="color: #666666; font-style: italic;"># Provides:       isc</span>
<span style="color: #666666; font-style: italic;"># Required-Start: network</span>
<span style="color: #666666; font-style: italic;"># Should-Start:</span>
<span style="color: #666666; font-style: italic;"># Required-Stop:  network</span>
<span style="color: #666666; font-style: italic;"># Default-Start:  2 3 5</span>
<span style="color: #666666; font-style: italic;"># Default-Stop:</span>
<span style="color: #666666; font-style: italic;"># Description:    Start the Tivoli Integrated Solutions console</span>
<span style="color: #666666; font-style: italic;">### END INIT INFO</span>
&nbsp;
. <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysconfig<span style="color: #000000; font-weight: bold;">/</span>isc
&nbsp;
<span style="color: #007800;">BINDIR=</span><span style="color: #000000; font-weight: bold;">/</span>sbin
&nbsp;
. <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.status
rc_reset
&nbsp;
<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
  start<span style="color: #7a0874; font-weight: bold;">&#41;</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> -n <span style="color: #ff0000;">&quot;Starting Tivoli Integrated Solutions Console server&quot;</span>
    startproc -p <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>tivoli-isc.pid \
      <span style="color: #007800;">$ISC_INSTALL</span><span style="color: #000000; font-weight: bold;">/</span>PortalServer<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>startISC.<span style="color: #c20cb9; font-weight: bold;">sh</span> \
      ISC_Portal <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&gt;/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>tivoli-isc.log
    <span style="color: #666666; font-style: italic;"># I know, this is *real* ugly</span>
    <span style="color: #007800;">PID=</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #c20cb9; font-weight: bold;">tail</span> -n <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>tivoli-isc.log <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> -d\  -f10 <span style="color: #7a0874; font-weight: bold;">&#41;</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$PID</span> <span style="color: #000000; font-weight: bold;">&gt;/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>tivoli-isc.pid
    rc_status -v
    <span style="color: #000000; font-weight: bold;">;;</span>
  stop<span style="color: #7a0874; font-weight: bold;">&#41;</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> -n <span style="color: #ff0000;">&quot;Stopping Tivoli Integrated Solutions Console server&quot;</span>
    <span style="color: #007800;">$ISC_INSTALL</span><span style="color: #000000; font-weight: bold;">/</span>PortalServer<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>stopISC.<span style="color: #c20cb9; font-weight: bold;">sh</span> \
      ISC_Portal <span style="color: #007800;">$ISC_ADMIN</span> <span style="color: #007800;">$ISC_PASSWORD</span> \
      <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&gt;/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>tivoli-isc.log
    rc_status -v
    <span style="color: #000000; font-weight: bold;">;;</span>
  restart<span style="color: #7a0874; font-weight: bold;">&#41;</span>
    $<span style="color: #000000;">0</span> stop
  	$<span style="color: #000000;">0</span> start
  	rc_status
  	<span style="color: #000000; font-weight: bold;">;;</span>
  status<span style="color: #7a0874; font-weight: bold;">&#41;</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> -n <span style="color: #ff0000;">&quot;Tivoli Integrated Solutions Console server:&quot;</span>
    checkproc -p <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>tivoli-isc.pid \
      <span style="color: #007800;">$ISC_INSTALL</span><span style="color: #000000; font-weight: bold;">/</span>AppServer<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>java
    rc_status -v
    <span style="color: #000000; font-weight: bold;">;;</span>
  <span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
  	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Usage: $0 {start|stop|status|restart}&quot;</span>
    <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
  <span style="color: #000000; font-weight: bold;">;;</span>
<span style="color: #000000; font-weight: bold;">esac</span>
rc_exit</pre></div></div>

<p>And the corresponding sysconfig file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #666666; font-style: italic;">## Type:     string</span>
<span style="color: #666666; font-style: italic;">## Default:  iscadmin</span>
<span style="color: #666666; font-style: italic;">## Config:   &quot;&quot;</span>
<span style="color: #666666; font-style: italic;">## ServiceRestart:  isc</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Adminstration user for the Portal</span>
<span style="color: #007800;">ISC_ADMIN=</span><span style="color: #ff0000;">&quot;iscadmin&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">## Type:     string</span>
<span style="color: #666666; font-style: italic;">## Default:  iscadmin</span>
<span style="color: #666666; font-style: italic;">## Config:   &quot;&quot;</span>
<span style="color: #666666; font-style: italic;">## ServiceRestart:  isc</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Adminstration user password for the Portal</span>
<span style="color: #007800;">ISC_PASSWORD=</span><span style="color: #ff0000;">&quot;iscadmin&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">## Type:     string</span>
<span style="color: #666666; font-style: italic;">## Default:  /opt/ISC/601</span>
<span style="color: #666666; font-style: italic;">## Config:   &quot;&quot;</span>
<span style="color: #666666; font-style: italic;">## ServiceRestart:  isc</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Full path to the ISC Portal installation root directory</span>
<span style="color: #007800;">ISC_INSTALL=</span><span style="color: #ff0000;">&quot;/opt/tivoli/isc&quot;</span></pre></div></div>

<p>Et voilá, it&#8217;s done. Now just a `<em>chkconfig -a isc</em>&#8216; and it&#8217;s gonna startup nice and easy (when it really should) via the normal service startup and not get spawned from the inittab.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/05/23/ibm-tivoli-integrated-solutions-console/feed</wfw:commentRss>
		</item>
		<item>
		<title>Windows XP Embedded and GPO settings</title>
		<link>http://blog.barfoo.org/2008/05/19/windows-xp-embedded-and-gpo-settings</link>
		<comments>http://blog.barfoo.org/2008/05/19/windows-xp-embedded-and-gpo-settings#comments</comments>
		<pubDate>Mon, 19 May 2008 12:58:19 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Active Directory]]></category>

		<category><![CDATA[Thin Clients]]></category>

		<category><![CDATA[Windows XP Embedded]]></category>

		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=260</guid>
		<description><![CDATA[We&#8217;re currently having a weird issue (which we had before); the Windows XP Embedded powering our Wyse V90&#8217;s isn&#8217;t applying any GPO settings if you log on with a user that has a configured profile.
Googling (is that a valid word yet ?!) for it, only resulted in one useful link, which is apparently a guy [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re currently having a weird issue (which we had before); the Windows XP Embedded powering our Wyse V90&#8217;s isn&#8217;t applying any GPO settings if you log on with a user that has a configured profile.</p>
<p>Googling (is that a valid word yet ?!) for it, only resulted in <a href="http://windows.ittoolbox.com/groups/technical-functional/activedirectory-l/applying-gpo-to-xp-embedded-thin-client-1259431">one useful link</a>, which is apparently a guy with the exact same problem &#8230; <strong>*shrug*</strong> I&#8217;m completely out of ideas by now, as I don&#8217;t even have a place to start (as in where the reason might be located).</p>
<p>Well, I do have a place to start with (that&#8217;s the local Events Viewer), which indeed lists some errors, but only such errors which ain&#8217;t making any sense. For example I see this:</p>
<ul>
<li>Userenv:1086 - &#8220;<em>Windows cannot do loopback processing for downlevel or local users. Loopback processing will be disabled.</em>&#8220;</li>
<li>SceCli:1704 - &#8220;<em>Security policy in the Group policy objects has been  applied successfully.</em>&#8220;</li>
<li>Userenv:1085 - &#8220;<em>The Group Policy client-side extension Folder Redirection failed to execute. Please look for any errors reported earlier by that extension.</em>&#8220;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/05/19/windows-xp-embedded-and-gpo-settings/feed</wfw:commentRss>
		</item>
		<item>
		<title>Getting a FC HBA to rescan it&#8217;s attached devices</title>
		<link>http://blog.barfoo.org/2008/05/19/getting-a-fc-hba-to-rescan-its-attached-devices</link>
		<comments>http://blog.barfoo.org/2008/05/19/getting-a-fc-hba-to-rescan-its-attached-devices#comments</comments>
		<pubDate>Mon, 19 May 2008 11:50:48 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[safekeeping]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=253</guid>
		<description><![CDATA[If you&#8217;re using a 2.6 based distribution, the FC HBA (or more correctly the corresponding driver) should create entries in /sys/class/scsi_host. Now you only need to get the host-number (basically the # of the host bus adapter) and you can get started ..
Simply doing this, is going to tell the FC HBA &#8220;rescan&#8221; and discover [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re using a 2.6 based distribution, the FC HBA (or more correctly the corresponding driver) should create entries in <em>/sys/class/scsi_host</em>. Now you only need to get the host-number (basically the # of the host bus adapter) and you can get started ..</p>
<p>Simply doing this, is going to tell the FC HBA &#8220;rescan&#8221; and discover new devices ..</p>

<div class="wp_syntax"><div class="code"><pre class="bash">$ <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;1&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>class<span style="color: #000000; font-weight: bold;">/</span>fc_host<span style="color: #000000; font-weight: bold;">/</span>host<span style="color: #000000; font-weight: bold;">/</span>issue_lip</pre></div></div>

<p>That should do the trick, and you should be able to get udev to recognize the new devices attached via FibreChannel without the need to reboot the whole box (which might be a bit tricky).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/05/19/getting-a-fc-hba-to-rescan-its-attached-devices/feed</wfw:commentRss>
		</item>
		<item>
		<title>patch2mail for SLES10</title>
		<link>http://blog.barfoo.org/2008/04/21/patch2mail-for-sles10</link>
		<comments>http://blog.barfoo.org/2008/04/21/patch2mail-for-sles10#comments</comments>
		<pubDate>Mon, 21 Apr 2008 08:58:15 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[SLES10]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=188</guid>
		<description><![CDATA[Well, there is this &#8220;nifty&#8221; tool called patch2mail, which basically converts the XML for the updates to a more readable format. But you&#8217;re screwed if you want to do the same on SLES10. Since it ain&#8217;t shipping with the zypper xml wrapper thing, you need to do it a bit different.
So I ended up writing [...]]]></description>
			<content:encoded><![CDATA[<p>Well, there is this &#8220;nifty&#8221; tool called <a href="http://software.opensuse.org/search?q=patch2mail">patch2mail</a>, which basically converts the XML for the updates to a more readable format. But you&#8217;re screwed if you want to do the same on SLES10. Since it ain&#8217;t shipping with the zypper xml wrapper thing, you need to do it a bit different.</p>
<p>So I ended up writing a small (and yet, ugly) shell script to generate me a mail of my liking ..</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Checks the output of `zypper pch` for security/recommended/optional</span>
<span style="color: #666666; font-style: italic;"># updates and prepares a detailed report to be mailed to the</span>
<span style="color: #666666; font-style: italic;"># administrators</span>
&nbsp;
<span style="color: #007800;">TO=</span><span style="color: #ff0000;">&quot;admin-addr@localhost&quot;</span>
<span style="color: #007800;">CLASSES=</span><span style="color: #ff0000;">&quot;security recommended optional&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Temporary files</span>
<span style="color: #007800;">ZYPP_LIST=</span><span style="color: #ff0000;">&quot;$( mktemp /tmp/zypper-list.XXXXXX )&quot;</span>
<span style="color: #007800;">ZYPP_DETAILS=</span><span style="color: #ff0000;">&quot;$( mktemp /tmp/zypper-details.XXXXXX )&quot;</span>
<span style="color: #007800;">TMP=</span><span style="color: #ff0000;">&quot;$( mktemp /tmp/zypper-report.XXXXXX )&quot;</span>
zypper pch <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #007800;">$ZYPP_LIST</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Figure out how much updates are still pending</span>
<span style="color: #007800;">PENDING=</span><span style="color: #ff0000;">&quot;$( cat $ZYPP_LIST | grep &quot;</span><span style="color: #000000; font-weight: bold;">|</span> Needed<span style="color: #ff0000;">&quot; | wc -l )&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$PENDING</span> -eq <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> ; <span style="color: #000000; font-weight: bold;">then</span>
  <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #007800;">$TMP</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot; Pending updates for $( domainname -f ) on $( date )&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$TMP</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">for</span> severity <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #007800;">$CLASSES</span>; <span style="color: #000000; font-weight: bold;">do</span>
  <span style="color: #007800;">PACKAGES=</span><span style="color: #ff0000;">&quot;$( cat $ZYPP_LIST | egrep &quot;</span><span style="color: #800000;">${severity}</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>.<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>\<span style="color: #000000; font-weight: bold;">|</span> Needed<span style="color: #ff0000;">&quot; | <span style="color: #000099; font-weight: bold;">\</span>
    cut -d<span style="color: #000099; font-weight: bold;">\|</span> -f2 | sed &quot;</span>s,^ ,,<span style="color: #ff0000;">&quot; )&quot;</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;  Category: $severity&quot;</span>
  <span style="color: #000000; font-weight: bold;">for</span> package <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #007800;">$PACKAGES</span>; <span style="color: #000000; font-weight: bold;">do</span>
    zypper patch-info <span style="color: #007800;">$package</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #007800;">$ZYPP_DETAILS</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;  * $package ($( cat $ZYPP_DETAILS | grep &quot;</span>Version: <span style="color: #ff0000;">&quot; | <span style="color: #000099; font-weight: bold;">\</span>
      sed &quot;</span>s,Version,version,<span style="color: #ff0000;">&quot; ))&quot;</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;    $( cat $ZYPP_DETAILS | grep &quot;</span>Summary: <span style="color: #ff0000;">&quot;)&quot;</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;    $( cat $ZYPP_DETAILS | grep &quot;</span>Reboot Required:<span style="color: #ff0000;">&quot; )&quot;</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span>
  <span style="color: #000000; font-weight: bold;">done</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span>
<span style="color: #000000; font-weight: bold;">done</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$TMP</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #007800;">$TMP</span> <span style="color: #000000; font-weight: bold;">|</span> \
  mail -s <span style="color: #ff0000;">&quot;[$( date +%F )] Update report for $( domainname -f )&quot;</span> <span style="color: #007800;">$TO</span>
<span style="color: #7a0874; font-weight: bold;">trap</span> <span style="color: #ff0000;">'rm -f &quot;$TMP&quot; &quot;$ZYPP_LIST&quot; &quot;$ZYPP_DETAILS&quot; &gt;/dev/null 2&gt;&amp;1'</span> <span style="color: #000000;">0</span>
<span style="color: #7a0874; font-weight: bold;">trap</span> <span style="color: #ff0000;">&quot;exit 2&quot;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">2</span> <span style="color: #000000;">3</span> <span style="color: #000000;">15</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># vim: set tw=80</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/04/21/patch2mail-for-sles10/feed</wfw:commentRss>
		</item>
		<item>
		<title>April 19th</title>
		<link>http://blog.barfoo.org/2008/04/20/april-19th</link>
		<comments>http://blog.barfoo.org/2008/04/20/april-19th#comments</comments>
		<pubDate>Sun, 20 Apr 2008 18:51:05 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=186</guid>
		<description><![CDATA[Well, as some people already figured out; yesterday was my birthday. Chrissy noted it on my blog, as well as about every channel we&#8217;re together in (so did Chris); so thanks a lot for that  
Anyway, Saturday morning as I was forced to head downstairs due to my aunt calling (that was at 9am), [...]]]></description>
			<content:encoded><![CDATA[<p>Well, as some people already figured out; yesterday was my birthday. Chrissy noted it on my blog, as well as about every channel we&#8217;re together in (so did Chris); so thanks a lot for that <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Anyway, Saturday morning as I was forced to head downstairs due to my aunt calling (that was at 9am), my brother managed to take a shot at the presents as well as something else:</p>
<div class="wp-caption aligncenter" style="width: 410px"><a title="Tiger on a tea wagon" rel="lightbox2[Birthday_2008]" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=38844&amp;g2_serialNumber=2"><img title="Cat'se ontop of presents" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=34606&amp;g2_serialNumber=4" alt="Cat'se ontop of presents" width="400" height="267" /></a><p class="wp-caption-text">Cat&#39;se ontop of presents</p></div>Well, ain&#8217;t he cute ? He&#8217;s always been particularly fond of lying around on paper. Well, anyway I had a lil&#8217; birthday party planned in combination of myself and a friend of mine, so I invited some of my friends from work over to our place. Turns out, it was quite a nice gathering.</p>
<p><div class="wp-caption aligncenter" style="width: 410px"><a title="Barbeque grill" rel="lightbox[Birthday_2008]" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=38854&amp;g2_serialNumber=2"><img title="Barbeque grill" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=34611&amp;g2_serialNumber=4" alt="Benches" width="400" height="267" /></a><p class="wp-caption-text">Barbeque grill</p></div>
<p><div class="wp-caption aligncenter" style="width: 410px"><a title="Them benches!" rel="lightbox[Birthday_2008]" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=38850&amp;g2_serialNumber=2"><img title="Them benches!" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=34609&amp;g2_serialNumber=4" alt="Barbeque grill" width="400" height="267" /></a><p class="wp-caption-text">Them benches!</p></div>I had lots of fun that evening (well, my birthday is the only day in the year I allow myself to get drunk!) apparently, so did all the others.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/04/20/april-19th/feed</wfw:commentRss>
		</item>
		<item>
		<title>That&#8217;s why &#8230;</title>
		<link>http://blog.barfoo.org/2008/04/17/thats-why</link>
		<comments>http://blog.barfoo.org/2008/04/17/thats-why#comments</comments>
		<pubDate>Thu, 17 Apr 2008 21:37:19 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=182</guid>
		<description><![CDATA[&#8230;  I&#8217;d break a butterfly on a wheel &#8230; I was coming out of the office, and found my car this way:
Well happy me, I had some sort of cleanup detail for 20:00 local time (as in get all that birdie poooo of my damn roof!), and surprisingly once I was finished cleaning all [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230;  I&#8217;d break a butterfly on a wheel &#8230; I was coming out of the office, and found my car this way:</p>
<p><div class="wp-caption aligncenter" style="width: 410px"><a title="Up close" rel="lightbox2[birdiepoooo]" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=38836&amp;g2_serialNumber=2"><img title="Up close" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=34602&amp;g2_serialNumber=4" alt="Up close (click on the image for a larger version)" width="400" height="267" /></a><p class="wp-caption-text">Up close</p></div><div class="wp-caption aligncenter" style="width: 410px"><a title="Birdie view" rel="lightbox2[birdiepoooo]" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=38838&amp;g2_serialNumber=2"><img title="Birdie view" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=34603&amp;g2_serialNumber=4" alt="Birdie view (click on the image for a larger version)" width="400" height="267" /></a><p class="wp-caption-text">Birdie view</p></div>Well happy me, I had some sort of cleanup detail for 20:00 local time (as in get all that birdie poooo of my damn roof!), and surprisingly once I was finished cleaning all the shit up, it started raining. Now, I&#8217;m never, *<strong>ever</strong>* gonna park below that dove/whateverdamndevilbirdyouare housing tree no more!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/04/17/thats-why/feed</wfw:commentRss>
		</item>
		<item>
		<title>Software support and &#8220;key account&#8221; managers</title>
		<link>http://blog.barfoo.org/2008/04/14/software-support-and-key-account-managers</link>
		<comments>http://blog.barfoo.org/2008/04/14/software-support-and-key-account-managers#comments</comments>
		<pubDate>Mon, 14 Apr 2008 12:24:59 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[2X]]></category>

		<category><![CDATA[Windows Terminal Services]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=174</guid>
		<description><![CDATA[As Mike wrote about his experiences with hardware vendors, I&#8217;m gonna devote this here post to my favorite software company in the world. We recently bought two copies of a software called &#8220;2X Application Server Enterprise Edition&#8220;. As one would think from reading the specs of the software, it&#8217;s near a Citrix solution (which it [...]]]></description>
			<content:encoded><![CDATA[<p>As Mike wrote about his <a href="http://planet.gentoo.org/developers/kingtaco/2008/03/18/a_tale_of_two_vendors">experiences with hardware vendors</a>, I&#8217;m gonna devote this here post to my favorite software company in the world. We recently bought two copies of a software called &#8220;<em>2X Application Server Enterprise Edition</em>&#8220;. As one would think from reading the <a href="http://www.2x.com/applicationserver/">spe</a><a href="http://www.2x.com/loadbalancer/">cs</a> of the software, it&#8217;s near a Citrix solution (which it is, at least for a small part); but in return it&#8217;s faaaar away concerning the price. Just so you get an idea, about what I&#8217;m meaning with &#8220;<em>faaar</em>&#8220;:</p>

<div class="wp_syntax"><div class="code"><pre class="text">Windows Server 2003:
Standard Edition:        2 * 91,00
CAL:                    50 *  6,00
Terminal Server CAL:    50 * 17,00
                       ___________
                          1.332,00</pre></div></div>

<p>The above are fixed costs, you need them anyway as both Citrix as well as the 2X solution is only working *<strong>on top</strong>* of Windows Server 2003 Terminal Services.</p>
<p>Now, here&#8217;s the real comparison between <em>2X Application Server &#038; Loadbalancer</em> and <em>Citrix XenApp Platinum Edition</em>:</p>

<div class="wp_syntax"><div class="code"><pre class="text">2X               2 * 1510,00 =  3.020,00
Citrix          50 *  393,00 = 19.650,00</pre></div></div>

<p>While 2X is licensed per terminal server, <a href="http://shop.mensys.nl/catalogue/mns_XenApp.html">XenApp</a> is licensed per user. As you can see from the above prices, the 2X solution is roughly 1/6 of the Citrix XenApp solution.</p>
<p><span id="more-174"></span></p>
<p>Now, as we had a slight problem with the 2X Application Client (first this weird error, &#8220;<em>Error Code: [01/0000001E] The published application couldn&#8217;t be started.</em>&#8221; which I admit was an error on our behalf, by copying the user registry into <em><strong>HKEY_LOCAL_MACHINE</strong></em>) I was already annoyed by their support.</p>
<p>Now, when they released their version 6 of the 2X Application Server/Client software, I tried producing a proof-of-concept for our installation, which improved certain things (like finally having Single-Sign-On or SSO for those of you who like buzzwords), and I tested it out together with one of my trainees (who&#8217;s having the subject &#8220;<em>thin clients and terminal services</em>&#8221; for his final paper of his education).</p>
<p>Now, I stumbled upon this great feature of the Microsoft Remote Desktop Console (mstsc) Version 6.0, called &#8220;<em>Drives that I connect to later</em>&#8220;, which is basically forwarding drives, which have been added to the computer, *<strong>after</strong>* the remote session has been established. Once you enable the check mark (before connecting to the remote session obviously), the drive is instantly forwarded to the remote session, and I figured why not try that with the 2X solution. Now, we tried and tried, reinstalled the terminal server and the 2X stuff along the way, and tried again with a plain machine, and it still wasn&#8217;t working. So I first tried mailing the German key account manager, which in turn told me, the software already supported it &#8230;&#8230; uhm, I just tried, and it doesn&#8217;t.</p>
<p>So, OK. We tried again. Reinstalled the terminal server, reinstalled the Windows XP workstation, installed 2X and stuff, and tried it again. And still didn&#8217;t work. OK, so I went ahead, asked again. The key account manager asked me which OS and version of the RDP we were using, and I told her we&#8217;d be using XPe and RDP 6.0.6000. She forwarded those to the technical support, opened a support request in their &#8220;<em>Support center</em>&#8220;, where one of the technical assistants in return told me *<strong>yet</strong>* again, it should be working.</p>
<p>Additionally he told me kindly, that I could add drives later, or else I should provide them with a detailed description of what exactly I imagined it doing. So I went ahead, and created a &#8220;<a title="Screencapture (faulty one): About ~2.1M big" href="http://blog.barfoo.org/wp-content/uploads/2008/04/2X-USB-Weiterleitung_demo.swf"><em>demo</em></a>&#8221; of some kind, using <a href="http://www.adobe.com/products/captivate/">Adobe Captivate</a> demonstrating them what I was seeing. I also told them, that I wanted the 2X client to simply support that feature. Additonally it works when using plain RDP, but doesn&#8217;t when using 2X, which in return should tell them that their software is at fault, and not my terminal server. OK, when I created the first demo, I had the USB drive still attached to my work computer, which in turn got forwarded to the remote session when establishing the connection. I guess that was a &#8216;lil bit embarrassing, so I created <a title="Yet another Screencapture. About ~3.2M big" href="http://blog.barfoo.org/wp-content/uploads/2008/04/2X-USB-Weiterleitung (neu)_demo.swf">yet another <em>demo</em></a>.</p>
<p>As you can see from that demo, I launched three separate windows. One showing my local workplace, one the workplace of the terminal server launched in RDP, and one window showing the remote workplace launched via 2X. That apparently was a bit much for the 2X support guys, as they told me I&#8217;d be only showing the RDP window, but not the 2X window. *<strong>WTF</strong>* Didn&#8217;t I open just <strong>*three*</strong> windows, each showing something different ?</p>
<p>After that I&#8217;ve been told, they couldn&#8217;t reproduce it with their 2X Client. The technical assistant also told me, that due to my dual screen layout (my complete screen resolution is something like 2560&#215;1024) he could only see half of what I&#8217;m doing. So I went ahead, and created *<strong>yet</strong>* another <a href="http://blog.barfoo.org/wp-content/uploads/2008/04/2X-Weiterleitung_demo.exe">demo</a> (it&#8217;s actually a six-part flash video, due to Captivate switching to &#8220;Full-Motion&#8221; mode .. <a href="http://blog.barfoo.org/wp-content/uploads/2008/04/2X-Weiterleitung_demo.swf">main</a>, <a href="http://blog.barfoo.org/wp-content/uploads/2008/04/2X-Weiterleitung_demo_Full-Motion1.swf">1</a>, <a href="http://blog.barfoo.org/wp-content/uploads/2008/04/2X-Weiterleitung_demo_Full-Motion2.swf">2</a>, <a href="http://blog.barfoo.org/wp-content/uploads/2008/04/2X-Weiterleitung_demo_Full-Motion3.swf">3</a>, <a href="http://blog.barfoo.org/wp-content/uploads/2008/04/2X-Weiterleitung_demo_Full-Motion4.swf">4</a>, <a href="http://blog.barfoo.org/wp-content/uploads/2008/04/2X-Weiterleitung_demo_Full-Motion5.swf">5</a>).</p>
<p>After two separate tries to upload the 35M file to their <em>support center</em>, which failed due to only allowing 8M uploads, I uploaded it to my private user site. Some hours later, the technical assistant told me, I should press &#8220;F5&#8243; for a explorer refresh or View -&gt; Refresh in the 2X Client. I told him, that after trying both the USB drive still isn&#8217;t showing up.</p>
<p>After an hour he wrote me back, telling me that after extensive tests, that I should open notepad in the remote (2X) session and see whether or not the drive is appearing there.</p>
<p>That&#8217;s it so far. Initially I wanted to only post this if they couldn&#8217;t figure it out, and only *<strong>after</strong>* I talked to the key account manager again, but I&#8217;m rather tired. Maybe if they are reading this: I&#8217;m fscking TIRED!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/04/14/software-support-and-key-account-managers/feed</wfw:commentRss>
		</item>
		<item>
		<title>April weather</title>
		<link>http://blog.barfoo.org/2008/04/08/april-weather</link>
		<comments>http://blog.barfoo.org/2008/04/08/april-weather#comments</comments>
		<pubDate>Tue, 08 Apr 2008 07:22:29 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=171</guid>
		<description><![CDATA[Well, it&#8217;s April. And usually when it&#8217;s April, there&#8217;s April&#8217;s weather. In the morning I was rather surprised by the weather.
And after I picked up Michel, we some when arrived at work (that is one hour later), we had our own adventure park in front of the work place:
Apparently, the trees in at the entrance [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s April. And usually when it&#8217;s April, there&#8217;s April&#8217;s weather. In the morning I was rather surprised by the weather.</p>
<p>And after I picked up Michel, we some when arrived at work (that is one hour later), we had our own adventure park in front of the work place:</p>
<p><div class="wp-caption aligncenter" style="width: 410px"><a title="Collapsed trees" rel="lightbox2[adventure_park]" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=38542&amp;g2_serialNumber=2"><img title="Collapsed trees" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=34455&amp;g2_serialNumber=4" alt="Collapsed trees" width="400" height="300" /></a><p class="wp-caption-text">Collapsed trees</p></div>Apparently, the trees in at the entrance collapsed (thanks to <a href="https://gallery.devnu11.net">Michel</a> for the pictures), so we had to make our way through somehow &#8230; was rather funny way to start the day &#8230; <strong>*shrug*</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/04/08/april-weather/feed</wfw:commentRss>
		</item>
		<item>
		<title>TYPO3 hogging</title>
		<link>http://blog.barfoo.org/2008/04/07/typo3-hogging</link>
		<comments>http://blog.barfoo.org/2008/04/07/typo3-hogging#comments</comments>
		<pubDate>Mon, 07 Apr 2008 17:24:32 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[rrdtool]]></category>

		<category><![CDATA[SLES9]]></category>

		<category><![CDATA[TYPO3]]></category>

		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=267</guid>
		<description><![CDATA[Well, we do appear to be having some strange load problems with our main TYPO3 box hosting several home pages of the local universities, as you can see below.
We repeatedly tried to figure out which of them was the one responsible, but neither I nor the other Unix sysadmin knew a better way to figure [...]]]></description>
			<content:encoded><![CDATA[<p>Well, we do appear to be having some strange load problems with our main TYPO3 box hosting several home pages of the local universities, as you can see below.</p>
<p><div class="wp-caption aligncenter" style="width: 410px"><a title="LOAD t3node1 05:00-19:00" rel="lightbox2[t3node1_load]" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=38420&amp;g2_serialNumber=2"><img title="LOAD 05:00-19:00" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=34392&amp;g2_serialNumber=4" alt="LOAD t3node1 05:00-19:00" width="400" height="188" /></a><p class="wp-caption-text">LOAD 05:00-19:00</p></div>We repeatedly tried to figure out which of them was the one responsible, but neither I nor the other Unix sysadmin knew a better way to figure out the load each TYPO3 installation was causing (since there ain&#8217;t no phptop or something similar). But since today the new semester started, we figured it might be good to finally figure which one it was. And a few minutes (as in one or two) wouldn&#8217;t be much of a problem compared to the advantage we&#8217;re getting out of it.</p>
<p>As a comparison, here&#8217;s the &#8220;<em>normal</em>&#8221; load for the last week:</p>
<p><div class="wp-caption aligncenter" style="width: 410px"><a title="LOAD t3node1 31.03.08-07.04.08" rel="lightbox2[t3node1_load]" href="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=38408&amp;g2_serialNumber=2"><img title="LOAD 31.03.08-07.04.08" src="http://gallery.barfoo.org/main.php?g2_view=core.DownloadItem&amp;g2_itemId=34386&amp;g2_serialNumber=4" alt="LOAD t3node1 31.03.08-07.04.08" width="400" height="188" /></a><p class="wp-caption-text">LOAD 31.03.08-07.04.08</p></div>So as a last resort (b