{"id":717,"date":"2022-06-03T10:05:55","date_gmt":"2022-06-03T10:05:55","guid":{"rendered":"https:\/\/www.darmain.co.uk\/darmainworld\/?p=717"},"modified":"2022-06-03T15:10:38","modified_gmt":"2022-06-03T15:10:38","slug":"the-move-to-proxmox","status":"publish","type":"post","link":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/2022\/06\/03\/the-move-to-proxmox\/","title":{"rendered":"Home Lab Cloud &#8211; The move to Proxmox"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I want to start experimenting with building a home lab cluster of servers.  Clearly buying loads of servers is not a practical solution here as I don&#8217;t need that level of performance, nor have the space or the power budget.  Instead I look to Virtualisation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have run virtual servers before and this website <em>was<\/em> run on a virtualised server for a long while.  Then I had an Enterprise server, running Linux, which in turn was running &#8220;Virtual Box&#8221;, a virtualisation environment.  Within that I built another virtual Linux server, and on that I built the website.  It worked but it wasn&#8217;t exactly efficient.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Since then, and with the price of fuel going astronomical I have moved the website to a native Raspberry Pi 4, it uses a lot less juice, and I digress.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now I want the ability to build several Linux servers so that I can experiment with &#8220;Containerisation&#8221; and &#8220;Kubernetes&#8221;, all within the four walls of my lab.  So turning back to the silent Enterprise rack I have now repurposed one machine, known as &#8220;JARVIS-2&#8221;, this is a HPE DL380 Generation 7.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-rounded\"><img decoding=\"async\" width=\"960\" height=\"202\" data-src=\"https:\/\/www.darmain.co.uk\/darmainworld\/wp-content\/uploads\/2018\/02\/dl380g7.jpg\" alt=\"\" class=\"wp-image-59 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 960px; --smush-placeholder-aspect-ratio: 960\/202;\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This is what I have done.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>The RAID disk configuration was erased and the disks removed.  I then fitted two 72Gb disks in slots 1 &amp; 2.  I then fitted six 600Gb disks in slots 3 to 8.  Then I configured the RAID controller to used the two 72Gb disks in &#8220;RAID 0+1&#8221; mode.  This means they mirror each other so actually look like a single 72Gb disk, but with redundancy.  I also made these disks &#8220;Bootable&#8221;.  For the 600Gb disks I put them into &#8220;RAID 5&#8221; mode, which gives me about 2.6Tb.  Its way more than I need but I have plenty of room.<\/li><li>I then downloaded the latest image of the Hypervisor packaged known as &#8220;Proxmox&#8221;.  Proxmox is a thin implementation of a custom build of Linux and its sole purpose to to installed natively on server hardware, and then host virtual machines, transparently.  As with &#8220;Virtual Box&#8221; each machine is given resources from the hardware, but unlike &#8220;Virtual Box&#8221; you don&#8217;t need a host OS, as Proxmox IS the host OS.<\/li><li>I built a Bootable FLASH drive with this ISO and used that to boot the server up.  The installation allowed me to rename the machine &#8220;JARVIS2-PROX&#8221; and I installed Proxmox on the bootable 72Gb drive.<\/li><li>Once up and running I attached the 2.6Gb disk into Proxmox and instructed it to use that space for the virtual machine configurations and disk images.<\/li><li>Then I implemented a &#8220;Ubuntu server 22.04&#8221; virtual machine (VM) and mucked about with it until it was happily settled on the network.  To implement that I set the network IP address as a static assignment, inside my networks domain range but outside the DHCP range.<\/li><li>Following that I cloned this VM three times, in each clone I changed the IP static assignment to a unique number.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Having used JARVIS-2 for Folding@Home duties, something I have to reluctantly shelve as a project, again due to the power demands, I had to consider the mainboard configuration.  The machine was configured for &#8220;Flat out&#8221; performance.  Highest processor clock speed and high cooling.  Noisy, hot and thirsty.  So now it is set for &#8220;Low power&#8221;, which reduces the CPU clock rate by half, and set the cooling to &#8220;Optimised&#8221;.  It is very quiet now and nowhere near as much heat.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So now I have my virtualisation platform and I can proceed with learning, experimenting and tripping over.  More of this in future posts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I want to start experimenting with building a home lab cluster of servers. Clearly buying loads of servers is not a practical solution here as I don&#8217;t need that level of performance, nor have the space or the power budget. Instead I look to Virtualisation. I have run virtual servers before and this website was [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":720,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-717","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-cloud-servers"],"_links":{"self":[{"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/posts\/717","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/comments?post=717"}],"version-history":[{"count":2,"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/posts\/717\/revisions"}],"predecessor-version":[{"id":741,"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/posts\/717\/revisions\/741"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/media\/720"}],"wp:attachment":[{"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/media?parent=717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/categories?post=717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/tags?post=717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}