{"id":181,"date":"2010-03-11T20:25:31","date_gmt":"2010-03-11T09:25:31","guid":{"rendered":"http:\/\/threemillion.net\/blog\/?p=181"},"modified":"2010-03-11T20:25:31","modified_gmt":"2010-03-11T09:25:31","slug":"why-did-my-vm-spontaneously-suspend","status":"publish","type":"post","link":"https:\/\/threemillion.net\/blog\/?p=181","title":{"rendered":"Why did my VM spontaneously suspend?"},"content":{"rendered":"<p>Had an unusual question today from a user, who questioned why his VM became suspended. After a quick internal thought, because you probably clicked suspend, he advised that it occurred at 3am. So I open the VI Client logged on and lo and behold the VM was suspended. In addition it had happened the previous day as well.<br \/>\nChecking the user account (or not) that had performed this operation and found it was &#8220;User&#8221;. Yes User, not root, or a user account.<br \/>\nA quick scratch of the head and further investigation revealed that the VM was Windows 7. Windows 7 apparently, have not used it myself yet, default power management policy is to go into Standby after 20 mins of inactivity.<br \/>\nAnyways, why would a Guest O\/S going into Standby actually put the VM into Suspended mode? Surely the VM itself would stay either Powered On or Powered Off.<br \/>\nNo actually, in vCenter, in the VM Settings, on the Options tab in the Power Management option is a little radio button selection.<br \/>\nThe option selected on this VM was <strong>Suspend the virtual machine<\/strong><br \/>\nChecked another VM, this time Windows Server 2008 and the second option <strong>Put the guest OS into standby mode and leave the virtual machine powered on<\/strong> was selected.<br \/>\nThe concept is fairly straight forward as it is simply replicating what happens on a physical device running Windows with a similar power management setting. Why this didn&#8217;t immediately occur to me? Well I guess doing virtualisation in the datacentre is primarily around server operating systems where this type of power management policy does not exist.<br \/>\nSo easy to miss when in a different frame of mind.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Had an unusual question today from a user, who questioned why his VM became suspended. After a quick internal thought, because you probably clicked suspend, he advised that it occurred <a href=\"https:\/\/threemillion.net\/blog\/?p=181\" class=\"more-link\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"Layout":""},"categories":[18],"tags":[],"_links":{"self":[{"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/181"}],"collection":[{"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=181"}],"version-history":[{"count":2,"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/181\/revisions"}],"predecessor-version":[{"id":256,"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/181\/revisions\/256"}],"wp:attachment":[{"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}