{"id":1259,"date":"2011-08-24T00:21:50","date_gmt":"2011-08-23T21:21:50","guid":{"rendered":"http:\/\/www.japhoto.fi\/blog\/?p=1259"},"modified":"2011-08-24T00:32:25","modified_gmt":"2011-08-23T21:32:25","slug":"serve-me-up-part-ii","status":"publish","type":"post","link":"http:\/\/www.japhoto.fi\/blog\/computers\/serve-me-up-part-ii\/","title":{"rendered":"Serve me up &#8211; Part II&#8230;"},"content":{"rendered":"<p><a href=\"http:\/\/www.japhoto.fi\/blog\/uncategorized\/serve-me-up-part-ii\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1260\" title=\"Server 2-2\" src=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-2.jpg\" alt=\"\" width=\"800\" height=\"533\" \/><\/a><\/p>\n<p>Well maybe this should be called part 1.5 since it covers only the assembly stages of the second server.<\/p>\n<p><!--more-->So the first server was just a test to see how well a Linux based server fits my needs and it was done with old and pretty much discarded components.<\/p>\n<p>It turned out that I really liked having a fast file server around, so I decided to jump in with both feet and turn my Windows &#8220;server&#8221; into a proper Linux server as well.<\/p>\n<p>I say fast because I&#8217;ve had a gigabit switch for a long time and I&#8217;ve seen transfer rates up to 30-35MB\/s between two computers both running Windows 7 (that&#8217;s really not good).<\/p>\n<p>Even the first server with ancient hardware and no fiddling around with network settings on the Linux side gave me over 100MB\/s speeds from time to time and it pretty much stays above 75MB\/s, so that&#8217;s 2-3 times more than before.<\/p>\n<p>This actually got me interested in networking stuff as well, so in the interest of improving network speeds, I bought these:<\/p>\n<p><a href=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-11.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1261\" title=\"Server 2-11\" src=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-11.jpg\" alt=\"\" width=\"800\" height=\"533\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-12.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1262\" title=\"Server 2-12\" src=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-12.jpg\" alt=\"\" width=\"533\" height=\"800\" \/><\/a><\/p>\n<p>Since pretty much every ethernet cable on my system is different and ranging from Cat 5e to Cat 6, I decided to re-do the whole wiring between my computers.<\/p>\n<p>I think I might have to get a few cables more and also an 8-port gigabit switch, since my current switch has only 4 ports. It&#8217;s not normally a problem in a 3-4 computer network, but I recently discovered that with Linux you can do something called NIC bonding (aka. trunking if you know your network stuff).<\/p>\n<p>It&#8217;s basically combining two or more ethernet adapters in the computer to work as one. This is pretty common in corporate networks, but there it&#8217;s more often used to improve availability so that if a wire goes bad or a switch malfunctions, the server is still accessible through the other adapter.<\/p>\n<p>It can also be used to more or less double your transfer speeds, which in my case is way more interesting than improved availability. When I get around testing the system I&#8217;ll write more about it.<\/p>\n<p>On with the second server build&#8230;<\/p>\n<p><a href=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1263\" title=\"Server 2-1\" src=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-1.jpg\" alt=\"\" width=\"800\" height=\"533\" \/><\/a><\/p>\n<p>With this one I had to spend a bit of money for hard drives and a few cables. Those are not adding up though though, six cables and only four hard drives, what&#8217;s going on there?<\/p>\n<p>Well, I already had two similar drives from before, but they are in use at the moment, so I&#8217;m going to build a RAID-6 array with four 1TB disks at first (that adds up to a bit under 2TB of storage space) and then expand the array when I can free up the two remaining drives. So in total this server will have six 1TB drives in an RAID-6 array, which will give me about 4TB of space and secured so that two drives can fail simultaneously before any data is lost.<\/p>\n<p><a href=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1264\" title=\"Server 2-4\" src=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-4.jpg\" alt=\"\" width=\"800\" height=\"533\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1265\" title=\"Server 2-5\" src=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-5.jpg\" alt=\"\" width=\"800\" height=\"533\" \/><\/a><\/p>\n<p>Add some screws and the lower hard-drive rack from the case and there we go, all mounted and ready to pop back into the case.<\/p>\n<p>There&#8217;s a photo of the screws because those belong into an Antec Sonata III instead of the case I&#8217;m using, the Antec P182B. The original screws don&#8217;t have that thicker part, so they can be screwed really deep, which is not good for the silicone grommets, so these work much better.<\/p>\n<p>On top of that I of course made a custom SATA-power cable for the drives to keep things neat.<\/p>\n<p><a href=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/P182B.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1266\" title=\"P182B\" src=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/P182B.jpg\" alt=\"\" width=\"533\" height=\"800\" \/><\/a><\/p>\n<p>Almost forgot about the case I&#8217;m putting all this in, so here it is, an Antec P182B.<\/p>\n<p><a href=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1267\" title=\"Server 2-6\" src=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-6.jpg\" alt=\"\" width=\"800\" height=\"533\" \/><\/a><\/p>\n<p>Since the motherboard I&#8217;m using has only six SATA-ports and I&#8217;m using all of them for my RAID-array, I must use an older style IDE\/PATA drive for the operating system.<\/p>\n<p>I really don&#8217;t like IDE drives mainly because of the bulky cables needed for them, but here it&#8217;s OK and actually necessary to get this server working. It&#8217;s also a bit of a contraption, because I wanted to put the hard drive into a 5.25&#8243; place, hence the Nexus DiskTwin cooler\/silencer system + Antec drive rails.<\/p>\n<p><a href=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1268\" title=\"Server 2-7\" src=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-7.jpg\" alt=\"\" width=\"800\" height=\"533\" \/><\/a><\/p>\n<p>The specs for this machine are as follows:<\/p>\n<ul>\n<li>Case: Antec P182B<\/li>\n<li>Processor: Intel Core 2 Quad Q6600<\/li>\n<li>Motherboard: Asus P5E3 Deluxe<\/li>\n<li>RAM: Team Group Elite 4GB (2x2GB) DDR3 1333MHz<\/li>\n<li>PSU: Cougar CM Power 550W modular<\/li>\n<li>GFX: nVidia GeForce 6200LE<\/li>\n<li>Hard drives: 1x320GB Western Digital WD3200AAJB (OS) + 6x1TB Samsung HD103SJ (RAID6)<\/li>\n<li>ODD: LG DVD-RW burner (IDE)<\/li>\n<li>CPU cooler: Noctua NH-U9B<\/li>\n<li>Case fans: 4x Noctua NF-S12-1200<\/li>\n<li>OS: Ubuntu Server 10.04 LTS<\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-9.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1269\" title=\"Server 2-9\" src=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-9.jpg\" alt=\"\" width=\"800\" height=\"533\" \/><\/a><\/p>\n<p>The PSU is installed in the case and secured with the provided &#8220;bracket&#8221; to minimize the noise levels.<\/p>\n<p><a href=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-8.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1270\" title=\"Server 2-8\" src=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-8.jpg\" alt=\"\" width=\"533\" height=\"800\" \/><\/a><\/p>\n<p>This is from the final stages of the assembly, so the motherboard and the fans are in their places.<\/p>\n<p><a href=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-10.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1271\" title=\"Server 2-10\" src=\"http:\/\/www.japhoto.fi\/blog\/wp-content\/uploads\/2011\/08\/Server-2-10.jpg\" alt=\"\" width=\"800\" height=\"533\" \/><\/a><\/p>\n<p>I just had fun photographing the case, so this is a closer look at the upper part of the case.<\/p>\n<p>Next up will be installing the operating system, formatting the new drives and creating the array, but more on that at a later time, stay tuned&#8230;<\/p>\n<p>Janne<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well maybe this should be called part 1.5 since it covers only the assembly stages of the second server.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58],"tags":[47,60,48,59],"class_list":["post-1259","post","type-post","status-publish","format-standard","hentry","category-computers","tag-backup-2","tag-linux","tag-raid","tag-server"],"_links":{"self":[{"href":"http:\/\/www.japhoto.fi\/blog\/wp-json\/wp\/v2\/posts\/1259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.japhoto.fi\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.japhoto.fi\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.japhoto.fi\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.japhoto.fi\/blog\/wp-json\/wp\/v2\/comments?post=1259"}],"version-history":[{"count":11,"href":"http:\/\/www.japhoto.fi\/blog\/wp-json\/wp\/v2\/posts\/1259\/revisions"}],"predecessor-version":[{"id":1279,"href":"http:\/\/www.japhoto.fi\/blog\/wp-json\/wp\/v2\/posts\/1259\/revisions\/1279"}],"wp:attachment":[{"href":"http:\/\/www.japhoto.fi\/blog\/wp-json\/wp\/v2\/media?parent=1259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.japhoto.fi\/blog\/wp-json\/wp\/v2\/categories?post=1259"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.japhoto.fi\/blog\/wp-json\/wp\/v2\/tags?post=1259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}