{"id":778,"date":"2017-08-16T12:39:33","date_gmt":"2017-08-16T10:39:33","guid":{"rendered":"http:\/\/172.16.10.10:8080\/?p=778"},"modified":"2017-08-16T14:41:24","modified_gmt":"2017-08-16T12:41:24","slug":"got-a-psod-check-which-vms-restarted-by-ha","status":"publish","type":"post","link":"http:\/\/vblog.hochsticher.de\/?p=778","title":{"rendered":"Got a PSOD? Check which VMs restarted by HA!"},"content":{"rendered":"<p>We design highly redundant Datacenters, Clusters, Storage Systems and even Networks, but in the end we still have some unplaned outages :\/<\/p>\n<p>This week we had a defect Memory DIMM that caused a PSOD on one ESXi Host. HA restarted the VMs fine, but we want to know quickly which VMs restarted.<\/p>\n<p>Check out a PowerCLI one liner to find the restarted VMs!<\/p>\n<p><!--more--><\/p>\n<pre class=\"lang:ps decode:true \" title=\"Find-HA-restarted-VMs\">$Date=Get-Date\r\n$HAVMrestartold=1\r\n\r\nGet-VIEvent -maxsamples 100000 -Start ($Date).AddDays(-$HAVMrestartold) -type warning | Where {$_.FullFormattedMessage -match \"HA restarted\"} |select CreatedTime,FullFormattedMessage |sort CreatedTime -Descending\r\n\r\n# The Output might be something like this:\r\n\r\nCreatedTime         FullFormattedMessage                                                                                                   \r\n-----------         --------------------                                                                                                   \r\n16.08.2017 06:27:33 vSphere HA restarted virtual machine Test-VM-01 on host My-VMHost01 in cluster My-Cluster               \r\n16.08.2017 06:27:10 vSphere HA restarted virtual machine Test-VM-02 on host My-VMHost02 in cluster My-Cluster              \r\n16.08.2017 06:26:52 vSphere HA restarted virtual machine Test-VM-03 on host My-VMHost06 in cluster My-Cluster          \r\n16.08.2017 06:26:48 vSphere HA restarted virtual machine Test-VM-04 on host My-VMHost01 in cluster My-Cluster     \r\n16.08.2017 06:26:47 vSphere HA restarted virtual machine Test-VM-05 on host My-VMHost05 in cluster My-Cluster              \r\n16.08.2017 06:26:43 vSphere HA restarted virtual machine Test-VM-06 on host My-VMHost06 in cluster My-Cluster<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We design highly redundant Datacenters, Clusters, Storage Systems and even Networks, but in the end we still have some unplaned outages :\/ This week we had a defect Memory DIMM that caused a PSOD on one ESXi Host. HA restarted the VMs fine, but we want to know quickly which VMs restarted. Check out a PowerCLI one liner to find the restarted VMs!<\/p>\n","protected":false},"author":1,"featured_media":779,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[4,7],"tags":[],"class_list":["post-778","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powercli","category-vsphere"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"We design highly redundant Datacenters, Clusters, Storage Systems and even Networks, but in the end we still have some unplaned outages :\/ This week we had a defect Memory DIMM that caused a PSOD on one ESXi Host. HA restarted the VMs fine, but we want to know quickly which VMs restarted. Check out a\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Christoph Hochsticher\"\/>\n\t<meta name=\"google-site-verification\" content=\"lo0g577VbySpy05Melx7kVchEKh4qiUJhEtBpOiRLg8\" \/>\n\t<link rel=\"canonical\" href=\"http:\/\/vblog.hochsticher.de\/?p=778\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Chris - vBlog - Blog about Virtualization\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Got a PSOD? Check which VMs restarted by HA! - Chris - vBlog\" \/>\n\t\t<meta property=\"og:description\" content=\"We design highly redundant Datacenters, Clusters, Storage Systems and even Networks, but in the end we still have some unplaned outages :\/ This week we had a defect Memory DIMM that caused a PSOD on one ESXi Host. HA restarted the VMs fine, but we want to know quickly which VMs restarted. Check out a\" \/>\n\t\t<meta property=\"og:url\" content=\"http:\/\/vblog.hochsticher.de\/?p=778\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2017-08-16T10:39:33+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2017-08-16T12:41:24+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Got a PSOD? Check which VMs restarted by HA! - Chris - vBlog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"We design highly redundant Datacenters, Clusters, Storage Systems and even Networks, but in the end we still have some unplaned outages :\/ This week we had a defect Memory DIMM that caused a PSOD on one ESXi Host. HA restarted the VMs fine, but we want to know quickly which VMs restarted. Check out a\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=778#blogposting\",\"name\":\"Got a PSOD? Check which VMs restarted by HA! - Chris - vBlog\",\"headline\":\"Got a PSOD? Check which VMs restarted by HA!\",\"author\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?author=1#author\"},\"publisher\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/vblog.hochsticher.de\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/psod-e1502887236299.jpg?wsr\",\"width\":500,\"height\":386},\"datePublished\":\"2017-08-16T12:39:33+02:00\",\"dateModified\":\"2017-08-16T14:41:24+02:00\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=778#webpage\"},\"isPartOf\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=778#webpage\"},\"articleSection\":\"PowerCLI, vSphere\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=778#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/vblog.hochsticher.de\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?cat=4#listItem\",\"name\":\"PowerCLI\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?cat=4#listItem\",\"position\":2,\"name\":\"PowerCLI\",\"item\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?cat=4\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=778#listItem\",\"name\":\"Got a PSOD? Check which VMs restarted by HA!\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=778#listItem\",\"position\":3,\"name\":\"Got a PSOD? Check which VMs restarted by HA!\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?cat=4#listItem\",\"name\":\"PowerCLI\"}}]},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?author=1#author\",\"url\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?author=1\",\"name\":\"Christoph Hochsticher\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=778#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d87fe995d7081d178014a72c729204792aff213f894bac1d28d0e0cc956c1171?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Christoph Hochsticher\"}},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=778#webpage\",\"url\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=778\",\"name\":\"Got a PSOD? Check which VMs restarted by HA! - Chris - vBlog\",\"description\":\"We design highly redundant Datacenters, Clusters, Storage Systems and even Networks, but in the end we still have some unplaned outages :\\\/ This week we had a defect Memory DIMM that caused a PSOD on one ESXi Host. HA restarted the VMs fine, but we want to know quickly which VMs restarted. Check out a\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/#website\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=778#breadcrumblist\"},\"author\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?author=1#author\"},\"creator\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/vblog.hochsticher.de\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/psod-e1502887236299.jpg?wsr\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=778\\\/#mainImage\",\"width\":500,\"height\":386},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=778#mainImage\"},\"datePublished\":\"2017-08-16T12:39:33+02:00\",\"dateModified\":\"2017-08-16T14:41:24+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/#website\",\"url\":\"http:\\\/\\\/vblog.hochsticher.de\\\/\",\"name\":\"Chris - vBlog\",\"description\":\"Blog about Virtualization\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Got a PSOD? Check which VMs restarted by HA! - Chris - vBlog","description":"We design highly redundant Datacenters, Clusters, Storage Systems and even Networks, but in the end we still have some unplaned outages :\/ This week we had a defect Memory DIMM that caused a PSOD on one ESXi Host. HA restarted the VMs fine, but we want to know quickly which VMs restarted. Check out a","canonical_url":"http:\/\/vblog.hochsticher.de\/?p=778","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"lo0g577VbySpy05Melx7kVchEKh4qiUJhEtBpOiRLg8","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"http:\/\/vblog.hochsticher.de\/?p=778#blogposting","name":"Got a PSOD? Check which VMs restarted by HA! - Chris - vBlog","headline":"Got a PSOD? Check which VMs restarted by HA!","author":{"@id":"http:\/\/vblog.hochsticher.de\/?author=1#author"},"publisher":{"@id":"http:\/\/vblog.hochsticher.de\/#person"},"image":{"@type":"ImageObject","url":"http:\/\/vblog.hochsticher.de\/wp-content\/uploads\/2017\/08\/psod-e1502887236299.jpg?wsr","width":500,"height":386},"datePublished":"2017-08-16T12:39:33+02:00","dateModified":"2017-08-16T14:41:24+02:00","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"http:\/\/vblog.hochsticher.de\/?p=778#webpage"},"isPartOf":{"@id":"http:\/\/vblog.hochsticher.de\/?p=778#webpage"},"articleSection":"PowerCLI, vSphere"},{"@type":"BreadcrumbList","@id":"http:\/\/vblog.hochsticher.de\/?p=778#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"http:\/\/vblog.hochsticher.de#listItem","position":1,"name":"Home","item":"http:\/\/vblog.hochsticher.de","nextItem":{"@type":"ListItem","@id":"http:\/\/vblog.hochsticher.de\/?cat=4#listItem","name":"PowerCLI"}},{"@type":"ListItem","@id":"http:\/\/vblog.hochsticher.de\/?cat=4#listItem","position":2,"name":"PowerCLI","item":"http:\/\/vblog.hochsticher.de\/?cat=4","nextItem":{"@type":"ListItem","@id":"http:\/\/vblog.hochsticher.de\/?p=778#listItem","name":"Got a PSOD? Check which VMs restarted by HA!"},"previousItem":{"@type":"ListItem","@id":"http:\/\/vblog.hochsticher.de#listItem","name":"Home"}},{"@type":"ListItem","@id":"http:\/\/vblog.hochsticher.de\/?p=778#listItem","position":3,"name":"Got a PSOD? Check which VMs restarted by HA!","previousItem":{"@type":"ListItem","@id":"http:\/\/vblog.hochsticher.de\/?cat=4#listItem","name":"PowerCLI"}}]},{"@type":"Person","@id":"http:\/\/vblog.hochsticher.de\/?author=1#author","url":"http:\/\/vblog.hochsticher.de\/?author=1","name":"Christoph Hochsticher","image":{"@type":"ImageObject","@id":"http:\/\/vblog.hochsticher.de\/?p=778#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/d87fe995d7081d178014a72c729204792aff213f894bac1d28d0e0cc956c1171?s=96&d=mm&r=g","width":96,"height":96,"caption":"Christoph Hochsticher"}},{"@type":"WebPage","@id":"http:\/\/vblog.hochsticher.de\/?p=778#webpage","url":"http:\/\/vblog.hochsticher.de\/?p=778","name":"Got a PSOD? Check which VMs restarted by HA! - Chris - vBlog","description":"We design highly redundant Datacenters, Clusters, Storage Systems and even Networks, but in the end we still have some unplaned outages :\/ This week we had a defect Memory DIMM that caused a PSOD on one ESXi Host. HA restarted the VMs fine, but we want to know quickly which VMs restarted. Check out a","inLanguage":"en-US","isPartOf":{"@id":"http:\/\/vblog.hochsticher.de\/#website"},"breadcrumb":{"@id":"http:\/\/vblog.hochsticher.de\/?p=778#breadcrumblist"},"author":{"@id":"http:\/\/vblog.hochsticher.de\/?author=1#author"},"creator":{"@id":"http:\/\/vblog.hochsticher.de\/?author=1#author"},"image":{"@type":"ImageObject","url":"http:\/\/vblog.hochsticher.de\/wp-content\/uploads\/2017\/08\/psod-e1502887236299.jpg?wsr","@id":"http:\/\/vblog.hochsticher.de\/?p=778\/#mainImage","width":500,"height":386},"primaryImageOfPage":{"@id":"http:\/\/vblog.hochsticher.de\/?p=778#mainImage"},"datePublished":"2017-08-16T12:39:33+02:00","dateModified":"2017-08-16T14:41:24+02:00"},{"@type":"WebSite","@id":"http:\/\/vblog.hochsticher.de\/#website","url":"http:\/\/vblog.hochsticher.de\/","name":"Chris - vBlog","description":"Blog about Virtualization","inLanguage":"en-US","publisher":{"@id":"http:\/\/vblog.hochsticher.de\/#person"}}]},"og:locale":"en_US","og:site_name":"Chris - vBlog - Blog about Virtualization","og:type":"article","og:title":"Got a PSOD? Check which VMs restarted by HA! - Chris - vBlog","og:description":"We design highly redundant Datacenters, Clusters, Storage Systems and even Networks, but in the end we still have some unplaned outages :\/ This week we had a defect Memory DIMM that caused a PSOD on one ESXi Host. HA restarted the VMs fine, but we want to know quickly which VMs restarted. Check out a","og:url":"http:\/\/vblog.hochsticher.de\/?p=778","article:published_time":"2017-08-16T10:39:33+00:00","article:modified_time":"2017-08-16T12:41:24+00:00","twitter:card":"summary_large_image","twitter:title":"Got a PSOD? Check which VMs restarted by HA! - Chris - vBlog","twitter:description":"We design highly redundant Datacenters, Clusters, Storage Systems and even Networks, but in the end we still have some unplaned outages :\/ This week we had a defect Memory DIMM that caused a PSOD on one ESXi Host. HA restarted the VMs fine, but we want to know quickly which VMs restarted. Check out a"},"aioseo_meta_data":{"post_id":"778","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-03-16 21:42:14","updated":"2025-06-03 21:08:34","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/vblog.hochsticher.de\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/vblog.hochsticher.de\/?cat=4\" title=\"PowerCLI\">PowerCLI<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tGot a PSOD? Check which VMs restarted by HA!\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"http:\/\/vblog.hochsticher.de"},{"label":"PowerCLI","link":"http:\/\/vblog.hochsticher.de\/?cat=4"},{"label":"Got a PSOD? Check which VMs restarted by HA!","link":"http:\/\/vblog.hochsticher.de\/?p=778"}],"_links":{"self":[{"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=\/wp\/v2\/posts\/778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=778"}],"version-history":[{"count":6,"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=\/wp\/v2\/posts\/778\/revisions"}],"predecessor-version":[{"id":785,"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=\/wp\/v2\/posts\/778\/revisions\/785"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=\/wp\/v2\/media\/779"}],"wp:attachment":[{"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=778"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}