{"id":6804,"date":"2014-04-29T15:28:29","date_gmt":"2014-04-29T13:28:29","guid":{"rendered":"https:\/\/ingmarverheij.com\/?p=6804"},"modified":"2014-04-29T16:39:12","modified_gmt":"2014-04-29T14:39:12","slug":"building-a-lab-server","status":"publish","type":"post","link":"https:\/\/ingmarverheij.com\/en\/building-a-lab-server\/","title":{"rendered":"Building a lab server"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" title=\"\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: right; padding-top: 0px; padding-left: 0px; margin: 0px 0px 0px 5px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/04\/6a00d834518cc969e20133f1f9bc04970b-320wi.jpg\" width=\"150\" align=\"right\" height=\"174\" \/>Working in IT means you never stop learning, change is all around. To keep up with developments and to try out new ideas it\u2019s essential to have a lab environment where I can play around with different technologies.<\/p>\n<p>In the past I\u2019d had a lab environment running in the cloud but I felt limited not having direct access to the hardware. While I have no intention to start experimenting with virtual GPU sharing yet, I might in the future. So I decided it was time to invest in a lab server to run at home. Since the server runs physically runs at home it needs to have fairly high <a href=\"https:\/\/en.wikipedia.org\/wiki\/Wife_acceptance_factor\" target=\"_blank\">wife acceptance factor<\/a> (WAF). A stylish design, low power, low noise and fairly affordable server is desirable.<\/p>\n<p><!--more--><\/p>\n<h1>Virtualization<\/h1>\n<p>Of course the server will run a hypervisor to virtualize the workload. For one because it allows me to run a number of different workloads without investing heavily in a lot of hardware and second because my daily activities consists of virtualization techniques. <\/p>\n<p>While choosing for virtualization is easy the hypervisor is more challenging. Because of my profession (and interest) my choice is limited to Citrix XenServer, Microsoft Hyper-V and VMware vSphere (all of which a available in a free version). Each hypervisor has its benefits and its limitations, in the end I chose Microsoft Hyper-V. The reasons I chose Hyper-V instead of XenServer or vSphere are:<\/p>\n<ul>\n<li>Large hardware compatibility list<\/li>\n<li>Easy to find drivers<\/li>\n<li>Access to a GUI (allowing me to use the console to manage the VM\u2019s)<\/li>\n<li>De-duplication (Not available in the free Hyper-V edition, Standard or higher is required)<\/li>\n<\/ul>\n<p>&#160;<\/p>\n<h1>Specifications<\/h1>\n<p>Virtualization allows me to run a bunch of virtual machines simultaneously, if enough resources are available. More resources equal more running virtual machines but also more cost, finding a balance if important considering the WAF. Ow and I\u2019m Dutch and therefore a natural born cheapskate<\/p>\n<p><a href=\"https:\/\/explosm.net\/comics\/2308\/\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Cyanide &amp; Happiness - Cheapskates\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto\" border=\"0\" alt=\"Cyanide &amp; Happiness - Cheapskates\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/04\/Cheapskates.jpg\" width=\"500\" height=\"181\" \/><\/a><\/p>\n<p>Since the hardware needed look \u201cfriendly\u201d and be affordable I decided I needed a <a href=\"https:\/\/en.wikipedia.org\/wiki\/White_box_(computer_hardware)\" target=\"_blank\">white box<\/a>.. Honestly it\u2019s been ages since I built my own computer, the last time I did I was a teenager. So I really had to start from scratch and get to know what hardware is available and what consequences the decisions would have.<\/p>\n<p>PS: I started with the idea of using one (or more) <a href=\"https:\/\/www.intel.com\/content\/www\/us\/en\/nuc\/overview.html\" target=\"_blank\">Intel NUC<\/a>\u2019s but after hearing they use \u201cUltrabook processors\u201d I abandoned that route.<\/p>\n<p>&#160;<\/p>\n<h1>Motherboard<\/h1>\n<p>I\u2019m intending to use a Intel <em>Haswell<\/em> processor with the&#160; LGA 1150 socket. One very important aspect when choosing a motherboard is the chipset: H81, B85, Q85, Q87, H87 or Z87. Initially I struggled to find the differences between them but finally found a comparison sheet by <a href=\"https:\/\/ark.intel.com\/compare\/75010,75013,75007,75004,75019\" target=\"_blank\">Intel<\/a> and and <a href=\"https:\/\/en.wikipedia.org\/wiki\/LGA_1150\" target=\"_blank\">Wikipedia<\/a>. Basically if you want to leverage all virtualization techniques (specifically Intel <a href=\"https:\/\/en.wikipedia.org\/wiki\/VT-d\" target=\"_blank\">VT-d<\/a> and <a href=\"https:\/\/en.wikipedia.org\/wiki\/Intel_vPro\" target=\"_blank\">vPro<\/a>) you end up with <strong>the<\/strong> Q87 chipset. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Gigabyte GA-Q87M-D2H\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: right; padding-top: 0px; padding-left: 0px; margin: 0px 0px 0px 5px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"Gigabyte GA-Q87M-D2H\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/04\/GA-Q87M-D2H6.jpg\" width=\"150\" align=\"right\" height=\"153\" \/>With a chipset in mind (Q87) I had to find a motherboard that provided sufficient functionality (like SATA 6 gb\/s and gigabit LAN) and confidence (I heard horror stories about the ASRock). I ended up with the <strong>Gigabyte <\/strong><a href=\"https:\/\/www.gigabyte.com\/products\/product-page.aspx?pid=4595&amp;dl=1#ov\" target=\"_blank\"><strong>GA-Q87M-D2H<\/strong><\/a>. Why? Mainly because it\u2019s available in stores at a decent price and offers the functionality what I need.<\/p>\n<p>&#160;<\/p>\n<p>&#160;<\/p>\n<h1>Processor<\/h1>\n<p>The more grunt the processor has the more VM\u2019s I could power. The more cores the more parallel processor could run, so a quad-core is preferred. While there are 6 and 8 cores available in enterprise hardware, they\u2019re not available (or affordable) as consumer product (they will become available in Q3 2014). To minimize the power consumption I preferred the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Haswell_(microarchitecture)\" target=\"_blank\">Haswell<\/a> architecture leaving the choice between an i5 or i7. The i7 has more L3 Cache and higher CPU clock rate which are beneficial in a virtualized environment.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Intel i7-4771\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: right; padding-top: 0px; padding-left: 0px; margin: 0px 0px 0px 5px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"Intel i7-4771\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/04\/i7-4771.jpg\" width=\"150\" align=\"right\" height=\"162\" \/>In the end I had to choose between the 4770 and 4771. The 4770 has a number or editions (K, S, R, T and E) with different specifications in power-consumption, clock rate and (very important) virtualization techniques like VT. <\/p>\n<p>After comparing the i7-4770 with the i7-4771 (<a href=\"https:\/\/versus.com\/en\/intel-core-i7-4770-vs-intel-core-i7-4771\" target=\"_blank\">versus.com<\/a>) it was clear the differences are minimal but in favour of the 4771. Since I found a supplies offering the 4771 for 7 euro\u2019s more the choice was easy. I chose the <strong>i7-4771<\/strong>.<\/p>\n<p>To ensure compatibility with the motherboard I verified the <a href=\"https:\/\/www.gigabyte.com\/products\/product-page.aspx?pid=4595&amp;dl=1#\" target=\"_blank\">CPU Support List<\/a> for the Gigagbyte GA-Q87-D2H:<\/p>\n<p>&#160;<\/p>\n<h1>Memory<\/h1>\n<p>With the current available technology you can run up to 64GB on common-of-the-shelf hardware (as Aaron Parker showed in <a href=\"https:\/\/stealthpuppy.com\/lab-server-to-run-esxi-hyper-v\/\" target=\"_blank\">his article<\/a>), but the hardware is limited and therefore expensive. Using a motherboard supporting up to 32GB is easier and cheaper (remember I\u2019m a cheapskate) and \u201cenough\u201d for my lab. I say enough in quotes because you can never have enough memory, just like horsepower in a car. Nonetheless I settled for 32Gb.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\" Corsair Vengeance 16GB Dual Channel DDR3\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: right; padding-top: 0px; padding-left: 0px; margin: 0px 0px 0px 5px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"CMZ16GX3M2A1600C10\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/04\/CMZ16GX3M2A1600C10.png\" width=\"150\" align=\"right\" height=\"104\" \/>Just like the processor I found it important that the memory is on the <a href=\"https:\/\/www.gigabyte.com\/products\/product-page.aspx?pid=4595&amp;dl=1#memory%20support%20list\" target=\"_blank\">Memory Support List<\/a> of the Gigagbyte GA-Q87-D2H. Secondly I wanted the fastest memory at a decent price. Unfortunately the availability was the limiting factor so there\u2019s no good explanation why I decided to go for <a href=\"https:\/\/www.corsair.com\/en-us\/vengeance-16gb-dual-channel-ddr3-memory-kit-cmz16gx3m2a1600c10\" target=\"_blank\"><strong>Corsair Vengeance 16GB Dual Channel DDR3<\/strong><\/a> (CMZ16GX3M2A1600C10). I bought four 8GB modules and filled all available slots.<\/p>\n<p>&#160;<\/p>\n<h1>Storage<\/h1>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Team DARK L3 60GB\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: right; padding-top: 0px; padding-left: 0px; margin: 0px 0px 0px 5px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"Team DARK L3 60GB\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/04\/Team-DARK-L3-60GB.jpg\" width=\"100\" align=\"right\" height=\"176\" \/>I need storage to install the hypervisor (Microsoft Hyper-V) on, to store the virtual machines and some space for ISO\u2019s. One of the reasons I chose Hyper-V is because it provides de-duplication, reducing the space required to store VHDs containing the same files (I run de-duplication in \u201cVDI mode\u201d). What\u2019s good to know is that you can\u2019t enable de-duplication on your system disk, for this reason I purchased a separate SSD to run Hyper-V. The speed of each SSD is pretty good and since it only runs Hyper-V that was all I needed, I bought the <strong>60GB <\/strong><a href=\"https:\/\/www.teamgroup.com.tw\/mw\/cufiles\/files\/download\/category\/DARK%20L3.pdf\" target=\"_blank\"><strong>Team DARK L3<\/strong><\/a><strong> <\/strong>which costs around 40 euros.<\/p>\n<p>To store virtual machines you want a very VERY fast disk which provides you as much IOPS as you can afford, an SSD disk. There are quite a number of suppliers available but the Samsung 840 Evo is generally a good one. Since I wanted to store quite a number of virtual machines (most of them parked until I want to use them) and ISO files I need a lot of&#160; capacity, but SSDs are expensive. To solve this I bought two disks, a fast one (with de-duplication enabled) for VM\u2019s that need a lot of IOPS&#160; and a slower disk for less demanding VM\u2019s (like an AD domain controller) and ISO\u2019s.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Samsung 840 Evo\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: right; padding-top: 0px; padding-left: 0px; margin: 0px 0px 0px 5px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"Samsung 840 Evo\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/04\/Samsung-840-EVO-SSD-Bottom.jpg\" width=\"150\" align=\"right\" height=\"75\" \/>I ended up with a <a href=\"https:\/\/www.samsung.com\/nl\/consumer\/pc-peripherals-printer\/ssd-solid-state-drive\/840-evo\/MZ-7TE500BW\" target=\"_blank\"><strong>Samsumg 500GB 840 Evo<\/strong><\/a><strong> <\/strong>SSD as \u201cfast\u201d storage and a spare Western Digital 3GB SATA disk I had laying around for&#160; \u201cslower\u201d storage.<\/p>\n<p>&#160;<\/p>\n<h1>Power<\/h1>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Corsair RM450\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: right; padding-top: 0px; padding-left: 0px; margin: 0px 0px 0px 5px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"Corsair RM450\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/04\/Corsair-RM4501.png\" width=\"150\" align=\"right\" height=\"110\" \/>All these components needs to be powered by a PSU. As said in the beginning the WAF if one important aspect of the server which means it needs to be silent and low on power. The Corsair RM series has a \u201cZero RPM Fan Mode\u201d which allows the fan to spin down when there\u2019s not much power needed. It\u2019s also 80 PLUS Gold certified which ensures it produces less head and lower operating costs. To provide sufficient power to all components I purchased the <a href=\"https:\/\/www.corsair.com\/en-us\/rm-series-rm450-80-plus-gold-certified-power-supply\" target=\"_blank\"><strong>Corsair RM450<\/strong><\/a>.<\/p>\n<p>&#160;<\/p>\n<h1>Case<\/h1>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Lian Li PC-V351\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: right; padding-top: 0px; padding-left: 0px; margin: 0px 0px 0px 5px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"Lian Li PC-V351\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/04\/Lian-Li-PC-V351.jpg\" width=\"150\" align=\"right\" height=\"136\" \/>Last part in my quest for a lab server was a stylish case which blended in a normal \u201chome office\u201d environment to improve the WAF. This was actually a tricky part since most cases were either targeted for hardcore gamers \/ tweakers or to be used as a media-center. I was looking for a slick and small box to house all components, nothing fancy. I ended up with the <a href=\"https:\/\/www.lian-li.com\/en\/dt_portfolio\/pc-v351\/\" target=\"_blank\"><strong>Lian-Li PC-V351B<\/strong><\/a> . When the box arrived I was a bit disappointed as I thought I bought a small square box but ended up as quite a big case. Tip: check the actual dimensions when you order \ud83d\ude09<\/p>\n<p>&#160;<\/p>\n<h1>Shopping List<\/h1>\n<table cellspacing=\"0\" cellpadding=\"2\" width=\"496\" border=\"1\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"107\">&nbsp;<\/td>\n<td valign=\"top\" width=\"326\"><strong>Name<\/strong><\/td>\n<td valign=\"top\" width=\"61\"><strong>EUR<\/strong><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"107\"><strong>Motherboard<\/strong><\/td>\n<td valign=\"top\" width=\"326\">Gigabyte GA-Q87M-D2H<\/td>\n<td valign=\"top\" width=\"61\">94,79<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"107\"><strong>Processor<\/strong><\/td>\n<td valign=\"top\" width=\"326\">Intel i7-4771<\/td>\n<td valign=\"top\" width=\"61\">218,68<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"107\"><strong>Memory<\/strong><\/td>\n<td valign=\"top\" width=\"326\">2x Corsair Vengeance 16GB Dual Channel DDR3 <\/td>\n<td valign=\"top\" width=\"61\">215,21<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"107\"><strong>Disk 1<\/strong><\/td>\n<td valign=\"top\" width=\"326\">Team DARK L3&#160; 60GB<\/td>\n<td valign=\"top\" width=\"61\">31,38<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"107\"><strong>Disk 2<\/strong><\/td>\n<td valign=\"top\" width=\"326\">Samsumg 500GB 840 Evo<\/td>\n<td valign=\"top\" width=\"61\">182,98<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"107\"><strong>Power<\/strong><\/td>\n<td valign=\"top\" width=\"326\">Corsair RM450<\/td>\n<td valign=\"top\" width=\"61\">66,53<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"107\"><strong>Case<\/strong><\/td>\n<td valign=\"top\" width=\"326\">Lian-Li PC-V351B<\/td>\n<td valign=\"top\" width=\"61\">79,17<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"107\">&nbsp;<\/td>\n<td valign=\"top\" width=\"326\"><strong>Total<\/strong><\/td>\n<td valign=\"top\" width=\"61\"><strong>891.74<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><em>Prices are excluding VAT<\/em><\/p>\n<p>&#160;<\/p>\n<p>.<\/p>\n<p>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Working in IT means you never stop learning, change is all around. To keep up with developments and to try out new ideas it\u2019s essential to have a lab environment where I can play around with different technologies. In the past I\u2019d had a lab environment running in the cloud but I felt limited not [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[288],"tags":[651,607,650,652,653],"class_list":["post-6804","post","type-post","status-publish","format-standard","hentry","category-other","tag-hardware","tag-hyper-v","tag-lab","tag-virtualization","tag-waf"],"_links":{"self":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/6804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/comments?post=6804"}],"version-history":[{"count":4,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/6804\/revisions"}],"predecessor-version":[{"id":6822,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/6804\/revisions\/6822"}],"wp:attachment":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/media?parent=6804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/categories?post=6804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/tags?post=6804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}