<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Technoblog.org &#187; vm-support</title>
	<atom:link href="http://technoblog.org/tag/vm-support/feed/" rel="self" type="application/rss+xml" />
	<link>http://technoblog.org</link>
	<description>Technoblogging</description>
	<lastBuildDate>Tue, 12 Apr 2011 11:47:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>How to kill a VM (VMware ESX 4.0)</title>
		<link>http://technoblog.org/2010/07/how-to-kill-a-vm-vmware-esx-4-0/</link>
		<comments>http://technoblog.org/2010/07/how-to-kill-a-vm-vmware-esx-4-0/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 18:00:17 +0000</pubDate>
		<dc:creator>jrp</dc:creator>
				<category><![CDATA[vmware]]></category>
		<category><![CDATA[ESX 3.5]]></category>
		<category><![CDATA[ESX 3.x]]></category>
		<category><![CDATA[ESX 4.0]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[ESXi 3.5]]></category>
		<category><![CDATA[ESXi 3.x]]></category>
		<category><![CDATA[vm-support]]></category>
		<category><![CDATA[vmkload_app]]></category>
		<category><![CDATA[VMware ESX 3.5]]></category>
		<category><![CDATA[VMware ESX 4.0]]></category>
		<category><![CDATA[vmware-cmd]]></category>
		<category><![CDATA[vSphere 4.0]]></category>

		<guid isPermaLink="false">http://technoblog.org/?p=104</guid>
		<description><![CDATA[Alright, it happens from time to time. Virtual Machines get stuck. Sometimes during boot, sometimes during shutdown and sometimes during a restore operation. So how do I kill a Virtual Machine? I wrote this post, back in 2009, for ESX 3.5: http://technoblog.org/2009/01/how-to-kill-a-stuck-or-hung-vm-vmware-esx-35/ Both the &#8220;vmware-cmd /.vmx stop hard&#8221; method, and the following methods work, sometimes.. [...]]]></description>
			<content:encoded><![CDATA[<p>Alright, it happens from time to time. Virtual Machines get stuck.<br />
Sometimes during boot, sometimes during shutdown and sometimes during a restore operation.</p>
<p>So how do I kill a Virtual Machine?</p>
<p>I wrote this post, back in 2009, for ESX 3.5:<br />
<a href="http://technoblog.org/2009/01/how-to-kill-a-stuck-or-hung-vm-vmware-esx-35/">http://technoblog.org/2009/01/how-to-kill-a-stuck-or-hung-vm-vmware-esx-35/</a></p>
<p>Both the &#8220;vmware-cmd
<path-to-file>/<vname>.vmx stop hard&#8221; method, and the following methods work, sometimes.. :</p>
<p>1. sudo vm-support -x<br />
2. sudo less -S /proc/vmware/vm/<vmid>/cpu/status<br />
3. sudo /usr/lib/vmware/bin/vmkload_app -k 9 <group-vm-id></p>
<p>But, when both of those fail? Then what?<br />
How to kill a stuck VM when everything else fails?</p>
<p>It&#8217;s a bit brutal, but it works, but be warned, you might corrupt your VM.</p>
<p>1. sudo bash (for simplicity)<br />
2. ps -ax | grep
<part-of-the-vm-name>
3. Find the first number to the left, in the string with the right VM. This is the PID.<br />
4. kill -9 <PID></p>
<p>Brutal? Yes. Efficient? Yes.</p>
]]></content:encoded>
			<wfw:commentRss>http://technoblog.org/2010/07/how-to-kill-a-vm-vmware-esx-4-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to kill a stuck or hung VM (VMware ESX 3.5)</title>
		<link>http://technoblog.org/2009/01/how-to-kill-a-stuck-or-hung-vm-vmware-esx-35/</link>
		<comments>http://technoblog.org/2009/01/how-to-kill-a-stuck-or-hung-vm-vmware-esx-35/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 11:04:37 +0000</pubDate>
		<dc:creator>jrp</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[how to kill hung VM]]></category>
		<category><![CDATA[how to kill stuck VM]]></category>
		<category><![CDATA[vm-support]]></category>
		<category><![CDATA[vmid]]></category>
		<category><![CDATA[vmkload_app]]></category>
		<category><![CDATA[VMware ESX 3.5]]></category>
		<category><![CDATA[vmware-cmd]]></category>

		<guid isPermaLink="false">http://technoblog.org/?p=34</guid>
		<description><![CDATA[There are many different ways to kill a stuck or hung VM, but for now, I will present two alternatives. First try to run: vmware-cmd /vmfs/volumes/&#60;name_of_datastorage&#62;/&#60;vmname&#62;/&#60;vmname&#62;.vmx stop hard If this for some reasons doesnt work (like me accidentaly deleting the .vmx file), you can try the following: 1. Run the following command (to get a [...]]]></description>
			<content:encoded><![CDATA[<p>There are many different ways to kill a stuck or hung VM, but for now, I will present two alternatives.<br />
<span id="more-34"></span><br />
First try to run:<br />
vmware-cmd /vmfs/volumes/&lt;name_of_datastorage&gt;/&lt;vmname&gt;/&lt;vmname&gt;.vmx stop hard</p>
<p>If this for some reasons doesnt work (like me accidentaly deleting the .vmx file), you can try the<br />
following:</p>
<p>1. Run the following command (to get a list of running VMs):<br />
sudo vm-support -x</p>
<p>The output will look something like this:</p>
<p>VMware ESX Server Support Script 1.29</p>
<p>Available worlds to debug:</p>
<p>vmid=1126       vm-01<br />
vmid=1151       vm-02<br />
vmid=1272       vm-03<br />
vmid=1291       vm-04<br />
vmid=1150       vm-05<br />
vmid=1420       vm-06<br />
vmid=1433       vm-07</p>
<p>2. Then run the command (remember to replace the number with the &#8220;vmid&#8221; of your VM):</p>
<p>less -S /proc/vmware/vm/1433/cpu/status</p>
<p>Press the right arrow key.</p>
<p>In the right corner there should be som info about the &#8220;group&#8221;:<br />
group<br />
vm.1432</p>
<p>3. By running the following command, you can safely kill your VM without risking corrupting it<br />
(remember to replace the number with your &#8220;group number&#8221;):<br />
sudo /usr/lib/vmware/bin/vmkload_app -k 9 1432</p>
<p>4. If successful, you should see a message like this:<br />
Warning: Jan 06 06:42:49.717: Sending signal &#8217;9&#8242; to world 1432.</p>
]]></content:encoded>
			<wfw:commentRss>http://technoblog.org/2009/01/how-to-kill-a-stuck-or-hung-vm-vmware-esx-35/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

