{"id":252,"date":"2010-12-16T13:41:38","date_gmt":"2010-12-16T13:41:38","guid":{"rendered":"http:\/\/www.esds.co.in\/data-centers\/kb\/?p=252"},"modified":"2015-06-23T10:58:43","modified_gmt":"2015-06-23T10:58:43","slug":"disable-frozen-virtual-machine-on-vmware-esxi-4-out-of-vsphere","status":"publish","type":"post","link":"https:\/\/www.esds.co.in\/kb\/disable-frozen-virtual-machine-on-vmware-esxi-4-out-of-vsphere\/","title":{"rendered":"Disable Frozen Virtual Machine On VMware ESXi 4 Out Of vSphere"},"content":{"rendered":"<p>There is a situation, when in VMware vSphere Client VM on ESXi does not obey commands Shut Down \/ Power Off and remained &#8220;unresponsive&#8221; to you. The following describes the same three ways to &#8220;kill&#8221; the unruly virtual machine, but only as to the VMware ESXi.<\/p>\n<p><strong>1. <\/strong>Because the service console in VMware ESXi is not formal, we can use a special remote management tool VMware vSphere CLI , which allows access to the ESXi interface from the command line. It can be installed as a framework for Windows and Linux, and manage ESXi via script, and you can use ready-made virtual machines with this interface, called vSphere vMA.<\/p>\n<p>Once put vMA, type the following command to list the VMs on the host VMware ESXi with paths to configuration files:<\/p>\n<p><strong>vmware-cmd.pl-H &lt;ESXi host name&gt;-l<\/strong><\/p>\n<p>Then type the following command in the console vMA for output of the virtual machine with the specified path to the vmx-file on the host ESXi:<\/p>\n<p><strong>vmware-cmd.pl-H &lt;ESXi host name&gt; &lt;VM config file path &amp; name&gt; getstate<\/strong><\/p>\n<p>Next, type the following command to stop the virtual machine:<\/p>\n<p><strong>vmware-cmd.pl-H &lt;ESXi host name&gt; &lt;VM config file path &amp; name&gt; stop hard<\/strong><\/p>\n<p>Check the status of the virtual machine with the previous command, and if does not work, go to the next method.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-253 size-full\" title=\"kill-frozen-vm\" src=\"http:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2010\/12\/kill-frozen-vm.jpg\" alt=\"\" width=\"712\" height=\"311\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2010\/12\/kill-frozen-vm.jpg 712w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2010\/12\/kill-frozen-vm-300x131.jpg 300w\" sizes=\"(max-width: 712px) 100vw, 712px\" \/><\/p>\n<p><strong>2. <\/strong>In fact, as many know, kind of service console in BusyBox in VMware ESXi, is still there. Therefore, enter into it like this way:<\/p>\n<ul>\n<li>In the console, VMware ESXi host, press ALT-F1<\/li>\n<li>Print Unsupported (text, you will not see), you will enter Tech Support Mode , and will require a password. Enter a password for the user root<\/li>\n<li>Will prompt for the ~ # .<\/li>\n<\/ul>\n<p>Now execute the following command:<\/p>\n<p><strong>vm-support-x<\/strong><\/p>\n<p>For a list of virtual machines and their identifiers (VMID). After that, turn off the virtual machine with the specified identifier following command (it will create a dump with debugging information in the swap section of ESXi, by using the -w &lt;vmfs volume path&gt; can specify VMFS-volume and folder in which to put the dump):<\/p>\n<p><strong>vm-support-X &lt;VMID&gt;<\/strong><\/p>\n<p>Then re-check the state of the virtual machine command: VM-Support-x<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-254 size-full\" title=\"kill-frozen-vm\" src=\"http:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2010\/12\/kill-frozen-vm-1.jpg\" alt=\"\" width=\"780\" height=\"388\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2010\/12\/kill-frozen-vm-1.jpg 780w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2010\/12\/kill-frozen-vm-1-300x149.jpg 300w\" sizes=\"(max-width: 780px) 100vw, 780px\" \/><\/p>\n<p><strong>3. <\/strong>If this does not help, then we must directly try to kill the process that implements a virtual machine for ESXi. To do this, again go into the &#8220;service console&#8221; as in the preceding paragraph and type the command:<\/p>\n<p><strong>ps-g | grep &lt;virtualmachinename&gt;<\/strong><\/p>\n<p>Further search process group ID (process group ID, PGID), which is in the fourth column of the results output. Next, kill the processes with a virtual machine running:<\/p>\n<p><strong>kill -9 &lt;PGID&gt;<\/strong><\/p>\n<p>Again, check the state of the VM, which should already be turned off, a team of VM-Support-X .<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-255 size-full\" title=\"kill-frozen-vm-2\" src=\"http:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2010\/12\/kill-frozen-vm-2.jpg\" alt=\"\" width=\"790\" height=\"400\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2010\/12\/kill-frozen-vm-2.jpg 790w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2010\/12\/kill-frozen-vm-2-300x151.jpg 300w\" sizes=\"(max-width: 790px) 100vw, 790px\" \/><\/p>\n<p><strong>Please Note:<\/strong> If you are looking for Rich Data Center Web Hosting, Cloud Services, Dedicated Hosting, Colocation or Software Services in India at Affordable Costs, Visit our website at <strong><a href=\"http:\/\/www.esds.co.in\/\" target=\"_blank\">WWW.ESDS.CO.IN<\/a><\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is a situation, when in VMware vSphere Client VM on ESXi does not obey commands Shut Down \/ Power Off and remained &#8220;unresponsive&#8221; to you. The following describes the same three ways to &#8220;kill&#8221; the unruly virtual machine, but only as to the VMware ESXi. 1. Because the service console in VMware ESXi is [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[98,14,99,100],"class_list":["post-252","post","type-post","status-publish","format-standard","hentry","category-virtualization-techniques","tag-vmware-esxi-4","tag-vsphere","tag-vsphere-cli","tag-vsphere-vma"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.9.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Disable Frozen Virtual Machine On VMware ESXi 4 Out Of vSphere<\/title>\n<meta name=\"description\" content=\"This KB includes three different techniques on how to disable a frozen virtual machine on VMware ESXi 4 Out Of vSphere with framework for Windows and Linux, BusyBox, service console and etc.\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esds.co.in\/kb\/disable-frozen-virtual-machine-on-vmware-esxi-4-out-of-vsphere\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Disable Frozen Virtual Machine On VMware ESXi 4 Out Of vSphere\" \/>\n<meta property=\"og:description\" content=\"This KB includes three different techniques on how to disable a frozen virtual machine on VMware ESXi 4 Out Of vSphere with framework for Windows and Linux, BusyBox, service console and etc.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esds.co.in\/kb\/disable-frozen-virtual-machine-on-vmware-esxi-4-out-of-vsphere\/\" \/>\n<meta property=\"og:site_name\" content=\"ESDS Official Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ESDSdc\/\" \/>\n<meta property=\"article:published_time\" content=\"2010-12-16T13:41:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-06-23T10:58:43+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2010\/12\/kill-frozen-vm.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ESDSDataCenter\" \/>\n<meta name=\"twitter:site\" content=\"@ESDSDataCenter\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"2 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#website\",\"url\":\"https:\/\/www.esds.co.in\/kb\/\",\"name\":\"ESDS Official Knowledgebase\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.esds.co.in\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/disable-frozen-virtual-machine-on-vmware-esxi-4-out-of-vsphere\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2010\/12\/kill-frozen-vm.jpg\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/disable-frozen-virtual-machine-on-vmware-esxi-4-out-of-vsphere\/#webpage\",\"url\":\"https:\/\/www.esds.co.in\/kb\/disable-frozen-virtual-machine-on-vmware-esxi-4-out-of-vsphere\/\",\"name\":\"Disable Frozen Virtual Machine On VMware ESXi 4 Out Of vSphere\",\"isPartOf\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/disable-frozen-virtual-machine-on-vmware-esxi-4-out-of-vsphere\/#primaryimage\"},\"datePublished\":\"2010-12-16T13:41:38+00:00\",\"dateModified\":\"2015-06-23T10:58:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/#\/schema\/person\/d951a1b6843822458f3c5f5ee02a74e8\"},\"description\":\"This KB includes three different techniques on how to disable a frozen virtual machine on VMware ESXi 4 Out Of vSphere with framework for Windows and Linux, BusyBox, service console and etc.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/disable-frozen-virtual-machine-on-vmware-esxi-4-out-of-vsphere\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esds.co.in\/kb\/disable-frozen-virtual-machine-on-vmware-esxi-4-out-of-vsphere\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/disable-frozen-virtual-machine-on-vmware-esxi-4-out-of-vsphere\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/\",\"url\":\"https:\/\/www.esds.co.in\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/disable-frozen-virtual-machine-on-vmware-esxi-4-out-of-vsphere\/\",\"url\":\"https:\/\/www.esds.co.in\/kb\/disable-frozen-virtual-machine-on-vmware-esxi-4-out-of-vsphere\/\",\"name\":\"Disable Frozen Virtual Machine On VMware ESXi 4 Out Of vSphere\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#\/schema\/person\/d951a1b6843822458f3c5f5ee02a74e8\",\"name\":\"ESDS ADMIN\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/60adc2c4f4d067fa8bb7e682c0fea80e7ee189ca0fe84d805689918516372073?s=96&d=mm&r=g\",\"caption\":\"ESDS ADMIN\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/comments?post=252"}],"version-history":[{"count":12,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/252\/revisions"}],"predecessor-version":[{"id":2907,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/252\/revisions\/2907"}],"wp:attachment":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/media?parent=252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/categories?post=252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/tags?post=252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}