{"id":321,"date":"2009-03-31T20:32:41","date_gmt":"2009-04-01T01:32:41","guid":{"rendered":"https:\/\/lowtek.ca\/roo\/?p=321"},"modified":"2026-01-03T20:27:43","modified_gmt":"2026-01-04T00:27:43","slug":"the-new-server","status":"publish","type":"post","link":"https:\/\/lowtek.ca\/roo\/2009\/the-new-server\/","title":{"rendered":"The New Server"},"content":{"rendered":"<p>I had <a href=\"https:\/\/lowtek.ca\/roo\/2009\/time-to-upgrade-the-server\/\">previously posted<\/a> about the server than runs lowtek.ca and that it had been given me trouble.\u00a0\u00a0 Well, the new parts came pretty quickly and it was a good thing &#8211; as just last week the old server packed it in.\u00a0 It turns out that the most likely reason for the instability was the CPU fan, as it totally seized on the failure day and my CPU temperature climbed up past 90C.\u00a0 An <a href=\"http:\/\/www.shoprbc.com\/ca\/shop\/product_details.php?pid=10465\">$8 fan<\/a> might have solved my immediate problem, and been a lot less headache &#8212; having temperature graphs of the server would have helped spot this, something I plan to do with the new one.<\/p>\n<p>At least I had a good excuse to buy new hardware.<a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/03\/img_1086.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-327\" title=\"img_1086\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/03\/img_1086.jpg\" alt=\"img_1086\" width=\"217\" height=\"350\" \/><\/a> So here is a picture of it hanging out in my furnace room next to the water heater.\u00a0 While the new system is based on a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Miniitx\">MiniITX<\/a> mainboard, I&#8217;ve opted to use a full size <a href=\"http:\/\/en.wikipedia.org\/wiki\/ATX\">ATX<\/a> tower case to house it (the case was a free hand me down from a friend).<\/p>\n<p>I did modify the case quite heavily.\u00a0 The stock fan grills were simply holes drilled in the case &#8211; it was more grill than not, so the airflow was pretty poor.\u00a0 A couple of minutes with the dremel removed the grills entirely.\u00a0 I also opened up the front bezel to provide easy inflow of air for the lower case fan.\u00a0 The upper case fan is mounted to a pair of drive bay covers I&#8217;ve glued together.<\/p>\n<p>This case has 6 x 5.25 drive bays, and 3&#215;3.5 bays.\u00a0 My system drive lives down in the bottom and the data drives are up where the top fan is.<\/p>\n<p>I also cut a fan vent in the side panel to blow down onto the mainboard itself.\u00a0 This I did with a jigsaw, and I think it turned out well considering it was my first attempt a something like this.<\/p>\n<p><a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/03\/img_1071.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-323\" title=\"img_1071\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/03\/img_1071.jpg\" alt=\"img_1071\" width=\"145\" height=\"200\" \/><\/a>This older ATX tower case had all of the right connections for this new motherboard.\u00a0 Power, reset and HDD connectors hooked up no problem.\u00a0 The power LED was a 3 pin connector vs. the required 2 pin connector.\u00a0 Karl was able to hook me up with a spare HDD connector that I spliced onto the power LED.<\/p>\n<p>Since there were mounting loca<a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/03\/img_1074.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-324\" title=\"img_1074\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/03\/img_1074.jpg\" alt=\"img_1074\" width=\"211\" height=\"350\" \/><\/a>tions for 2 more exhaust fans, I couldn&#8217;t help myself and added two more at the top\/back of the case.<\/p>\n<p>If we count fans, I&#8217;ve got 5 case fans, 1 more in the power supply, and a chipset fan on the mainboard.\u00a0 Overkill?\u00a0 Yes. Required?\u00a0 No, probably not.\u00a0 There seem to be plenty of folk out there running exactly the same board with very minimal cooling.<\/p>\n<p>My motivation here was the current system failing due to heat death, and I&#8217;d like this new system to run problem free for years.\u00a0 The extra cost of a few fans isn&#8217;t a big deal, and its very quiet relative to the furnace.\u00a0 I may further duct \/ optimize the cooling as the measurements thus far don&#8217;t show much of a delta from other peoples numbers on the net.<\/p>\n<p>One more picture of the guts, to give you a sense of how small the MiniITX board is:<\/p>\n<p><a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/03\/img_1070.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-322\" title=\"img_1070\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/03\/img_1070.jpg\" alt=\"img_1070\" width=\"500\" height=\"494\" \/><\/a>The transition from the old system to the new one should have been as simple as dropping in the drives and booting.\u00a0 Unfortunately the old version of <a href=\"http:\/\/www.ubuntu.com\/products\/WhatIsUbuntu\/serveredition\">Ubuntu<\/a> (Dapper) didn&#8217;t have support for the new <a href=\"https:\/\/web.archive.org\/web\/20100309082046\/http:\/\/www.intel.com\/products\/desktop\/motherboards\/D945GCLF2-D945GCLF2D\/D945GCLF2-D945GCLF2D-overview.htm\">Atom board<\/a> and couldn&#8217;t make use of its network drivers etc.<\/p>\n<p>Worse still, the system drive refused to boot in the new machine.\u00a0 It is something that still has me scratching my head.\u00a0 I even went to the effort of cloning the boot drive onto another which I had proven would boot with the new system &#8211; and still no go.\u00a0 It was almost as if the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Master_boot_record\">MBR<\/a> was in an unexpected location.\u00a0 Last week I lost a bunch of sleep.<\/p>\n<p><a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/03\/img_1075.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-326\" title=\"img_1075\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/03\/img_1075.jpg\" alt=\"img_1075\" width=\"455\" height=\"500\" \/><\/a>Above is a picture of the old server while it was cloning the boot drive (which as I mentioned, turned out to be a waste of time).\u00a0 After five hours of beating my head on the problem, I simply moved the data drives to the new system &#8211; and did a clean install on a fresh boot drive.\u00a0 The old server continued to host lowtek.ca on the old system drive using the external fan to keep the CPU cool.<\/p>\n<p>Yesterday I turned off the old server.\u00a0 Here are a few URLs that I found helpful in the migration:<\/p>\n<ul>\n<li><a href=\"http:\/\/linuxwave.blogspot.com\/2007\/11\/mounting-lvm-disk-using-ubuntu-livecd.html\">Mounting LVM volumes that already exist<\/a><\/li>\n<li><a href=\"https:\/\/help.ubuntu.com\/community\/MailServer\">Setting up an email server on Ubuntu<\/a><\/li>\n<li><a href=\"http:\/\/packages.debian.org\/etch\/imapsync\">Using imapsync to migrating IMAP mailboxes<\/a><\/li>\n<\/ul>\n<p>As I host a number of <a href=\"http:\/\/wordpress.com\/\">wordpress<\/a> blogs here migrating them required a database backup \/ restore.\u00a0 I simply copied over the \/var\/www directory data instead of re-installing the blog software itself.<\/p>\n<p><strong>Backup:<\/strong><\/p>\n<p><code>mysqldump --add-drop-table -h localhost -u sql_username \\<br \/>\n--password=sql_passwd sql_database_name &gt; blog.bak.sql<\/code><\/p>\n<p><strong>Create DB on new host:<\/strong><\/p>\n<p><code>$ mysql -u root -p<\/code><\/p>\n<p>mysql&gt; CREATE DATABASE sql_database_name;<\/p>\n<p>mysql&gt; GRANT ALL PRIVILEGES ON sql_database_name.* TO &#8220;sql_username&#8221;@&#8221;localhost&#8221;<br \/>\n-&gt; IDENTIFIED BY &#8220;sql_passwd&#8221;;<\/p>\n<p>mysql&gt; FLUSH PRIVILEGES;<\/p>\n<p>mysql&gt; exit<\/p>\n<p><strong>Restore:<\/strong><\/p>\n<p><code>mysql -h localhost -u sql_username\u00a0 -p sql_database_name &lt; blog.bak.sql<\/code><\/p>\n<p>Well, if you&#8217;re still hanging in there &#8211; let&#8217;s talk about power consumption.\u00a0 I borrowed Trent&#8217;s <a href=\"http:\/\/www.p3international.com\/products\/special\/P4400\/P4400-CE.html\">Kill-A-Watt meter<\/a> and did some measuring.\u00a0 My home desktop machine draws around 150Watts, and up to 200Watts of power when loaded (and using the CD drive).\u00a0 The old server machine used 2W in standby, 120W during boot (loaded) and 112W steady state.\u00a0 The new machine uses 1W in standby, a peak of 100W at boot (when the drives are spinning up), and 60W steady state.<\/p>\n<p><strong>In conclusion:<\/strong> Server machines need to have monitoring setup to track potential problems (temperature).\u00a0 Migration of your data is less painful if you keep an install log with notes and links (thank goodness I did one last time).\u00a0 New hardware usually needs a new software install, don&#8217;t fight it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had previously posted about the server than runs lowtek.ca and that it had been given me trouble.\u00a0\u00a0 Well, the new parts came pretty quickly and it was a good thing &#8211; as just last week the old server packed it in.\u00a0 It turns out that the most likely reason for the instability was the &hellip; <a href=\"https:\/\/lowtek.ca\/roo\/2009\/the-new-server\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;The New Server&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,12,9],"tags":[],"class_list":["post-321","post","type-post","status-publish","format-standard","hentry","category-computing","category-how-to","category-reviews"],"_links":{"self":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/comments?post=321"}],"version-history":[{"count":5,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/321\/revisions"}],"predecessor-version":[{"id":2576,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/321\/revisions\/2576"}],"wp:attachment":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/media?parent=321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/categories?post=321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/tags?post=321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}