{"id":1556,"date":"2018-08-10T14:41:51","date_gmt":"2018-08-10T12:41:51","guid":{"rendered":"http:\/\/blog.purplescreen.fr\/?p=1556"},"modified":"2018-08-10T14:45:34","modified_gmt":"2018-08-10T12:45:34","slug":"how-can-i-validated-my-vsphere-environment","status":"publish","type":"post","link":"https:\/\/blog.purplescreen.fr\/?p=1556","title":{"rendered":"How can I validated my vSphere environment ?"},"content":{"rendered":"<p>I&#8217;m coming back&#8230; Sorry, but I didn&#8217;t write any news for a long time, I had a lot of work. So, this post is talking about which tools can you use to help you for validating your implementation design. I assume your infrastructure is properly deployed and you have to check your validation Plan.<\/p>\n<h3>How can I failure an ESXi host ?<\/h3>\n<p>You can generate a kernel panic from on any host with this command line VSISH from SSH. You can look at VSISH&#8217;s help, just Type Help command. Easy&#8230;<br \/>\n<a href=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019\u00e9cran-2018-08-09-\u00e0-20.23.43.png\"><img loading=\"lazy\" class=\"size-full wp-image-1566 aligncenter\" src=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019\u00e9cran-2018-08-09-\u00e0-20.23.43.png\" alt=\"\" width=\"622\" height=\"488\" srcset=\"https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019\u00e9cran-2018-08-09-\u00e0-20.23.43.png 622w, https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019\u00e9cran-2018-08-09-\u00e0-20.23.43-300x235.png 300w\" sizes=\"(max-width: 622px) 100vw, 622px\" \/><\/a><br \/>\nConnect you to your ESXi host as root on SSH. In this example, I choose to do a kernel panic on my esx. To do that, I sent this command :<a href=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.14.27.png\"><img loading=\"lazy\" class=\"size-full wp-image-1576 aligncenter\" src=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.14.27.png\" alt=\"\" width=\"193\" height=\"160\" \/><\/a><br \/>\n<a href=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019\u00e9cran-2018-08-09-\u00e0-19.52.07.png\"><img loading=\"lazy\" class=\"size-full wp-image-1558 aligncenter\" src=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019\u00e9cran-2018-08-09-\u00e0-19.52.07.png\" alt=\"\" width=\"373\" height=\"39\" srcset=\"https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019\u00e9cran-2018-08-09-\u00e0-19.52.07.png 373w, https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019\u00e9cran-2018-08-09-\u00e0-19.52.07-300x31.png 300w\" sizes=\"(max-width: 373px) 100vw, 373px\" \/><\/a><br \/>\nAt this moment when you press enter, you can see something like that on your Host&#8217;s DCUI.<br \/>\n<a href=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019\u00e9cran-2018-08-09-\u00e0-19.52.48.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1559\" src=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019\u00e9cran-2018-08-09-\u00e0-19.52.48.png\" alt=\"\" width=\"854\" height=\"343\" srcset=\"https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019\u00e9cran-2018-08-09-\u00e0-19.52.48.png 854w, https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019\u00e9cran-2018-08-09-\u00e0-19.52.48-300x120.png 300w, https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019\u00e9cran-2018-08-09-\u00e0-19.52.48-768x308.png 768w\" sizes=\"(max-width: 854px) 100vw, 854px\" \/><\/a><\/p>\n<h3>How can I test disk failure on vSAN ?<\/h3>\n<p>If you would like test HA your vSAN environment, you can use this command line from your ESXi host on SSH. It sends an injection error to any device of your choice.<\/p>\n<p><a href=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-09.48.06.png\"><img loading=\"lazy\" class=\"size-full wp-image-1573 aligncenter\" src=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-09.48.06.png\" alt=\"\" width=\"703\" height=\"239\" srcset=\"https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-09.48.06.png 703w, https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-09.48.06-300x102.png 300w\" sizes=\"(max-width: 703px) 100vw, 703px\" \/><\/a><br \/>\nFor example, I used this command to inject error on SSD device on my ESXi01 in vSAN cluster.<br \/>\n<a href=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.09.06.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1581\" src=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.09.06.png\" alt=\"\" width=\"867\" height=\"74\" srcset=\"https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.09.06.png 867w, https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.09.06-300x26.png 300w, https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.09.06-768x66.png 768w\" sizes=\"(max-width: 867px) 100vw, 867px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.09.48.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1580\" src=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.09.48.png\" alt=\"\" width=\"532\" height=\"176\" srcset=\"https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.09.48.png 532w, https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.09.48-300x99.png 300w\" sizes=\"(max-width: 532px) 100vw, 532px\" \/><\/a><br \/>\nThen, when I finished, I can clear all errors with this command (Option : -c). In my lab environment, I had to reboot my ESXi.<br \/>\n<a href=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.10.20.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1579\" src=\"http:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.10.20.png\" alt=\"\" width=\"871\" height=\"75\" srcset=\"https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.10.20.png 871w, https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.10.20-300x26.png 300w, https:\/\/blog.purplescreen.fr\/wp-content\/uploads\/2018\/08\/Capture-d\u2019e\u0301cran-2018-08-10-a\u0300-10.10.20-768x66.png 768w\" sizes=\"(max-width: 871px) 100vw, 871px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m coming back&#8230; Sorry, but I didn&#8217;t write any news for a long time, I had a lot of work. So, this post is talking about which tools can you use to help you for validating your implementation design. I assume your infrastructure is properly deployed and you have to check your validation Plan. How&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,14,52],"tags":[16,51,20],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How can I validated my vSphere environment ? - PurpleScreen<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/blog.purplescreen.fr\/?p=1556\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ogosselin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/blog.purplescreen.fr\/?p=1556\",\"url\":\"http:\/\/blog.purplescreen.fr\/?p=1556\",\"name\":\"How can I validated my vSphere environment ? - PurpleScreen\",\"isPartOf\":{\"@id\":\"https:\/\/blog.purplescreen.fr\/#website\"},\"datePublished\":\"2018-08-10T12:41:51+00:00\",\"dateModified\":\"2018-08-10T12:45:34+00:00\",\"author\":{\"@id\":\"https:\/\/blog.purplescreen.fr\/#\/schema\/person\/ad63980c08d122ffe9115ade81b21fd3\"},\"breadcrumb\":{\"@id\":\"http:\/\/blog.purplescreen.fr\/?p=1556#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/blog.purplescreen.fr\/?p=1556\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/blog.purplescreen.fr\/?p=1556#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.purplescreen.fr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How can I validated my vSphere environment ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.purplescreen.fr\/#website\",\"url\":\"https:\/\/blog.purplescreen.fr\/\",\"name\":\"PurpleScreen\",\"description\":\"by Olivier Gosselin\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.purplescreen.fr\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.purplescreen.fr\/#\/schema\/person\/ad63980c08d122ffe9115ade81b21fd3\",\"name\":\"ogosselin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.purplescreen.fr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6a053a3dca3cccbeecd37d492189f38f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6a053a3dca3cccbeecd37d492189f38f?s=96&d=mm&r=g\",\"caption\":\"ogosselin\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/olivier-gosselin-30090498\/\"],\"url\":\"https:\/\/blog.purplescreen.fr\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How can I validated my vSphere environment ? - PurpleScreen","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":"http:\/\/blog.purplescreen.fr\/?p=1556","twitter_misc":{"Written by":"ogosselin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/blog.purplescreen.fr\/?p=1556","url":"http:\/\/blog.purplescreen.fr\/?p=1556","name":"How can I validated my vSphere environment ? - PurpleScreen","isPartOf":{"@id":"https:\/\/blog.purplescreen.fr\/#website"},"datePublished":"2018-08-10T12:41:51+00:00","dateModified":"2018-08-10T12:45:34+00:00","author":{"@id":"https:\/\/blog.purplescreen.fr\/#\/schema\/person\/ad63980c08d122ffe9115ade81b21fd3"},"breadcrumb":{"@id":"http:\/\/blog.purplescreen.fr\/?p=1556#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/blog.purplescreen.fr\/?p=1556"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/blog.purplescreen.fr\/?p=1556#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.purplescreen.fr\/"},{"@type":"ListItem","position":2,"name":"How can I validated my vSphere environment ?"}]},{"@type":"WebSite","@id":"https:\/\/blog.purplescreen.fr\/#website","url":"https:\/\/blog.purplescreen.fr\/","name":"PurpleScreen","description":"by Olivier Gosselin","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.purplescreen.fr\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.purplescreen.fr\/#\/schema\/person\/ad63980c08d122ffe9115ade81b21fd3","name":"ogosselin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.purplescreen.fr\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6a053a3dca3cccbeecd37d492189f38f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a053a3dca3cccbeecd37d492189f38f?s=96&d=mm&r=g","caption":"ogosselin"},"sameAs":["https:\/\/www.linkedin.com\/in\/olivier-gosselin-30090498\/"],"url":"https:\/\/blog.purplescreen.fr\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/blog.purplescreen.fr\/index.php?rest_route=\/wp\/v2\/posts\/1556"}],"collection":[{"href":"https:\/\/blog.purplescreen.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.purplescreen.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.purplescreen.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.purplescreen.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1556"}],"version-history":[{"count":28,"href":"https:\/\/blog.purplescreen.fr\/index.php?rest_route=\/wp\/v2\/posts\/1556\/revisions"}],"predecessor-version":[{"id":1594,"href":"https:\/\/blog.purplescreen.fr\/index.php?rest_route=\/wp\/v2\/posts\/1556\/revisions\/1594"}],"wp:attachment":[{"href":"https:\/\/blog.purplescreen.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.purplescreen.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.purplescreen.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}