<?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>vReference &#187; ESX</title>
	<atom:link href="http://www.vReference.com/tag/esx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vReference.com</link>
	<description>guides, links and news for VMware and virtualization technologies</description>
	<lastBuildDate>Mon, 19 Jul 2010 04:10:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>n+1 is hogwash!</title>
		<link>http://www.vReference.com/2010/02/15/n1-is-hogwash/</link>
		<comments>http://www.vReference.com/2010/02/15/n1-is-hogwash/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 15:03:31 +0000</pubDate>
		<dc:creator>Forbes Guthrie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[HA]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere4]]></category>

		<guid isPermaLink="false">http://www.vReference.com/?p=687</guid>
		<description><![CDATA[Too frequently I hear the expression n+1 as a model for ESX clusters to provide High Availability.  If you EVER expect to patch ESX servers without VM downtime then you need at least(†) n+2.  When running your clusters to only n+1, you can never safely put one of...<p>=====
<a href="http://www.vReference.com/2010/02/15/n1-is-hogwash/">n+1 is hogwash!</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>



No related posts.]]></description>
			<content:encoded><![CDATA[<p>Too frequently I hear the expression <em>n+1</em> as a model for ESX clusters to provide High Availability.  If you EVER expect to patch ESX servers without VM downtime then you need at least(†) n+2.  When running your clusters to only n+1, you can never safely put one of your hosts in Maintenance Mode; not if High Availability is important to you.</p>
<p><a href="http://www.vReference.com/wp-content/uploads/HA_failover.png"><img class="aligncenter size-full wp-image-689" title="HA failover" src="http://www.vReference.com/wp-content/uploads/HA_failover.png" alt="" width="413" height="113" /></a></p>
<p>Footnote: If you don&#8217;t understand the importance of HA slot sizes, <a href="http://www.yellow-bricks.com/vmware-high-availability-deepdiv/">go learn</a>.</p>
<p>=====
<a href="http://www.vReference.com/2010/02/15/n1-is-hogwash/">n+1 is hogwash!</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.vReference.com/2010/02/15/n1-is-hogwash/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t make /tmp too small</title>
		<link>http://www.vReference.com/2009/11/13/dont-make-tmp-too-small/</link>
		<comments>http://www.vReference.com/2009/11/13/dont-make-tmp-too-small/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 20:17:45 +0000</pubDate>
		<dc:creator>Forbes Guthrie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[vSphere4]]></category>

		<guid isPermaLink="false">http://www.vReference.com/?p=472</guid>
		<description><![CDATA[The default GUI install of ESX4 makes the /tmp partition 1GB and even then it is only categorized as optional.  I&#8217;ve been asked several times why you&#8217;d want to make /tmp any bigger.  If it fills up you just clear it out, right? Well here&#8217;s...<p>=====
<a href="http://www.vReference.com/2009/11/13/dont-make-tmp-too-small/">Don&#8217;t make /tmp too small</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>



Related posts:<ol><li><a href='http://www.vReference.com/2010/01/11/create-local-vmfs-with-8mb-block-size-during-esx4-kickstart-install/' rel='bookmark' title='Permanent Link: Create local VMFS with 8MB block size during ESX4 kickstart install'>Create local VMFS with 8MB block size during ESX4 kickstart install</a></li>
<li><a href='http://www.vReference.com/2009/01/26/powershell-script-for-service-console-memory/' rel='bookmark' title='Permanent Link: PowerShell script for Service Console memory'>PowerShell script for Service Console memory</a></li>
<li><a href='http://www.vReference.com/2009/10/28/vreference-vsphere-4-0-card-updated/' rel='bookmark' title='Permanent Link: vReference vSphere 4.0 card updated'>vReference vSphere 4.0 card updated</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The default GUI install of ESX4 makes the /tmp partition 1GB and even then it is only categorized as optional.  I&#8217;ve been asked several times why you&#8217;d want to make /tmp any bigger.  If it fills up you just clear it out, right?</p>
<p>Well here&#8217;s a good reason.  It seems that VUM (vCenter Update Manager) uses /tmp.  When you stage updates, VUM copies all the patches to the folder /tmp/updatecache.  It does the sensible thing and checks that there is enough space first, but if it can&#8217;t then it tries to create a ramdisk.  I don&#8217;t think I&#8217;m that keen on my server&#8217;s ram being tied up with patches.  Sometimes you might want to stage the patches days in advance of an outage.  I&#8217;d hope that the ESX is clever enough to dump the ramdisk if there was any sort of memory contention, but still.</p>
<p>Anyway, with ESX3 I know the patches could accumulate to quite a size (a couple of GBs if you left them a few months). I hear ESX4 is better in this regard, however I would suggest keeping at least 2GB for /tmp during the install.</p>
<p>VUM isn&#8217;t a crucial service.  You can always manually copy patches to a different partition, but VUM (especially the new staging feature) is a real time-saver so I know I&#8217;ll be making sure there is plenty of space in /tmp.</p>
<p>=====
<a href="http://www.vReference.com/2009/11/13/dont-make-tmp-too-small/">Don&#8217;t make /tmp too small</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>


<p>Related posts:<ol><li><a href='http://www.vReference.com/2010/01/11/create-local-vmfs-with-8mb-block-size-during-esx4-kickstart-install/' rel='bookmark' title='Permanent Link: Create local VMFS with 8MB block size during ESX4 kickstart install'>Create local VMFS with 8MB block size during ESX4 kickstart install</a></li>
<li><a href='http://www.vReference.com/2009/01/26/powershell-script-for-service-console-memory/' rel='bookmark' title='Permanent Link: PowerShell script for Service Console memory'>PowerShell script for Service Console memory</a></li>
<li><a href='http://www.vReference.com/2009/10/28/vreference-vsphere-4-0-card-updated/' rel='bookmark' title='Permanent Link: vReference vSphere 4.0 card updated'>vReference vSphere 4.0 card updated</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vReference.com/2009/11/13/dont-make-tmp-too-small/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Firewall diagram &#8211; updated to version 3</title>
		<link>http://www.vReference.com/2009/09/22/firewall-diagram-updated-to-version-3/</link>
		<comments>http://www.vReference.com/2009/09/22/firewall-diagram-updated-to-version-3/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 17:54:36 +0000</pubDate>
		<dc:creator>Forbes Guthrie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere4]]></category>

		<guid isPermaLink="false">http://www.vReference.com/?p=371</guid>
		<description><![CDATA[Dudley passed me the latest version of the Firewall diagram.  Go and grab it: Here&#8217;s what&#8217;s new since the last download: What&#8217;s new in v3: Now synchronized with &#8220;VMware Network Ports Compendium v3&#8243; What&#8217;s new in v213: Change port range in VUM to 9000-9100 (and...<p>=====
<a href="http://www.vReference.com/2009/09/22/firewall-diagram-updated-to-version-3/">Firewall diagram &#8211; updated to version 3</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>



Related posts:<ol><li><a href='http://www.vReference.com/2010/01/05/firewall-diagram-version-4/' rel='bookmark' title='Permanent Link: Firewall Diagram &#8211; version 4'>Firewall Diagram &#8211; version 4</a></li>
<li><a href='http://www.vReference.com/2010/02/23/firewall-diagram-version-5/' rel='bookmark' title='Permanent Link: Firewall diagram &#8211; version 5'>Firewall diagram &#8211; version 5</a></li>
<li><a href='http://www.vReference.com/2010/06/01/firewall-diagram-version-6/' rel='bookmark' title='Permanent Link: Firewall diagram &#8211; version 6'>Firewall diagram &#8211; version 6</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Dudley passed me the latest version of the Firewall diagram.  Go and grab it:</p>
<p><a href="http://www.vReference.com/downloads/ConnectionsPorts-v300.pdf"><img class="aligncenter size-full wp-image-254" title="ConnectionsPorts-v300.pdf" src="http://www.vReference.com/wp-content/uploads/Ports.png" alt="ConnectionsPorts-v300.pdf" width="240" height="160" /> </a></p>
<p>Here&#8217;s what&#8217;s new since the last download:</p>
<p style="padding-left: 30px;">What&#8217;s new in v3:<br />
Now synchronized with &#8220;VMware Network Ports Compendium v3&#8243;</p>
<p style="padding-left: 30px;">What&#8217;s new in v213:<br />
Change port range in VUM to 9000-9100 (and not 9000-9010)</p>
<p style="padding-left: 30px;">What&#8217;s new in v212:<br />
Added SRM Port 9007 for WSDL, SOAL<br />
Changed SRM Port 443 to Port 80 for Communication with remote vCenter Server</p>
<p>He&#8217;s also given me access to his &#8220;source&#8221; document.  It&#8217;s a  spreadsheet which makes looking for a specific port when troubleshooting much easier.  You can grab yourself a copy here:</p>
<p><a href="http://www.vReference.com/downloads/VMwareNetworkPortCompendium-v3.xls"><img class="aligncenter size-full wp-image-372" title="Connections&amp;PortsSpreadsheet-v300.pdf" src="http://www.vReference.com/wp-content/uploads/NetworkPortCompendium-300x173.PNG" alt="NetworkPortCompendium" width="300" height="173" /> </a></p>
<p>Dudley maintains on online version here: <a href="http://webbrain.com/brainpage/brain/89EFA582-2C35-F6A2-9ED1-7AD4810266C2/">http://webbrain.com/brainpage/brain/89EFA582-2C35-F6A2-9ED1-7AD4810266C2/</a></p>
<p>=====
<a href="http://www.vReference.com/2009/09/22/firewall-diagram-updated-to-version-3/">Firewall diagram &#8211; updated to version 3</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>


<p>Related posts:<ol><li><a href='http://www.vReference.com/2010/01/05/firewall-diagram-version-4/' rel='bookmark' title='Permanent Link: Firewall Diagram &#8211; version 4'>Firewall Diagram &#8211; version 4</a></li>
<li><a href='http://www.vReference.com/2010/02/23/firewall-diagram-version-5/' rel='bookmark' title='Permanent Link: Firewall diagram &#8211; version 5'>Firewall diagram &#8211; version 5</a></li>
<li><a href='http://www.vReference.com/2010/06/01/firewall-diagram-version-6/' rel='bookmark' title='Permanent Link: Firewall diagram &#8211; version 6'>Firewall diagram &#8211; version 6</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vReference.com/2009/09/22/firewall-diagram-updated-to-version-3/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Permissions to cancel vCenter tasks</title>
		<link>http://www.vReference.com/2009/06/24/permissions-to-cancel-vcenter-tasks/</link>
		<comments>http://www.vReference.com/2009/06/24/permissions-to-cancel-vcenter-tasks/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 18:29:17 +0000</pubDate>
		<dc:creator>Forbes Guthrie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[ESX]]></category>

		<guid isPermaLink="false">http://www.vReference.com/?p=198</guid>
		<description><![CDATA[Here&#8217;s a strange one I&#8217;ve come across in vCenter 2.5.  You have a user, who is a member of an AD group, which has been assigned the Administrator role in vCenter over a Datacenter (or a folder, cluster, host, &#8230;) &#8211; but not at the...<p>=====
<a href="http://www.vReference.com/2009/06/24/permissions-to-cancel-vcenter-tasks/">Permissions to cancel vCenter tasks</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>



Related posts:<ol><li><a href='http://www.vReference.com/2009/10/22/win-2008-defragmentation-schedule/' rel='bookmark' title='Permanent Link: Win 2008 defragmentation schedule'>Win 2008 defragmentation schedule</a></li>
<li><a href='http://www.vReference.com/2009/06/17/esx-35-patch-10-whats-that/' rel='bookmark' title='Permanent Link: ESX 3.5 patch 10 &#8211; what&#8217;s that?'>ESX 3.5 patch 10 &#8211; what&#8217;s that?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a strange one I&#8217;ve come across in vCenter 2.5.   You have a user, who is a member of an AD group, which has been assigned the Administrator role in vCenter over a Datacenter (or a folder, cluster, host, &#8230;) &#8211; but not at the root level.   Got that?   That user can do everything that you would expect an administrator to be able to, at that level.</p>
<p>However once that user generates tasks in vCenter, it seems they can&#8217;t cancel them.   From what I&#8217;ve found, canceling tasks seems to be a Global permission and is only allowed if your administrative permissions are set at the top of the tree.   Even though the task was created by them and is a task within their Datacenter.</p>
<p>Has anyone else seen this and come to a sensible work around?   Does it happen in vCenter 4.0?</p>
<p>=====
<a href="http://www.vReference.com/2009/06/24/permissions-to-cancel-vcenter-tasks/">Permissions to cancel vCenter tasks</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>


<p>Related posts:<ol><li><a href='http://www.vReference.com/2009/10/22/win-2008-defragmentation-schedule/' rel='bookmark' title='Permanent Link: Win 2008 defragmentation schedule'>Win 2008 defragmentation schedule</a></li>
<li><a href='http://www.vReference.com/2009/06/17/esx-35-patch-10-whats-that/' rel='bookmark' title='Permanent Link: ESX 3.5 patch 10 &#8211; what&#8217;s that?'>ESX 3.5 patch 10 &#8211; what&#8217;s that?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vReference.com/2009/06/24/permissions-to-cancel-vcenter-tasks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MSCS confusion</title>
		<link>http://www.vReference.com/2009/06/18/mscs-confusion/</link>
		<comments>http://www.vReference.com/2009/06/18/mscs-confusion/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 21:04:36 +0000</pubDate>
		<dc:creator>Forbes Guthrie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[MSCS]]></category>

		<guid isPermaLink="false">http://www.vReference.com/?p=187</guid>
		<description><![CDATA[Configuring MSCS (MicroSoft Clustering Service) in the VMware world is a complicated process.  I&#8217;ve setup many MSCS solutions on VMware, and I still cringe when a customer demands it as a solution. It works, but every time I do it there are always so many...<p>=====
<a href="http://www.vReference.com/2009/06/18/mscs-confusion/">MSCS confusion</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>



Related posts:<ol><li><a href='http://www.vReference.com/2009/09/01/vmworld-fault-tolerance/' rel='bookmark' title='Permanent Link: VMworld: Fault Tolerance'>VMworld: Fault Tolerance</a></li>
<li><a href='http://www.vReference.com/2008/01/25/corrupted-vmdk-and-vmsd-files/' rel='bookmark' title='Permanent Link: Corrupted vmdk and vmsd files'>Corrupted vmdk and vmsd files</a></li>
<li><a href='http://www.vReference.com/2008/07/14/problems-with-storage-vmotion/' rel='bookmark' title='Permanent Link: Problems with Storage VMotion'>Problems with Storage VMotion</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Configuring MSCS (MicroSoft Clustering Service) in the VMware world is a complicated process.  I&#8217;ve setup many MSCS solutions on VMware, and I still cringe when a customer demands it as a solution.  It works, but every time I do it there are always so many little challenges.</p>
<p>I&#8217;ll try to describe what creates the most common misunderstanding, as best I see it.  Keep in mind, this advice is for ESX 3.x.  I haven&#8217;t looked too closely at how vSphere4 handles it, but I don&#8217;t think it&#8217;s that different.  Also, I&#8217;m very willing to be corrected if you think I&#8217;m misrepresenting things.</p>
<p>There are 2 different settings, which sound very similar:</p>
<ul>
<li> Disk types (selected when you add a new disk) &#8211; VMDK, virtual RDM (virtual compatibility mode) or Physical RDM (physical compatibility mode)</li>
<li> SCSI bus sharing setting &#8211; Virtual sharing policy or Physical sharing policy (or none)</li>
</ul>
<p>They are distinct, and <strong>just because you chose a Virtual RDM, doesn&#8217;t mean the SCSI controller should necessarily be set to Virtual</strong> .</p>
<p>Let&#8217;s deal with the disks first.  I stand by the table on my reference card.  The critical deciding factors are the host configuration, need for snapshots and if you need SCSI target software to run.  The hosts can either be:</p>
<ul>
<li> Cluster in a box (CIB) &#8211; both MSCS servers are VMs running on the same ESX host</li>
<li> Cluster across boxes (CAB) &#8211; both MSCS servers are VMs running on different ESX hosts</li>
<li> Physical and VM (n+1) &#8211; one server is running natively on a physical server, the other is in a VM</li>
</ul>
<p><img src="http://www.vreference.com/wp-content/uploads/disk_types.png" alt="Disks" /></p>
<p>Now the SCSI bus sharing setting is different.  It often gets missed, because you don&#8217;t manually add the second controller (in fact you can&#8217;t).  You need to go back to the settings after you have added the first shared disk.  There are 3 settings here:</p>
<ul>
<li> None &#8211; This is for disks that aren&#8217;t shared between VMs (not the same as ESX hosts sharing VMFS volumes).  This is used for the disks which aren&#8217;t shared in the cluster, e.g. the VMs boot disks.  This is why shared disks have to be on a 2nd SCSI controller.</li>
<li> Virtual &#8211; <strong>only </strong> for CIB shared disks</li>
<li> Physical &#8211; For CAB and n+1 shared disks</li>
</ul>
<p><img src="http://www.vreference.com/wp-content/uploads/scsi_bus_sharing.png" alt="SCSI bus sharing" /></p>
<p>So, the problem can really lie in two areas:</p>
<ul>
<li> It&#8217;s easy to forget to change the SCSI bus sharing mode, as its not something you have to select.  So this often get left as None for the shared disks.</li>
<li> If you want a virtual RDM, you choose virtual SCSI mode if you are doing CIB (which is not recommended by VMware).  If you are doing CAB or n+1 with a virtual RDM, <strong>you must choose physical SCSI mode</strong> .</li>
</ul>
<p>Here is the latest 3.5 PDF for MSCS:<br />
<a href="http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_mscs.pdf">http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_mscs.pdf</a></p>
<p>Add to the mix, you need to understand Boot from SAN, Independent disks, Persistent/Nonpersistent, VMDK disk types, e.g. eagerzeroedthick &amp; additional SCSI controllers.  And its always changing; back in the days of ESX2, they called things pass-though and non-pass-through RDMs.  This is just to setup the hardware, wait until you have to configure the disks and cluster!</p>
<p>It&#8217;s definitely a rats nest, but I don&#8217;t blame VMware.  MSCS is a fairly complex beast, and is very touchy when it comes to its shared storage.  I&#8217;m sure VMware provided MSCS because its customers demanded it, but you can tell they certainly don&#8217;t want to promote its use.  Hopefully, the new Fault Tolerance features will draw most architects away from MSCS.</p>
<p>=====
<a href="http://www.vReference.com/2009/06/18/mscs-confusion/">MSCS confusion</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>


<p>Related posts:<ol><li><a href='http://www.vReference.com/2009/09/01/vmworld-fault-tolerance/' rel='bookmark' title='Permanent Link: VMworld: Fault Tolerance'>VMworld: Fault Tolerance</a></li>
<li><a href='http://www.vReference.com/2008/01/25/corrupted-vmdk-and-vmsd-files/' rel='bookmark' title='Permanent Link: Corrupted vmdk and vmsd files'>Corrupted vmdk and vmsd files</a></li>
<li><a href='http://www.vReference.com/2008/07/14/problems-with-storage-vmotion/' rel='bookmark' title='Permanent Link: Problems with Storage VMotion'>Problems with Storage VMotion</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vReference.com/2009/06/18/mscs-confusion/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>ESX 3.5 patch 10 &#8211; what&#8217;s that?</title>
		<link>http://www.vReference.com/2009/06/17/esx-35-patch-10-whats-that/</link>
		<comments>http://www.vReference.com/2009/06/17/esx-35-patch-10-whats-that/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 16:07:21 +0000</pubDate>
		<dc:creator>Forbes Guthrie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://dev.vreference.com/?p=143</guid>
		<description><![CDATA[According to the vSphere 4.0 release notes (http://www.vmware.com/support/vsphere4/doc/vsp_esx40_vc40_rel_notes.html ) vCenter Server 4.0 becomes unresponsive in large environments if managing ESX Server 3.5 hosts prior to ESX 3.5 patch 10 vCenter Server 4.0 can become unresponsive in large environments after 30 days if it manages any...<p>=====
<a href="http://www.vReference.com/2009/06/17/esx-35-patch-10-whats-that/">ESX 3.5 patch 10 &#8211; what&#8217;s that?</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>



Related posts:<ol><li><a href='http://www.vReference.com/2010/02/15/n1-is-hogwash/' rel='bookmark' title='Permanent Link: n+1 is hogwash!'>n+1 is hogwash!</a></li>
<li><a href='http://www.vReference.com/2010/03/15/official-likewise-software-to-be-included-in-next-vsphere-release/' rel='bookmark' title='Permanent Link: Official: Likewise software to be included in next vSphere release'>Official: Likewise software to be included in next vSphere release</a></li>
<li><a href='http://www.vReference.com/2009/11/09/dangerous-default-on-esx-4/' rel='bookmark' title='Permanent Link: Dangerous default on ESX 4'>Dangerous default on ESX 4</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>According to the vSphere 4.0 release notes (<a href="http://www.vmware.com/support/vsphere4/doc/vsp_esx40_vc40_rel_notes.html">http://www.vmware.com/support/vsphere4/doc/vsp_esx40_vc40_rel_notes.html</a> )</p>
<blockquote><p><strong>vCenter Server 4.0 becomes unresponsive in large environments if managing ESX Server 3.5 hosts prior to ESX 3.5 patch 10</strong><br />
vCenter Server 4.0 can become unresponsive in large environments after 30 days if it manages any ESX Server 3.5 hosts prior to ESX Server 3.5 patch 10.<br />
Workaround: Upgrade to ESX Server 3.5 Update 4 if you are running ESX Server 3.5 with vCenter Server 4.0.</p></blockquote>
<p>What exactly is “patch 10”?   How do you know what build level qualifies?  Is there a single patch that can be applied?</p>
<p>If you upgrade to vCenter 4 and things become unresponsive after 30 days, patching all your disparate ESX servers isn’t going to be something that most large organizations can do quickly.  I&#8217;d say this is an important one.</p>
<p>I posed the question to my local SE, and several VMware contacts I have, but no-one seems to know.  Can anyone out there on the tubes clarify this one?</p>
<p>=====
<a href="http://www.vReference.com/2009/06/17/esx-35-patch-10-whats-that/">ESX 3.5 patch 10 &#8211; what&#8217;s that?</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>


<p>Related posts:<ol><li><a href='http://www.vReference.com/2010/02/15/n1-is-hogwash/' rel='bookmark' title='Permanent Link: n+1 is hogwash!'>n+1 is hogwash!</a></li>
<li><a href='http://www.vReference.com/2010/03/15/official-likewise-software-to-be-included-in-next-vsphere-release/' rel='bookmark' title='Permanent Link: Official: Likewise software to be included in next vSphere release'>Official: Likewise software to be included in next vSphere release</a></li>
<li><a href='http://www.vReference.com/2009/11/09/dangerous-default-on-esx-4/' rel='bookmark' title='Permanent Link: Dangerous default on ESX 4'>Dangerous default on ESX 4</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vReference.com/2009/06/17/esx-35-patch-10-whats-that/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recreate header/descriptor vmdk files &amp; recover failed Storage VMotion (DMotion)</title>
		<link>http://www.vReference.com/2008/11/13/recreate-headerdescriptor-vmdk-files-recover-failed-storage-vmotion-dmotion/</link>
		<comments>http://www.vReference.com/2008/11/13/recreate-headerdescriptor-vmdk-files-recover-failed-storage-vmotion-dmotion/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 17:40:08 +0000</pubDate>
		<dc:creator>Forbes Guthrie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[DMotion]]></category>
		<category><![CDATA[ESX]]></category>

		<guid isPermaLink="false">http://www.vmreference.com/?p=48</guid>
		<description><![CDATA[I had a another problem with Storage VMotion yesterday and found out a couple of interesting things. Firstly, there is a now a Knowledge Base article explaining how to recreate vmdk header files if they are missing.  This was news to me, so here&#8217;s the...<p>=====
<a href="http://www.vReference.com/2008/11/13/recreate-headerdescriptor-vmdk-files-recover-failed-storage-vmotion-dmotion/">Recreate header/descriptor vmdk files &amp; recover failed Storage VMotion (DMotion)</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>



Related posts:<ol><li><a href='http://www.vReference.com/2008/01/25/corrupted-vmdk-and-vmsd-files/' rel='bookmark' title='Permanent Link: Corrupted vmdk and vmsd files'>Corrupted vmdk and vmsd files</a></li>
<li><a href='http://www.vReference.com/2008/07/14/problems-with-storage-vmotion/' rel='bookmark' title='Permanent Link: Problems with Storage VMotion'>Problems with Storage VMotion</a></li>
<li><a href='http://www.vReference.com/2010/02/26/most-awesome-esx-script-known-to-mankind-ever/' rel='bookmark' title='Permanent Link: Most awesome ESX script known to mankind ever'>Most awesome ESX script known to mankind ever</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I had a another problem with Storage VMotion yesterday and found out a couple of interesting things.</p>
<p>Firstly, there is a now a Knowledge Base article explaining how to recreate vmdk header files if they are missing.  This was news to me, so here&#8217;s the link:</p>
<p><a href="http://kb.vmware.com/kb/1004232">http://kb.vmware.com/kb/1004232</a></p>
<p>Secondly, was discovering a sightly different approach to recovering a failed Storage VMotion (DMotion).  My previous experiences had involved something along these lines:</p>
<p><a href="http://communities.vmware.com/message/999890#999890">http://communities.vmware.com/message/999890#999890</a></p>
<p>Which basically breaks down to creating another snapshot, so that you will then be able to force a <strong>vmware-cmd <em>&#8230;/vmname.vmx</em> removesnapshots</strong></p>
<p>However this approach was messy, didn&#8217;t always commit properly and required editing the vmx file.</p>
<p>So yesterday, when facing a similar problem, I saw it resolved in slightly different way.  We started by checking the linking of parentCID to CID in the vmdk header files, as we had an issue with all the different DMotion snapshot files.  Then to commit the snapshots, we used <strong>vmkfstools -i</strong> <strong>&lt;<em>last_snapshot.vmdk</em>&gt;</strong> <strong>&lt;<em>destination.vmdk</em>&gt;</strong> to clone the disk to another file.  By sending the clone command to the last snapshot header file, it knew to roll all the chained snapshots, along with the original disk, into this new copy.</p>
<p>Obviously this method requires extra space for the second copy and can take longer, but you have the advantage that the original are untouched.</p>
<p><strong>Update:</strong></p>
<p>VMware has just released a new KB article covering the whole process: <a href="http://kb.vmware.com/kb/1007849"></a><a href="http://kb.vmware.com/kb/1007849">http://kb.vmware.com/kb/1007849</a></p>
<p>=====
<a href="http://www.vReference.com/2008/11/13/recreate-headerdescriptor-vmdk-files-recover-failed-storage-vmotion-dmotion/">Recreate header/descriptor vmdk files &amp; recover failed Storage VMotion (DMotion)</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>


<p>Related posts:<ol><li><a href='http://www.vReference.com/2008/01/25/corrupted-vmdk-and-vmsd-files/' rel='bookmark' title='Permanent Link: Corrupted vmdk and vmsd files'>Corrupted vmdk and vmsd files</a></li>
<li><a href='http://www.vReference.com/2008/07/14/problems-with-storage-vmotion/' rel='bookmark' title='Permanent Link: Problems with Storage VMotion'>Problems with Storage VMotion</a></li>
<li><a href='http://www.vReference.com/2010/02/26/most-awesome-esx-script-known-to-mankind-ever/' rel='bookmark' title='Permanent Link: Most awesome ESX script known to mankind ever'>Most awesome ESX script known to mankind ever</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vReference.com/2008/11/13/recreate-headerdescriptor-vmdk-files-recover-failed-storage-vmotion-dmotion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Command prompt colours</title>
		<link>http://www.vReference.com/2008/04/16/command-prompt-colours/</link>
		<comments>http://www.vReference.com/2008/04/16/command-prompt-colours/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 19:00:33 +0000</pubDate>
		<dc:creator>Forbes Guthrie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://vmreference.com/?p=17</guid>
		<description><![CDATA[Here&#8217;s an old trick which works great on ESX servers (thanks to this article on Linux Journal for reminding me).  It turns your prompt different colours to highlight when you are logged in as root. To make the prompt red when you&#8217;re running as root...<p>=====
<a href="http://www.vReference.com/2008/04/16/command-prompt-colours/">Command prompt colours</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>



Related posts:<ol><li><a href='http://www.vReference.com/2010/01/14/ad-and-sudo-integratation-in-kickstart/' rel='bookmark' title='Permanent Link: AD and sudo integratation in kickstart'>AD and sudo integratation in kickstart</a></li>
<li><a href='http://www.vReference.com/2009/06/24/permissions-to-cancel-vcenter-tasks/' rel='bookmark' title='Permanent Link: Permissions to cancel vCenter tasks'>Permissions to cancel vCenter tasks</a></li>
<li><a href='http://www.vReference.com/2010/01/11/create-local-vmfs-with-8mb-block-size-during-esx4-kickstart-install/' rel='bookmark' title='Permanent Link: Create local VMFS with 8MB block size during ESX4 kickstart install'>Create local VMFS with 8MB block size during ESX4 kickstart install</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vreference.com/wp-content/uploads/screenshotofsshconnection.png"><img class="aligncenter size-medium wp-image-31" title="screenshot of ssh connection" src="http://www.vreference.com/wp-content/uploads/screenshotofsshconnection-300x166.png" alt="" width="300" height="166" /></a><br />
Here&#8217;s an old trick which works great on ESX servers (thanks to this <a href="http://www.linuxjournal.com/content/highlight-your-shell-prompt-when-working-root-0">article on Linux Journal</a> for reminding me).  It turns your prompt different colours to highlight when you are logged in as root.</p>
<p>To make the prompt red when you&#8217;re running as root add this to /root/.bashrc:</p>
<p><strong> PS1=&#8217;\[\e[31m\]\u@\h:\w#\[\e[m\] &#8216;<br />
</strong></p>
<p>To make the prompt green when running as a normal user add this to ~/.bashrc:</p>
<p><strong>PS1=&#8217;\[\e[32m\]\u@\h:\w\$\[\e[m\] &#8216;<br />
</strong></p>
<p><strong>Update: </strong>If you want to add this to a kickstart script, do this:</p>
<p># Help identify when logged in as root<br />
echo &#8220;PS1=&#8217;\[\e[31m\]\u@\h:\w#\[\e[m\]&#8216;&#8221; &gt;&gt; /root/.bashrc<br />
echo &#8220;PS1=&#8217;\[\e[32m\]\u@\h:\w#\[\e[m\]&#8216;&#8221; &gt;&gt; /etc/skel/.bashrc</p>
<p>=====
<a href="http://www.vReference.com/2008/04/16/command-prompt-colours/">Command prompt colours</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>


<p>Related posts:<ol><li><a href='http://www.vReference.com/2010/01/14/ad-and-sudo-integratation-in-kickstart/' rel='bookmark' title='Permanent Link: AD and sudo integratation in kickstart'>AD and sudo integratation in kickstart</a></li>
<li><a href='http://www.vReference.com/2009/06/24/permissions-to-cancel-vcenter-tasks/' rel='bookmark' title='Permanent Link: Permissions to cancel vCenter tasks'>Permissions to cancel vCenter tasks</a></li>
<li><a href='http://www.vReference.com/2010/01/11/create-local-vmfs-with-8mb-block-size-during-esx4-kickstart-install/' rel='bookmark' title='Permanent Link: Create local VMFS with 8MB block size during ESX4 kickstart install'>Create local VMFS with 8MB block size during ESX4 kickstart install</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vReference.com/2008/04/16/command-prompt-colours/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Corrupted vmdk and vmsd files</title>
		<link>http://www.vReference.com/2008/01/25/corrupted-vmdk-and-vmsd-files/</link>
		<comments>http://www.vReference.com/2008/01/25/corrupted-vmdk-and-vmsd-files/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 19:00:48 +0000</pubDate>
		<dc:creator>Forbes Guthrie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://vmreference.com/?p=12</guid>
		<description><![CDATA[I wanted to blog here about a silly mistake I made yesterday. I need to expand a VM&#8217;s disk and was using the ol&#8217; vmkfstools -X. However, I obviously do this all too flippantly and forgot to check if there was any snapshots. oops. That...<p>=====
<a href="http://www.vReference.com/2008/01/25/corrupted-vmdk-and-vmsd-files/">Corrupted vmdk and vmsd files</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>



Related posts:<ol><li><a href='http://www.vReference.com/2008/11/13/recreate-headerdescriptor-vmdk-files-recover-failed-storage-vmotion-dmotion/' rel='bookmark' title='Permanent Link: Recreate header/descriptor vmdk files &amp; recover failed Storage VMotion (DMotion)'>Recreate header/descriptor vmdk files &amp; recover failed Storage VMotion (DMotion)</a></li>
<li><a href='http://www.vReference.com/2008/07/14/problems-with-storage-vmotion/' rel='bookmark' title='Permanent Link: Problems with Storage VMotion'>Problems with Storage VMotion</a></li>
<li><a href='http://www.vReference.com/2010/02/26/most-awesome-esx-script-known-to-mankind-ever/' rel='bookmark' title='Permanent Link: Most awesome ESX script known to mankind ever'>Most awesome ESX script known to mankind ever</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I wanted to blog here about a silly mistake I made yesterday.</p>
<p>I need to expand a VM&#8217;s disk and was using the ol&#8217; vmkfstools -X. However, I obviously do this all too flippantly and forgot to check if there was any snapshots. oops. That sunken feeling.</p>
<p>I corrupted the vmdk and the snapshot vmsd file.</p>
<p>Here&#8217;s how I fixed it all.</p>
<p>Firstly I couldn&#8217;t run anything against the original vmdk file, as it kept saying the file was locked by the host. I unregistered the VM from VC, put the ESX server into maintenance mode (which moved all the VMs off to other hosts in the clustering &#8211; fully enabled DRS) and power cycled the host. This remove the lock on the file thankfully.</p>
<p>The original vmdk had been 20GB before I tried expanding it to 30GB. So I created a new 20GB vmdk:<br />
# vmkfstools -c 20G -d thick silver1.vmdk</p>
<p>I then copied the contents of the broken 30GB disk into the new one:<br />
# dd if=silver-flat.vmdk of=silver1-flat.vmdk bs=1048576 count=20480</p>
<p>Moved the old vmdk and renamed the new one:<br />
# vmkfstools -E silver.vmdk silver.vmdk.old<br />
# vmkfstools -E silver1.vmdk silver.vmdk</p>
<p>All the snapshots rely upon a CID and a parentCID in their -00000x.vmdk files. I opened both snapshot disks to record the details.<br />
# cat silver-000001.vmdk<br />
# cat silver-000002.vmdk</p>
<p>Basically, 000002 parentCID is 000001&#8242;s CID. In turn 000001 parentID was set to point to the original vmdk. So I had to edit the new vmdk file and set this CID.<br />
# vi silver.vmdk</p>
<p>I was then able to power on the VM. Phew!</p>
<p>However the snapshots were still screwed up. When I tries to commit the snapshots with:<br />
# vmware-cmd silver.vmx removesnapshots</p>
<p>It thought it didn&#8217;t have any snapshots, but it was clearly using the two additional vmdk disks. The vmsd file was also corrupted. So I renamed the existing one:<br />
# mv silver.vmsd silver.vmsd.old</p>
<p>Then I created a new snapshot, to re-generate a new vmsd file:<br />
# vmware-cmd silver.vmx createsnapshot recreate_vmsd</p>
<p>And finally I could commit the snapshots:<br />
# vmware-cmd silver.vmx removesnapshots</p>
<p>Now all that was left was to increase the disk:<br />
#vmkfstools -X 30G silver.vmdk</p>
<p>I guess I won&#8217;t be doing that in a hurry again <img src='http://www.vReference.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>=====
<a href="http://www.vReference.com/2008/01/25/corrupted-vmdk-and-vmsd-files/">Corrupted vmdk and vmsd files</a>  originally posted by Forbes Guthrie on <a href="http://www.vReference.com">vReference</a>.
Subscribe to my <a href="http://feeds2.feedburner.com/vreference">RSS feed</a> for all the latest updates.</p>


<p>Related posts:<ol><li><a href='http://www.vReference.com/2008/11/13/recreate-headerdescriptor-vmdk-files-recover-failed-storage-vmotion-dmotion/' rel='bookmark' title='Permanent Link: Recreate header/descriptor vmdk files &amp; recover failed Storage VMotion (DMotion)'>Recreate header/descriptor vmdk files &amp; recover failed Storage VMotion (DMotion)</a></li>
<li><a href='http://www.vReference.com/2008/07/14/problems-with-storage-vmotion/' rel='bookmark' title='Permanent Link: Problems with Storage VMotion'>Problems with Storage VMotion</a></li>
<li><a href='http://www.vReference.com/2010/02/26/most-awesome-esx-script-known-to-mankind-ever/' rel='bookmark' title='Permanent Link: Most awesome ESX script known to mankind ever'>Most awesome ESX script known to mankind ever</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vReference.com/2008/01/25/corrupted-vmdk-and-vmsd-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
