{"id":629,"date":"2021-03-09T13:31:27","date_gmt":"2021-03-09T12:31:27","guid":{"rendered":"https:\/\/gandibleux.eu\/blog\/?p=629"},"modified":"2024-09-30T02:00:35","modified_gmt":"2024-09-30T00:00:35","slug":"nsx-t-automated-creation-of-edge-failure-domains","status":"publish","type":"post","link":"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/","title":{"rendered":"NSX-T: Automated creation of edge failure domains"},"content":{"rendered":"\n<p>Since NSX-T 2.5, the concept of edge failure domains is introduced. Failure domains is a logical grouping concept within an edge cluster. These failure domains makes it possible to logical separate active\/standby Tier-0\/1 SR instances across edge nodes in different locations. (Racks, room, sites,&#8230;). The benefit of this is to guarantee service availability of a Tier-0\/1 SR. The active and standby  instances will not run in the same failure domain.<\/p>\n\n\n\n<p>Note: Configuration of an edge cluster that is stretched across multiple sites is out-of-scope in this post.<\/p>\n\n\n\n<div style=\"height:41px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-2.png\" rel=\"lightbox[629]\"><img loading=\"lazy\" decoding=\"async\" width=\"740\" height=\"436\" src=\"https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-2.png\" alt=\"Visualisation of failure domains in NSX-T\" class=\"wp-image-655\" srcset=\"https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-2.png 740w, https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-2-300x177.png 300w\" sizes=\"(max-width: 740px) 100vw, 740px\" \/><\/a><\/figure><\/div>\n\n\n\n<div style=\"height:41px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">API<\/h4>\n\n\n\n<p>Until now (tested on NSX-T 3.1.1), the implementation of these failure domains can only be done via API.<\/p>\n\n\n\n<p>In the official documentation it&#8217;s well explained how to perform this action: <a rel=\"noreferrer noopener\" href=\"https:\/\/docs.vmware.com\/en\/VMware-NSX-T-Data-Center\/3.1\/administration\/GUID-5D7E3D43-6497-4273-99C1-77613C36AD75.html#automatic-recovery-of-the-data-plane-1\" target=\"_blank\">https:\/\/docs.vmware.com\/en\/VMware-NSX-T-Data-Center\/3.1\/administration\/GUID-5D7E3D43-6497-4273-99C1-77613C36AD75.html#automatic-recovery-of-the-data-plane-1<\/a><\/p>\n\n\n\n<div style=\"height:41px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Python script<\/h4>\n\n\n\n<p>But would it not be handier if these multiple API calls would be bundled together and that you just have to fill in the required names and IDs?<\/p>\n\n\n\n<p>Well, I thought the same! I&#8217;ve created this simple Python script which bundles all the necessary API calls. And even more handy is that if you need to provide an ID of a specific component, it shows you a complete list of the existing ones in your environment.<\/p>\n\n\n\n<p>Check out the script on GitHub: <a href=\"https:\/\/github.com\/arnaudgandibleux\/NSX-T-CreateFailureDomains\">https:\/\/github.com\/arnaudgandibleux\/NSX-T-CreateFailureDomains<\/a><\/p>\n\n\n\n<p>Different options are possible while running the script.<\/p>\n\n\n\n<ul><li>A full run through the configuration of failure domains and immediatly attach it to edge nodes<\/li><li>Run every function separately:<ul><li>1: Get failure domains<\/li><li>2: Create failure domains<\/li><li>3: Delete failure domains<\/li><li>4: Get edge nodes<\/li><li>5: Get edge clusters<\/li><li>6: Assign edge nodes to new failure domain<\/li><li>7: Configure edge cluster placement method<\/li><\/ul><\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since NSX-T 2.5, the concept of edge failure domains is introduced. Failure domains is a logical grouping concept within an edge cluster. These failure domains makes it possible to logical separate active\/standby Tier-0\/1 SR instances across edge nodes in different locations. (Racks, room, sites,&#8230;). The benefit of this is to guarantee service availability of a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":659,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_oct_exclude_from_cache":false,"_uag_custom_page_level_css":"","_monsterinsights_skip_tracking":false,"_swt_meta_header_display":false,"_swt_meta_footer_display":false,"_swt_meta_site_title_display":false,"_swt_meta_sticky_header":false,"_swt_meta_transparent_header":false,"footnotes":""},"categories":[98],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>NSX-T: Automated creation of edge failure domains - The Nerdy Tech Blog<\/title>\n<meta name=\"description\" content=\"Since NSX-T 2.5, the concept of edge failure domains is introduced. Failure domains is a logical grouping concept within an edge cluster. These failure domains makes it possible to logical separate active\/standby Tier-0\/1 SR instances across edge nodes in different locations. (Racks, room, sites,...). The benefit of this is to guarantee service availability of a Tier-0\/1 SR. The active and standby instances will not run in the same failure domain.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"NSX-T: Automated creation of edge failure domains - The Nerdy Tech Blog\" \/>\n<meta property=\"og:description\" content=\"Since NSX-T 2.5, the concept of edge failure domains is introduced. Failure domains is a logical grouping concept within an edge cluster. These failure domains makes it possible to logical separate active\/standby Tier-0\/1 SR instances across edge nodes in different locations. (Racks, room, sites,...). The benefit of this is to guarantee service availability of a Tier-0\/1 SR. The active and standby instances will not run in the same failure domain.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/\" \/>\n<meta property=\"og:site_name\" content=\"The Nerdy Tech Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-09T12:31:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-30T00:00:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO.png\" \/>\n\t<meta property=\"og:image:width\" content=\"452\" \/>\n\t<meta property=\"og:image:height\" content=\"436\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"arnaud\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"arnaud\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/\",\"url\":\"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/\",\"name\":\"NSX-T: Automated creation of edge failure domains - The Nerdy Tech Blog\",\"isPartOf\":{\"@id\":\"https:\/\/gandibleux.eu\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO.png\",\"datePublished\":\"2021-03-09T12:31:27+00:00\",\"dateModified\":\"2024-09-30T00:00:35+00:00\",\"author\":{\"@id\":\"https:\/\/gandibleux.eu\/blog\/#\/schema\/person\/362f201ccfea52ab38ce644fbab84c4d\"},\"description\":\"Since NSX-T 2.5, the concept of edge failure domains is introduced. Failure domains is a logical grouping concept within an edge cluster. These failure domains makes it possible to logical separate active\/standby Tier-0\/1 SR instances across edge nodes in different locations. (Racks, room, sites,...). The benefit of this is to guarantee service availability of a Tier-0\/1 SR. The active and standby instances will not run in the same failure domain.\",\"breadcrumb\":{\"@id\":\"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/#primaryimage\",\"url\":\"https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO.png\",\"contentUrl\":\"https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO.png\",\"width\":452,\"height\":436},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/gandibleux.eu\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"NSX-T: Automated creation of edge failure domains\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/gandibleux.eu\/blog\/#website\",\"url\":\"https:\/\/gandibleux.eu\/blog\/\",\"name\":\"The Nerdy Tech Blog\",\"description\":\"by Arnaud Gandibleux\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/gandibleux.eu\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/gandibleux.eu\/blog\/#\/schema\/person\/362f201ccfea52ab38ce644fbab84c4d\",\"name\":\"arnaud\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/gandibleux.eu\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/60b8888401322c843243f46eb0d49191?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/60b8888401322c843243f46eb0d49191?s=96&d=mm&r=g\",\"caption\":\"arnaud\"},\"sameAs\":[\"https:\/\/gandibleux.eu\/blog\"],\"url\":\"https:\/\/gandibleux.eu\/blog\/author\/arnaud\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"NSX-T: Automated creation of edge failure domains - The Nerdy Tech Blog","description":"Since NSX-T 2.5, the concept of edge failure domains is introduced. Failure domains is a logical grouping concept within an edge cluster. These failure domains makes it possible to logical separate active\/standby Tier-0\/1 SR instances across edge nodes in different locations. (Racks, room, sites,...). The benefit of this is to guarantee service availability of a Tier-0\/1 SR. The active and standby instances will not run in the same failure domain.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/","og_locale":"en_GB","og_type":"article","og_title":"NSX-T: Automated creation of edge failure domains - The Nerdy Tech Blog","og_description":"Since NSX-T 2.5, the concept of edge failure domains is introduced. Failure domains is a logical grouping concept within an edge cluster. These failure domains makes it possible to logical separate active\/standby Tier-0\/1 SR instances across edge nodes in different locations. (Racks, room, sites,...). The benefit of this is to guarantee service availability of a Tier-0\/1 SR. The active and standby instances will not run in the same failure domain.","og_url":"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/","og_site_name":"The Nerdy Tech Blog","article_published_time":"2021-03-09T12:31:27+00:00","article_modified_time":"2024-09-30T00:00:35+00:00","og_image":[{"width":452,"height":436,"url":"https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO.png","type":"image\/png"}],"author":"arnaud","twitter_card":"summary_large_image","twitter_image":"https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO.png","twitter_misc":{"Written by":"arnaud","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/","url":"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/","name":"NSX-T: Automated creation of edge failure domains - The Nerdy Tech Blog","isPartOf":{"@id":"https:\/\/gandibleux.eu\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/#primaryimage"},"image":{"@id":"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/#primaryimage"},"thumbnailUrl":"https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO.png","datePublished":"2021-03-09T12:31:27+00:00","dateModified":"2024-09-30T00:00:35+00:00","author":{"@id":"https:\/\/gandibleux.eu\/blog\/#\/schema\/person\/362f201ccfea52ab38ce644fbab84c4d"},"description":"Since NSX-T 2.5, the concept of edge failure domains is introduced. Failure domains is a logical grouping concept within an edge cluster. These failure domains makes it possible to logical separate active\/standby Tier-0\/1 SR instances across edge nodes in different locations. (Racks, room, sites,...). The benefit of this is to guarantee service availability of a Tier-0\/1 SR. The active and standby instances will not run in the same failure domain.","breadcrumb":{"@id":"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/#primaryimage","url":"https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO.png","contentUrl":"https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO.png","width":452,"height":436},{"@type":"BreadcrumbList","@id":"https:\/\/gandibleux.eu\/blog\/nsx\/nsx-t-automated-creation-of-edge-failure-domains\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gandibleux.eu\/blog\/"},{"@type":"ListItem","position":2,"name":"NSX-T: Automated creation of edge failure domains"}]},{"@type":"WebSite","@id":"https:\/\/gandibleux.eu\/blog\/#website","url":"https:\/\/gandibleux.eu\/blog\/","name":"The Nerdy Tech Blog","description":"by Arnaud Gandibleux","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gandibleux.eu\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/gandibleux.eu\/blog\/#\/schema\/person\/362f201ccfea52ab38ce644fbab84c4d","name":"arnaud","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/gandibleux.eu\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/60b8888401322c843243f46eb0d49191?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/60b8888401322c843243f46eb0d49191?s=96&d=mm&r=g","caption":"arnaud"},"sameAs":["https:\/\/gandibleux.eu\/blog"],"url":"https:\/\/gandibleux.eu\/blog\/author\/arnaud\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO.png",452,436,false],"thumbnail":["https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO-150x150.png",150,150,true],"medium":["https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO-300x289.png",300,289,true],"medium_large":["https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO.png",452,436,false],"large":["https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO.png",452,436,false],"1536x1536":["https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO.png",452,436,false],"2048x2048":["https:\/\/gandibleux.eu\/blog\/wp-content\/uploads\/2021\/02\/NSX-T-Failure-domain-Service-Interface-INTRO.png",452,436,false]},"uagb_author_info":{"display_name":"arnaud","author_link":"https:\/\/gandibleux.eu\/blog\/author\/arnaud\/"},"uagb_comment_info":4,"uagb_excerpt":"Since NSX-T 2.5, the concept of edge failure domains is introduced. Failure domains is a logical grouping concept within an edge cluster. These failure domains makes it possible to logical separate active\/standby Tier-0\/1 SR instances across edge nodes in different locations. (Racks, room, sites,&#8230;). The benefit of this is to guarantee service availability of a&hellip;","_links":{"self":[{"href":"https:\/\/gandibleux.eu\/blog\/wp-json\/wp\/v2\/posts\/629"}],"collection":[{"href":"https:\/\/gandibleux.eu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gandibleux.eu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gandibleux.eu\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gandibleux.eu\/blog\/wp-json\/wp\/v2\/comments?post=629"}],"version-history":[{"count":32,"href":"https:\/\/gandibleux.eu\/blog\/wp-json\/wp\/v2\/posts\/629\/revisions"}],"predecessor-version":[{"id":670,"href":"https:\/\/gandibleux.eu\/blog\/wp-json\/wp\/v2\/posts\/629\/revisions\/670"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gandibleux.eu\/blog\/wp-json\/wp\/v2\/media\/659"}],"wp:attachment":[{"href":"https:\/\/gandibleux.eu\/blog\/wp-json\/wp\/v2\/media?parent=629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gandibleux.eu\/blog\/wp-json\/wp\/v2\/categories?post=629"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gandibleux.eu\/blog\/wp-json\/wp\/v2\/tags?post=629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}