<?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>harleystagner.com</title>
	
	<link>http://www.harleystagner.com</link>
	<description />
	<lastBuildDate>Fri, 18 Jun 2010 01:39:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Harleystagnercom" /><feedburner:info uri="harleystagnercom" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Harleystagnercom</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>When was the last time you thought VMotion was a bad idea?</title>
		<link>http://feedproxy.google.com/~r/Harleystagnercom/~3/v_hIgc5fmvM/when-was-the-last-time-you-thought-vmotion-was-a-bad-idea.php</link>
		<comments>http://www.harleystagner.com/vmware/when-was-the-last-time-you-thought-vmotion-was-a-bad-idea.php#comments</comments>
		<pubDate>Fri, 18 Jun 2010 01:39:24 +0000</pubDate>
		<dc:creator>Harley Stagner</dc:creator>
				<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.harleystagner.com/?p=331</guid>
		<description><![CDATA[I read a blog post over at Windows IT Pro recently that prompted this post. Mr. Greg Shields asks the question &#8220;When was the last time you VMotion-ed?&#8221;
To answer your question Mr. Shields, I did it just this morning and once this afternoon. Nobody even noticed.
Mr. Shields goes on to quote one of his clients:
Well, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I read a blog post over at Windows IT Pro recently that prompted this post. Mr. Greg Shields asks the question <a href="http://www.windowsitpro.com/blogs/VirtualizationProTips/tabid/2246/entryid/12902/Default.aspx">&#8220;When was the last time you VMotion-ed?</a>&#8221;</p>
<p>To answer your question Mr. Shields, I did it just this morning and once this afternoon. Nobody even noticed.</p>
<p>Mr. Shields goes on to quote one of his clients:</p>
<blockquote><p>Well, we thought about that.  But we found that we really don’t use VMotion pretty much ever.  We know that we can use VMotion, and sometimes we do.  But, our performance is acceptable so we don’t need DRM, and we find that that we’re really never doing activities that require us to relocate or re-balance our virtual machines.</p></blockquote>
<p>With a followup to this:</p>
<blockquote><p>That response really got me thinking about the uses of VMotion in contrast with all the publicity its feature gets in the IT press:</p>
<ul>
<li>You use VMotion prior to rebooting a host.</li>
<li>You use VMotion to re-balance load (often through DRM’s automated processes)</li>
<li>You use VMotion’s HA after an unexpected failure.</li>
</ul>
</blockquote>
<p>Since Mr. Shields didn&#8217;t mention a product that does not have a feature like Distributed Resource Scheduler (hence, the argument against it), I won&#8217;t either. However, considering the source, I can tell you that it is probably a Redmond-based product.</p>
<p>So, here is my response to Mr. Shields, since he asked:</p>
<p>Just a few small points to clarify for those new to VMware that may be reading this.</p>
<p>First, VMotion and HA are two different things. You don&#8217;t use &#8220;VMotion&#8217;s HA&#8221;.</p>
<p>HA or High Availability is when you have a host failure (for unplanned downtime).</p>
<p>VMotion is a live migration (for planned downtime such as maintenance). I find that those new to VMware get these two confused all the time.</p>
<p>DRS (Distributed Resource Scheduler), not DRM (Digital Rights Management?) is a feature that VMware uses to balance the load across the cluster of available host resources utilizing the VMotion functionality.</p>
<p>Having cleared up those few items, here is my perspective.</p>
<p>My clients like being able to use VMotion to do maintenance during normal business hours on their hosts. I see it all the time.</p>
<p>My clients also enjoy not worrying about performance at the host level (like you would do in the physical world) by utilizing DRS. As long as they have enough resources in the cluster and their virtual infrastructure architecture is properly designed, they don&#8217;t have to worry about manually placing or load balancing their VM&#8217;s on certain hosts. </p>
<p>In summary, I&#8217;m all for VMotion and DRS. You can leave DRM in iTunes. I buy all my music DRM free from Amazon anyway <img src='http://www.harleystagner.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  .</p>
<img src="http://feeds.feedburner.com/~r/Harleystagnercom/~4/v_hIgc5fmvM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.harleystagner.com/vmware/when-was-the-last-time-you-thought-vmotion-was-a-bad-idea.php/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.harleystagner.com/vmware/when-was-the-last-time-you-thought-vmotion-was-a-bad-idea.php</feedburner:origLink></item>
		<item>
		<title>VCDX Enterprise Admin Notes: Objective 2.5</title>
		<link>http://feedproxy.google.com/~r/Harleystagnercom/~3/fimBkaC3m3I/vcdx-enterprise-admin-notes-objective-2-5.php</link>
		<comments>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-objective-2-5.php#comments</comments>
		<pubDate>Sun, 10 Jan 2010 13:00:41 +0000</pubDate>
		<dc:creator>Harley Stagner</dc:creator>
				<category><![CDATA[VCDX]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.harleystagner.com/?p=320</guid>
		<description><![CDATA[This VCDX exam note will be short and sweet. The networking section has a lot of repeated lessons (which is good   ). The main takeaways for me in this section are:
Configure Advanced Service Console Networking: Redundant HA Heartbeat

There are two heartbeats that occur. Inter-node and network connectivity (Service Console default gateway by default).
Inter-node [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>This VCDX exam note will be short and sweet. The networking section has a lot of repeated lessons (which is good <img src='http://www.harleystagner.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). The main takeaways for me in this section are:</p>
<p><strong>Configure Advanced Service Console Networking: Redundant HA Heartbeat</strong></p>
<ul>
<li>There are two heartbeats that occur. Inter-node and network connectivity (Service Console default gateway by default).</li>
<li>Inter-node heartbeat occurs every 5 seconds by default</li>
<li>Network connectivity (read isolation response) heartbeat occurs every 15 seconds by default.</li>
<li>Redundant networking for HA can occur with NIC teams, a second service console, or both.</li>
<li>Advanced HA options for redundancy include:
<ul>
<li><strong><code>das.isolationaddress</code></strong> (Used to set another isolation heartbeat address. You can have up to 10 using <strong><code>das.isolationaddressX</code></strong>- where X is a number 1-10)</li>
<li><strong><code>das.usedefaultisolationaddress</code></strong> (Value is true or false. Determines if the default isolation address of the Service Console&#8217;s default gateway should be used.)</li>
<li><strong><code>das.failuredetectiontime</code></strong> (The timeout for the host (15000 milliseconds by default) to declare another host dead when receiving no heartbeats).</li>
<li><strong><code>das.failuredetectioninterval</code></strong> (Changes the inter-node heartbeat interval)</li>
</ul>
</li>
</ul>
<p><strong>Configure Hostname Resolution</strong></p>
<ul>
<li>Three files
<ul>
<li><strong><code>/etc/hosts</code></strong></li>
<li><strong><code>/etc/nsswitch.conf</code></strong> (Look for the &#8220;<code><strong>hosts:     files dns</code></strong>&#8221; entry. This determines the order of name resolution. Files then DNS).</li>
<li><strong><code>/etc/resolv.conf</code></strong> (Nameservers and search suffix are listed in this file).</li>
</ul>
</li>
</ul>
<img src="http://feeds.feedburner.com/~r/Harleystagnercom/~4/fimBkaC3m3I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-objective-2-5.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-objective-2-5.php</feedburner:origLink></item>
		<item>
		<title>VCDX Enterprise Admin Notes: Objective 2.3</title>
		<link>http://feedproxy.google.com/~r/Harleystagnercom/~3/FHLeG2Sp5sQ/vcdx-enterprise-admin-notes-objective-2-3.php</link>
		<comments>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-objective-2-3.php#comments</comments>
		<pubDate>Sat, 09 Jan 2010 18:39:47 +0000</pubDate>
		<dc:creator>Harley Stagner</dc:creator>
				<category><![CDATA[VCDX]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.harleystagner.com/?p=313</guid>
		<description><![CDATA[This VCDX exam note covers Objective 2.3 . This is a relatively short objective and much of the material has been covered in previous posts. So let&#8217;s dive in.
Define Configuration Options for VMKernel Ports: Peer DNS
While I have never used this option, it is my understanding that peer dns is used when you are using [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>This VCDX exam note covers <strong>Objective 2.3</strong> . This is a relatively short objective and much of the material has been covered in previous posts. So let&#8217;s dive in.</p>
<p><strong>Define Configuration Options for VMKernel Ports: Peer DNS</strong></p>
<p>While I have never used this option, it is my understanding that peer dns is used when you are using DHCP (which should not happen in production) to give the IP information to a vmkernel NIC. It is used to gather the DNS from the DHCP server. What I do not know is what parameters the <strong><code>-P</code> </strong>or <strong><code>--peerdns</code></strong> options takes. Does anyone out there know this?</p>
<ul>
<li><strong><code>esxcfg-vmknic -P</code></strong></li>
<li><strong><code>esxcfg-vmknic --peerdns</code></strong></li>
</ul>
<p>MTU and TSO have already been covered in a <a href="http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-enable-advanced-networking-capabilities.php">previous post</a>.</p>
<p><strong>Understand VMKernel Routing</strong></p>
<p>Well, the VMKernel doesn&#8217;t actually do any routing. I believe the objective is to understand how to set up the routing table (default gateway, etc.) in your VMKernel. The command that you need to use is esxcfg-route.</p>
<ul>
<li><strong><code>esxcfg-route -l</code></strong> (list the current routing table)</li>
<li><strong><code>esxcfg-route -a 192.168.1.0 255.255.255.0 192.168.0.1</code> </strong>(add a specific route to the 192.168.1.0 network via 192.168.0.1)</li>
<li><strong><code>esxcfg-route 192.168.0.1</code></strong> (sets 192.168.0.1 as the default gateway)</li>
</ul>
<p><strong>Troubleshoot VMKernel Configuration Issues</strong></p>
<ul>
<li><strong><code>/var/log/vmkernel</code> </strong>(vmkernel log file)</li>
<li><strong><code>/var/log/vmkwarning</code></strong> (a subset of the vmkernel log file that just lists warnings)</li>
</ul>
<img src="http://feeds.feedburner.com/~r/Harleystagnercom/~4/FHLeG2Sp5sQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-objective-2-3.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-objective-2-3.php</feedburner:origLink></item>
		<item>
		<title>VCDX Enterprise Admin Notes: Objective 2.1- Skills and Abilities</title>
		<link>http://feedproxy.google.com/~r/Harleystagnercom/~3/dJ4tgEvq2EA/vcdx-enterprise-admin-notes-objective-2-1-skills-and-abilities.php</link>
		<comments>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-objective-2-1-skills-and-abilities.php#comments</comments>
		<pubDate>Sat, 09 Jan 2010 13:00:36 +0000</pubDate>
		<dc:creator>Harley Stagner</dc:creator>
				<category><![CDATA[VCDX]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.harleystagner.com/?p=308</guid>
		<description><![CDATA[This VCDX exam note will wrap up objective 2.1 with the skills and abilities section. So, let&#8217;s jump right in.
Configure Service Console Network Using CLI
To configure a service console network you need to create a vswitch and port group first (let&#8217;s say vSwitch0 and &#8220;Service Console&#8221;)

esxcfg-vswitch -a vSwitch0
esxcfg-vswitch -A "Service Console" vSwitch0

Then you need to [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>This VCDX exam note will wrap up objective 2.1 with the skills and abilities section. So, let&#8217;s jump right in.</p>
<p><strong>Configure Service Console Network Using CLI</strong></p>
<p>To configure a service console network you need to create a vswitch and port group first (let&#8217;s say vSwitch0 and &#8220;Service Console&#8221;)</p>
<ul>
<li><strong><code>esxcfg-vswitch -a vSwitch0</code></strong></li>
<li><strong><code>esxcfg-vswitch -A "Service Console" vSwitch0</code></strong></li>
</ul>
<p>Then you need to link one or more physical nics to the vswitch (let&#8217;s say vmnic0 and vmnic2)</p>
<ul>
<li><strong><code>esxcfg-vswitch -L vmnic0 vSwitch0</code></strong></li>
<li><strong><code>esxcfg-vswitch -L vmnic2 vSwitch0</code></strong></li>
</ul>
<p>Finally, you need to create the vswif interface on the vSwitch and attach it to the &#8220;Service Console&#8221; portgroup. (let&#8217;s say the IP is 192.168.0.1/24)</p>
<ul>
<li><strong><code>esxcfg-vswif -a -i 192.168.0.1 -n 255.255.255.0 -p "Service Console"</code></strong></li>
</ul>
<p><strong>Configure VLANs</strong></p>
<p>To add a VLAN to a portgroup you must create the portgroup, then you must assign a VLAN ID to the portgroup (let&#8217;s say &#8220;VMNet1&#8243; for the portgroup, vSwitch1 for the virtual switch and 100 for the VLAN ID.</p>
<ul>
<li><strong><code>esxcfg-vswitch -A "VMNet1" vSwitch1</code></strong></li>
<li><strong><code>esxcfg-vswitch -v 100 -p "VMNet1"</code></strong></li>
</ul>
<p><a href="http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-enable-advanced-networking-capabilities.php"><strong>Configure TSO and Jumbo Frames</strong></a> has already been covered.</p>
<p><strong>Enable Cisco Discovery Protocol</strong></p>
<p>Use the <strong><code>-B</code></strong> or <strong><code>--set-cdp</code></strong> option (let&#8217;s say the virtual switch is vSwitch0)</p>
<ul>
<li><strong><code>esxcfg-vswitch -B down|listen|advertise|both vSwitch0</code></strong></li>
</ul>
<p>You will choose one of the four: down, listen, advertise, or both.</p>
<img src="http://feeds.feedburner.com/~r/Harleystagnercom/~4/dJ4tgEvq2EA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-objective-2-1-skills-and-abilities.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-objective-2-1-skills-and-abilities.php</feedburner:origLink></item>
		<item>
		<title>VCDX Enterprise Admin Notes: Enable advanced networking capabilities</title>
		<link>http://feedproxy.google.com/~r/Harleystagnercom/~3/JFCMFzi2AY8/vcdx-enterprise-admin-notes-enable-advanced-networking-capabilities.php</link>
		<comments>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-enable-advanced-networking-capabilities.php#comments</comments>
		<pubDate>Fri, 08 Jan 2010 17:18:13 +0000</pubDate>
		<dc:creator>Harley Stagner</dc:creator>
				<category><![CDATA[VCDX]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.harleystagner.com/?p=299</guid>
		<description><![CDATA[This VCDX note will cover Objective 2.1.K.3 &#8220;Enable Advanced Networking Capabilities&#8221;. Let&#8217;s dive right in.
TCP Segmentation Offload (TSO)
TSO is enabled in the VMKernel by default. If you want to disable TSO on a vmkernel interface when you create it you must use the -t or --tso option. This disables TSO on the vmkernel interface that [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>This VCDX note will cover <strong>Objective 2.1.K.3 &#8220;Enable Advanced Networking Capabilities&#8221;</strong>. Let&#8217;s dive right in.</p>
<p><strong>TCP Segmentation Offload (TSO)</strong></p>
<p>TSO is enabled in the VMKernel by default. If you want to disable TSO on a vmkernel interface when you create it you must use the <strong><code>-t or --tso</code></strong> option. This disables TSO on the vmkernel interface that is being created.</p>
<ul>
<li>e.g. <strong><code>esxcfg-vmknic -a -i 192.168.0.1 -n 255.255.255.0 -t vmkernel1</code></strong></li>
</ul>
<p>TSO must be enabled on Virtual Machines. The supported VM&#8217;s are<br />
-Windows Server 2003 Enterprise and Datacenter with SP2 (32 and 64 bit)<br />
-Red Hat Enterprise Linux 4 (64-bit)<br />
-Red Hat Enterprise Linux 5 (32 and 64 bit)<br />
-SUSE Linux Enterprise Server 10 (32 and 64 bit)</p>
<p>The virtual machine must use the Enhanced VMXNet driver for the virtual NIC. It is possible to use TSO in a Windows Server 2003 Standard Edition VM, for example, using this workaround posted by <a href="http://blog.scottlowe.org/2008/12/15/enabling-enhanced-vmxnet/">Scott Lowe</a>. The bottom line is that the driver must be Enhanced VMXNet for TSO to work inside the guest VM.</p>
<p><strong>Jumbo Frames</strong></p>
<p>To enable Jumbo Frames for an entire vSwitch, the MTU must be adjusted to the max of 9000. You can also set the MTU when you create the switch. Adjusting the MTU is done with the -m or &#8211;mtu=MTU option.</p>
<ul>
<li>e.g. <strong><code>esxcfg-vswitch vSwitch3 -m 9000</code></strong> or <strong><code>esxcfg-vswitch -a vSwitch 3 -m 9000</code></strong></li>
</ul>
<p>To enable Jumbo Frames on a single vmkernel interface, it must be done at creation time.</p>
<ul>
<li>e.g. <strong><code>esxcfg-vmknic -i 192.168.0.1 -n 255.255.255.0 -m 9000</code></strong></li>
</ul>
<p><strong>NetQueue</strong></p>
<p>NetQueue allows each virtual NIC to have a network queue instead of one common queue. This can increase the throughput capability of 10Gbe adapters. As of ESX 3.5 U2 the following network adapters support NetQueue:</p>
<ul>
<li>Intel 82598 10 Gigabit Ethernet Controller</li>
<li>Neterion</li>
</ul>
<p>NetQueue is disabled by default. To enable NetQueue at the command line, add the following line to the /etc/vmware/esx.conf file:</p>
<ul>
<li><strong><code>/vmkernel/netNetqueueEnabled = "TRUE"</code></strong></li>
</ul>
<p>You can also enable NetQueue using the VI Client by highlighting the host and going to the <strong>Configuration</strong> tab. From there, navigate to &#8220;<strong>Advanced Settings -&gt; VMKernel</strong>&#8221; Select the checkbox for <strong>VMkernel.Boot.netNetqueueEnabled</strong> . Then you must enable NetQueue on the adapter module using the following commands:</p>
<ul>
<li><strong><code>esxcfg-module -s "intr_type=2 rx_ring_num=8" s2io</code></strong> (for the Neterion)</li>
<li><strong><code>esxcfg-module -s "InterruptType=2,2 VMDQ=16,16" ixgbe</code></strong> (for the Intel)</li>
</ul>
<p>You must reboot the ESX server for the changes to take effect. To disable NetQueue, remove the line you added to the esx.conf or deselect the <strong>VMkernel.Boot.netNetqueueEnabled</strong> checkbox. You must also disable NetQueue on the adapter modules by using the following commands:</p>
<ul>
<li><strong><code>esxcfg-module -s "" s2io</code></strong> (for the Neterion)</li>
<li><strong><code>esxcfg-module -s "" ixgbe</code></strong> (for the Intel)</li>
</ul>
<img src="http://feeds.feedburner.com/~r/Harleystagnercom/~4/JFCMFzi2AY8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-enable-advanced-networking-capabilities.php/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-enable-advanced-networking-capabilities.php</feedburner:origLink></item>
		<item>
		<title>VMware Capacity Planning: Troubleshooting Perfmon Errors</title>
		<link>http://feedproxy.google.com/~r/Harleystagnercom/~3/b0LSsrLwAEo/vmware-capacity-planning-troubleshooting-perfmon-errors.php</link>
		<comments>http://www.harleystagner.com/vmware/vmware-capacity-planning-troubleshooting-perfmon-errors.php#comments</comments>
		<pubDate>Wed, 23 Dec 2009 19:31:06 +0000</pubDate>
		<dc:creator>Harley Stagner</dc:creator>
				<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.harleystagner.com/?p=292</guid>
		<description><![CDATA[I was recently setting up a Capacity Assessment for a client when I ran into an issue with perfmon. Perfmon is used on the physical windows servers to collect performance information. This information is used to help determine the best route (design, hardware specs., etc.) to virtualization for the physical servers. However, upon trying to [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I was recently setting up a Capacity Assessment for a client when I ran into an issue with perfmon. Perfmon is used on the physical windows servers to collect performance information. This information is used to help determine the best route (design, hardware specs., etc.) to virtualization for the physical servers. However, upon trying to collect the information on some systems I received an error that the performance counter &#8220;object was not found.&#8221; The VMware Capacity Planner data manager will tell you that this error is usually due to traffic not getting through a firewall or anti-virus product on the server.</p>
<p>I did some digging and found that the firewall was not the problem. I opened up perfmon directly on the problem servers and found numbers for counters instead of the names. This told me that I had corrupt counters. The fix in this case was really simple. I copied the counters (*.dat files) from a server that the performance metrics were working on (same OS) to the problem servers.</p>
<p>The two files in question are <strong>%systemroot%\system32\perfc009.dat</strong> and <strong>%systemroot%\system32\perfh009.dat</strong>.</p>
<p>Once these files were replaced with the ones from the good server, I restarted perfmon and the counters were there. The data collection could continue. There is a chance that you may need to dig a little deeper to restore the counters in your specific scenario. The following Microsoft KB article should help: <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;300956">KB300956</a></p>
<img src="http://feeds.feedburner.com/~r/Harleystagnercom/~4/b0LSsrLwAEo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.harleystagner.com/vmware/vmware-capacity-planning-troubleshooting-perfmon-errors.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.harleystagner.com/vmware/vmware-capacity-planning-troubleshooting-perfmon-errors.php</feedburner:origLink></item>
		<item>
		<title>VCDX Enterprise Admin Notes: Create and modify virtual switches and virtual switch policies.</title>
		<link>http://feedproxy.google.com/~r/Harleystagnercom/~3/0bQpKOLL2gg/vcdx-enterprise-admin-notes-create-and-modify-virtual-switches-and-virtual-switch-policies.php</link>
		<comments>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-create-and-modify-virtual-switches-and-virtual-switch-policies.php#comments</comments>
		<pubDate>Mon, 21 Dec 2009 16:54:26 +0000</pubDate>
		<dc:creator>Harley Stagner</dc:creator>
				<category><![CDATA[VCDX]]></category>

		<guid isPermaLink="false">http://www.harleystagner.com/?p=281</guid>
		<description><![CDATA[I&#8217;m up to section 2 on my VCDX Enterprise Administration exam review. This VCDX exam note deals specifically with Objective 2.1.K.2 (Create and modify virtual switches and virtual switch policies). You can easily create vSwitches and Portgroups using the VI Client. However, you may be in a situation (like on the Enterprise Administration Exam  [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;m up to section 2 on my VCDX Enterprise Administration exam review. This VCDX exam note deals specifically with <strong>Objective 2.1.K.2 (Create and modify virtual switches and virtual switch policies)</strong>. You can easily create vSwitches and Portgroups using the VI Client. However, you may be in a situation (like on the Enterprise Administration Exam <img src='http://www.harleystagner.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) that you need to use the command line interface to create vSwitches and Portgroups. That is what this note will cover.</p>
<p><strong>Notes for Objective 2.1.K.2: Create and modify virtual switches and virtual switch policies.</strong></p>
<ul>
<li>List information about the pNICs on your ESX host (useful in helping to identify certain pNICs):
<ul>
<li><strong><code>esxcfg-nics -l</code></strong></li>
</ul>
</li>
<li>Create a new vswitch:
<ul>
<li><strong><code>esxcfg-vswitch -a "<em>vswitch_name</em>"</code></strong> (where <em>vswitch_name</em> is the name of your new vswitch. Usually in the form of vSwitch#).</li>
</ul>
</li>
<li>Add a pNIC as an uplink to a vSwitch:
<ul>
<li><strong><code>esxcfg-vswitch -L <em>vmnic# vswitch#</em></code></strong> (where <em>vmnic#</em> is the chosen vmnic (pNIC) and <em>vswitch#</em> is the chosen vswitch).</li>
</ul>
</li>
<li>Remove a pNIC from a vSwitch:
<ul>
<li><strong><code>esxcfg-vswitch -U <em>vmnic# vswitch#</em></code></strong> (where <em>vmnic#</em> is the chosen vmnic (pNIC) and <em>vswitch#</em> is the chosen vswitch).</li>
</ul>
</li>
<li>Create a portgroup on a vswitch:
<ul>
<li><strong><code>esxcfg-vswitch -A "<em>portgroup_name</em>" <em>vswitch#</em></code></strong> (where <em>portgroup_name</em> is the name of your new portgroup and <em>vswitch#</em> is the chosen vswitch).</li>
</ul>
</li>
<li>Add a vmkernel NIC to a portgroup:
<ul>
<li><strong><code>esxcfg-vmknic -a -i <em>x.x.x.x</em> -n <em>x.x.x.x</em> "<em>portgroup_name</em>"</code></strong> (where the first <em>x.x.x.x</em> is the IP Address and the second <em>x.x.x.x</em> is the subnet mask. Also where <em>portgroup_name</em> is the name of your new portgroup.)</li>
</ul>
</li>
<li>Enable a vmkernel nic:
<ul>
<li><strong><code>esxcfg-vmknic -e "<em>portgroup_name</em>"</code></strong> (where <em>portgroup_name</em> is the name of your chosen vmkernel portgroup).</li>
</ul>
</li>
<li>Set the CDP properties of a vswitch:
<ul>
<li><strong><code>esxcfg-vswitch -B listen|advertise|both</code></strong> (Choose &#8220;listen&#8221; , &#8220;advertise&#8221;, or &#8220;both&#8221; for CDP configuration).</li>
</ul>
</li>
</ul>
<p>The load-balancing options and other virtual switch policies can be configured through the VI Client. You can also configure them through the command-line (like enabling VMotion on a vmkernel port) using the unsupported Virtual Infrastructure metashell (vimsh), which is largely undocumented by VMware. A good place to start  learning about vimsh is at <a href="http://www.vi-toolkit.com/wiki/index.php/Vimsh">VI-Toolkit.com</a>.</p>
<img src="http://feeds.feedburner.com/~r/Harleystagnercom/~4/0bQpKOLL2gg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-create-and-modify-virtual-switches-and-virtual-switch-policies.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-create-and-modify-virtual-switches-and-virtual-switch-policies.php</feedburner:origLink></item>
		<item>
		<title>VCDX Enterprise Admin Notes: VMFS Reservation</title>
		<link>http://feedproxy.google.com/~r/Harleystagnercom/~3/jRw3RsrdEUU/vcdx-enterprise-admin-notes-vmfs-reservation.php</link>
		<comments>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-vmfs-reservation.php#comments</comments>
		<pubDate>Mon, 14 Dec 2009 13:00:05 +0000</pubDate>
		<dc:creator>Harley Stagner</dc:creator>
				<category><![CDATA[VCDX]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.harleystagner.com/?p=254</guid>
		<description><![CDATA[Today&#8217;s VCDX note is just a general note about VMFS volume SCSI-2 Reservations. As you may know, VMFS is a clustered file system. It allows multiple hosts to read and write to the same VMFS volume simultaneously. This is accomplished through a mechanism called distributed lock handling. Distributed lock handling locks individual files instead of [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Today&#8217;s VCDX note is just a general note about VMFS volume SCSI-2 Reservations. As you may know, VMFS is a clustered file system. It allows multiple hosts to read and write to the same VMFS volume simultaneously. This is accomplished through a mechanism called distributed lock handling. Distributed lock handling locks individual files instead of an entire VMFS volume. </p>
<p>For example, file locks are put on files associated with a VM so that it can only be powered on by one host at a time. However, there are occasions that the entire volume must be reserved using a SCSI-2 Reservation (e.g. a VMFS volume Metadata update). The short video below shows how you can observe this behavior in your own testing by administratively locking the VMFS volume with the <strong><code>vmkfstools</code></strong> command.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/rs52baXdSMM&#038;hl=en_US&#038;fs=1&#038;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/rs52baXdSMM&#038;hl=en_US&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<img src="http://feeds.feedburner.com/~r/Harleystagnercom/~4/jRw3RsrdEUU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-vmfs-reservation.php/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-vmfs-reservation.php</feedburner:origLink></item>
		<item>
		<title>VCDX Enterprise Admin Notes: Configure NAS and iSCSI Datastores Using Command-Line Tools</title>
		<link>http://feedproxy.google.com/~r/Harleystagnercom/~3/k-ov0-M16T4/vcdx-enterprise-admin-notes-configure-nas-and-iscsi-datastores-using-command-line-tools.php</link>
		<comments>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-configure-nas-and-iscsi-datastores-using-command-line-tools.php#comments</comments>
		<pubDate>Wed, 09 Dec 2009 13:00:12 +0000</pubDate>
		<dc:creator>Harley Stagner</dc:creator>
				<category><![CDATA[VCDX]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.harleystagner.com/?p=246</guid>
		<description><![CDATA[This exam note covers Objective 1.1.S.5 and 1.1.S.6. You need to know how to configure NFS datastores and iSCSI initiators using command-line tools. So, if you have your vmkernel and service console ports already set up for IP Storage, you can configure each (NFS and iSCSI) from the command-line.
Notes for Objective 1.1.S.5
Dealing with NFS from [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>This exam note covers Objective 1.1.S.5 and 1.1.S.6. You need to know how to configure NFS datastores and iSCSI initiators using command-line tools. So, if you have your vmkernel and service console ports already set up for IP Storage, you can configure each (NFS and iSCSI) from the command-line.</p>
<p><strong>Notes for Objective 1.1.S.5</strong></p>
<p>Dealing with NFS from the command-line is actually quite easy.</p>
<ul>
<li><strong><code>esxcfg-nas -l</code></strong> (Lists all of the NFS Datastores that the vmkernel has mounted.)</li>
<li><strong><code>esxcfg-nas -a  -o <em>HostName</em></code> </strong>or <strong><code>IPAddress -s <em>ShareName Label</em> </code></strong> (Where HostName is your NFS server&#8217;s host name, IPAddress is your NFS server&#8217;s IP Address, ShareName is the name of your exported directory (share), and Label is the label name you would like to give the NFS mount.
<ul>
<li><strong><code>esxcfg-nas -a -o 192.168.1.100 -s /MyNFS NFS01</code></strong></li>
</ul>
</li>
<li><strong><code>esxcfg-nas -d <em>Label</em></code></strong> (Where Label is the label name of your NFS mount. Deletes an NFS mount from the ESX host.)
<ul>
<li><strong><code>esxcfg-nas -d NFS01</code></strong></li>
</ul>
</li>
</ul>
<p><strong>Notes for Objective 1.1.S.6</strong></p>
<ul>
<li><strong><code>vmkiscsi-tool -L -l <em>HBA</em></code></strong> (Where HBA is the iSCSI HBA. The software initiator is vmhba32. Lists the iSCSI LUNs available to the ESX server.)</li>
<li><strong><code>esxcfg-firewall -e swISCSIClient</code></strong> (Opens the Service Console firewall for the iSCSI initiator.)</li>
<li><strong><code>esxcfg-swiscsi -e</code></strong> (Enable the software iSCSI initiator.)</li>
<li><strong><code>vmkiscsi-tool -D -a <em>IPAddress</em> vmhba32</code></strong> (Where IPAddress is the IP address of your iSCSI target device. Adds a discovery target to your iSCSI software initiator.)
<ul>
<li><strong><code>vmkiscsi-tool -D -a 192.168.1.100 vmhba32</code></strong></li>
</ul>
</li>
<li><strong><code>vmkiscsi-tool -T -l vmhba32</code></strong> (Lists the targets that were discovered.)</li>
<li><strong><code>esxcfg-rescan vmhba32</code></strong> (Rescan the vmhba32 adapter.)</li>
<li><strong><code>service mgmt-vmware restart</code></strong> (Restarts the ESX host agent so that vCenter reflects the changes.)</li>
</ul>
<img src="http://feeds.feedburner.com/~r/Harleystagnercom/~4/k-ov0-M16T4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-configure-nas-and-iscsi-datastores-using-command-line-tools.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-configure-nas-and-iscsi-datastores-using-command-line-tools.php</feedburner:origLink></item>
		<item>
		<title>VCDX Enterprise Admin Notes: Manage VMFS Filesystems Using Command-Line Tools</title>
		<link>http://feedproxy.google.com/~r/Harleystagnercom/~3/3Jdw1aB0oUU/vcdx-enterprise-admin-notes-manage-vmfs-filesystems-using-command-line-tools.php</link>
		<comments>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-manage-vmfs-filesystems-using-command-line-tools.php#comments</comments>
		<pubDate>Tue, 08 Dec 2009 18:26:57 +0000</pubDate>
		<dc:creator>Harley Stagner</dc:creator>
				<category><![CDATA[VCDX]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.harleystagner.com/?p=239</guid>
		<description><![CDATA[This VCDX Enterprise Admin exam note deals with managing VMFS volumes from the command-line.  While vmkfstools is the main utility used to manage VMFS volumes, there are several other commands that supplement vmkfstools to help identify and change vmfs volume characteristics.
Exam Notes for Objective 1.1.S.4

Querying for information:

ls -la /vmfs/volumes (shows all the VMFS volumes available [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>This VCDX Enterprise Admin exam note deals with managing VMFS volumes from the command-line.  While <strong><code>vmkfstools</code></strong> is the main utility used to manage VMFS volumes, there are several other commands that supplement <strong><code>vmkfstools</code></strong> to help identify and change vmfs volume characteristics.</p>
<p><strong>Exam Notes for Objective 1.1.S.4</strong></p>
<ul>
<li>Querying for information:
<ul>
<li><strong><code>ls -la /vmfs/volumes</code></strong> (shows all the VMFS volumes available to the ESX server. This includes UUID and Volume Label, which is just a symbolic link to the UUID directory.)</li>
<li><strong><code>esxcfg-vmhbadevs -m</code></strong> (shows a mapping of VMFS volumes to their Service Console partitions and vmhba names. The volume is identified by the UUID).</li>
<li><strong><code>vdf -h</code></strong> (show some quick size statistics- Size, Used, Avail, %Used- on your VMFS volumes. The volume is identified by the UUID and the volume label).</li>
<li><strong><code>vmkfstools -P -h /vmfs/volumes/<em>VolumeLabel</em></code></strong> or <strong><code><em>UUID</em></code></strong> (Where VolumeLabel is the volume label and UUID is the UUID of the volume. Shows metadata information about the VMFS volume.)</li>
</ul>
</li>
<li>If you need to change the volume label on a particular VMFS volume use the following commands on each ESX server that has access to the VMFS volume.
<ul>
<li><strong><code>ln -sf /vmfs/volumes/<em>UUID</em> /vmfs/volumes/<em>NewVolumeLabel</em></code></strong> (Where UUID is the UUID of the volume and NewVolumeLabel is your new volume label. This command simply changes the symbolic link to the UUID volume directory.)</li>
<li><strong><code>service mgmt-vmware restart</code></strong> (This restarts the ESX host agent on the host server.)</li>
</ul>
</li>
<li>Creating and extending VMFS volumes:
<ul>
<li><strong><code>vmkfstools -C vmfs3 -b <em>BlockSize</em> -S <em>VolumeLabel vmhba#:#:#:#</em></code></strong> (Where BlockSize is 1,2,4,or 8. The default block size is 1MB if left alone. Where VolumeLabel is the volume label for your new VMFS volume. Finally, your vmhba path in adapter:target:lun:partition e.g. vmhba32:0:0:1. This creates a VMFS volume.)</li>
<li><strong><code>vmkfstools -Z <em>VMFS_Extent Original_VMFS</em></code></strong> (Where VMFS_Extent is the extent to add to the original VMFS and Original_VMFS is the original VMFS. E.G. <code><strong>vmkfstools -Z vmhba32:0:1:1 vmhba32:0:0:1</code></strong> . This will extend a VMFS volume. <strong>THE ORDER OF THIS COMMAND IS VERY IMPORTANT AS ANY DATA ON THE EXTENT LUN WILL BE DESTROYED!!!</strong> )</li>
</ul>
</li>
</ul>
<img src="http://feeds.feedburner.com/~r/Harleystagnercom/~4/3Jdw1aB0oUU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-manage-vmfs-filesystems-using-command-line-tools.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.harleystagner.com/vcdx/vcdx-enterprise-admin-notes-manage-vmfs-filesystems-using-command-line-tools.php</feedburner:origLink></item>
	</channel>
</rss>
