<?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>Yellow Bricks &#187; basics</title>
	<atom:link href="http://www.yellow-bricks.com/tag/basics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yellow-bricks.com</link>
	<description>Building blocks for virtualization...</description>
	<lastBuildDate>Fri, 10 Feb 2012 11:12:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>The Basics: Moving hosts from one vCenter server to the other</title>
		<link>http://www.yellow-bricks.com/2009/04/17/the-basics-moving-hosts-from-one-vcenter-server-to-the-other/</link>
		<comments>http://www.yellow-bricks.com/2009/04/17/the-basics-moving-hosts-from-one-vcenter-server-to-the-other/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 11:06:17 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[vcenter]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=2889</guid>
		<description><![CDATA[<p>It seems to be a question that often pops up on the VMTN forum, how can I move my ESX hosts to my freshly installed vCenter server? The answer is actually pretty simple: Just to be on the save side, set DRS to manual and disable HA on the &#8220;old&#8221; vCenter server / cluster Right click the ESX host and [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/04/17/the-basics-moving-hosts-from-one-vcenter-server-to-the-other/">The Basics: Moving hosts from one vCenter server to the other</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>It seems to be a question that often pops up on the <a href="http://communities.vmware.com/message/122813">VMTN forum</a>, how can I move my ESX hosts to my freshly installed vCenter server? The answer is actually pretty simple:</p>
<ol>
<li>Just to be on the save side, set DRS to manual and disable HA on the &#8220;old&#8221; vCenter server / cluster</li>
<li>Right click the ESX host and select &#8220;Disconnect&#8221;</li>
<li>Go to the new vCenter server and add the host</li>
</ol>
<p>It&#8217;s as simple as that. You don&#8217;t even need to shutdown your VMs.<br />
Keep in mind though that you will lose your folder structure as well. (Thanks Joop)</p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/04/17/the-basics-moving-hosts-from-one-vcenter-server-to-the-other/">The Basics: Moving hosts from one vCenter server to the other</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2009/04/17/the-basics-moving-hosts-from-one-vcenter-server-to-the-other/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>The Basics: How to kill a VM that&#8217;s stuck during shutdown?</title>
		<link>http://www.yellow-bricks.com/2009/04/15/the-basics-how-to-kill-a-vm-thats-stuck-during-shutdown/</link>
		<comments>http://www.yellow-bricks.com/2009/04/15/the-basics-how-to-kill-a-vm-thats-stuck-during-shutdown/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 11:52:12 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[service console]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=2847</guid>
		<description><![CDATA[<p>I just replied to a topic on the VMTN forums and thought it might be useful to write it down here as well. (I thought I already did, but a search didn&#8217;t turn up anything.) When a VM gets stuck during shutdown or isn&#8217;t responding anymore you can easily kill the VM. First option is the command line version of [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/04/15/the-basics-how-to-kill-a-vm-thats-stuck-during-shutdown/">The Basics: How to kill a VM that&#8217;s stuck during shutdown?</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>I just replied to a topic on the VMTN forums and thought it might be useful to write it down here as well. (I thought I already did, but a search didn&#8217;t turn up anything.)</p>
<p>When a VM gets stuck during shutdown or isn&#8217;t responding anymore you can easily kill the VM. First option is the command line version of vCenter&#8217;s &#8220;shutdown vm&#8221;, first list all the VMs running on the host so you can copy and paste the &lt;config&gt; in to the next command. The command &#8220;vmware-cmd &lt;config&gt; stop trysoft&#8221; will try to initiate a soft shutdown first, in other words a shutdown via the Guest OS, if that doesn&#8217;t work it will do a power off. Now, as most of you probably already experienced, sometimes it&#8217;s impossible to shutdown the VMs in a normal way. This is where 2nd, 3rd and 4th option come in to place. Option two uses vm-support to kill the VM, use &#8220;-x&#8221; to list the VM id&#8217;s and kill it with &#8220;-X&#8221;. The third option uses vimsh, in this case we use vmware-vim-cmd, &#8220;vmsvc/getallvms&#8221; lists all VMs and the id&#8217;s and with &#8220;vmsvc/poweroff&#8221; you can specify the VM that needs to be powered off. The fourth option is the Linux/Unix way of doing it, find the process id of the VM via &#8220;ps -auxwww&#8221; and just kill it.</p>
<ol>
<li>
<pre>vmware-cmd -l</pre>
<pre>vmware-cmd &lt;config&gt; stop trysoft</pre>
</li>
<li>
<pre>vm-support -x</pre>
<pre>vm-support -X &lt;vmid&gt;</pre>
</li>
<li>
<pre>vmware-vim-cmd vmsvc/getallvms</pre>
<pre>vmware-vim-cmd vmsvc/poweroff &lt;vm id&gt;</pre>
</li>
<li>
<pre>ps -auxwww | grep &lt;vm name&gt;</pre>
<pre>kill &lt;process id&gt;</pre>
</li>
<li>if option three isn&#8217;t successful do the following:
<pre>kill -9 &lt;process id&gt;</pre>
</li>
</ol>
<p>As VMwareWolf points out, there&#8217;s an excellent KB article on this subject to be found here: <a href="http://kb.vmware.com/kb/1004340">http://kb.vmware.com/kb/1004340</a></p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/04/15/the-basics-how-to-kill-a-vm-thats-stuck-during-shutdown/">The Basics: How to kill a VM that&#8217;s stuck during shutdown?</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2009/04/15/the-basics-how-to-kill-a-vm-thats-stuck-during-shutdown/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

