{"id":408,"date":"2010-01-23T20:36:56","date_gmt":"2010-01-24T04:36:56","guid":{"rendered":"http:\/\/greg.porter.name\/wordpress\/?p=408"},"modified":"2010-01-29T22:49:22","modified_gmt":"2010-01-30T06:49:22","slug":"hmm-i-wonder-if-i-can-use-these-workstations-as-servers","status":"publish","type":"post","link":"https:\/\/greg.porter.name\/wordpress\/?p=408","title":{"rendered":"Hmm, I wonder if I can use these workstations as &#8220;servers&#8221;&#8230;"},"content":{"rendered":"<p>If you&#8217;re careful, perhaps.\u00a0 &#8220;Real&#8221; servers have&#8221;enterprise&#8221; features, such as dedicated hardware RAID controllers.\u00a0 Workstations and consumer motherboards don&#8217;t.<\/p>\n<p>I recently tried to run <a href=\"https:\/\/www.openfiler.com\/\">Openfiler<\/a> and <a href=\"https:\/\/www.citrix.com\/English\/ps2\/products\/feature.asp?contentID=1686939\">Citrix XenServer<\/a> on some random workstations we had &#8220;laying around&#8221;, and discovered multiple issues like these&#8230;<\/p>\n<p><!--more--><\/p>\n<p><strong>1. <\/strong><strong>Real servers have beefy construction, like big power supplies.<\/strong> One of the workstations (<a href=\"https:\/\/www.dell.com\/us\/en\/gen\/desktops\/precn_390\/pd.aspx?refid=precn_390&amp;s=gen\">Dell Precision 390<\/a>) I tried to use had lots of empty drive bays.\u00a0 I plugged in three extra SATA drives, so it had four drives total.\u00a0 It worked fine for long enough to load an operating system.\u00a0 I was in the middle of patching when I heard a *POP* and smelled smoke.\u00a0 Turns out that the stock power supply can&#8217;t support that many drives (even though the case has the bays, the power supply has the connectors, and the specs say that is a supported configuration).<\/p>\n<p><strong>2. <\/strong><strong>Workstation BIOS settings may stop you from loading certain software.<\/strong> XenServer requires CPU&#8217;s that <a href=\"https:\/\/en.wikipedia.org\/wiki\/Xen\">support hardware virtualization<\/a> to run Windows virtual machines, and this is usually a setting in BIOS that&#8217;s off by default.\u00a0 Another workstation I tried (<a href=\"https:\/\/h10010.www1.hp.com\/wwpc\/us\/en\/sm\/WF05a\/12454-12454-296719-307907-4050763-3429268.html\">HP xw4600<\/a>) has newer CPU&#8217;s that support virtualization but its &#8220;dumbed down&#8221; BIOS doesn&#8217;t allow you to see or set this.\u00a0 So even though it was a new quad core with 8GB of RAM, I couldn&#8217;t load XenServer on it.\u00a0 Boo.<\/p>\n<p><strong>3.\u00a0 Workstation &#8220;RAID&#8221; controllers aren&#8217;t the same as enterprise RAID controllers. <\/strong>The &#8220;RAID controllers&#8221; that come integrated on consumer motherboards aren&#8217;t really controllers.\u00a0 <a href=\"https:\/\/ata.wiki.kernel.org\/index.php\/SATA_RAID_FAQ\">Linux refuses to participate in the lie<\/a>.\u00a0 If you google &#8220;fakeRAID&#8221; you&#8217;ll get lots of explanations <a href=\"https:\/\/help.ubuntu.com\/community\/FakeRaidHowto\">like this one from Ubuntu<\/a>:<\/p>\n<blockquote><p>In the last few years, a number of hardware products have come onto the market claiming to be IDE or SATA RAID controllers. These have shown up in a number of <a href=\"https:\/\/people.redhat.com\/%7Eheinzm\/sw\/dmraid\/readme\">desktop\/workstation motherboards<\/a>. Virtually none of these are true hardware RAID controllers. Instead, they are simply multi-channel disk controllers combined with special BIOS configuration options and software drivers to assist the OS in performing RAID operations. This gives the appearance of a hardware RAID, because the RAID configuration is done using a BIOS setup screen, and the operating system can be booted from the RAID.<\/p><\/blockquote>\n<p>Real RAID controllers have their own CPU, cache RAM, and maybe a battery to protect the RAM.\u00a0 They are usually expensive.\u00a0 The dedicated RAID CPU offloads RAID related computations from the system CPU.\u00a0 FakeRAID chipsets don&#8217;t have CPU&#8217;s and the system CPU does everything, including RAID operations.\u00a0 You can easily tell when you try to use one of these with Linux.\u00a0 Linux doesn&#8217;t see the &#8220;RAID&#8221;.\u00a0 At all.\u00a0 Linux just sees the drives as plain old drives, regardless of how you attempt to configure the fakeRAID controller otherwise.<\/p>\n<p><strong>4.\u00a0 Newer workstations have newer chipsets that may be poorly supported in certain operating systems.<\/strong> Some operating systems like <a href=\"https:\/\/en.wikipedia.org\/wiki\/Red_Hat_Enterprise_Linux\">Red Hat Enterprise Linux<\/a> or Openfiler are considered &#8220;stable&#8221;, which is code-speak for &#8220;works great on older well known hardware, but not on this new-fangled unproven stuff&#8221;.\u00a0 For example, the latest Openfiler 3.2 won&#8217;t run on my HP xw4600.\u00a0 I get errors like:<\/p>\n<pre>Kernel panic - not syncing: DMAR hardware is malfunctioning<\/pre>\n<p><a href=\"https:\/\/bugzilla.redhat.com\/show_bug.cgi?id=540082\">This is apparently a bug in Red Hat as well<\/a>. \u00a0 I fiddled and farted around with passing Openfiler various kernel parameters, etc., but I gave up after a couple of hours of fiddling with it.\u00a0 The bottom line is that if you are unlucky enough to be trying to use some particular hardware that your Linux of choice doesn&#8217;t like, you are screwed.\u00a0 Enterprise server vendors sell their servers preloaded with most common Linux distros, so you can be pretty sure that they will run Linux just fine.<\/p>\n<p>So having said all of that, if you are lucky, and you happen to pick workstations or motherboards that have the features you need, you can make them work.\u00a0 For example, I found that my Dell Precision 390&#8217;s serve well as XenServer physical hosts for virtual machines.\u00a0 The are 3 GHz quad core machines, take up to 8GB of RAM, and you can get to the BIOS setting to turn hardware virtualization on.<\/p>\n<p><strong>If you are buying used equipment to run Linux, google and make sure that you find numerous positive reports from other users!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re careful, perhaps.\u00a0 &#8220;Real&#8221; servers have&#8221;enterprise&#8221; features, such as dedicated hardware RAID controllers.\u00a0 Workstations and consumer motherboards don&#8217;t. I recently tried to run Openfiler and Citrix XenServer on some random workstations we had &#8220;laying around&#8221;, and discovered multiple issues&hellip; <a href=\"https:\/\/greg.porter.name\/wordpress\/?p=408\" class=\"more-link\">Continue Reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-408","post","type-post","status-publish","format-standard","hentry","category-content"],"_links":{"self":[{"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=408"}],"version-history":[{"count":22,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/408\/revisions"}],"predecessor-version":[{"id":461,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/408\/revisions\/461"}],"wp:attachment":[{"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}