{"id":223,"date":"2009-02-05T16:17:33","date_gmt":"2009-02-05T21:17:33","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=223"},"modified":"2009-02-05T16:17:33","modified_gmt":"2009-02-05T21:17:33","slug":"vmware-ha-esxi","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2009\/02\/vmware-ha-esxi\/","title":{"rendered":"VMWare HA ESXi"},"content":{"rendered":"<p>I&#8217;ve been reading a ton about high availability servers.  A ton.  And since we&#8217;ve been using the vmware free servers since 1.0, I guess it&#8217;s about time to get caught up on them again.<\/p>\n<p>VMWare server 1.* was great &#8211; it&#8217;s free, ran reasonably well, and is free.  The problem, however, was no native 64bit support, horrible RAM management, and no USB 2.0 support.<\/p>\n<p>Welcome to VMWare server 2.*.  Runs fairly well, is still free, and has 64bit support.  No other options\/features though.<\/p>\n<p>So then I wanted to dabble in with HA &#8211; I need ESX right?  ESX server costs money.  My budget is pretty low at the moment so not-free is out of the question.<\/p>\n<p>ESXi is free, however, so we&#8217;ll use that.  Unfortunately you need to have at least 3 full-time servers for this to work (1 as a server manager, 2 as the mirrored servers)<\/p>\n<p>First, download ESXi 3.5.*.<br \/>\nThen, burn the image to a CD<br \/>\nLoad said CD into a server<br \/>\nInstall on said server<br \/>\nRepeat on at least one other server<\/p>\n<p>You should now have two fully functioning ESXi servers.<\/p>\n<p>On your third server, install some version of Windows.  I know, I know, windows blows.  But in this case it&#8217;s not bad.  Hard to break windows if you only use it for 1 single purpose.  I ended up installing a VL version of Windows Server 2003 Enterprise R2 SP2.<\/p>\n<p>Then, here&#8217;s where it gets a little expensive, you need to acquire a copy of VMWare Infrastructure.  And by little expensive I really mean you should buy some lube to prepare for the&#8230; nevermind.<\/p>\n<p>Without Infrastructure you cannot HA your vmware machines.<\/p>\n<p>Install Infrastructure.<\/p>\n<p>Tricky part: DNS settings.  If you have only a few virtual hosts, you may as well hand edit your DNS hosts settings.  If you have several hundred, a DNS server is more handy.<\/p>\n<p>Power on one of your VMWare ESXi servers &#8211; then press alt + F1<br \/>\nNow type in &#8220;unsupported&#8221; without the quotes<br \/>\nThen type in your root password when prompted<\/p>\n<p><code>vi \/etc\/hosts<\/code><br \/>\n<code>Shift + I<\/code><br \/>\nScroll down to the last line, hit enter to start a new line, and then type in your OTHER server&#8217;s IP information:<br \/>\n<code>192.168.2.101   host2.localdomain host2<\/code><br \/>\n<code>:wq!<\/code><\/p>\n<p>Test the settings by pinging the host:<br \/>\n<code>ping host2<\/code><br \/>\nIf you get a response that&#8217;s a good thing.  No response is a bad thing.<\/p>\n<p>Now, do the same thing on the other host:<br \/>\nPress alt + F1<br \/>\nNow type in &#8220;unsupported&#8221; without the quotes<br \/>\nThen type in your root password when prompted<\/p>\n<p><code>vi \/etc\/hosts<\/code><br \/>\n<code>Shift + I<\/code><br \/>\nScroll down to the last line, hit enter to start a new line, and then type in your OTHER server&#8217;s IP information:<br \/>\n<code>192.168.2.100   host1.localdomain host1<\/code><br \/>\n<code>:wq!<\/code><\/p>\n<p>Ping test once again and it should work just fine.<\/p>\n<p>Then, and only then, do we start to work on the infrastructure side of things.<\/p>\n<p>Create a new datacenter<br \/>\nRight-Click and create new cluster.  I&#8217;m choosing HA.<br \/>\nRight-Click and add a host.  Type in the IP of the first host and root\/password.<br \/>\nRight-Click and add the second host using the same method.<br \/>\nInfrastructure should automatically add them to the HA area.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been reading a ton about high availability servers. A ton. And since we&#8217;ve been using the vmware free servers since 1.0, I guess it&#8217;s about time to get caught up on them again. VMWare server 1.* was great &#8211; it&#8217;s free, ran reasonably well, and is free. The problem, however, was no native 64bit &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2009\/02\/vmware-ha-esxi\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">VMWare HA ESXi<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-223","post","type-post","status-publish","format-standard","hentry","category-miscellaneous"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=223"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/223\/revisions"}],"predecessor-version":[{"id":224,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/223\/revisions\/224"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}