<?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>motogobi &#187; VMWare</title>
	<atom:link href="http://www.motogobi.com/tag/vmware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.motogobi.com</link>
	<description>gobi, mobilized</description>
	<lastBuildDate>Wed, 08 Sep 2010 13:37:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Soon-to-be-end-of-life-Service-Console reference of the day</title>
		<link>http://www.motogobi.com/2010/09/02/soon-to-be-end-of-life-service-console-reference-of-the-day/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=soon-to-be-end-of-life-service-console-reference-of-the-day</link>
		<comments>http://www.motogobi.com/2010/09/02/soon-to-be-end-of-life-service-console-reference-of-the-day/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 15:44:46 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=886</guid>
		<description><![CDATA[This completely saved my aching head this morning when we had to update the VLAN on some freshly-built ESX hosts: Esxcfg command help Thank you, Eric Siebert!]]></description>
			<content:encoded><![CDATA[<p>This completely saved my aching head this morning when we had to update the VLAN on some freshly-built ESX hosts:</p>
<p style="text-align: center;"><a href="http://vmware-land.com/esxcfg-help.html" target="_blank">Esxcfg command help</a></p>
<p>Thank you, <a href="http://vsphere-land.com/about/about-me" target="_blank">Eric Siebert</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/09/02/soon-to-be-end-of-life-service-console-reference-of-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vSphere 4.1 Last Version of ESX, ESXi is the future</title>
		<link>http://www.motogobi.com/2010/08/31/vsphere-4-1-last-version-of-esx-esxi-is-the-future/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=vsphere-4-1-last-version-of-esx-esxi-is-the-future</link>
		<comments>http://www.motogobi.com/2010/08/31/vsphere-4-1-last-version-of-esx-esxi-is-the-future/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 18:30:31 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=874</guid>
		<description><![CDATA[So this is not really news, but is now big official news: the 4.1 release of vSphere is the last supported version of ESX. VMware is finally dropping the Service Console. Moving forward, ESXi will be the core hypervisor technology at the center of VMware&#8217;s virtualization strategy (for now). Can&#8217;t say I disagree, especially if [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-875" title="vsphere_4correct1" src="http://www.motogobi.com/wp-content/uploads/2010/08/vsphere_4correct1-150x150.jpg" alt="" width="150" height="150" />So this is not really news, but is now big official news: the 4.1 release of vSphere is the last supported version of ESX. VMware is finally dropping the Service Console. Moving forward, ESXi will be the core hypervisor technology at the center of VMware&#8217;s virtualization strategy (for now). Can&#8217;t say I disagree, especially if you understand the reduced overhead and patching needs of ESXi - 1/10th the patching requirements? I&#8217;ll take it:</p>
<blockquote><p>During VMworld 2010 in San Francisco one of the big messages being pushed out to the attendees is that VMware ESX will no longer have a future. The 4.1 release will be the last release of VMware ESX, future releases will only come with ESXi. <a href="http://www.ntpro.nl/blog/archives/1567-VMware-ESX-is-End-of-Life,-in-the-future-only-VMware-ESXi-will-exist.html" target="_blank">Dauglas Phillips interviewed Sean and Charu from the ESXi team about what this will mean for customers</a>.</p></blockquote>
<p>Our 4.1 upgrade just changed a wee bit, I think.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/08/31/vsphere-4-1-last-version-of-esx-esxi-is-the-future/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Curious SQL database issue with vCenter Update 1</title>
		<link>http://www.motogobi.com/2010/08/27/curious-sql-database-issue-with-vcenter-update-1/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=curious-sql-database-issue-with-vcenter-update-1</link>
		<comments>http://www.motogobi.com/2010/08/27/curious-sql-database-issue-with-vcenter-update-1/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 15:53:29 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[break-fix]]></category>
		<category><![CDATA[not cool]]></category>
		<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=859</guid>
		<description><![CDATA[Ran into this error this morning, which of course took down one of our (1000+ VM) vCenter environments: The vCenter Server&#8217;s vpxd logs contain entries similar to: An unrecoverable problem has occurred, stopping the VMware VirtualCenter service. Check database connectivity before restarting. Error: Error[VdbODBCError] (-1) &#8220;ODBC error: (23000) &#8211; [Microsoft][SQL Native Client][SQL Server]Violation of PRIMARY [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-860" title="vcenter-installer" src="http://www.motogobi.com/wp-content/uploads/2010/08/vcenter-installer-150x150.jpg" alt="" width="150" height="150" />Ran into this error this morning, which of course took down one of our (1000+ VM) vCenter environments:</p>
<blockquote><p>The vCenter Server&#8217;s vpxd logs contain entries similar to:</p>
<p>An unrecoverable problem has occurred, stopping the VMware VirtualCenter service. Check database connectivity before restarting. Error: Error[VdbODBCError] (-1) &#8220;ODBC error: (23000) &#8211; [Microsoft][SQL Native Client][SQL Server]Violation of PRIMARY KEY constraint &#8216;PK_VPX_GUEST_DISK&#8217;. Cannot insert duplicate key in object &#8216;dbo.VPX_GUEST_DISK&#8217;.&#8221; is returned when executing SQL statement &#8220;INSERT INTO VPX_GUEST_DISK (VM_ID, PATH, CAPACITY, FREE_SPACE) VALUES (?, ?, ?, ?)&#8221;</p></blockquote>
<p>The link to the VMware knowledgebase article is here: <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1020317" target="_blank">vCenter Server service fails with the error: Violation of PRIMARY KEY constraint &#8216;PK_VPX_GUEST_DISK&#8217;</a></p>
<p>The curious part? That issue is addressed specifically by <a href="http://www.vmware.com/support/vsphere4/doc/vsp_vc40_u1_rel_notes.html" target="_blank">vCenter Update 1, Build 208111</a> and we&#8217;re running 208111. In any case, shutting down the vCenter service (ok, it wouldn&#8217;t run anyway) and running the SQL script supplied in the <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1020317" target="_blank">KB article</a> did the trick and fixed that which should probably already have been fixed. Still super happy we&#8217;re not running on Oracle anymore, though&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/08/27/curious-sql-database-issue-with-vcenter-update-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fantastic post on disk alignment and VMs</title>
		<link>http://www.motogobi.com/2010/06/18/fantastic-post-on-disk-alignment-and-vms/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=fantastic-post-on-disk-alignment-and-vms</link>
		<comments>http://www.motogobi.com/2010/06/18/fantastic-post-on-disk-alignment-and-vms/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 18:25:17 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Platespin]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=779</guid>
		<description><![CDATA[If you haven&#8217;t heard about disk alignment and you&#8217;re using virtual machines, you owe it to yourself and your most-likely-growing infrastructure to understand what alignment is all about. On a small scale it&#8217;s almost unnoticeable. But I can tell you that on a large scale it becomes a major pain for you or your storage [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.motogobi.com/wp-content/uploads/2010/06/alignment.jpg" rel="lightbox[779]"><img class="size-thumbnail wp-image-780 alignright" style="margin: 4px;" title="alignment" src="http://www.motogobi.com/wp-content/uploads/2010/06/alignment-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>If you haven&#8217;t heard about disk alignment and you&#8217;re using virtual machines, you owe it to yourself and your most-likely-growing infrastructure to understand what alignment is all about. On a small scale it&#8217;s almost unnoticeable. But I can tell you that on a large scale it becomes a major pain for you or your storage infrastructure team.</p>
<p>One quick tip: to check your disk offset on Windows systems, simply launch msinfo32.exe from the Run menu. See the thumbnail of this post for a screenshot.</p>
<p>From <a href="http://virtualgeek.typepad.com/virtual_geek/2010/06/so-why-all-the-fuss-about-alignment.html" target="_blank">VirtualGeek&#8217;s excellent post</a>:</p>
<blockquote><p>The purpose of alignment is to minimize extraneous internal array operations. All arrays have internal constructs that are generally a function of the RAID model (and also the filesystem alignment, and in some cases logical page table constructs in virtually provisioned models).</p>
<p>&lt;snip&gt;</p>
<p>All the funky goodness is done via either filesystem or another (pages commonly) abstraction on TOP of the RAID abstraction. Think of a 4K NTFS IO operation in a Guest making it&#8217;s way down to the array. Once it gets there, let&#8217;s say the array has a 64K stripe, but a 1MB &#8220;page&#8221; used for these fancy features. Falling into two 1MB logical memory pages as an example &#8211; where statistically it&#8217;s much more likely to land on a boundary if the volume is aligned on a 4K boundary.</p></blockquote>
<p>It&#8217;s very worth your time to delve into this article and find out how your environment is set up, like right now. You might find your templates are mis-aligned, or in our case, that VMware Converter does not properly align disks on conversion (wonder-app <a href="http://www.novell.com/products/migrate/" target="_blank">Platespin Migrate</a> does, in fact, give you properly-aligned disks).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/06/18/fantastic-post-on-disk-alignment-and-vms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update on a “failed” HA, split-brain event</title>
		<link>http://www.motogobi.com/2010/06/04/update-on-a-failed-ha-split-brain-event/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=update-on-a-failed-ha-split-brain-event</link>
		<comments>http://www.motogobi.com/2010/06/04/update-on-a-failed-ha-split-brain-event/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 13:47:57 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=773</guid>
		<description><![CDATA[So some interesting stuff has fallen out of the investigation we&#8217;ve done regarding how VMware High Availability handled five of our hosts falling off the network last week. In speaking with VMware&#8217;s support staff I&#8217;ve learned a few things to keep in mind when planning architecture, as well as how to respond to something like [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-774" title="vmwareresourcepool2" src="http://www.motogobi.com/wp-content/uploads/2010/06/vmwareresourcepool2-150x150.gif" alt="" width="150" height="150" />So some interesting stuff has fallen out of the investigation we&#8217;ve done regarding how <a href="http://www.motogobi.com/vsphere-high-availability-and-the-split-brain-scenario/">VMware High Availability handled five of our hosts falling off the network last week</a>. In speaking with VMware&#8217;s support staff I&#8217;ve learned a few things to keep in mind when planning architecture, as well as how to respond to something like this in the future (hint: don&#8217;t panic). Turns out, ESX didn&#8217;t really fail as much as it politely gave up, opting to take the route that seems to be the least harmful to our guest VMs&#8217; operating systems. Admit it, we&#8217;ve all been there: you&#8217;re working on a Windows machine, it&#8217;s not responding, and you get to the point where you just hit the reset button. Well, VMware will let you &#8211; and only you &#8211; take that final step towards OS recovery during an event like this.<br />
<span id="more-773"></span><br />
So our HA event was a little more in-depth than what High Availability is normally set up to handle. We had five hosts experience this in total but the same thing happened on each &#8211; so I&#8217;ll focus on only a single host for this post. When the host found itself isolated from the network, unable to reach any of the other hosts in the cluster via the ServiceConsole network connection, it correctly understood that it was isolated and started to gracefully shut down each of it&#8217;s running VMs. Basically this was a &#8220;<a href="http://www.yellow-bricks.com/2009/04/15/the-basics-how-to-kill-a-vm-thats-stuck-during-shutdown/" target="_blank">stop trysoft</a>&#8221; command sent to the VM. However, we also had problems with the network connections for the NFS datastore connections &#8211; so the ESX host had a running VM process in memory but no disk or lockfiles to work with on the back end of that VM.</p>
<p>According to VMware support, ESX will not  go any further in trying to shut down your VM &#8211; it will not just kill the process of that VM running in memory. If ESX can&#8217;t perform a graceful shutdown of a VM it will stop trying to get that VM process shut down.</p>
<p>That&#8217;s an important thing to understand and remember and directly speaks to what we saw: when some of our ESX hosts regained network connectivity, we had the <a href="http://www.motogobi.com/vsphere-high-availability-and-the-split-brain-scenario/" target="_blank">classic split-brain scenario</a>. We would open the console to a VM, see a <a href="http://en.wikipedia.org/wiki/Blue_Screen_of_Death" target="_blank">BSOD</a>, and power off the VM &#8211; and then almost immediately see the running operating system in that same console window. What we were watching was the BSOD process on the formerly-isolated ESX host being stopped, replaced by the healthy process of the VM when it was brought up on one of the surviving hosts.</p>
<p>So some take-away from this event?</p>
<ul>
<li>Once we realized that we had lost both the Service Console connection <em>and</em> the NFS datastore connection, we simply should have taken note of what VMs were still running in memory by using esxtop and then powered off the ESX host until the network outage was resolved. The other surviving hosts were already booting up the VMs. The key here, obviously, is that this is a manual process &#8211; if this outage occurred and resolved itself before we could get to the isolated hosts we&#8217;d still end up with a split-brain problem.</li>
<li>We might want to reconsider our use of NFS and it&#8217;s dependence on network connectivity to the datastores. This major outage interrupted TCP/IP traffic at many different layers of the network, to the point where NIC redundancy and failover did not occur. It&#8217;s been my experience that FC SAN, while more expensive, also has been more robust and less prone to outages &#8211; the vast majority of our outages involving ESX have been Ethernet-related problems.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/06/04/update-on-a-failed-ha-split-brain-event/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vSphere High Availability and the split-brain scenario</title>
		<link>http://www.motogobi.com/2010/05/28/vsphere-high-availability-and-the-split-brain-scenario/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=vsphere-high-availability-and-the-split-brain-scenario</link>
		<comments>http://www.motogobi.com/2010/05/28/vsphere-high-availability-and-the-split-brain-scenario/#comments</comments>
		<pubDate>Fri, 28 May 2010 16:08:36 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[not cool]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[zombies]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=766</guid>
		<description><![CDATA[So we ran into this last night and are trying to work through why things happened the way they did &#8211; which is to say, why we had some support personnel on the phone who said &#8220;it shouldn&#8217;t do that.&#8221; The long and short of what a split-brain scenario is this: You have two hosts [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-767" title="ha-restart-priority" src="http://www.motogobi.com/wp-content/uploads/2010/05/ha-restart-priority-150x150.png" alt="" width="150" height="150" />So we ran into this last night and are trying to work through why things happened the way they did &#8211; which is to say, why we had some support personnel on the phone who said &#8220;it shouldn&#8217;t do that.&#8221; The long and short of what a split-brain scenario is this:</p>
<p>You have two hosts with VMs running in an HA cluster. Host 1 gets completely isolated from the network &#8211; no service console, no guest net connections, nothing &#8211; but the VMs are still running on it. If you have your HA settings set up to <em>not</em> power down those virtual machines on isolation, HA has already started up those VMs on Host 2 &#8211; and when Host 1 reconnects to the network (with it&#8217;s never-shut-down-VMs) you&#8217;ve now got two VMX processes running in memory on two hosts. This is not good.</p>
<p><span id="more-766"></span></p>
<p>The current solution is to make sure that your HA settings, as shown in the attached picture, are such that a host will power off it&#8217;s virtual machines when it finds itself isolated,  thereby making sure that only one VMX process is running as. But there is still a window of time &#8211; 12 seconds by default &#8211; where a reconnection of that isolated hosts can mean that you&#8217;ll end up with those two VMS processes running on separate hosts. In my experience so far, if you&#8217;re running HA you&#8217;re going to run into this situation sooner rather than later. Some notes on what we saw last night:</p>
<ul>
<li>HA was set up correctly to shut down VMs on isolation. Yet no VMs were shut down on isolated hosts, even after several minutes of isolation.</li>
<li>We started to manually take note of running VMs on isolated hosts using <em>esxtop</em>, shut down the hosts by the command line through iLO, and re-registered them manually on good hosts.</li>
<li>Before we could finish this, network connectivity was restored and we found ourselves in a split-brain situation. It was fairly easy to tell what was going on by looking at the listing for VMs in the cluster. In the column for which host a VM was registered on, you&#8217;d see it change back and forth every few seconds.</li>
<li>The best course of action, unfortunately, was to right-click the VM and power it off. In some cases we&#8217;d check the VM&#8217;s console and see a BSOD, power it off, and immediately the console would switch to booted Windows login screen &#8211; that meant that one of the VMX processes was the BSOD (the &#8220;old&#8221; process) and that the new process was the one where HA had taken over and properly booted up the VM.</li>
</ul>
<p>So the largest concern on our part right now is that isolation response &#8211; why didn&#8217;t these hosts know to start shutting down their VMs? We&#8217;re running 4.0U1, possibly 3-4 patches back, though. We&#8217;re working with VMware&#8217;s support personnel to determine the root cause on that. The good news, though, is that <a href="http://www.yellow-bricks.com/2010/03/29/cool-new-ha-feature-coming-up-to-prevent-a-split-brain-situation/" target="_blank">vSphere 4.0 Update 2 should include code to directly address this long-standing problem with High Availability</a>. Currently, if you know enough to connect directly to each ESX host during this split-brain outbreak, you&#8217;ll be greeted with a dialog box to release the lock on a VM and resolve the split-brain situation for that VM. In Update 4, apparently, this will be auto-answered for you. After last night, I can&#8217;t wait&#8230;</p>
<p><a href="http://www.motogobi.com/tag/zombies/">zombies tag</a> applies &#8217;cause that&#8217;s what it feels like is going on when you&#8217;re in the thick of it <img src='http://www.motogobi.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/05/28/vsphere-high-availability-and-the-split-brain-scenario/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VCP goodness.</title>
		<link>http://www.motogobi.com/2010/05/20/vcp-goodness/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=vcp-goodness</link>
		<comments>http://www.motogobi.com/2010/05/20/vcp-goodness/#comments</comments>
		<pubDate>Thu, 20 May 2010 18:00:45 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Meatspace]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=739</guid>
		<description><![CDATA[I&#8217;ll have to wait for the paperwork to come through in a bit, but I nailed my VCP410 exam this morning. Ah, the load off my chest at the moment&#8230; &#8211; mike]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll have to wait for the paperwork to come through in a bit, but I nailed my VCP410 exam this morning. Ah, the load off <em>my</em> chest at the moment&#8230;</p>
<p> &#8211; mike</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/05/20/vcp-goodness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cancel a stuck VMTools installation from an ESX host</title>
		<link>http://www.motogobi.com/2010/03/26/cancel-a-stuck-vmtools-installation-from-an-esx-host/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=cancel-a-stuck-vmtools-installation-from-an-esx-host</link>
		<comments>http://www.motogobi.com/2010/03/26/cancel-a-stuck-vmtools-installation-from-an-esx-host/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 14:06:11 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=525</guid>
		<description><![CDATA[This little tidbit from The Lone Sysadmin saved our bacon this morning: if you&#8217;re finding it impossible to migrate a VM off of a host because of a stuck VMTools installation process, there&#8217;s a quick way to kill this process off via the command line to get things moving along. First, you need to know [...]]]></description>
			<content:encoded><![CDATA[<p>This little tidbit from <a href="http://lonesysadmin.net/2009/12/11/how-to-cancel-a-stuck-vmware-tools-install-from-the-esx-cli/" target="_blank">The Lone Sysadmin</a> saved our bacon this morning: if you&#8217;re finding it impossible to migrate a VM off of a host because of a stuck VMTools installation process, there&#8217;s a quick way to kill this process off via the command line to get things moving along. First, you need to know the process ID of the VM you&#8217;re working with (run this from the host where the VM is currently living):</p>
<p><code>/usr/bin/vmware-cmd /vmfs/volumes/datastore/vmname/vmname.vmx getid</code></p>
<p>This should return something like &#8220;getid() = 192&#8243;</p>
<p>Using that ID you can then cancel that tools install:</p>
<p><code>/usr/bin/vmware-vim-cmd vmsvc/tools.cancelinstall</code></p>
<p>Voila! No more tools install, and migration should work normally. Huge thanks, again, to <a href="http://lonesysadmin.net/2009/12/11/how-to-cancel-a-stuck-vmware-tools-install-from-the-esx-cli/" target="_blank">Bob over at The Lone Sysadmin</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/03/26/cancel-a-stuck-vmtools-installation-from-an-esx-host/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clearing the VI Client recent connections dialog</title>
		<link>http://www.motogobi.com/2010/03/17/clearing-the-vi-client-recent-connections-dialog/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=clearing-the-vi-client-recent-connections-dialog</link>
		<comments>http://www.motogobi.com/2010/03/17/clearing-the-vi-client-recent-connections-dialog/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 18:58:51 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=516</guid>
		<description><![CDATA[If you end up using VMware&#8217;s VI Client to connect to multiple vCenter servers or ESX/ESXi hosts, you might find yourself a little annoyed at how many saved connections show up when you go to launch a new connection. This becomes ever more annoying when you&#8217;re connecting to multiple servers named somewhat the same as [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.motogobi.com/wp-content/uploads/2010/03/viclient.png" rel="lightbox[516]"><img class="alignleft size-thumbnail wp-image-517" title="viclient" src="http://www.motogobi.com/wp-content/uploads/2010/03/viclient-150x150.png" alt="" width="150" height="150" /></a>If you end up using <a href="http://pubs.vmware.com/vi301/admin/wwhelp/wwhimpl/common/html/wwhelp.htm?context=admin&amp;file=BSA_Inventory.9.2.html" target="_blank">VMware&#8217;s VI Client</a> to connect to multiple vCenter servers or ESX/ESXi hosts, you might find yourself a little annoyed at how many saved connections show up when you go to launch a new connection. This becomes ever more annoying when you&#8217;re connecting to multiple servers named somewhat the same as the client will start auto-completing your selections. This has reached it&#8217;s pain point this week as we transition to similarly-named vCenter servers and I keep fat-fingering what I&#8217;m typing.</p>
<p>If you want to clear that saved connections dialog, it&#8217;s a simple registry edit in XP. Navigate to:</p>
<p><code>HKEY_CURRENT_USER\Software\VMware\VMWare Infrastructure Client\Preferences\RecentConnections</code></p>
<p>and simply delete the connections you don&#8217;t want (DO NOT delete the entire key, just the connections in that reg key). Enjoy your clutter-free VI Client&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/03/17/clearing-the-vi-client-recent-connections-dialog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick note on working with vmfsktools</title>
		<link>http://www.motogobi.com/2010/02/01/quick-note-on-working-with-vmfsktools/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=quick-note-on-working-with-vmfsktools</link>
		<comments>http://www.motogobi.com/2010/02/01/quick-note-on-working-with-vmfsktools/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 22:11:55 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.motogobi.com/?p=434</guid>
		<description><![CDATA[So I&#8217;ve been restoring some Windows servers from NetApp snapshots today, specifically single hard disks that had been having problems (long story involving Windows problems, etc). I found this pretty easy to do once I got the syntax down &#8211; basically, all I was looking to do was to restore the C: of a server, [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been restoring some Windows servers from NetApp snapshots today, specifically single hard disks that had been having problems (long story involving Windows problems, etc). I found this pretty easy to do once I got the syntax down &#8211; basically, all I was looking to do was to restore the C: of a server, but keep it&#8217;s D: intact &#8211; that way I&#8217;d keep the most recent data, in this case some SQL files, but could roll back to a point where the Windows OS was a little less hosed up. Mostly for my own quick reference in the future, this is how I cranked a bunch of these out.</p>
<p><span id="more-434"></span>So, found my snapshot and all the files of the VM (one line):</p>
<blockquote><p>/vmfs/volumes/NFSSTORE/.snapshot/nightly.2010-01-31_0000/SERVERNAME</p></blockquote>
<p>I then found my destination, or where the VM currently lives:</p>
<blockquote><p>/vmfs/volumes/NFSSTORE/SERVERNAME</p></blockquote>
<p>I&#8217;m particularly interested in SERVERNAME.vmdk, which is the C: in this case. In order to not run into myself, I renamed the current, not-booting SERVERNAME.vmdk using vmfsktools while in the working directory of the current VM:</p>
<blockquote><p>vmkfstools -E SERVERNAME.vmdk SERVERNAME_old.vmdk</p></blockquote>
<p>Then, this is as simple as importing the .vmdk from the .snapshot directory to the current working directory of the VM. Yes, you can use cp to do this, but vmfsktools is hella faster (one line):</p>
<blockquote><p>vmkfstools -i /vmfs/volumes/NFSSTORE/.snapshot/nightly.2010-01-31_0000/SERVERNAME/SERVERNAME.vmdk /vmfs/volumes/NFSSTORE/SERVERNAME/SERVERNAME.vmdk</p></blockquote>
<p>Since the .vmx file is still configured with the <em>SERVERNAME.vmdk</em> and <em>SERVERNAME_1.vmdk</em> disk files, there shouldn&#8217;t be any need to reconfigure the VM before powering it on. Finally, I verified that the machine was booting normally and deleted the <em>_old</em> file to save disk space.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.motogobi.com/2010/02/01/quick-note-on-working-with-vmfsktools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
