<?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>FirstServed Tech Blog</title>
	<atom:link href="http://www.firstserved.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.firstserved.net/blog</link>
	<description>FirstServed and the Art of Server Tuning</description>
	<pubDate>Tue, 19 Jan 2010 10:33:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>MS SQL: Recovery suspect database</title>
		<link>http://www.firstserved.net/blog/2010/01/19/ms-sql-recovery-suspect-database/</link>
		<comments>http://www.firstserved.net/blog/2010/01/19/ms-sql-recovery-suspect-database/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 10:33:45 +0000</pubDate>
		<dc:creator>Koen</dc:creator>
		
		<category><![CDATA[Hosting, Servers,...]]></category>

		<category><![CDATA[MS SQL]]></category>

		<guid isPermaLink="false">http://www.firstserved.net/blog/?p=145</guid>
		<description><![CDATA[Hi,
Normaly you should always have backups of your databases, restoring suspected databases is not a good option, but I think at some point in time, in some situation you&#8217;ll want to do it anyway.
So today I set up a test case for this. I mirrored one of our database servers and made it crash, badly.
Two [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>Normaly you should always have backups of your databases, restoring suspected databases is not a good option, but I think at some point in time, in some situation you&#8217;ll want to do it anyway.<br />
So today I set up a test case for this. I mirrored one of our database servers and made it crash, badly.<br />
Two databases were corrupted, and went to the &quot;suspect state&quot;.<br />
MS SQL started throwing errors in our general direction like:</p>
<p style="margin-left: 40px;">&quot;Database cannot be opened. It has been marked SUSPECT by recovery.&quot;</p>
<p>Not good, but just what we wanted&#8230;</p>
<p>So how would it be possible to recover these databases?</p>
<p>First, set them to emergency mode, this way you will be able to retrieve control.<br />
In emergency mode you can actually open the database:</p>
<p style="margin-left: 40px;">alter database &quot;test-database&quot; set emergency;</p>
<p>Second, put them in single mode (needed for the check we will be performing):</p>
<p style="margin-left: 40px;">alter database &quot;test-database&quot; set single_user;</p>
<p>Then, check the database (this repair allows data-loss, since I&#8217;m sure some data will have to be lost in my scenario):</p>
<p style="margin-left: 40px;">dbcc checkdb (&#8217;test-database&#8217;, REPAIR_ALLOW_DATA_LOSS);</p>
<p>Finally, if the check succeeded, you can re-enter multi-mode:</p>
<p style="margin-left: 40px;">alter database &quot;test-database&quot; set multi_user;</p>
<p>Et voila, the database is restored&#8230;<br />
Not a best practice, but it may save some time once.</p>
<p>&nbsp;</p>
<p>Greets,</p>
<p>Koen</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.firstserved.net%2Fblog%2F2010%2F01%2F19%2Fms-sql-recovery-suspect-database%2F';
  addthis_title  = 'MS+SQL%3A+Recovery+suspect+database';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.firstserved.net/blog/2010/01/19/ms-sql-recovery-suspect-database/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dell PowerEdge R410 &#038; CentOS 5.4 IPMI (bmc) configuration</title>
		<link>http://www.firstserved.net/blog/2009/11/18/dell-poweredge-r410-centos-54-ipmi-bmc-configuration/</link>
		<comments>http://www.firstserved.net/blog/2009/11/18/dell-poweredge-r410-centos-54-ipmi-bmc-configuration/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 16:01:05 +0000</pubDate>
		<dc:creator>Koen</dc:creator>
		
		<category><![CDATA[BIOS]]></category>

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

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

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

		<category><![CDATA[serial console]]></category>

		<guid isPermaLink="false">http://www.firstserved.net/blog/?p=143</guid>
		<description><![CDATA[Hi,
If you want to configure a serial console on your Dell PE R410 (or R710) server with CentOS 5.4 (or 5.3 and probably also the Red Hat Enterprise systems) you can use these guidelines.
In the Bios:
Under &#34;Serial Communication&#34;:
Serial Communication: On with Console Redirection via COM1
Serial Port Address: Serial Device1=COM2,Serial Device2=COM1
External Serial Connector: Serial Device2
Failsafe Baud [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>If you want to configure a serial console on your Dell PE R410 (or R710) server with CentOS 5.4 (or 5.3 and probably also the Red Hat Enterprise systems) you can use these guidelines.<br />
In the Bios:</p>
<p style="margin-left: 40px;">Under &quot;Serial Communication&quot;:<br />
Serial Communication: On with Console Redirection via COM1<br />
Serial Port Address: Serial Device1=COM2,Serial Device2=COM1<br />
External Serial Connector: Serial Device2<br />
Failsafe Baud Rate: 115200<br />
Remote Terminal Type: VT100/VT220<br />
Redirection After Boot: Enabled (so grub displays)</p>
<p>Then you configure Grub:</p>
<p style="margin-left: 40px;">title CentOS (2.6.18-164.6.1.el5) Serial<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root (hd0,0)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kernel /vmlinuz-2.6.18-164.6.1.el5 ro root=LABEL=/ <strong>console=tty0 console=ttyS0,115200n8</strong><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; initrd /initrd-2.6.18-164.6.1.el5.img</p>
<p>This makes the kernel display it&#8217;s messages on screen and over the serial console.</p>
<p>In /etc/securetty append:</p>
<p style="margin-left: 40px;">ttyS0<br />
ttyS1</p>
<p>This way root can log in using the serial console.</p>
<p>Finally configure the inittab (/etc/inittab) and add the following line:</p>
<p style="margin-left: 40px;">co:2345:respawn:/sbin/agetty ttyS0 115200 linux</p>
<p>Now reboot and enjoy pure serial console goodness over ip (ipmi).</p>
<p>(Oh, don&#8217;t forget to enable IPMI over lan in the iDrac configuration and to set a username, password and ip-address.<br />
The iDrac 6 configuration flashes by when the server boots.)</p>
<p>&nbsp;</p>
<p>Kind regards,</p>
<p>Koen</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.firstserved.net%2Fblog%2F2009%2F11%2F18%2Fdell-poweredge-r410-centos-54-ipmi-bmc-configuration%2F';
  addthis_title  = 'Dell+PowerEdge+R410+%26%23038%3B+CentOS+5.4+IPMI+%28bmc%29+configuration';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.firstserved.net/blog/2009/11/18/dell-poweredge-r410-centos-54-ipmi-bmc-configuration/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Could not load file or assembly System.EnterpriseServices</title>
		<link>http://www.firstserved.net/blog/2009/10/16/could-not-load-file-or-assembly-systementerpriseservices/</link>
		<comments>http://www.firstserved.net/blog/2009/10/16/could-not-load-file-or-assembly-systementerpriseservices/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 08:54:30 +0000</pubDate>
		<dc:creator>Koen</dc:creator>
		
		<category><![CDATA[Hosting, Servers,...]]></category>

		<guid isPermaLink="false">http://www.firstserved.net/blog/?p=140</guid>
		<description><![CDATA[Hi,
When running through what should be a simple and painless Microsoft Sharepoint installation on a Windows Server 2003 (with IIS6 pre-installed), I encountered the following problem:
Server Error in &#8216;/_layouts&#8217; Application.
IIS is kind enough to hide all the information about the error, so there you are, without a clue.
Maybe this can solved in the &#34;SharePoint Central [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>When running through what should be a simple and painless Microsoft Sharepoint installation on a Windows Server 2003 (with IIS6 pre-installed), I encountered the following problem:</p>
<p style="margin-left: 40px;">Server Error in &#8216;/_layouts&#8217; Application.</p>
<p>IIS is kind enough to hide all the information about the error, so there you are, without a clue.<br />
Maybe this can solved in the &quot;SharePoint Central Administration&quot;? No luck either, now it throws a similar error.<br />
So, to resolve this issue, we first need to activate the error output in the web.config.<br />
This is located at the following location:</p>
<p style="margin-left: 40px;">C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\template\admin\1033\web.config</p>
<p>Open the file using your favourite text editor and search for the line which sets the customErrors (line 3), change it to:</p>
<p style="margin-left: 40px;">&lt;customErrors mode=&quot;RemoteOnly&quot; /&gt;</p>
<p>Now you&#8217;ll be able to view the errors when browsing to your Sharepoint installation from the server itself.<br />
This time it presents you the real problem:</p>
<p style="margin-left: 40px;"><font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><b>Parser Error Message: </b>Could not load file or assembly &#8216;System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#8217; or one of its dependencies. The system cannot find the file specified.</font></p>
<p style="margin-left: 40px;"><font><font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><b><font face="Verdana">Assembly Load Trace:</font></b> The following information can be helpful to determine why the assembly &#8216;System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#8217; could not be loaded.</font></font></p>
<p>So, how do we fix this missing assembly?<br />
Open two windows explorer screens with these locations:</p>
<p style="margin-left: 40px;">C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727<br />
C:\WINDOWS\assembly</p>
<p>(The .NET Framework version and Windows Path may differ depending on your installation.)</p>
<p>Then drag the file &quot;System.EnterpriseServices.dll&quot; from the Microsoft.NET\Framework\v2.0.50727 folder to the assembly folder.</p>
<p>Now the problem should be fixed. (It is possible you&#8217;ll have to recycle the Application Pool.)<br />
Reload your browser windows, both the Central Administration page at port 9503 en the normal sharepoint pages at port 80 should work.</p>
<p>Thanks goes out to the people at forums.asp.net .</p>
<p>&nbsp;</p>
<p>Kind regards,</p>
<p>Koen</p>
<p>&nbsp;</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.firstserved.net%2Fblog%2F2009%2F10%2F16%2Fcould-not-load-file-or-assembly-systementerpriseservices%2F';
  addthis_title  = 'Could+not+load+file+or+assembly+System.EnterpriseServices';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.firstserved.net/blog/2009/10/16/could-not-load-file-or-assembly-systementerpriseservices/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Slow yum update</title>
		<link>http://www.firstserved.net/blog/2009/10/02/slow-yum-update/</link>
		<comments>http://www.firstserved.net/blog/2009/10/02/slow-yum-update/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 13:36:42 +0000</pubDate>
		<dc:creator>Koen</dc:creator>
		
		<category><![CDATA[Hosting, Servers,...]]></category>

		<guid isPermaLink="false">http://www.firstserved.net/blog/?p=138</guid>
		<description><![CDATA[If the good old centos image you are using is suddenly being VERY slow when performing a &#34;yum upgrade&#34; command, try this rule to speed things back up a bit:
yum clean all
Most likely yum is using some old cached information.
(We encountered this problem when upgrading from CentOS 5.0 to 5.3.)

  addthis_url    [...]]]></description>
			<content:encoded><![CDATA[<p>If the good old centos image you are using is suddenly being VERY slow when performing a &quot;yum upgrade&quot; command, try this rule to speed things back up a bit:</p>
<p>yum clean all</p>
<p>Most likely yum is using some old cached information.<br />
(We encountered this problem when upgrading from CentOS 5.0 to 5.3.)</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.firstserved.net%2Fblog%2F2009%2F10%2F02%2Fslow-yum-update%2F';
  addthis_title  = 'Slow+yum+update';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.firstserved.net/blog/2009/10/02/slow-yum-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Speeding up hosted Drupal websites by setting up a quality LAMP environment</title>
		<link>http://www.firstserved.net/blog/2009/07/08/speeding-up-hosted-drupal-websites-by-setting-up-a-quality-lamp-environment/</link>
		<comments>http://www.firstserved.net/blog/2009/07/08/speeding-up-hosted-drupal-websites-by-setting-up-a-quality-lamp-environment/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 12:05:39 +0000</pubDate>
		<dc:creator>dominique</dc:creator>
		
		<category><![CDATA[Hosting, Servers,...]]></category>

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

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

		<guid isPermaLink="false">http://www.firstserved.net/blog/?p=136</guid>
		<description><![CDATA[One of our customers has a Drupal enabled website&#8230; as many of you might know, Drupal is an open source CMS system with nice features, but it also is quite a bottleneck on server performance.
We suggest drupal enabled website hosting customers to opt for a Virtual Private Server Light or even Virtual Private Server Standard [...]]]></description>
			<content:encoded><![CDATA[<p>One of our customers has a Drupal enabled website&#8230; as many of you might know, Drupal is an open source CMS system with nice features, but it also is quite a bottleneck on server performance.</p>
<p>We suggest drupal enabled website hosting customers to opt for a <a href="http://www.firstserved.net/diensten/hosting/virtualisatie/virtual-private-server-light"><strong>Virtual Private Server Light</strong></a> or even <a href="http://www.firstserved.net/diensten/hosting/virtualisatie/virtual-private-server-standard"><strong>Virtual Private Server Standard</strong></a> setup. This means you can set up a nice isolated environment for a Drupal driven CMS website with dedicated server performance at severe reduced cost.</p>
<p>When setting up the environment be sure to run through the following checklist:</p>
<ul>
<li>CentOS 5.3 (for example)</li>
<li>Apache 2.2 webserver</li>
<li>MySQL 5.0 database server</li>
<li>PHP 5.1 or even better, 5.2</li>
<li>and, very important: eAccelerator 9.5.3 or higher.</li>
</ul>
<p>Why the eAccelerator? Well Drupal uses a lot of cached pages. Enabling Drupal caching already gives you a boost but installing eAccelerator makes sure frequently used php scripts are stored in a compiled state thus allow retrieval faster.</p>
<p>On top of that, you may optimize the MySQL query_caching settings, as they Drupal also uses a lot of the same queries.</p>
<p>You can find the latest version of eAccelerator here: <a rel="no-follow" href="http://eaccelerator.net/">http://eaccelerator.net/</a></p>
<p>Take care,</p>
<p>Dominique</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.firstserved.net%2Fblog%2F2009%2F07%2F08%2Fspeeding-up-hosted-drupal-websites-by-setting-up-a-quality-lamp-environment%2F';
  addthis_title  = 'Speeding+up+hosted+Drupal+websites+by+setting+up+a+quality+LAMP+environment';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.firstserved.net/blog/2009/07/08/speeding-up-hosted-drupal-websites-by-setting-up-a-quality-lamp-environment/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Windows folders hidden after migration to virtual machine</title>
		<link>http://www.firstserved.net/blog/2009/06/05/windows-folders-hidden-after-migration-to-virtual-machine/</link>
		<comments>http://www.firstserved.net/blog/2009/06/05/windows-folders-hidden-after-migration-to-virtual-machine/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 14:34:36 +0000</pubDate>
		<dc:creator>denis</dc:creator>
		
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.firstserved.net/blog/?p=134</guid>
		<description><![CDATA[A few months ago, we&#8217;ve undertaken the project of migrating all our old Pentium IV servers to a virtual platform.&#160; Apart from the extra flexibility which this offers in terms of provisioning, we&#8217;re also benefiting from a huge power saving, since a modern Dell platform can easily host a dozen older servers.
However, after having migrated [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago, we&#8217;ve undertaken the project of migrating all our old Pentium IV servers to a virtual platform.&nbsp; Apart from the extra flexibility which this offers in terms of provisioning, we&#8217;re also benefiting from a huge power saving, since a modern Dell platform can easily host a dozen older servers.</p>
<p>However, after having migrated a Windows server, we observed that the attributes of folders on the filesystem had been modified.&nbsp; In Windows Explorer, everything seemed all right, but when FTP&#8217;ing to certain folders, or when viewing them with the &#8216;dir&#8217; command, the folder were hidden.&nbsp; It appeared that the &#8217;system&#8217; attribute had been set throughout the C drive.</p>
<p>We solved the problem by executing</p>
<p>attrib /S /D -S -H -R</p>
<p>Cheers,</p>
<p>Denis</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.firstserved.net%2Fblog%2F2009%2F06%2F05%2Fwindows-folders-hidden-after-migration-to-virtual-machine%2F';
  addthis_title  = 'Windows+folders+hidden+after+migration+to+virtual+machine';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.firstserved.net/blog/2009/06/05/windows-folders-hidden-after-migration-to-virtual-machine/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Regenerating SSH keys.</title>
		<link>http://www.firstserved.net/blog/2009/04/15/regenerating-ssh-keys/</link>
		<comments>http://www.firstserved.net/blog/2009/04/15/regenerating-ssh-keys/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 13:49:38 +0000</pubDate>
		<dc:creator>Koen</dc:creator>
		
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.firstserved.net/blog/?p=132</guid>
		<description><![CDATA[Hi,
I thought it would be good to share this simple command to regenerate SSH keys:
rm -fr /etc/ssh/*key*
service sshd restart
(Please be careful when executing this command, it will remove files without confirmation!)
In normal situations you would never need this&#8230;
However it can be usefull when cloning machines.
&#160;
Greets,
Koen

  addthis_url    = 'http%3A%2F%2Fwww.firstserved.net%2Fblog%2F2009%2F04%2F15%2Fregenerating-ssh-keys%2F';
  addthis_title  [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>I thought it would be good to share this simple command to regenerate SSH keys:</p>
<p>rm -fr /etc/ssh/*key*<br />
service sshd restart<br />
(Please be careful when executing this command, it will remove files without confirmation!)</p>
<p>In normal situations you would never need this&#8230;<br />
However it can be usefull when cloning machines.</p>
<p>&nbsp;</p>
<p>Greets,</p>
<p>Koen</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.firstserved.net%2Fblog%2F2009%2F04%2F15%2Fregenerating-ssh-keys%2F';
  addthis_title  = 'Regenerating+SSH+keys.';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.firstserved.net/blog/2009/04/15/regenerating-ssh-keys/feed/</wfw:commentRss>
		</item>
		<item>
		<title>XenServer 5 Hotfix 2 - SNMP issue</title>
		<link>http://www.firstserved.net/blog/2009/03/03/xenserver-5-hotfix-2-snmp-issue/</link>
		<comments>http://www.firstserved.net/blog/2009/03/03/xenserver-5-hotfix-2-snmp-issue/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 09:57:27 +0000</pubDate>
		<dc:creator>Koen</dc:creator>
		
		<category><![CDATA[SNMP]]></category>

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

		<guid isPermaLink="false">http://www.firstserved.net/blog/?p=127</guid>
		<description><![CDATA[After installing hotfix 2 on your Citrix XenServer 5.0 host, you might notice some problems with the package net-snmpd&#8230;
&#160;service snmpd start
Starting snmpd: /usr/sbin/snmpd: symbol lookup error: /usr/lib/libnetsnmpagent.so.10: undefined symbol: boot_DynaLoader
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [FAILED]
&#160;
Citrix knows of this problem, but for those who cannot wait for a fix, here&#8217;s a solution:

Enable the CenOS yum repositories, in /etc/yum.repos.d/CentOS-Base.repo
Remove the snmp [...]]]></description>
			<content:encoded><![CDATA[<p>After installing hotfix 2 on your Citrix XenServer 5.0 host, you might notice some problems with the package net-snmpd&#8230;</p>
<p>&nbsp;service snmpd start<br />
Starting snmpd: /usr/sbin/snmpd: symbol lookup error: /usr/lib/libnetsnmpagent.so.10: undefined symbol: boot_DynaLoader<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [FAILED]<br />
&nbsp;</p>
<p>Citrix knows of this problem, but for those who cannot wait for a fix, here&#8217;s a solution:</p>
<ul>
<li>Enable the CenOS yum repositories, in /etc/yum.repos.d/CentOS-Base.repo</li>
<li>Remove the snmp packages and install the new CentOS packages:<br />
    (for the sake of safety, keep a backup)</p>
<ul>
<li>rpm -qa |grep snmp<br />
        net-snmp-libs-5.3.1-19.3.xs361<br />
        net-snmp-5.3.1-24.2.xs367</li>
<li>rpm -e &#8211;repackage net-snmp-5.3.1-24.2.xs367 net-snmp-libs-5.3.1-19.3.xs361<br />
        warning: /etc/snmp/snmpd.conf saved as /etc/snmp/snmpd.conf.rpmsave</li>
<li>yum install net-snmp</li>
<li>service snmpd start</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<p>Your repackaged rpms are in /var/spool/repackage/ .<br />
These packages can be reinstalled using:</p>
<p style="margin-left: 40px;">rpm -i &#8211;nomd5 package.rpm</p>
<p>(Note: you need 2 hyphens before nomd5: - -nomd5)</p>
<p>Please keep in mind that deploying thirth party rpms and changing the domain controller (dom0) is not supported by Citrix!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.firstserved.net%2Fblog%2F2009%2F03%2F03%2Fxenserver-5-hotfix-2-snmp-issue%2F';
  addthis_title  = 'XenServer+5+Hotfix+2+-+SNMP+issue';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.firstserved.net/blog/2009/03/03/xenserver-5-hotfix-2-snmp-issue/feed/</wfw:commentRss>
		</item>
		<item>
		<title>XenServer and DRBD</title>
		<link>http://www.firstserved.net/blog/2009/02/27/xenserver-and-drbd/</link>
		<comments>http://www.firstserved.net/blog/2009/02/27/xenserver-and-drbd/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 15:09:40 +0000</pubDate>
		<dc:creator>Koen</dc:creator>
		
		<category><![CDATA[DRBD]]></category>

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

		<guid isPermaLink="false">http://www.firstserved.net/blog/?p=124</guid>
		<description><![CDATA[While XenServer and DRBD do play together nicely in various setups, problems can be encountered when using a setup similar to this:
sda3 -&#62; LVM -&#62; DRBD -&#62; LVM -&#62; LVM
This occured in a complex XenServer setup we were building.
When booting the (paravirtualised) guest we saw this message in the systems log:
kernel: drbd6: bio would need [...]]]></description>
			<content:encoded><![CDATA[<p>While XenServer and DRBD do play together nicely in various setups, problems can be encountered when using a setup similar to this:<br />
sda3 -&gt; LVM -&gt; DRBD -&gt; LVM -&gt; LVM</p>
<p>This occured in a complex XenServer setup we were building.<br />
When booting the (paravirtualised) guest we saw this message in the systems log:<br />
kernel: drbd6: bio would need to, but cannot, be split: (vcnt=4,idx=0,size=4096,sector=4423615)</p>
<p>Simultaniously the guest would complain about unreadable sectors on the drive.</p>
<p>The issue is actually rather simple, and documented on the internet.<br />
But while some xensource users switch over to file-based VM&#8217;s as a work-around, this is not an option in XenServer.</p>
<p>So, how can this really be solved?<br />
By simply adding an extra parameter to the drbd.conf:</p>
<p>&nbsp; disk {<br />
&nbsp;&nbsp;&nbsp; max-bio-bvecs 1;<br />
&nbsp; }</p>
<p>This simple switch effectively cures the whole situation.<br />
If you want more information about this switch, please read the man files on drbd.conf</p>
<p>man drbd.conf</p>
<p>The switch and what it does is fairly well documented there.</p>
<p>&nbsp;</p>
<p>Greets,</p>
<p>Koen</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.firstserved.net%2Fblog%2F2009%2F02%2F27%2Fxenserver-and-drbd%2F';
  addthis_title  = 'XenServer+and+DRBD';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.firstserved.net/blog/2009/02/27/xenserver-and-drbd/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Clearing local DNS cache</title>
		<link>http://www.firstserved.net/blog/2009/02/18/clearing-local-dns-cache/</link>
		<comments>http://www.firstserved.net/blog/2009/02/18/clearing-local-dns-cache/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 16:11:38 +0000</pubDate>
		<dc:creator>Koen</dc:creator>
		
		<category><![CDATA[Hosting, Servers,...]]></category>

		<guid isPermaLink="false">http://www.firstserved.net/blog/?p=122</guid>
		<description><![CDATA[When modifying DNS settings, a local DNS cache can be pretty annoying.
Often you&#8217;ll want to clear the local cache of your computer and get new records from your provider (which may speed up the process if the provider has already updated the DNS records).
This can be done with these commands:
Windows: ipconfig /flushdns
Linux: /etc/init.d/nscd restart (or [...]]]></description>
			<content:encoded><![CDATA[<p>When modifying DNS settings, a local DNS cache can be pretty annoying.<br />
Often you&#8217;ll want to clear the local cache of your computer and get new records from your provider (which may speed up the process if the provider has already updated the DNS records).</p>
<p>This can be done with these commands:</p>
<p>Windows: ipconfig /flushdns<br />
Linux: /etc/init.d/nscd restart (or service nscd restart, or /etc/rc.d/init.d/nscd, depending on your distribution)<br />
Mac OSX: dscacheutil -flushcache (or lookupd -flushcache for Tiger)</p>
<p>These commands should be entered in a terminal (&quot;cmd.exe&quot; for the Windows users).</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.firstserved.net%2Fblog%2F2009%2F02%2F18%2Fclearing-local-dns-cache%2F';
  addthis_title  = 'Clearing+local+DNS+cache';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.firstserved.net/blog/2009/02/18/clearing-local-dns-cache/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
