{"id":71,"date":"2019-10-18T17:12:42","date_gmt":"2019-10-18T17:12:42","guid":{"rendered":"http:\/\/tensigh.de\/?p=71"},"modified":"2020-08-27T16:18:12","modified_gmt":"2020-08-27T16:18:12","slug":"vm-ware-server-set-up-at-my-previous-employers-office","status":"publish","type":"post","link":"https:\/\/japanobserver.net\/index.php\/2019\/10\/18\/vm-ware-server-set-up-at-my-previous-employers-office\/","title":{"rendered":"VM Ware server set up at my previous employer&#8217;s office"},"content":{"rendered":"<p>I&#8217;m writing this from memory so some of the details might be sketchy.<\/p>\n<p>At my last employer in Japan (the place where I took the intro photograph to this site), I was tasked with setting up a basic server to run MySQL. The TL;DR version was that there was a Windows 7 PC that was running MySQL that had data from which reports on Japan&#8217;s biggest convenience store chain were run. If this Win 7 PC failed the data would be lost, plus the &#8220;server&#8221; was underpowered. There was a proposal from a vendor for several thousands of dollars to set up a new server, a new UPS and backup system.<\/p>\n<p>Since we had a second physical server which was not even set up and it was already on the UPS, it seemed foolish to me to purchase and install another one for a PC running MySQL, particularly when it was only being used once a week. I had to set up the disk array, install ESXi, install Linux as one VM, and create a backup routine to our file server which got backed up nightly off site.<\/p>\n<p><strong>Step 1: Set up the disk array<\/strong><\/p>\n<p>RAID 10 is all the rage these days, but this server wasn&#8217;t spec&#8217;d for that, so I figured RAID 5 would be the best choice. This server had 4 1.8 TB disks so with RAID 5 we&#8217;d have 5.1 TB of storage which was MORE than we&#8217;d ever need (the MySQL database was about 10 GB after 7 years, so even 500 GB of total space for this server would be fine).<\/p>\n<p>After fixing a boot issue (one of the engineers tried setting up this server earlier but he didn&#8217;t understand what UEFI is and he couldn&#8217;t get the server to boot into Linux via a USB drive), I went into the controller to set up RAID. Using the controller, I set up a RAID 5 array:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-72 size-full\" src=\"http:\/\/japanobserver.net\/wp-content\/uploads\/2019\/10\/RAID-controller-setup.jpg\" alt=\"RAID setup\" width=\"1195\" height=\"627\" \/><\/p>\n<p>Great, all set. Now reboot and let&#8217;s run ESXi setup. I&#8217;ll select the disk volume and get going.<\/p>\n<p><strong>Step 2: install ESXi manager<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-73 size-full\" src=\"http:\/\/japanobserver.net\/wp-content\/uploads\/2019\/10\/ESXi-installer-no-RAID-array-option.jpg\" alt=\"ESXi installer\" width=\"1199\" height=\"496\" \/><\/p>\n<p>Hmmm&#8230;no array, it only sees the individual disks. Something doesn&#8217;t look right here.\u00a0 Long story short, after going back into the controller setup, RAID 5 was no longer set up and it only had individual disks again. After running around with this after several passes, I searched for help on the Lenovo forums. First thing was I booted onto a Linux boot disk and check the hardware. I needed which controller was being used, and found this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-78\" style=\"font-size: 1rem;\" src=\"http:\/\/japanobserver.net\/wp-content\/uploads\/2019\/10\/RAID-Controller-via-Linux-Boot-disk-1.jpg\" alt=\"\" width=\"990\" height=\"105\" \/><\/p>\n<p>I looked up this controller on the hardware compatibility list (HCL) for VMWare, so I&#8217;m stumped. Time to turn to the Lenovo forums. This is a reply I got:<\/p>\n<p>(thread is short but can be found <a href=\"https:\/\/forums.lenovo.com\/t5\/System-x-X6-M5-M4\/System-x3250-M6-Running-ESXi-sees-disks-but-not-RAID-5-Array\/m-p\/3843758#M1380\">here<\/a>)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-74\" src=\"http:\/\/japanobserver.net\/wp-content\/uploads\/2019\/10\/Lenovo-Support-1.jpg\" alt=\"\" width=\"978\" height=\"411\" \/><span style=\"font-size: 1rem;\">But since I checked the hardware compatibility list, it showed this controller as being compatible. I had to reply:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-75\" src=\"http:\/\/japanobserver.net\/wp-content\/uploads\/2019\/10\/Lenovo-Support-2.jpg\" alt=\"\" width=\"300\" height=\"112\" \/><\/p>\n<p><span style=\"font-size: 1rem;\">Regrettably, I was still going to be sunk:<\/span><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-76\" style=\"font-size: 1rem;\" src=\"http:\/\/japanobserver.net\/wp-content\/uploads\/2019\/10\/Lenovo-Support-3.jpg\" alt=\"\" width=\"977\" height=\"304\" \/><\/p>\n<p>According to Lenovo support apparently this server&#8217;s controller won&#8217;t support RAID arrays with ESXi and will require an expensive upgrade.\u00a0 Ugh.<\/p>\n<p>So skipping straight to the solution:<\/p>\n<p>I had to set up 4 individual disks, with the last one serving as a backup for the virtual machines on the other 3 disks. Since the backup volume ALSO maxed out at 1.8 TB, I made sure the other 3 disks were only 600 GB or less so they could back up to the fourth disk. I also ensured that the MySQL database was backed up to another file server so in case the database became corrupted it was backed up.<\/p>\n<p>So final tally:<\/p>\n<p>3 VMs x 600 GB -&gt; Backed up to 1.8 TB volume (which itself was backed up once every 3 months). The remaining 1.2 TB per volume would be unused at the moment.<\/p>\n<p>1 MySQL database (roughly 10 GB) backed up to a file server once a week (it was only used once a week)<\/p>\n<p>Each of the backups listed above was backed up to our file server, which was backed up nightly offsite.<\/p>\n<p>This solution wasn&#8217;t ideal but it would work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m writing this from memory so some of the details might be sketchy. At my last employer in Japan (the place where I took the intro photograph to this site), I was tasked with setting up a basic server to run MySQL. The TL;DR version was that there was a Windows 7 PC that was &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/japanobserver.net\/index.php\/2019\/10\/18\/vm-ware-server-set-up-at-my-previous-employers-office\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;VM Ware server set up at my previous employer&#8217;s office&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,15,10,14],"tags":[13],"class_list":["post-71","post","type-post","status-publish","format-standard","hentry","category-database","category-esxi","category-system-administration","category-vm-ware","tag-system-administration"],"_links":{"self":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":4,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts\/71\/revisions"}],"predecessor-version":[{"id":84,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts\/71\/revisions\/84"}],"wp:attachment":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/media?parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/categories?post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/tags?post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}