{"id":540,"date":"2010-09-29T21:18:47","date_gmt":"2010-09-29T20:18:47","guid":{"rendered":"http:\/\/www.amikkelsen.com\/?p=540"},"modified":"2010-09-29T21:18:47","modified_gmt":"2010-09-29T20:18:47","slug":"configure-ibm-blades-running-esx-and-cisco-switches-for-failover","status":"publish","type":"post","link":"https:\/\/www.amikkelsen.com\/?p=540","title":{"rendered":"Configure IBM Blades (running ESX) and Cisco switches for failover"},"content":{"rendered":"<p>Using IBM Blades and Cisco switches to run your ESX enviroment?<\/p>\n<p>If yes, have you tested what happens if you unplug the network cables going into one switch?<\/p>\n<p>If you like me have bundled 2 or more cables going from one switch, to one backbone switch and done the same for the other switch, then your VM&#8217;s using that switch will loose network connection (from outside the host).<br \/>\nThis is not the way I wanted the setup to work.<\/p>\n<p><a rel=\"attachment wp-att-549\" href=\"http:\/\/www.amikkelsen.com\/?attachment_id=549\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-549 alignnone\" title=\"bladecenterH_cisco\" src=\"http:\/\/www.amikkelsen.com\/files\/bladecenterH_cisco-213x300.jpg\" alt=\"\" width=\"213\" height=\"300\" srcset=\"https:\/\/www.amikkelsen.com\/files\/bladecenterH_cisco-213x300.jpg 213w, https:\/\/www.amikkelsen.com\/files\/bladecenterH_cisco-106x150.jpg 106w, https:\/\/www.amikkelsen.com\/files\/bladecenterH_cisco.jpg 305w\" sizes=\"auto, (max-width: 213px) 100vw, 213px\" \/><\/a><\/p>\n<p>After a bit of googling i found a blog from Scott Lowe (<a href=\"http:\/\/blog.scottlowe.org\/2007\/06\/22\/link-state-tracking-in-blade-deployments\/\">http:\/\/blog.scottlowe.org\/2007\/06\/22\/link-state-tracking-in-blade-deployments\/<\/a>) about the problem and also a solution.<br \/>\nThe solution is called <strong>Link State Tracking<\/strong>. Many users have tried the solution and have got it to work, so I had to test it&#8230;..<\/p>\n<p>I added the following lines to each of the Blade Switches (<span style=\"color: #ff0000;\">Port-Channel, group and interfaces may be different on your system<\/span>).<\/p>\n<p><tt><\/tt><tt><\/tt><\/p>\n<pre><tt>----------UPLINK to CORE switch------------\r\ninterface Port-Channel1\r\nlink state group 1 upstream\r\n\r\n----------LINK to Blade server------------\r\ninterface range GigabitEthernet0\/1 - 14\r\nlink state group 1 downstream\r\n\r\n----------Global command------------\r\nlink state track 1\r\n\r\nconf t\r\ninterface Port-Channel1\r\nlink state group 1 upstream\r\ninterface range GigabitEthernet0\/1 - 14\r\nlink state group 1 downstream\r\nlink state track 1\r\n<\/tt><\/pre>\n<p>Remember to write the changes to memory using<\/p>\n<pre>wri<\/pre>\n<p>After this was done on both Blade switches, i just had to test it.<br \/>\nI started a ping to a VM that I knew was using Switch1 to communicate with external network traffic.<br \/>\nThen I unplugged the to 2 network cables going into Switch1 and waited to see if the ping command would loose the communication with the VM&#8230;.<br \/>\nIt didn&#8217;t loose connection. So the the VM must have switched to Switch2.<\/p>\n<p><a rel=\"attachment wp-att-552\" href=\"http:\/\/www.amikkelsen.com\/?attachment_id=552\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-552 alignnone\" title=\"bladecenterH_cisco-disconnected\" src=\"http:\/\/www.amikkelsen.com\/files\/bladecenterH_cisco-disconnected-215x300.jpg\" alt=\"\" width=\"215\" height=\"300\" srcset=\"https:\/\/www.amikkelsen.com\/files\/bladecenterH_cisco-disconnected-215x300.jpg 215w, https:\/\/www.amikkelsen.com\/files\/bladecenterH_cisco-disconnected-107x150.jpg 107w, https:\/\/www.amikkelsen.com\/files\/bladecenterH_cisco-disconnected.jpg 307w\" sizes=\"auto, (max-width: 215px) 100vw, 215px\" \/><\/a><\/p>\n<p>So configuring the Blade Switches for <strong>Link State Tracking<\/strong> is to proper way to configure the switches.<br \/>\nA big thanks goes to Scott Lowe for the blog on Link State Tracking.<\/p>\n<p><tt><\/tt><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using IBM Blades and Cisco switches to run your ESX enviroment? If yes, have you tested what happens if you unplug the network cables going into one switch? If you like me have bundled 2 or more cables going from one switch, to one backbone switch and done the same for the other switch, then\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.amikkelsen.com\/?p=540\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,90,10],"tags":[267,268,26,270,195,265,264,109,269,266,131],"class_list":["post-540","post","type-post","status-publish","format-standard","hentry","category-performance","category-troubleshooting","category-white-papers","tag-blades","tag-cisco","tag-esx","tag-failover","tag-ibm","tag-link","tag-link-state-tracking","tag-state","tag-switch","tag-tracking","tag-vsphere"],"_links":{"self":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts\/540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=540"}],"version-history":[{"count":12,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts\/540\/revisions"}],"predecessor-version":[{"id":554,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts\/540\/revisions\/554"}],"wp:attachment":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}