<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Kasraeian</title>
	
	<link>http://www.kasraeian.com</link>
	<description>vWorld</description>
	<lastBuildDate>Fri, 17 Feb 2012 14:27:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Kasraeian" /><feedburner:info uri="kasraeian" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Removing vCloud Director Agent</title>
		<link>http://feedproxy.google.com/~r/Kasraeian/~3/jJlseqR6IlU/</link>
		<comments>http://www.kasraeian.com/2012/02/removing-vcloud-director-agent/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 14:27:38 +0000</pubDate>
		<dc:creator>Sohrab Kasraeian Fard</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[esxcli]]></category>
		<category><![CDATA[esxcli software vib]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[ESXi 5.0]]></category>
		<category><![CDATA[remove agent]]></category>
		<category><![CDATA[remove vib]]></category>
		<category><![CDATA[vCloud Director]]></category>
		<category><![CDATA[vCloud Director Agent]]></category>
		<category><![CDATA[VIB]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.kasraeian.com/?p=1778</guid>
		<description><![CDATA[This post would be compact/small version of my new page &#8221;vCloud Director – Uninstalling Agent&#8221; which showing all steps I toke to remove &#8220;vCloud Director Agent&#8221; from ESXi hosts. Summary of what happened in the past I had vCloud Director 1.5 and SQL database for it in my home lab which contain two &#8220;VMware ESXi 5.0&#8243; [...]]]></description>
			<content:encoded><![CDATA[<p>This post would be compact/small version of my new page &#8221;<a title="vCloud Director – Uninstalling Agent" href="http://www.kasraeian.com/step-by-step-visual-guide/vcloud-director-uninstalling-agent/">vCloud Director – Uninstalling Agent</a>&#8221; which showing all steps I toke to remove &#8220;vCloud Director Agent&#8221; from ESXi hosts.</p>
<h3>Summary of what happened in the past</h3>
<p>I had vCloud Director 1.5 and SQL database for it in my home lab which contain two &#8220;VMware ESXi 5.0&#8243; and &#8220;VMware vCenter 5.0&#8243; respectively.<br />
As it wasn&#8217;t functioning well for some reason, I removed both vCloud Director and it&#8217;s database and re-installed new vCloud Director 1.5 on the same infrastructure.</p>
<h3>And where the problems begin</h3>
<p>As I removed old vCloud Director without removing it&#8217;s vDC and disconnecting my hosts, it&#8217;s agent remain on these two hosts and as I tried to create nee vDC, I get an error on installing new agent.</p>

<a href="http://www.kasraeian.com/wp-content/gallery/vcda/P4-04-02.jpg" title="Reason of not being able to install new agents on these hosts" class="shutterset_singlepic60" >
	<img class="ngg-singlepic" src="http://www.kasraeian.com/wp-content/gallery/cache/60__320x240_P4-04-02.jpg" alt="P4-04-02" title="P4-04-02" />
</a>

<h3>How to solve it</h3>
<p>I searched the internet and in <a href="http://www.chriscolotti.us/vmware/how-to-manually-remove-the-vcloud-director-agent/" target="_blank">first result</a> saw a great/familiar* line &#8220;esxcli software vib remove -n vcloud-agent&#8221; which posted by &#8220;<a href="http://www.chriscolotti.us/about/" target="_blank">Chris Colotti</a>&#8221; on <a href="http://www.chriscolotti.us/" target="_blank">his site</a>.</p>
<p>I lunched the putty and checked the agent state on both hosts by using below command:</p>
<pre class="brush: bash; gutter: true; first-line: 1">esxcli software vib list | grep vcloud</pre>
<p>Then I tried to uninstall the agents on 1st host by running following command:</p>
<pre class="brush: bash; gutter: true; first-line: 1">esxcli software vib remove -n=vcloud-agent</pre>
<p>I get an error and removing process failed because it wasn&#8217;t in the maintenance mode, so I prepared all things and put this host in the maintenance mode and rerun the command again:</p>
<pre class="brush: bash; gutter: true; first-line: 1">esxcli software vib remove -n=vcloud-agent</pre>
<p>Because putting 1st host in the maintenance mode toke a long time I thought there should be a way to preventing it, and the result was lied in the result of this command:</p>
<pre class="brush: bash; gutter: true; first-line: 1">esxcli software vib remove --help</pre>
<p>Below screen showing interesting parameter in the &#8220;esxcli software vib remove&#8221; command</p>

<a href="http://www.kasraeian.com/wp-content/gallery/vcda/P4-04-34.jpg" title="Looking back at the &quot;esxcli software vib remove --help&quot; parameters and finding interesting one" class="shutterset_singlepic92" >
	<img class="ngg-singlepic" src="http://www.kasraeian.com/wp-content/gallery/cache/92__320x240_P4-04-34.jpg" alt="P4-04-34" title="P4-04-34" />
</a>

<p>I tried previous command while adding &#8220;&#8211;maintenance-mode&#8221; parameter and it worked perfectly.</p>
<pre class="brush: bash; gutter: true; first-line: 1">esxcli software vib remove -n="vcloud-agent" --maintenance-mode</pre>
<p>Note #1:<br />
Running command in the 1st line would be terminated by showing an error while second line command would be finish successfully while it intend to do the same task as first line. adding double quote (&#8220;) in these case may prevent some problems.</p>
<pre class="brush: bash; gutter: true; first-line: 1">esxcli software vib remove -n=vcloud-agent --maintenance-mode
esxcli software vib remove -n="vcloud-agent" --maintenance-mode</pre>
<p>Note #2:<br />
It was familiar because I used similar command for adding/installing some VIBs from HP.</p>
<img src="http://feeds.feedburner.com/~r/Kasraeian/~4/jJlseqR6IlU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.kasraeian.com/2012/02/removing-vcloud-director-agent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.kasraeian.com/2012/02/removing-vcloud-director-agent/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=removing-vcloud-director-agent</feedburner:origLink></item>
		<item>
		<title>VMware View and iPad (New SSL)</title>
		<link>http://feedproxy.google.com/~r/Kasraeian/~3/qQOX84YMzkM/</link>
		<comments>http://www.kasraeian.com/2012/02/vmware-view-and-ipad-new-ssl/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 22:02:35 +0000</pubDate>
		<dc:creator>Sohrab Kasraeian Fard</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[Allow the unverifiable connection]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[CA Server]]></category>
		<category><![CDATA[Certificate]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[Reject the unverifiable connection]]></category>
		<category><![CDATA[Untrusted View Connection]]></category>
		<category><![CDATA[View Client for iPad]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VMware View]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.kasraeian.com/?p=1720</guid>
		<description><![CDATA[Well, as a part of my education and test I installed &#8220;VMware View 5.0&#8243; in my home lab and start using it for a while. Since that day I&#8217;ve used &#8220;VMware View Client&#8221; for most of my works; also as the &#8220;VMware View Client for iPad&#8221; is available, I installed and used it a little [...]]]></description>
			<content:encoded><![CDATA[<p>Well, as a part of my education and test I installed &#8220;VMware View 5.0&#8243; in my home lab and start using it for a while.<br />
Since that day I&#8217;ve used &#8220;VMware View Client&#8221; for most of my works; also as the &#8220;VMware View Client for iPad&#8221; is available, I installed and used it a little without any problem.<br />
As the server has a self signed certificate, I opened &#8220;Settings &#8211; VMware View&#8221; and selected &#8220;<strong>Allow the unverifiable connection</strong>&#8221; under &#8220;Configuring SSL&#8230;&#8221;.</p>
<p>After couple of weeks, I made a &#8220;CA Server&#8221; on one of my windows server in my domain and start generating some certificates for most of my servers and services including &#8220;VMware View Connection Server 5.0&#8243;.<br />
For security reason and as I had internal &#8220;CA Server&#8221; in my home lab, I changed the policy for SSL on &#8220;VMware View&#8221; to &#8220;<strong>Reject the unverifiable connection</strong>&#8221; until today which I decided to use my iPad again.</p>
<p>While I tried to connect the connection server, I received a warning about its certificate as it changed during importing the new certificate, so I removed the server from list and tried to add it back again.</p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-01.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-01.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-01.png" alt="p4-03-01" width="553" height="415" /></a></p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-02.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-02.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-02.png" alt="p4-03-02" width="553" height="415" /></a></p>
<p>But following warning shown up</p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-03.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-03.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-03.png" alt="p4-03-03" width="553" height="415" /><span id="more-1720"></span></a></p>
<p>When I checked the server certificate detail it was all right.</p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-04.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-04.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-04.png" alt="p4-03-04" width="553" height="415" /></a></p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-05.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-05.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-05.png" alt="p4-03-05" width="553" height="415" /></a></p>
<p>But as the iPad didn&#8217;t trust my new &#8220;CA Server&#8221;, it wasn&#8217;t accept its relevant certificate as well; so I had to add it as trusted server to my iPad.<br />
For doing so, I browsed my &#8220;CA Server&#8221; web portal and installed its certificate.</p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-06.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-06.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-06.png" alt="p4-03-06" width="553" height="415" /></a></p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-07.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-07.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-07.png" alt="p4-03-07" width="553" height="415" /></a></p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-08.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-08.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-08.png" alt="p4-03-08" width="553" height="415" /></a></p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-09.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-09.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-09.png" alt="p4-03-09" width="553" height="415" /></a></p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-10.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-10.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-10.png" alt="p4-03-10" width="553" height="415" /></a></p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-11.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-11.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-11.png" alt="p4-03-11" width="553" height="415" /></a></p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-12.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-12.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-12.png" alt="p4-03-12" width="553" height="415" /></a></p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-13.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-13.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-13.png" alt="p4-03-13" width="553" height="415" /></a></p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-14.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-14.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-14.png" alt="p4-03-14" width="553" height="415" /></a></p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-15.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-15.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-15.png" alt="p4-03-15" width="553" height="415" /></a></p>
<p>After adding &#8220;CA Server&#8221; as &#8220;trusted root&#8221;, I tried to reconnect to the server and this time my server and it&#8217;s certificate worked fine</p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-16.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-16.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-16.png" alt="p4-03-16" width="553" height="415" /></a></p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-17.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-17.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-17.png" alt="p4-03-17" width="553" height="415" /></a></p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-18.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-18.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-18.png" alt="p4-03-18" width="553" height="415" /></a></p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-19.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-19.png"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-19.png" alt="p4-03-19" width="553" height="415" /></a></p>
<p style="text-align: center;"><a class="shutterset_" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-20.png.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-20.png" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-20.png.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="ngg-singlepic ngg-none aligncenter" src="http://www.kasraeian.com/wp-content/gallery/vmware-view-on-ipad-new-ssl/p4-03-20.png" alt="p4-03-20" width="553" height="415" /></a></p>
<img src="http://feeds.feedburner.com/~r/Kasraeian/~4/qQOX84YMzkM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.kasraeian.com/2012/02/vmware-view-and-ipad-new-ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.kasraeian.com/2012/02/vmware-view-and-ipad-new-ssl/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=vmware-view-and-ipad-new-ssl</feedburner:origLink></item>
		<item>
		<title>News</title>
		<link>http://feedproxy.google.com/~r/Kasraeian/~3/-1rE5ioykG0/</link>
		<comments>http://www.kasraeian.com/2012/01/news/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 19:54:11 +0000</pubDate>
		<dc:creator>Sohrab Kasraeian Fard</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.kasraeian.com/?p=1709</guid>
		<description><![CDATA[I&#8217;ve so busy lately so I didn&#8217;t find time to post anything here about whats going on lately. First of all, let me announce that I&#8217;ve passed VCP510 exam and  got my certificate posted, so I&#8217;ve updated my &#8220;Certifications&#8221; page as well as my badges on the right hand. Second, I got my interesting seminar [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve so busy lately so I didn&#8217;t find time to post anything here about whats going on lately.<br />
First of all, let me announce that I&#8217;ve passed VCP510 exam and  got my certificate posted, so I&#8217;ve updated my &#8220;<a title="Certifications" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/certifications/.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/certifications/" target="_blank">Certifications</a>&#8221; page as well as my badges on the right hand.</p>
<p>Second, I got my interesting seminar presentation and experience about server and desktop virtualization.<br />
This seminar held in &#8220;<a title="Simorgh Hotel" onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.simorghhotel.ir/.png')" onmouseout="removepreview()" href="http://www.simorghhotel.ir/" target="_blank">Simorgh Hotel</a>&#8221; with about 150 attendees, containing four presentations and one workshop; I was presenter for third and fourth presentations as well as responsible person for technical part of workshop, from preparing the whole virtual infrastructure, software and devices to the presenting them in the workshop.<br />
Here, let me thanks my friends and team mates &#8220;Doomaan, Mehdi and Arbi&#8221; for their help and special thanks to my friend and team-mate, &#8220;Davoud&#8221; for his valuable helps, support and cooperation.<br />
The interesting part in this presentation was that the &#8220;projector&#8221; was failed just 3 minutes after third presentation start and it made a lot of pressure on the support and management team to fix the problem asap.<br />
As a lesson learnt, I&#8217;d check and get the confirmation of availability of second &#8220;projector&#8221; for the presentation.  <img src='http://www.kasraeian.com/wp-includes/images/blank.gif' alt=':wink:' class='wp-smiley smiley-20' /> </p>
<img src="http://feeds.feedburner.com/~r/Kasraeian/~4/-1rE5ioykG0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.kasraeian.com/2012/01/news/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.kasraeian.com/2012/01/news/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=news</feedburner:origLink></item>
		<item>
		<title>Personal Document in Kindle</title>
		<link>http://feedproxy.google.com/~r/Kasraeian/~3/9xU8l0e5c-8/</link>
		<comments>http://www.kasraeian.com/2012/01/personal-document-in-kindle/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 22:08:43 +0000</pubDate>
		<dc:creator>Sohrab Kasraeian Fard</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Document]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[Kindle]]></category>

		<guid isPermaLink="false">http://www.kasraeian.com/?p=1637</guid>
		<description><![CDATA[As I needed to have some documents on my iPad/iPhone for reading and referring on the go, I checked the possible ways and found out that &#8220;Amazon&#8221; offering good service for sending personal document to the Kindle devices and software, for more information about this service Kindle Personal Documents Service link can be use. I&#8217;ve configured and [...]]]></description>
			<content:encoded><![CDATA[<p>As I needed to have some documents on my iPad/iPhone for reading and referring on the go, I checked the possible ways and found out that &#8220;Amazon&#8221; offering good service for sending personal document to the Kindle devices and software, for more information about this service <a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.amazon.com/gp/help/customer/display.html/ref=hp_pdoc_main_short_us?nodeId=200767340.png')" onmouseout="removepreview()" href="http://www.amazon.com/gp/help/customer/display.html/ref=hp_pdoc_main_short_us?nodeId=200767340" target="_blank">Kindle Personal Documents Service</a> link can be use.</p>
<p>I&#8217;ve configured and sent one &#8220;VMware Document&#8221; for testing purpose to my iPad and it&#8217;s done successfully; this document was in &#8220;.mobi&#8221; format which is compatible with &#8220;Kindle&#8221; devices and software.</p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2012/01/P4-01-01.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-01.jpg"><img class="aligncenter size-medium wp-image-1671" title="P4-01-01" src="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-01-600x183.jpg" alt="" width="600" height="183" /></a></p>
<p>Today, I looked for a different way to open the PDF documents on the iPad/iPhone devices and preferred to use &#8220;Kindle App&#8221; on my devices.<br />
It ended using built-in capability of this software and iTunes for passing this one as well, it&#8217;s so simple.</p>
<p>1. Open the iTunes application<br />
2. Connect the target device (iPad, iPhone or even iPod Touch) and select it on the left panel<br />
3. Select the &#8220;App&#8221; tab on the right panel so all application would show up</p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2012/01/P4-01-02.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-02.jpg"><img class="aligncenter size-medium wp-image-1641" title="P4-01-02" src="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-02-600x310.jpg" alt="" width="600" height="310" /></a></p>
<p>4. Move to the down of the page and &#8220;File Sharing&#8221; section would be appearing.<br />
5. Select the &#8220;Kindle&#8221; from &#8220;Apps&#8221; list.</p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2012/01/P4-01-03.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-03.jpg"><img class="aligncenter size-medium wp-image-1657" title="P4-01-03" src="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-03-600x262.jpg" alt="" width="600" height="262" /></a></p>
<p>6. Press the &#8220;Add&#8221; button below the &#8220;Kindle Documents&#8221; and here we go, sending documents to the &#8220;Kindle App&#8221; <img src='http://www.kasraeian.com/wp-includes/images/blank.gif' alt=':wink:' class='wp-smiley smiley-20' /> </p>
<p style="text-align: center;"><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2012/01/P4-01-04.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-04.jpg"><img class="aligncenter  wp-image-1643" title="P4-01-04" src="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-04-600x450.jpg" alt="" width="336" height="252" /></a></p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2012/01/P4-01-05.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-05.jpg"><img class="aligncenter size-medium wp-image-1656" title="P4-01-05" src="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-05-600x261.jpg" alt="" width="600" height="261" /></a></p>
<p><strong>Tip #1:<br />
</strong>File with &#8220;.mobi&#8221; extension which uploaded using iTunes in this way will appear in the &#8220;Book&#8221; section but if same file send to the kindle using email address and Amazon Service will be appeared in the &#8220;Doc&#8221; section.</p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2012/01/P4-01-06.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-06.jpg"><img class="aligncenter size-medium wp-image-1672" title="P4-01-06" src="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-06-600x189.jpg" alt="" width="600" height="189" /></a></p>
<p><strong>Tip #2:</strong><br />
File with &#8220;.pdf&#8221; extension which uploaded using iTunes in this way will appear in the &#8220;Doc&#8221; section.</p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2012/01/P4-01-07.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-07.jpg"><img class="aligncenter size-full wp-image-1646" title="P4-01-07" src="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-07.jpg" alt="" width="512" height="295" /></a></p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2012/01/P4-01-08.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-08.jpg"><img class="aligncenter size-medium wp-image-1670" title="P4-01-08" src="http://www.kasraeian.com/wp-content/uploads/2012/01/P4-01-08-600x183.jpg" alt="" width="600" height="183" /></a></p>
<p>Hope you find it useful</p>
<img src="http://feeds.feedburner.com/~r/Kasraeian/~4/9xU8l0e5c-8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.kasraeian.com/2012/01/personal-document-in-kindle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.kasraeian.com/2012/01/personal-document-in-kindle/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=personal-document-in-kindle</feedburner:origLink></item>
		<item>
		<title>Happy New year 2012</title>
		<link>http://feedproxy.google.com/~r/Kasraeian/~3/2y0g2wwe72c/</link>
		<comments>http://www.kasraeian.com/2012/01/happy-new-year-2012/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 08:47:07 +0000</pubDate>
		<dc:creator>Sohrab Kasraeian Fard</dc:creator>
				<category><![CDATA[Article]]></category>

		<guid isPermaLink="false">http://www.kasraeian.com/?p=1629</guid>
		<description><![CDATA[Happy new year to all my friends all around the world. Hope you have good year, full of achievement.]]></description>
			<content:encoded><![CDATA[<h3 style="text-align: center;"><span style="font-family: 'comic sans ms', sans-serif; color: #339966;"><strong>Happy new year to all my friends all around the world.</strong></span><br />
<span style="font-family: 'comic sans ms', sans-serif; color: #339966;"><strong>Hope you have good year, full of achievement.</strong></span></h3>
<p style="text-align: center;"><img class="aligncenter" title="Happy New Year" src="http://www.portwallpaper.com/imgwal/happy-new-year.jpg" alt="" width="738" height="461" /></p>
<img src="http://feeds.feedburner.com/~r/Kasraeian/~4/2y0g2wwe72c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.kasraeian.com/2012/01/happy-new-year-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.kasraeian.com/2012/01/happy-new-year-2012/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=happy-new-year-2012</feedburner:origLink></item>
		<item>
		<title>VCP Preparation and Evernote Peek</title>
		<link>http://feedproxy.google.com/~r/Kasraeian/~3/zsd-DHaCv6w/</link>
		<comments>http://www.kasraeian.com/2011/12/vcp-preparation-and-evernote-peek/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 18:17:31 +0000</pubDate>
		<dc:creator>Sohrab Kasraeian Fard</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[ESXi 5.0]]></category>
		<category><![CDATA[Exam]]></category>
		<category><![CDATA[VCP]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.kasraeian.com/?p=1593</guid>
		<description><![CDATA[I&#8217;m getting ready for my next exam and certificate and during my study I created a little tools for better preparation. I&#8217;ve imported all &#8220;VMware vSphere 5.0 &#8211; Configuration Maximums&#8221; data in the &#8220;Evernote&#8221; so it can be use by &#8220;Evernote Peek&#8221; on iPad devices for preparing for VCP510 exam. It will work as &#8220;Flash [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m getting ready for my next exam and certificate and during my study I created a little tools for better preparation.<br />
I&#8217;ve imported all &#8220;<a href="http://www.vmware.com/pdf/vsphere5/r50/vsphere-50-configuration-maximums.pdf" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.vmware.com/pdf/vsphere5/r50/vsphere-50-configuration-maximums.pdf.png')" onmouseout="removepreview()" onclick="removepreview()" target="_blank">VMware vSphere 5.0 &#8211; Configuration Maximums</a>&#8221; data in the &#8220;<a href="http://www.evernote.com" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.evernote.com.png')" onmouseout="removepreview()" onclick="removepreview()" target="_blank">Evernote</a>&#8221; so it can be use by &#8220;<a href="http://www.evernote.com/about/download/peek.php" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.evernote.com/about/download/peek.php.png')" onmouseout="removepreview()" onclick="removepreview()" target="_blank">Evernote Peek</a>&#8221; on iPad devices for preparing for VCP510 exam.<br />
It will work as &#8220;Flash Card&#8221; for helping to memorize the &#8220;Configuration Maximums&#8221;.<br />
Hope you find it useful</p>

<div class="ngg-imagebrowser" id="ngg-imagebrowser-3-1593">

	<h3> </h3>

	<div class="pic">
<a href="http://www.kasraeian.com/wp-content/gallery/vcp-cm-evernote-peek/p3-15-01.jpg" title="" class="shutterset_vcp-cm-evernote-peek">
	<img alt="" src="http://www.kasraeian.com/wp-content/gallery/vcp-cm-evernote-peek/p3-15-01.jpg"/>
</a>
</div>
	<div class="ngg-imagebrowser-nav"> 
		<div class="back">
			<a class="ngg-browser-prev" id="ngg-prev-28" href="http://www.kasraeian.com/2011/12/vcp-preparation-and-evernote-peek/?pid=28">&#9668; Back</a>
		</div>
		<div class="next">
			<a class="ngg-browser-next" id="ngg-next-25" href="http://www.kasraeian.com/2011/12/vcp-preparation-and-evernote-peek/?pid=25">Next &#9658;</a>
		</div>
		<div class="counter">Picture 1 of 5</div>
		<div class="ngg-imagebrowser-desc"><p> </p></div>
	</div>	

</div>	


<p><strong>Public URL:</strong> <a href="https://www.evernote.com/pub/kasraeian/VMvS5CM-FC" target="_blank">https://www.evernote.com/pub/kasraeian/VMvS5CM-FC</a></p>
<img src="http://feeds.feedburner.com/~r/Kasraeian/~4/zsd-DHaCv6w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.kasraeian.com/2011/12/vcp-preparation-and-evernote-peek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.kasraeian.com/2011/12/vcp-preparation-and-evernote-peek/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=vcp-preparation-and-evernote-peek</feedburner:origLink></item>
		<item>
		<title>No Power Option</title>
		<link>http://feedproxy.google.com/~r/Kasraeian/~3/NwzqVWWr3JQ/</link>
		<comments>http://www.kasraeian.com/2011/12/no-power-option/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 20:21:24 +0000</pubDate>
		<dc:creator>Sohrab Kasraeian Fard</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[esxcli]]></category>
		<category><![CDATA[esxcli vm process]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[ESXi 5.0]]></category>
		<category><![CDATA[HA]]></category>
		<category><![CDATA[kill]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[restart]]></category>
		<category><![CDATA[shutdown]]></category>
		<category><![CDATA[TSM]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.kasraeian.com/?p=1549</guid>
		<description><![CDATA[There are times which some VMs are freezing and in these situations there is no option for restart or shutdown. Today I got same experience and hopefully this time it was in my home lab, if it were in production &#8230; Anyway, getting to the main point, in these situation admins may wants to terminate [...]]]></description>
			<content:encoded><![CDATA[<p>There are times which some VMs are freezing and in these situations there is no option for restart or shutdown.<br />
Today I got same experience and hopefully this time it was in my home lab, if it were in production &#8230; <img src='http://www.kasraeian.com/wp-includes/images/blank.gif' alt=':roll:' class='wp-smiley smiley-15' /> </p>
<p>Anyway, getting to the main point, in these situation admins may wants to terminate currently  halted VM process and restarting it as soon as possible.<br />
I did this before on VMware ESX 3.5 and ESXi 4.x but this time lets check the process on VMware ESXi 5.0.</p>
<p>First of all get access to the host and for this series of action Local TSM or Remote TSM make no difference; There are two command under &#8220;esxcli vm process&#8221; which are going to be used for this purpose as shown in the below image:</p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-14-01.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-14-01.jpg"><img class="size-medium wp-image-1550 aligncenter" title="P3-14-01" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-14-01-600x69.jpg" alt="" width="600" height="69" /><span id="more-1549"></span></a></p>
<p>First of all let&#8217;s get all info we need by running below command:</p>
<pre class="brush: bash; title: ; notranslate">esxcli vm process list</pre>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-14-02.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-14-02.jpg"><img class="size-medium wp-image-1551 aligncenter" title="P3-14-02" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-14-02-600x264.jpg" alt="" width="600" height="264" /></a></p>
<p>This command will list all VMs in running state and some of their corresponding information like &#8220;World ID, Config File and Display Name&#8221;, after finding the target VM note it&#8217;s &#8220;World ID&#8221; somewhere for further use.<br />
Now it&#8217;s time for doing the main action, but before that just check the &#8220;esxcli vm process kill&#8221; option in the below image:</p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-14-03.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-14-03.jpg"><img class="size-medium wp-image-1552 aligncenter" title="P3-14-03" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-14-03-600x136.jpg" alt="" width="600" height="136" /></a></p>
<p>As it shown in the above image, there are two options of &#8220;type&#8221; and &#8220;world-id&#8221; for &#8220;esxcli vm process kill&#8221; command.<br />
&#8220;-t&#8221; or &#8220;&#8211;type&#8221; will indicate the type of kill operation and it could be &#8220;soft, hard, force&#8221; while &#8220;soft&#8221; is recommended to use first.<br />
&#8220;-w&#8221; or &#8220;&#8211;world-id&#8221; is related the running VM and it will be use for selecting and killing process.<br />
Now that we have  &#8221;world id&#8221; of VM from previous step, we can use it for killing its process by following command:</p>
<pre class="brush: bash; title: ; notranslate">esxcli vm process kill  -t soft -w XXXX</pre>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-14-04.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-14-04.jpg"><img class="size-medium wp-image-1553 aligncenter" title="P3-14-04" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-14-04-600x280.jpg" alt="" width="600" height="280" /></a></p>
<p>After running the command it will end with no prompt or message, just like below:</p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-14-05.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-14-05.jpg"><img class="size-medium wp-image-1554 aligncenter" title="P3-14-05" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-14-05-600x280.jpg" alt="" width="600" height="280" /></a></p>
<p>And for being sure, you can run the &#8220;esxcli vm process list&#8221; command again and looking for that VM.</p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-14-06.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-14-06.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-14-06.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-medium wp-image-1555 aligncenter" title="P3-14-06" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-14-06-600x203.jpg" alt="" width="600" height="203" /></a></p>
<p><strong> <img src='http://www.kasraeian.com/wp-includes/images/blank.gif' alt=':?:' class='wp-smiley smiley-23' /> Note:<br />
</strong>If VMware HA is configured on the cluster which containing this VM, it will automatically restart this VM on the other host from the same cluster.<br />
It can be a way for testing VMware HA configuration (in lab, education, &#8230;) to see if it&#8217;s ready to protect VMs.  <img src='http://www.kasraeian.com/wp-includes/images/blank.gif' alt=':wink:' class='wp-smiley smiley-20' /> </p>
<p><em>P.S: based on kill command and list command, you can see which VM made this post possible.  <img src='http://www.kasraeian.com/wp-includes/images/blank.gif' alt=':wink:' class='wp-smiley smiley-20' /> </em></p>
<img src="http://feeds.feedburner.com/~r/Kasraeian/~4/NwzqVWWr3JQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.kasraeian.com/2011/12/no-power-option/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.kasraeian.com/2011/12/no-power-option/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=no-power-option</feedburner:origLink></item>
		<item>
		<title>ISO, Snapshot &amp; Storage relation</title>
		<link>http://feedproxy.google.com/~r/Kasraeian/~3/Sg3PEAnP38E/</link>
		<comments>http://www.kasraeian.com/2011/12/iso-snapshot-storage-relation/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 16:07:20 +0000</pubDate>
		<dc:creator>Sohrab Kasraeian Fard</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[ESXi 5.0]]></category>
		<category><![CDATA[RVTools]]></category>
		<category><![CDATA[Snapshot]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[The resource is in use.]]></category>
		<category><![CDATA[unmount]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.kasraeian.com/?p=1518</guid>
		<description><![CDATA[Few days ago, while I was working on my home lab, I changed one of the NFS mounted shared storage on one of my ESXi 5.0 hosts. As this action happened only on one host, this different name start making some problems. One of these problem was the case of moving VMs from one host to [...]]]></description>
			<content:encoded><![CDATA[<p>Few days ago, while I was working on my home lab, I changed one of the NFS mounted shared storage on one of my ESXi 5.0 hosts.<br />
As this action happened only on one host, this different name start making some problems. One of these problem was the case of moving VMs from one host to the other while they mounted an ISO file.</p>
<p>I knew the result but as I tested that before but I just I tried to rename the new named shared storage to what it was before, but it generated some error about the duplicated name.<br />
I had to unmounts those different named shared storage and mount them back, so first step should be unmounts current ISO files from VMs.<br />
I used “<a href="http://www.robware.net" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.robware.net.png')" onmouseout="removepreview()" onclick="removepreview()" target="_blank">RVTools</a>” which is written by “Rob de Veij” for checking if any VM have mounted ISO files and there was more than 10 VMs.</p>
<p><a href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-01.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-13-01.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-medium wp-image-1519 aligncenter" title="P3-13-01" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-01-600x403.jpg" alt="" width="600" height="403" /><span id="more-1518"></span></a></p>
<p>As I’m trying to learn VMware PowerCLI and PowerShell generally, I decided to do it with some writing so I opened “PowerCLI4.1.1-Print-At-Home-Office.pdf”, looked for CD Drive related cmdlet and came across “Get-CDDrive” and “Set-CDDrive”.<br />
I tried multiple times and finally managed to use it as below to disconnecting all ISO files from all VMs at the same time.</p>
<pre class="brush: powershell; title: ; notranslate">Get-VM * | Get-CDDrive | Set-CDDrive -NoMedia -Confirm:$true</pre>
<p>* in the above code will select all VMs and this will impact the performance as it will check every single VM, even if they don’t have any ISO mounted; I’ll try to fix this problem.</p>
<p><a href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-02.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-13-02.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-medium wp-image-1520 aligncenter" title="P3-13-02" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-02-600x362.jpg" alt="" width="600" height="362" /></a></p>
<p>After disconnecting al ISO files from VMs, I ran the RVTools again and as I expected the list of attached media was empty.<br />
I tried to remove NFS shared folder from first host (ESXi50-1) and it’s finished successfully, I moved to the last one and tried same thing by selecting the datastore (NFS) and using “unmount” option.</p>
<p><a href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-03.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-13-03.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-medium wp-image-1521 aligncenter" title="P3-13-03" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-03-600x360.jpg" alt="" width="600" height="360" /></a></p>
<p><a href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-04.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-13-04.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-full wp-image-1522 aligncenter" title="P3-13-04" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-04.jpg" alt="" width="290" height="190" /></a></p>
<p><a href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-05.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-13-05.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-full wp-image-1523 aligncenter" title="P3-13-05" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-05.jpg" alt="" width="472" height="189" /></a></p>
<p>After accepting all consequences <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://www.kasraeian.com/wp-content/uploads/2011/12/wlEmoticon-winkingsmile.png" alt="Winking smile" />, I received an error which indicating that this process is terminated because of some usage, related screenshot is posted below.</p>
<p><a href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-06.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-13-06.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-medium wp-image-1524 aligncenter" title="P3-13-06" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-06-600x268.jpg" alt="" width="600" height="268" /></a></p>
<p>I ran RVTools again and there was no VM with any ISO image connected. I searched internet for any similar problem and find <a href="http://communities.vmware.com/message/1644733#1644733" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/communities.vmware.com/message/1644733#1644733.png')" onmouseout="removepreview()" onclick="removepreview()" target="_blank">this thread</a> on “<a href="http://communities.vmware.com/" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/communities.vmware.com/.png')" onmouseout="removepreview()" onclick="removepreview()" target="_blank">VMware Community</a>”.<br />
Based on “Rich123” recommendation, I used MAP on the vSphere Client for checking the current state and selected only VMs, Hosts and datastores for viewing option, amazing map created as it’s shown in the below image.</p>
<p><a href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-07.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-13-07.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-medium wp-image-1525 aligncenter" title="P3-13-07" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-07-600x351.jpg" alt="" width="600" height="351" /></a></p>
<p>Based on MAP view, I had two VMs with active connection to the NFS storage so opened their “Virtual Machine Setting” window, but here things get even more interesting; just check the below images:</p>
<p><a href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-08.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-13-08.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-medium wp-image-1526 aligncenter" title="P3-13-08" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-08-600x360.jpg" alt="" width="600" height="360" /></a></p>
<p><a href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-09.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-13-09.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-medium wp-image-1527 aligncenter" title="P3-13-09" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-09-600x534.jpg" alt="" width="600" height="534" /></a></p>
<p>Now, here is the question, if there is no ISO file and the VM placed on the iSCSI datastore, what causes the connection?<br />
&#8230;<br />
Well, few days back, when I was working on the VMware View 5.0, I made a snapshot from “Parent-XP” for using with VMware View Composer as well as making snapshot from “VMware ThinApp” for making safe and clear rollback point in order to use with “VMware ThinApp Suite”.</p>
<p><a href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-10.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-13-10.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-full wp-image-1528 aligncenter" title="P3-13-10" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-10.jpg" alt="" width="566" height="457" /></a></p>
<p><a href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-11.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-13-11.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-full wp-image-1529 aligncenter" title="P3-13-11" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-11.jpg" alt="" width="566" height="457" /></a></p>
<p>When I remembered these events, I removed both snapshots from VM and watched the MAP and “Recent Task” pane for changes.</p>
<p><a href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-12.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-13-12.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-medium wp-image-1530 aligncenter" title="P3-13-12" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-12-600x36.jpg" alt="" width="600" height="36" /></a></p>
<p><a href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-13.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-13-13.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-medium wp-image-1531 aligncenter" title="P3-13-13" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-13-600x360.jpg" alt="" width="600" height="360" /></a></p>
<p>After successfully removing both snapshots, I checked the possibility of removing NFS and it’s just done so easy.</p>
<p><a href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-14.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-13-14.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-medium wp-image-1532 aligncenter" title="P3-13-14" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-14-600x351.jpg" alt="" width="600" height="351" /></a></p>
<p><a href="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-15.jpg" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/12/P3-13-15.jpg.png')" onmouseout="removepreview()" onclick="removepreview()"><img class="size-medium wp-image-1533 aligncenter" title="P3-13-15" src="http://www.kasraeian.com/wp-content/uploads/2011/12/P3-13-15-600x360.jpg" alt="" width="600" height="360" /></a></p>
<p>For adding NFS share to all hosts at the same time with identical name, I used PowerCLI again and it&#8217;s related post can be found <a title="Using VMware PowerCLI (#001)" href="http://www.kasraeian.com/2011/11/using-vmware-powercli-001/" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/2011/11/using-vmware-powercli-001/.png')" onmouseout="removepreview()" onclick="removepreview()">here</a>.</p>
<p><strong>Summary:</strong><br />
Disconnecting ISO files from VMs might not be enough for unmounting datastore from hosts (NFS in my case) if any snapshot had connection to these ISO files on that specific datastore.<br />
If you get &#8220;<strong>The resource &#8216;XYZ&#8217; is in use.</strong>&#8221; during unmounting datastore, checking the snapshot might be helpful.</p>
<img src="http://feeds.feedburner.com/~r/Kasraeian/~4/Sg3PEAnP38E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.kasraeian.com/2011/12/iso-snapshot-storage-relation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.kasraeian.com/2011/12/iso-snapshot-storage-relation/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=iso-snapshot-storage-relation</feedburner:origLink></item>
		<item>
		<title>Using VMware PowerCLI (#001)</title>
		<link>http://feedproxy.google.com/~r/Kasraeian/~3/hYacaCxpcgs/</link>
		<comments>http://www.kasraeian.com/2011/11/using-vmware-powercli-001/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 20:18:57 +0000</pubDate>
		<dc:creator>Sohrab Kasraeian Fard</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[CD Drive]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[ISO]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[RVTools]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VMware vSphere PowerCLI]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.kasraeian.com/?p=1509</guid>
		<description><![CDATA[After long absence, I&#8217;m back with some new posts which I hope they become useful one day. Code #001 (Disconnecting CD Drives): Last night, while I was looked for making some changes on my hosts in my home lab, I ran &#8220;RVTools&#8221; for checking VMs if they mounted any ISO images, so I can disconnect [...]]]></description>
			<content:encoded><![CDATA[<p>After long absence, I&#8217;m back with some new posts which I hope they become useful one day.</p>
<p><strong>Code #001 (Disconnecting CD Drives):</strong><br />
Last night, while I was looked for making some changes on my hosts in my home lab, I ran &#8220;<a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.robware.net.png')" onmouseout="removepreview()" href="http://www.robware.net" target="_blank">RVTools</a>&#8221; for checking VMs if they mounted any ISO images, so I can disconnect them.<br />
I searched for a while and mixed some scripts with hope of making this possible and finally get it work with bellow script.<br />
In order of disconnecting all CD Drives on all VMs in a data center, first of all, connect to the proper VMware vCenter with &#8220;Connect VIServer&#8221; command, like:</p>
<pre class="brush: powershell; title: ; notranslate">Connect-VIServer -Server vc.kasraeian.com -User USER_NAME -Password PASSWORD</pre>
<p>Then run below code for disconnecting all CD Drives:</p>
<pre class="brush: powershell; title: ; notranslate">Get-VM * | Get-CDDrive | Set-CDDrive -NoMedia -Confirm:$true</pre>
<p><strong>Code #002 (Mounting NFS Share on all hosts):</strong><br />
For some reason I faced the problem with NFS share in my home lab so I decided to remove it and add it back to my hosts (two VMware ESXi 5.0).<br />
If you want to use a GUI method using VMware vSphere Client which seems to be easier, you would end up getting some error because of duplicate name of shared storage on different hosts in the datacenter.<br />
So as the VM may want to be migrated (manually by vMotion or Automatically by DRS), you don&#8217;t want to mount the same ISO files each time.<br />
For this purpose it&#8217;s possible to use VMware vSphere PowerCLI by connecting to the VMware vCenter by bellow command:</p>
<pre class="brush: powershell; title: ; notranslate">Connect-VIServer -Server vc.kasraeian.com -User USER_NAME -Password PASSWORD</pre>
<p>After connecting to the central management (VMware vCenter), it&#8217;s possible to run following commands and adding specific NFS share with the same name to all hosts:</p>
<pre class="brush: powershell; title: ; notranslate">$THosts = Get-VMHost
New-Datastore -Nfs -Name NFS_NAME -NfsHost HOST_ADDRESS -Path NFS_PATH -VMHost $THosts</pre>
<img src="http://feeds.feedburner.com/~r/Kasraeian/~4/hYacaCxpcgs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.kasraeian.com/2011/11/using-vmware-powercli-001/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.kasraeian.com/2011/11/using-vmware-powercli-001/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=using-vmware-powercli-001</feedburner:origLink></item>
		<item>
		<title>Migration to host  failed with error</title>
		<link>http://feedproxy.google.com/~r/Kasraeian/~3/ynDm_LDFB4c/</link>
		<comments>http://www.kasraeian.com/2011/10/migration-to-host-failed-with-error/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 08:08:11 +0000</pubDate>
		<dc:creator>Sohrab Kasraeian Fard</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[KB1030267]]></category>
		<category><![CDATA[Migration failed]]></category>
		<category><![CDATA[Migration to host failed with error Already disconnected (195887150)]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[vMotion]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.kasraeian.com/?p=1468</guid>
		<description><![CDATA[As I posted earlier, I have upgraded my lab from VMware vSphere 4.1 to VMware vSphere 5.0; during this upgrade (clean installation in some parts) I added 3rd NICs to hosts and created two vSwitch with one VMKernel for management and storage connection (multipathing) and one dvSwitch for some special VMs and features (FT Logging and vMotion). For [...]]]></description>
			<content:encoded><![CDATA[<p>As I posted earlier, I have upgraded my lab from VMware vSphere 4.1 to VMware vSphere 5.0; during this upgrade (clean installation in some parts) I added 3rd NICs to hosts and created two vSwitch with one VMKernel for management and storage connection (multipathing) and one dvSwitch for some special VMs and features (FT Logging and vMotion). For some tests I changed configuration 0f VMKernel which connected to the dvSwitch for vMotion. <img src='http://www.kasraeian.com/wp-includes/images/blank.gif' alt=':?:' class='wp-smiley smiley-23' /> </p>
<p>I planned some upgrade on one of these hosts so tried to migrate VMs to the other host and placing it in the &#8220;Maintenance Mode&#8221;, just after my first try, I get an error and migration failed when the process was just about 9 percent; <img src='http://www.kasraeian.com/wp-includes/images/blank.gif' alt=':sad:' class='wp-smiley smiley-16' />  the screenshot of the error is posted below.</p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/10/P3-12-01.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2011/10/P3-12-01.jpg"><img class="alignnone size-medium wp-image-1473" title="P3-12-01" src="http://www.kasraeian.com/wp-content/uploads/2011/10/P3-12-01-600x319.jpg" alt="" width="600" height="319" /><span id="more-1468"></span></a></p>
<p>I searched for &#8220;Migration to host &lt;&gt; failed with error Already disconnected (195887150).&#8221; and found &#8220;<a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/kb.vmware.com/kb/1030267.png')" onmouseout="removepreview()" href="http://kb.vmware.com/kb/1030267" target="_blank">KB1030267</a>&#8220;.<br />
In this KB, it&#8217;s recommended to checking network health using three steps, so I did it while I was sure that I enabled &#8220;Jumbo Frames&#8221; in the past and the firewall was checked in the time of first installation. <img src='http://www.kasraeian.com/wp-includes/images/blank.gif' alt=':roll:' class='wp-smiley smiley-15' /> </p>
<p>I looked into the network configuration (Distributed Switch) for gathering some basic information about current state and IP settings.</p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/10/P3-12-02.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2011/10/P3-12-02.jpg"><img class="alignnone size-medium wp-image-1479" title="P3-12-02" src="http://www.kasraeian.com/wp-content/uploads/2011/10/P3-12-02-600x392.jpg" alt="" width="600" height="392" /></a></p>
<p>While I was looked into the page, I pressed blue &#8220;i&#8221; sign (information button) next to the &#8220;vmk2&#8243; for checking jumbo frames setting and after that the uplink information.</p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/10/P3-12-03.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2011/10/P3-12-03.jpg"><img class="alignnone size-full wp-image-1480" title="P3-12-03" src="http://www.kasraeian.com/wp-content/uploads/2011/10/P3-12-03.jpg" alt="" width="337" height="204" /></a></p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/10/P3-12-04.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2011/10/P3-12-04.jpg"><img class="alignnone size-full wp-image-1481" title="P3-12-04" src="http://www.kasraeian.com/wp-content/uploads/2011/10/P3-12-04.jpg" alt="" width="397" height="460" /></a></p>
<p>As it&#8217;s shown in the above screen shots, the &#8220;MTU (Maximum Transmission Unit)&#8221; in the VMKernel and dvSwitch is different; I opened the &#8220;dvSwitch Settings&#8221; window and changed the MTU to 9000.</p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/10/P3-12-05.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2011/10/P3-12-05.jpg"><img class="alignnone size-medium wp-image-1482" title="P3-12-05" src="http://www.kasraeian.com/wp-content/uploads/2011/10/P3-12-05-600x327.jpg" alt="" width="600" height="327" /></a></p>
<p>Waited some times for the changes applied to the both hosts and then tried again for migrating same VM and it finished successfully.</p>
<p><a onclick="removepreview()" onmouseover="drawpreview('http://www.kasraeian.com/wp-content/plugins/tooltip/images/www.kasraeian.com/wp-content/uploads/2011/10/P3-12-06.jpg.png')" onmouseout="removepreview()" href="http://www.kasraeian.com/wp-content/uploads/2011/10/P3-12-06.jpg"><img class="alignnone size-medium wp-image-1483" title="P3-12-06" src="http://www.kasraeian.com/wp-content/uploads/2011/10/P3-12-06-600x45.jpg" alt="" width="600" height="45" /></a></p>
<p>This KB get the right &#8220;Resolution&#8221; but let me add some notes to it (mainly as reminder) in order to make it more clear; if the &#8220;Jumbo Frames&#8221; sets on the VMKernel for vMotion in one host, all other hosts should have same MTU as well as connected vSwitches/dvSwitches. Connected vSwitches/dvSwitches should have same or grater MTU so they would let the data exit the host in the first step.  <img src='http://www.kasraeian.com/wp-includes/images/blank.gif' alt=':wink:' class='wp-smiley smiley-20' /> </p>
<img src="http://feeds.feedburner.com/~r/Kasraeian/~4/ynDm_LDFB4c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.kasraeian.com/2011/10/migration-to-host-failed-with-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.kasraeian.com/2011/10/migration-to-host-failed-with-error/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=migration-to-host-failed-with-error</feedburner:origLink></item>
	</channel>
</rss>

