{"id":27,"date":"2007-11-30T11:26:08","date_gmt":"2007-11-30T01:26:08","guid":{"rendered":"https:\/\/www.penguinpunk.net\/blog\/?p=27"},"modified":"2007-11-30T13:33:44","modified_gmt":"2007-11-30T03:33:44","slug":"vmware-high-availability-how-you-can-help","status":"publish","type":"post","link":"https:\/\/www.penguinpunk.net\/blog\/vmware-high-availability-how-you-can-help\/","title":{"rendered":"VMware High Availability &#8211; How you can help &#8230;"},"content":{"rendered":"<p>In my job I often have the opportunity to work with some very smart people. And sometimes I don&#8217;t. I was helping recently with a VMware HA installation that wasn&#8217;t working well at all. Or rather, it was working, but only on one node. I&#8217;ve dealt with this site in the past and it&#8217;s been a nightmare to get straight answers when it came to various infrastructure configuration issues like &#8220;What&#8217;s your default gateway?&#8221;, &#8220;How would you like your\u00a0VM network\u00a0setup?&#8221;, &#8220;Do you know the security code to turn off the building alarm?&#8221;. So, we&#8217;d added some HBAs to resolve another issue and had problem with one of the nodes&#8217; HA configurations.<\/p>\n<p>When I do HA setups the conversation goes something like<\/p>\n<p>&#8220;Do you have DNS working?&#8221;<\/p>\n<p>&#8220;Yep.&#8221;<\/p>\n<p>&#8220;Great! Forward and reverse lookups work then?&#8221;<\/p>\n<p>&#8220;Uh-huh.&#8221;<\/p>\n<p>&#8220;Great, so if I do nslookup on the shortname, fqdn and ip address it will work on each node.&#8221;<\/p>\n<p>&#8220;Should do.&#8221;<\/p>\n<p>But it didn&#8217;t. By this time I&#8217;m usually cranky that someone has lied to me. I don&#8217;t care that they don&#8217;t know any better. So I fix up their DNS &#8211; which should give anyone who knows me cause for alarm &#8211; that I&#8217;m working on Windows-based DNS servers &#8211; and HA still doesn&#8217;t work. But it should at this stage. So now I&#8217;m crankier, because what normally works still won&#8217;t. If I log in to AAM I can see both nodes, but I can&#8217;t log in to AAM from the broken node. Hmmm, sounds networky. So I poked around with their vSwitch config, which I notice with some discomfort is different between nodes, and notice that their SC vSwitches are set to &#8220;Route based on IP hash&#8221;. VMware have a most excellent document on Virtual Networking <a target=\"_blank\" href=\"http:\/\/www.vmware.com\/files\/pdf\/virtual_networking_concepts.pdf\">here<\/a>. It gives a reasonable overview of what&#8217;s going on and why you&#8217;d have NIC Teaming on your vSwitches setup in different ways. There&#8217;s a fair bit of discussion on the forums regarding what settings work best. I&#8217;ve also found during the course of various engagements that different settings work well with different physical switches depending on whether they&#8217;re running EtherChannel, LACP or whatever. I wish I could give you some more insight but my switching knowledge is more fibre-channel than ethernet-based.<\/p>\n<p>So, I disabled and re-enabled HA once I&#8217;d changed the vSwitch NIC Teaming settings and were good to go. For\u00a0all the\u00a0good you think that HA actually does. So here&#8217;s 3 things to remember:<\/p>\n<p>1. Don&#8217;t lie to me about your DNS.<\/p>\n<p>2. Don&#8217;t make me fix you DNS (especially if it&#8217;s Windows-based).<\/p>\n<p>3. Make sure your NIC Teaming is setup with non-defaults _only_ if you need to.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my job I often have the opportunity to work with some very smart people. And sometimes I don&#8217;t. I was helping recently with a VMware HA installation that wasn&#8217;t working well at all. Or rather, it was working, but only on one node. I&#8217;ve dealt with this site in the past and it&#8217;s been [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[9,13,786],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-vmware","tag-esx","tag-vi3","tag-vmware"],"_links":{"self":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":0,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}