<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pardini&#039;s &#187; Tech</title>
	<atom:link href="http://pardini.net/blog/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://pardini.net/blog</link>
	<description>Pizza and other electrical stuff</description>
	<lastBuildDate>Fri, 02 Dec 2011 21:50:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Old DELL CERC SATA monitoring on new Debian Squeeze (PowerEdge PE 830)</title>
		<link>http://pardini.net/blog/2011/12/02/old-dell-cerc-sata-monitoring-on-new-debian-squeeze-poweredge-pe-830/</link>
		<comments>http://pardini.net/blog/2011/12/02/old-dell-cerc-sata-monitoring-on-new-debian-squeeze-poweredge-pe-830/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 21:50:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[cerc]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[old stuff]]></category>
		<category><![CDATA[pe830]]></category>
		<category><![CDATA[poweredge]]></category>

		<guid isPermaLink="false">http://pardini.net/blog/?p=110</guid>
		<description><![CDATA[lspci says it&#8217;s an &#8220;Dell CERC SATA RAID 2 PCI SATA 6ch (DellCorsair)&#8221;, under &#8220;Adaptec AAC-RAID (rev 01)&#8221;. Dell OMSA 6.5.x installs perfectly and after reboot detects everything but the CERC controller; so add the repository as per the instructions &#8230; <a href="http://pardini.net/blog/2011/12/02/old-dell-cerc-sata-monitoring-on-new-debian-squeeze-poweredge-pe-830/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>lspci says it&#8217;s an &#8220;Dell CERC SATA RAID 2 PCI SATA 6ch (DellCorsair)&#8221;, under &#8220;Adaptec AAC-RAID (rev 01)&#8221;. Dell OMSA 6.5.x installs perfectly and after reboot detects everything but the CERC controller; so add the repository as per the instructions at <a href="http://hwraid.le-vert.net/wiki/DebianPackages">http://hwraid.le-vert.net/wiki/DebianPackages</a> and then &#8220;apt-get install aacraid-status&#8221;. Then run &#8220;aacraid-status&#8221;. It should output something like</p>
<pre>
# aacraid-status
-- Controller informations --
-- ID | Model | Status
c0 | CERC SATA1.5/6ch | Optimal

-- Arrays informations --
-- ID | Type | Size | Status | Task | Progress
c0u0 | RAID1 | 76G | Optimal

-- Disks informations
-- ID | Model | Status
c0u0d0 | SAMSUNG HD080HJ/P | Online
c0u0d1 | WDC WD800JD-75MSA3 | Online</pre>
]]></content:encoded>
			<wfw:commentRss>http://pardini.net/blog/2011/12/02/old-dell-cerc-sata-monitoring-on-new-debian-squeeze-poweredge-pe-830/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated/fixed SQL Server Performance Dashboard</title>
		<link>http://pardini.net/blog/2011/08/17/updatedfixed-sql-server-performance-dashboard/</link>
		<comments>http://pardini.net/blog/2011/08/17/updatedfixed-sql-server-performance-dashboard/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 17:00:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://pardini.net/blog/?p=105</guid>
		<description><![CDATA[Since nobody seems to have it, download A fixed Performance Dashboard for SQL Server 2005. Not my work; I just collected a lot of fixes in the setup.sql and .rdl files from around the web. This is working on very &#8230; <a href="http://pardini.net/blog/2011/08/17/updatedfixed-sql-server-performance-dashboard/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Since nobody seems to have it, <a href="http://pardini.net/blog/wp-content/uploads/2011/08/PerformanceDashboard.zip">download A fixed Performance Dashboard for SQL Server 2005</a>. Not my work; I just collected a lot of fixes in the setup.sql and .rdl files from around the web. This is working on very long uptime servers, without the &#8216;difference between two datetime&#8217; and other errors.</p>
]]></content:encoded>
			<wfw:commentRss>http://pardini.net/blog/2011/08/17/updatedfixed-sql-server-performance-dashboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Overcoming VMWare ESXi&#8217;s 2tb limit with Dell PERC 6 and H700/H800 using disk groups with many virtual disks</title>
		<link>http://pardini.net/blog/2011/08/10/overcoming-vmware-esxis-2tb-limit-with-dell-perc-6-and-h700h800-using-disk-groups-with-many-virtual-disks/</link>
		<comments>http://pardini.net/blog/2011/08/10/overcoming-vmware-esxis-2tb-limit-with-dell-perc-6-and-h700h800-using-disk-groups-with-many-virtual-disks/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 16:09:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://pardini.net/blog/?p=103</guid>
		<description><![CDATA[VMWare ESXi (version 4, I wonder about what ESXi 5 really brings) has a 2TB limit on datastore size. So say you just bought a new Dell server and disk array, with let&#8217;s say 24 500gb disks, and wanna run &#8230; <a href="http://pardini.net/blog/2011/08/10/overcoming-vmware-esxis-2tb-limit-with-dell-perc-6-and-h700h800-using-disk-groups-with-many-virtual-disks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>VMWare ESXi (version 4, I wonder about what ESXi 5 really brings) has a 2TB limit on datastore size.<br />
So say you just bought a new Dell server and disk array, with let&#8217;s say 24 500gb disks, and wanna run it in RAID-6 for a total of 10230gb (22 * 465gb).<br />
You&#8217;ll soon discover VMWare will limit the datastore to a little less than 2Tb. I&#8217;ll not go into the mess that is the reason for this, just accept it. Or buy ESXi 5 for US$ 10k.<br />
One (poor) solution, would be to setup a few smaller RAID arrays (eg, four 5-disk 500gb RAID-5 arrays); each array totalling around 2tb, and create a few datastores, each with a little less than 2tb.<br />
That&#8217;s bad because obviously you&#8217;ll waste a lot of disks; but it works.<br />
The best solution is to make use of a little-advertised feature of RAID cards: disk groups. Since PERC 6 (PERC 6/i, PERC 6/E, H700 and H800) the card has 3 concepts: Physical Disks, Disk Groups, and Virtual Disks.<br />
When you use OMSA, or go into Ctrl-R during boot, the &#8216;Create Virtual Disk Wizard&#8217; makes it easy to create a Virtual Disk in a specific RAID mode.<br />
So when you create a new 24 physical disk RAID-6 virtual disk, it automatically creates the Disk Group for you (it&#8217;s a &#8216;wizard&#8217;, right?).<br />
<strong>What&#8217;s not so obvious</strong> is that you can put more than one Virtual Disk inside a Disk Group, effectively creating more than one LUN on a RAID array.<br />
To do that, during the first VD create step, reduce the VD &#8220;size&#8221; field to 2000gb; it will create the first VD in the Disk Group.<br />
Then, repeat the VD creation; it will allow you to re-use the same RAID level and Physical Disks, to create new VDs in the same group.<br />
This way you can create a few VDs (all below 2Tb) without &#8216;wasting&#8217; physical disks. In VMWare ESXi, create Datastores, one for each VD: set the VMWare block size to 8mb so that you can create large VMWare Virtual Disks in them.<br />
For a large Virtual Machine, you can create many VMWare Virtual Disks (each up to 2tb, each in different datastores) for the VM; inside that VM&#8217;s operating system, use the OS&#8217;s features to JBOD each virtual disk into a large volume.<br />
You can do that with Windows&#8217;s Dynamic Disks, or using Linux software raid md (in JBOD mode): just make sure to use JBOD or other non-stripped mode, because the RAID is actually done and working at the physical controller card Disk Group level.</p>
]]></content:encoded>
			<wfw:commentRss>http://pardini.net/blog/2011/08/10/overcoming-vmware-esxis-2tb-limit-with-dell-perc-6-and-h700h800-using-disk-groups-with-many-virtual-disks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Ultimate ASP.NET Session State Debugging Tool</title>
		<link>http://pardini.net/blog/2011/02/17/the-ultimate-asp-net-session-state-debugging-tool/</link>
		<comments>http://pardini.net/blog/2011/02/17/the-ultimate-asp-net-session-state-debugging-tool/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 03:16:50 +0000</pubDate>
		<dc:creator>pardini</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[load balancer]]></category>
		<category><![CDATA[session]]></category>
		<category><![CDATA[session state]]></category>
		<category><![CDATA[state server]]></category>
		<category><![CDATA[web farm]]></category>

		<guid isPermaLink="false">http://pardini.net/blog/?p=92</guid>
		<description><![CDATA[Do you use ASP.NET? ASP.NET MVC? Any kind of Session storage? Any kind of Out-of-Proc storage (like State Server, or SQL Server Session Storage) for web servers in a web farm?
Do you have problems with it? Yes, you do. Microsoft makes it painful. You must make MachineKey match. You must make the IIS W3SVC ID match. You must pray it doesn't break when you restore your metabase config. You realize some virtual directories work, while others don't. Some servers, browsers, load balancers, work while others don't. <a href="http://pardini.net/blog/2011/02/17/the-ultimate-asp-net-session-state-debugging-tool/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Do you use ASP.NET? ASP.NET MVC? Any kind of Session storage? Any kind of Out-of-Proc storage (like State Server, or SQL Server Session Storage) for web servers in a web farm?</p>
<p>Do you have problems with it? Yes, you do. Microsoft makes it painful. You must make MachineKey match. You must make the IIS W3SVC ID match. You must pray it doesn&#8217;t break when you restore your metabase config. You realize some virtual directories work, while others don&#8217;t. Some servers, browsers, load balancers, work while others don&#8217;t.</p>
<p>Now, do yourself a favor, stop hammering your sysadmin, and get the code below. Paste into a testSession.aspx page in every machine and every virtual directory affected. You&#8217;ll get something similar to the shot below. Run it individually and through the load balancer. Check for &#8220;<strong>AppDomainAppId</strong>&#8221; mismatches (even the tinyest difference in upper/lowercase makes a difference). Check for &#8220;MachineKey&#8221; hash. Make sure everything match between servers in the farm (by hand-editing the metabase, machine.config, etc) in every virtual directory (<strong>I&#8217;ve seen uppercase/lowercase mismatches in the <em>/LM/W2SVC/1/ROOT/VirtualDir</em> AppDomainId string that happen on one Vdir while others are okay</strong>).</p>
<p><a href="http://pardini.net/blog/wp-content/uploads/2011/02/17-02-2011-01-11-43.png"><img src="http://pardini.net/blog/wp-content/uploads/2011/02/17-02-2011-01-11-43-300x84.png" alt="So simple, isn&#039;t it?" title="17-02-2011 01-11-43" width="300" height="84" class="alignnone size-medium wp-image-98" /></a></p>
<p>Here goes the entire code. <strong>Attention: remove this from the server after you&#8217;re done. You never know what evil people will use it for&#8230;</strong></p>
<pre class="brush: csharp; title: ; notranslate">
&lt;%@ Page Language=&quot;C#&quot; ValidateRequest=&quot;false&quot; %&gt;

Current DataTime: &lt;%= DateTime.Now %&gt;&lt;br/&gt;
Current Session Mode: &lt;b&gt;&lt;%= Session.Mode %&gt;&lt;/b&gt;&lt;br/&gt;
HttpRuntime.AppDomainAppId: &lt;b&gt;&lt;%= HttpRuntime.AppDomainAppId %&gt;&lt;/b&gt;&lt;br/&gt;

&lt;%@ Import Namespace=&quot;System.Web.Configuration&quot; %&gt;
&lt;%@ Import Namespace=&quot;System.Reflection&quot; %&gt;

&lt;%
MethodInfo _encOrDecData;
MethodInfo _hexStringToByteArray;
MethodInfo _byteArrayToHexString;
MethodInfo _HashAndBase64EncodeString;

MachineKeySection  config = (MachineKeySection)ConfigurationManager.GetSection(&quot;system.web/machineKey&quot;);
Type machineKeyType = config.GetType().Assembly.GetType(&quot;System.Web.Configuration.MachineKeySection&quot;);

BindingFlags bf = BindingFlags.NonPublic | BindingFlags.Static;

_HashAndBase64EncodeString = machineKeyType.GetMethod(&quot;HashAndBase64EncodeString&quot;, bf);

if (_HashAndBase64EncodeString == null)
{
	throw new InvalidOperationException(&quot;Unable to get the HashAndBase64EncodeString to invoke.&quot;);
}
String str = HttpRuntime.AppDomainAppId;
var HashedPiko = (String)_HashAndBase64EncodeString.Invoke(null, new object[] { str });

%&gt;

Hashed with the MachineKey: &lt;b&gt;&lt;%= HashedPiko %&gt;&lt;/b&gt;&lt;br/&gt;

Local Machine Name: &lt;b&gt;&lt;%= Request.ServerVariables[&quot;LOCAL_ADDR&quot;] %&gt;&lt;/b&gt;&lt;br/&gt;

Current Session ID: &lt;b&gt;&lt;%= Session.SessionID %&gt;&lt;/b&gt;&lt;br/&gt;

&lt;%
String pikoNaSession = (String)Session[&quot;SESSION_TEST_VALUE&quot;];
if (String.IsNullOrEmpty(pikoNaSession)) {
	Session[&quot;SESSION_TEST_VALUE&quot;] = &quot;Test Value, set on &quot; + Request.ServerVariables[&quot;LOCAL_ADDR&quot;] + &quot; &quot; + &quot; at &quot; + DateTime.Now ;
}
%&gt;

Current value in Session: &lt;b&gt;&lt;%= pikoNaSession %&gt;&lt;/b&gt;&lt;br/&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://pardini.net/blog/2011/02/17/the-ultimate-asp-net-session-state-debugging-tool/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>TortoiseCVS and TortoiseSVN on Vista and Windows 7 x64 &#8211; Overlay Icons</title>
		<link>http://pardini.net/blog/2009/10/12/tortoisecvs-and-tortoisesvn-on-vista-and-windows-7-x64-overlay-icons/</link>
		<comments>http://pardini.net/blog/2009/10/12/tortoisecvs-and-tortoisesvn-on-vista-and-windows-7-x64-overlay-icons/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 20:59:36 +0000</pubDate>
		<dc:creator>pardini</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://pardini.net/blog/?p=83</guid>
		<description><![CDATA[Getting icon overlays working in both TortoiseSVN and TortoiseCVS on x64 Windows <a href="http://pardini.net/blog/2009/10/12/tortoisecvs-and-tortoisesvn-on-vista-and-windows-7-x64-overlay-icons/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For more than a year, getting icon overlays to work with both TortoiseCVS and TortoiseSVN on x64 has been a nightmare.</p>
<p>Not anymore.</p>
<p>First, install the <a href="http://tortoisesvn.net/downloads" target="_blank">latest stable TortoiseSVN</a>.</p>
<p>Then install my custom build of TortoiseCVS, <a href="http://pardini.net/tortoise/TortoiseCVS-1.11.6-pardini.exe">TortoiseCVS-1.11.6-pardini.exe</a>. It is a custom built CVS-HEAD checkout, without many changes.</p>
<p>Please note that apparently TCVS is the one that decides the icons to use (both TSVN and TCVS will use the same icons), but they all work.</p>
<p>If it&#8217;s not working for you, uninstall all TortoiseSVN, TortoiseCVS and TortoiseOverlays you may have installed.</p>
<p>Also delete the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers.</p>
<p>Then reinstall in the order I suggested above.</p>
]]></content:encoded>
			<wfw:commentRss>http://pardini.net/blog/2009/10/12/tortoisecvs-and-tortoisesvn-on-vista-and-windows-7-x64-overlay-icons/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Atualização do Boot Camp para 2.1 (Brazilian Portuguese)</title>
		<link>http://pardini.net/blog/2009/01/20/atualizacao-do-boot-camp-para-21-brazilian-portuguese/</link>
		<comments>http://pardini.net/blog/2009/01/20/atualizacao-do-boot-camp-para-21-brazilian-portuguese/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 23:19:07 +0000</pubDate>
		<dc:creator>pardini</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[bootcamp]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[português]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://pardini.net/blog/2009/01/20/atualizacao-do-boot-camp-para-21-brazilian-portuguese/</guid>
		<description><![CDATA[Para algum infeliz, brasileiro, que tenha um Mac, rodando Boot Camp (Windows), que tente atualizar o Boot Camp do 2.0 para o 2.1. Acho que sou só eu no mundo todo. Se o Windows instalado for em inglês, mas com &#8230; <a href="http://pardini.net/blog/2009/01/20/atualizacao-do-boot-camp-para-21-brazilian-portuguese/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Para algum infeliz, brasileiro, que tenha um Mac, rodando Boot Camp (Windows), que tente atualizar o Boot Camp do 2.0 para o 2.1. Acho que sou só eu no mundo todo. Se o Windows instalado for em inglês, mas com preferências/teclado/regional settings como Brazil, a instalação do Boot Camp 2.0 faz uma cagada federal, e localiza o nome do produto no registro do Windows. Resultado, o update para o 2.1 não consegue atualizar, devido a algo esotérico do tipo &#8221;Error applying transforms. Verify that the specified transform paths are valid.&#8221; Muito informativo, parabéns Apple. A Apple também resolveu ignorar o problema, apesar de centenas de usuários com problemas (com certeza são todos estrangeiros, então fodam-se). A ajuda veio de um <a href="http://www.tiagodherbe.eu/Page/3191/articleType/ArticleView/articleId/118/Home.aspx" target="_blank">outro cara que fala Português (de PT)</a>. Porém, para máquinas em pt_BR, a chave de registro é diferente. Convém procurar por &#8220;Serviços do Boot Camp&#8221;. No meu caso resultou na chave HKEY_CLASSES_ROOT\Installer\Products\82654E0F812156845A61E8A84572A2CD. Altere a chave &#8220;Language&#8221; para 1033 (em decimal). Boot. Reinstale o update e voilá.</p>
]]></content:encoded>
			<wfw:commentRss>http://pardini.net/blog/2009/01/20/atualizacao-do-boot-camp-para-21-brazilian-portuguese/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>IPSec with setkey/racoon and multiple single-host SPDs</title>
		<link>http://pardini.net/blog/2008/08/21/ipsec-with-setkeyracoon-and-multiple-single-host-spds/</link>
		<comments>http://pardini.net/blog/2008/08/21/ipsec-with-setkeyracoon-and-multiple-single-host-spds/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 15:46:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://pardini.net/blog/2008/08/21/ipsec-with-setkeyracoon-and-multiple-single-host-spds/</guid>
		<description><![CDATA[Suppose you have an IPSec tunnel with two or more single-hosts (instead of, say, a /24 network). Only one host will ping after restarting Racoon. If you ping host A first, you can&#8217;t ping host B later, and vice-versa. This &#8230; <a href="http://pardini.net/blog/2008/08/21/ipsec-with-setkeyracoon-and-multiple-single-host-spds/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Suppose you have an IPSec tunnel with two or more single-hosts (instead of, say, a /24 network). Only one host will ping after restarting Racoon. If you ping host A first, you can&#8217;t ping host B later, and vice-versa. This has bugged me for a whole morning. I googled for this a lot and had trouble finding anything, but then found http://lists.freebsd.org/pipermail/freebsd-net/2003-November/002002.html and the answer by Helge Oldach at http://lists.freebsd.org/pipermail/freebsd-net/2003-November/002004.html.</p>
<p>Thanks to the KAME people!</p>
]]></content:encoded>
			<wfw:commentRss>http://pardini.net/blog/2008/08/21/ipsec-with-setkeyracoon-and-multiple-single-host-spds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dell DRAC5 Virtual Media CDROM breaks OS installation, hangs on Windows boot, and makes megaraid_sas insane</title>
		<link>http://pardini.net/blog/2008/07/09/dell-drac5-virtual-media-cdrom-breaks-os-installationboot-up-problems-and-fix/</link>
		<comments>http://pardini.net/blog/2008/07/09/dell-drac5-virtual-media-cdrom-breaks-os-installationboot-up-problems-and-fix/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 22:56:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[drac]]></category>
		<category><![CDATA[drac5]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[hang]]></category>
		<category><![CDATA[lockup]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[virtual media]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://pardini.net/blog/2008/07/09/dell-drac5-virtual-media-cdrom-breaks-os-installationboot-up-problems-and-fix/</guid>
		<description><![CDATA[We bought a dozen shiny new Dell 2950 and 1950 machines, with DRAC5 cards which seem quite handy. So off we went to install Debian and Windows 2003 using only DRAC5&#8242;s virtual Console (kind of an IP KVM) and virtual &#8230; <a href="http://pardini.net/blog/2008/07/09/dell-drac5-virtual-media-cdrom-breaks-os-installationboot-up-problems-and-fix/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We bought a dozen shiny new Dell 2950 and 1950 machines, with DRAC5 cards which seem quite handy.</p>
<p>So off we went to install Debian and Windows 2003 using only DRAC5&#8242;s virtual Console (kind of an IP KVM) and virtual media. No physical access to the servers is required. It all works very well, you point DRAC at an .ISO image, configure virtual media to attached in the Ctrl-E screen, hit F11 and choose to boot from &#8220;VIRTUAL CDROM&#8221;. This is where OS Installation, and problems, begin.</p>
<p>When installing Debian, when virtual media is attached, the PERC controller shifts stuff around so that the virtual media device can fit. That makes my RAID-5 array on the PERC be at /dev/sdc instead of the expected /dev/sda. This seems alright at first, but after the installation is done, GRUB goes insane. You can jackhammer GRUB to work, but then the megaraid_sas driver goes insane. Literally. Lockups, wierd and misleading messages. Insanity reigns.</p>
<p>When installing Windows without the help of the Dell Installation CD, it locks up right at the first &#8220;Windows Setup&#8221; blue screen, even before the &#8220;F6&#8243; driver prompt. The machine literally freezes (you can still restart it using DRAC, sweet). If you try using the Dell Install CD, it goes okay until the first reboot where the same thing happens. Complete lockup.</p>
<p>After spending a lot of time with Dell Support with clueless people (they were about to send us a tech to swap the PERC 6i controller which was &#8220;obviously&#8221; the culprit), we finally realized the problem was the Virtual Media in DRAC5. When we disabled Virtual Media and used a real, physical, spinning DVD drive, everything was fine. It turns out Windows locked up because it couldn&#8217;t figure out the &#8220;VIRTUAL CDROM&#8221; thing. Nothing was wrong with the PERC. Debian installed like a dream too, on /dev/sda.</p>
<p>If you really need to use the Virtual Media, you have to go through a very boring process. First, attach virtual media in Ctrl-E screen and mount the ISO in your browser. Start installing your operating system. When it&#8217;s time for the first reboot, go into Ctrl-E again and dettach virtual media. Now the install should proceed as normal&#8230;</p>
<p>All in all, DRAC5 is a very useful thing, it&#8217;s KVM capabilities have already paid for themselves if only in gasoline saved in trips to the datacenter. Now a Firefox 3 plugin, and fixes to the Virtual Media problems, would be very nice. Hello Dell?</p>
]]></content:encoded>
			<wfw:commentRss>http://pardini.net/blog/2008/07/09/dell-drac5-virtual-media-cdrom-breaks-os-installationboot-up-problems-and-fix/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Always, always use memtest86</title>
		<link>http://pardini.net/blog/2008/03/20/always-always-use-memtest86/</link>
		<comments>http://pardini.net/blog/2008/03/20/always-always-use-memtest86/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 16:42:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://pardini.net/blog/2008/03/20/always-always-use-memtest86/</guid>
		<description><![CDATA[This week my workstation started freezing and BSOD&#8217;ing. I ignored it for a few days until today it finally corrupted my registry. I spent a few hours restoring the registry from a restore point only to stop at a STOP &#8230; <a href="http://pardini.net/blog/2008/03/20/always-always-use-memtest86/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This week my workstation started freezing and BSOD&#8217;ing. I ignored it for a few days until today it finally corrupted my registry.<br />
I spent a few hours restoring the registry from a restore point only to stop at a STOP 0x7E or 0x08E bluescreen.<br />
It turns out I skipped the religious memtest86+ (http://www.memtest.org/) check when I bought this machine. Wierd, I always make sure to run it on all my servers, but somehow managed to forget to do it on my workstation. Now, with 1GB less RAM and two days work lost, I think I&#8217;ll never forget it again.</p>
]]></content:encoded>
			<wfw:commentRss>http://pardini.net/blog/2008/03/20/always-always-use-memtest86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ultimate Debian Etch VMWare Server setup (16Gb Dual Quad Core Dell 2950 with OMSA)</title>
		<link>http://pardini.net/blog/2007/06/09/ultimate-debian-etch-vmware-server-setup-16gb-dual-quad-core-dell-2950-with-omsa/</link>
		<comments>http://pardini.net/blog/2007/06/09/ultimate-debian-etch-vmware-server-setup-16gb-dual-quad-core-dell-2950-with-omsa/#comments</comments>
		<pubDate>Sat, 09 Jun 2007 23:26:19 +0000</pubDate>
		<dc:creator>pardini</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://pardini.net/blog/?p=72</guid>
		<description><![CDATA[With assistance from the helpful folks at the VMWare Discussion Forum, I came up with what I think is the ultimate VMWare Server setup. It&#8217;s essentially Debian Etch (4.0) x86 running on a Dell 2950, with dual Xeon E5310 (Quad-Core) &#8230; <a href="http://pardini.net/blog/2007/06/09/ultimate-debian-etch-vmware-server-setup-16gb-dual-quad-core-dell-2950-with-omsa/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>With assistance from the helpful folks at the VMWare Discussion Forum, I came up with what I think is the ultimate VMWare Server setup. It&#8217;s essentially Debian Etch (4.0) x86 running on a Dell 2950, with dual Xeon E5310 (Quad-Core) and 16Gb RAM. The focus here is on cleanliness: no hacks, no bizarre compat libraries, no patches. Just plain Debian-Dell-VMWare fun.<br />
First, a word about x64. Since I have a lot of RAM, the initial tests were with the amd64 port of Debian. Unfortunately, and not being Debian&#8217;s fault, a lot has conspired against x64. First, VMWare not being a native 64-bit application, a lot of compat libraries would be involved. Also, a lot of trouble arises with Dell OMSA. Finally, most people agree that there&#8217;s some performance penalty for VMWare on x64, quirks aside. If we had native VMWare and OMSA, I&#8217;d go with amd64. The best option I&#8217;ve found (and recommended on the forums) is installing standard x86 Debian, and then switching kernel to a &#8216;bigmem&#8217; one. More on that later.<br />
So lets head on to the method:</p>
<p><strong>1)</strong> <strong>Prepare the RAID setup for initial install.</strong> Dell does not support Debian, so you need a way to configure your RAID volumes beforehand (at the very least, the volume where you will install Debian, but I just go ahead and configure all my volumes). For this purpose I&#8217;ve found the excellent &#8220;CentOS Dell OMSA 5.1 Live CD&#8221;. Just burn the ISO, boot from it, set the root password, wait a lot, and you can get into the Web Interface for OMSA where you can set up the storage. I&#8217;ve set &#8220;Adaptive Read Ahead&#8221;, &#8220;Write back&#8221; and other performance-enabling RAID options.</p>
<p><strong>2) </strong><strong>Install Debian Etch (x86).</strong> I used a 3-in-1 CD, which has a i486, amd64 and power installer, and with that it was a little tricky to force i386/i486 instead of amd64 (it seems to auto-detect). The Dell PERC controller and NICs were all detected, even though it seems the (Gigabit) Ethernet ports were reversed (port 1 was eth1 and port 2 was eth0 &#8211; I&#8217;ve seen this reported before). Proceeded with standard install, I went with straight ext3 filesystems. You may want LVM or other fancy stuff, but I didn&#8217;t bother. I took care of unchecking the &#8220;Standard system&#8221; install option, which would install a lot of uneeded stuff like NFS, and results in a very, very minimal Debian install. Complete install, set root password, apt sources etc, and boot into the new system.</p>
<p><strong> 3) New kernel and packages.</strong> &#8220;aptitude update&#8221; and install SSH and the new kernel &#8220;aptitude install ssh linux-image-2.6-686-bigmem&#8221;. This should be all handled automatically, including the new kernel being setup in grub. Reboot. Once the system is back up, check /proc/cpuinfo, /proc/meminfo and &#8220;top&#8221; for correct 8-logical-CPU and 16635720 kB MemTotal. You may want to do a &#8220;aptitude upgrade&#8221; too to update everything with security updates. I also like ntpdate, tz-brasil and ntp-server for keeping the clock right.</p>
<p><strong> 4) Install Dell OMSA.</strong> The <strong>nice folks at sara.nl offer some excellent pre-packaged Dell OMSA install for Debian</strong> (it&#8217;s version 5.2, so it just plain works, without the &#8220;storage not found&#8221; problem). Thanks to them, you can just add &#8220;deb http://ftp.sara.nl/pub/sara-omsa dell sara&#8221; to /etc/apt/sources.list (ftp:// also works), do &#8220;aptitude update&#8221;, and &#8220;aptitude install dellomsa&#8221; and it&#8217;s quite ready. It&#8217;s a large package, around 100mb, but installs perfectly. After the install, run &#8220;update-rc.d dsm_om_connsvc defaults&#8221; and &#8220;/etc/init.d/dsm_om_connsvc start&#8221;. You can then go to &#8220;https://x.y.z.w:1311&#8243; (on another machine) and get to the OMSA web interface. Log-in as &#8220;root&#8221; with root&#8217;s shell password. It&#8217;s just that sweet. Dell&#8217;s own install system on supported OSes are not even close. I will post about SNMP support for OMSA later.</p>
<p><strong>5)</strong> <strong>Install VMWare prerequisites.</strong> VMWare Server links dynamically to a lot of stuff. I got a few pointers from other sites, but ultimately &#8220;ldd&#8221; and &#8220;apt-cache search&#8221; were my best friends. The best indication you&#8217;re missing libraries is the VMWare install program complaining about them, or even rejecting your VMWare serial number, or vmware-mui telling you vmware isn&#8217;t installed. Anyway, this is the final aptitude line for install all the dependencies I found: &#8220;aptitude install libx11-6 libx11-dev libxtst6 xinetd wget linux-headers-`uname -r` build-essential gcc g++ psmisc libxt6 libxrender1 libxi6&#8243;.</p>
<p><strong>6) Install VMWare Server and VMWare Management Interface.</strong> You get these from vmware.com after registering. Don&#8217;t forget to request your free serial number from them too. You should download the latest version (I got 1.0.3) in .tar.gz format. Just &#8220;tar xzvf&#8221; them, and run the installer script as per the manual. Everything should go smooth &#8211; VMWare will say you&#8217;ll need to compile the modules, and that should go just fine (no need for any-to-any patches). Do the same install routine for vmware-mui. Once it&#8217;s installed you can get to the nice VMWare web interface via &#8220;https://x.y.z.w:8333&#8243;. You will also connect via VMWare Console (I run that on Windows&#8230;) on x.y.z.w port 902. VMWare is able to see around 14.5Gb of RAM, which is excellent for my needs. Any given VM is limited to 3600mb, as usual.</p>
]]></content:encoded>
			<wfw:commentRss>http://pardini.net/blog/2007/06/09/ultimate-debian-etch-vmware-server-setup-16gb-dual-quad-core-dell-2950-with-omsa/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

