<?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>Wed, 01 Sep 2010 20:38:35 +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>VMworld 2010 MA6580</title>
		<link>http://feedproxy.google.com/~r/Harleystagnercom/~3/6IPdGunkK6A/vmworld-2010-ma6580.php</link>
		<comments>http://www.harleystagner.com/vmware/vmworld-2010-ma6580.php#comments</comments>
		<pubDate>Wed, 01 Sep 2010 20:38:35 +0000</pubDate>
		<dc:creator>Harley Stagner</dc:creator>
				<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.harleystagner.com/?p=357</guid>
		<description><![CDATA[So I am at VMworld this week and I will attempt to cover session highlights that I feel will be useful to our existing and potential clients. The first session is all about the vSphere Management Assistant (vMA). If you haven&#8217;t started using the vMA, I suggest you get familiar with it. 
After vSphere 4.1 [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://www.theblinkylight.com/wp/wp-content/uploads/2010/08/p_2592_1936_A6A2DE33-61E3-4D8E-B006-EE0DB9ACDDEC.jpeg"><img src="http://www.harleystagner.com/wp-content/plugins/wp-o-matic/cache/a41a9_p_2592_1936_A6A2DE33-61E3-4D8E-B006-EE0DB9ACDDEC-224x300.jpg" alt="" width="224" height="300" class="alignleft size-medium wp-image-835" /></a>So I am at VMworld this week and I will attempt to cover session highlights that I feel will be useful to our existing and potential clients. The first session is all about the vSphere Management Assistant (vMA). If you haven&#8217;t started using the vMA, I suggest you get familiar with it. </p>
<p>After vSphere 4.1 there will be no more Service Console (COS). VMware will be transitioning to ESXi and I am encouraging all of my clients to get a head start on migrating to the ESXi platform. The time to plan for this is now.</p>
<p>Session MA6580: Bridge the ESX/ESXi Management Gap Using the vSphere Management Assistant Highlights</p>
<p>-vMA is a 64 bit &#8230;<br />
<a href="http://www.theblinkylight.com/virtualization-blog/vmworld-2010-ma6580/">(more&#8230;)</a></p>
<img src="http://feeds.feedburner.com/~r/Harleystagnercom/~4/6IPdGunkK6A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.harleystagner.com/vmware/vmworld-2010-ma6580.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.harleystagner.com/vmware/vmworld-2010-ma6580.php</feedburner:origLink></item>
		<item>
		<title>Cisco Nexus 1000v and vSphere HA Slot Sizes</title>
		<link>http://feedproxy.google.com/~r/Harleystagnercom/~3/XW0EjFy_BM4/cisco-nexus-1000v-and-vsphere-ha-slot-sizes.php</link>
		<comments>http://www.harleystagner.com/vmware/cisco-nexus-1000v-and-vsphere-ha-slot-sizes.php#comments</comments>
		<pubDate>Fri, 20 Aug 2010 03:27:53 +0000</pubDate>
		<dc:creator>Harley Stagner</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.harleystagner.com/?p=350</guid>
		<description><![CDATA[When implementing the Cisco Nexus 1000v, High Availability (HA) Slot Sizes can be affected on your vSphere Cluster. HA slot sizes are used to calculate failover capacity for HA when the “Host Failures” HA setting is used. By default the slot size for CPU is the highest reservation of CPU among all VM’s in the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>When implementing the Cisco Nexus 1000v, High Availability (HA) Slot Sizes can be affected on your vSphere Cluster. HA slot sizes are used to calculate failover capacity for HA when the “Host Failures” HA setting is used. By default the slot size for CPU is the highest reservation of CPU among all VM’s in the cluster (or 256 MHz if no per VM reservations exist). The slot size for Memory is the highest reservation of Memory among all VM’s in the cluster (or 0 MB + Memory Overhead if no per VM reservations exist). If you want to really dive further into HA and slot size calculations, I would highly recommend reading <a href="http://www.yellow-bricks.com/vmware-high-availability-deepdiv/">Duncan Epping’s HA Deepdive</a> at Yellow-Bricks.com.</p>
<p><a href="http://www.theblinkylight.com/wp/wp-content/uploads/2010/08/image.png"><img style="border-right: 0px;border-top: 0px;border-left: 0px;border-bottom: 0px" height="330" alt="image" src="http://www.harleystagner.com/wp-content/plugins/wp-o-matic/cache/eebfc_image_thumb.png" width="309" border="0" /></a> </p>
<p>Each Cisco Nexus 1000v Virtual Supervisor Module (VSM) has a reservation of 1500 MHz on the CPU and 2048 MB on the Memory so that these resources can be guaranteed for the VSM’s. &#8230;<br />
<a href="http://www.theblinkylight.com/virtualization-blog/cisco-nexus-1000v-and-vsphere-ha-slot-sizes/">(more&#8230;)</a></p>
<img src="http://feeds.feedburner.com/~r/Harleystagnercom/~4/XW0EjFy_BM4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.harleystagner.com/vmware/cisco-nexus-1000v-and-vsphere-ha-slot-sizes.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.harleystagner.com/vmware/cisco-nexus-1000v-and-vsphere-ha-slot-sizes.php</feedburner:origLink></item>
		<item>
		<title>Backing up the vCenter 4.x AD LDS Instance</title>
		<link>http://feedproxy.google.com/~r/Harleystagnercom/~3/PkUPPH-KOqk/backing-up-the-vcenter-4-x-ad-lds-instance.php</link>
		<comments>http://www.harleystagner.com/vmware/backing-up-the-vcenter-4-x-ad-lds-instance.php#comments</comments>
		<pubDate>Thu, 19 Aug 2010 01:43:57 +0000</pubDate>
		<dc:creator>Harley Stagner</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.harleystagner.com/vmware/backing-up-the-vcenter-4-x-ad-lds-instance.php</guid>
		<description><![CDATA[vCenter is one of the most important components of your vSphere 4.x virtual infrastructure. Many advanced capabilities of vSphere 4 (vMotion, DRS, etc.) are not available without vCenter. Prior to vSphere 4.x, it was sufficient to backup the vCenter database and restore vCenter by building a new vCenter server, restoring the database, and reinstalling vCenter [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>vCenter is one of the most important components of your vSphere 4.x virtual infrastructure. Many advanced capabilities of vSphere 4 (vMotion, DRS, etc.) are not available without vCenter. Prior to vSphere 4.x, it was sufficient to backup the vCenter database and restore vCenter by building a new vCenter server, restoring the database, and reinstalling vCenter to attach to the restored database.</p>
<p>With the introduction of vSphere 4.x, vCenter 4.x started using Active Directory Application Mode (ADAM) on Windows Server 2003 and Active Directory Lightweight Directory Services (AD LDS) on Windows Server 2008 to accommodate Linked Mode for vCenter. The roles and permissions are stored in the ADAM or AD LDS database. In order to restore the roles and permissions, the ADAM or AD LDS database must be backed up.</p>
<p>VMware <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1023985">KB1023985</a> tells you that you need to back up the SSL certificates, vCenter Database, and the ADAM/AD LDS database. There are many well-known ways to back up a SQL database. However, backing up an AD LDS instance is a lesser known procedure. The following PowerShell script will back up the the AD LDS VMware Instance on Server 2008 and the SSL folder. As always, test it thoroughly before using it. <a href="http://www.theblinkylight.com/virtualization-blog/backing-up-the-vcenter-4-x-ad-lds-instance/">(more&#8230;)</a></p>
<img src="http://feeds.feedburner.com/~r/Harleystagnercom/~4/PkUPPH-KOqk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.harleystagner.com/vmware/backing-up-the-vcenter-4-x-ad-lds-instance.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.harleystagner.com/vmware/backing-up-the-vcenter-4-x-ad-lds-instance.php</feedburner:origLink></item>
		<item>
		<title>Active Directory Authentication – Accountability in ESX / ESXi 4.1</title>
		<link>http://feedproxy.google.com/~r/Harleystagnercom/~3/nV-_Wy_hsb8/active-directory-authentication-%e2%80%93-accountability-in-esx-esxi-4-1.php</link>
		<comments>http://www.harleystagner.com/vmware/active-directory-authentication-%e2%80%93-accountability-in-esx-esxi-4-1.php#comments</comments>
		<pubDate>Thu, 12 Aug 2010 21:01:58 +0000</pubDate>
		<dc:creator>Harley Stagner</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.harleystagner.com/vmware/active-directory-authentication-%e2%80%93-accountability-in-esx-esxi-4-1.php</guid>
		<description><![CDATA[As a part of TBL professional services datacenter practice, I perform many health and security checks on virtual infrastructures for clients. One of the common issues that I run into is the use of the default “root” account for administering ESX servers. This is an issue for two reasons:

The “root” account has a tremendous amount [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>As a part of TBL professional services datacenter practice, I perform many health and security checks on virtual infrastructures for clients. One of the common issues that I run into is the use of the default “root” account for administering ESX servers. This is an issue for two reasons:</p>
<ul>
<li>The “root” account has a tremendous amount of power and the password for it is typically the same shared password on each ESX host. </li>
<li>If all administration is done with the “root” account there is no audit trail for accountability. It could have been Joe, Bob, or Sue that logged into the ESX host. You just don’t know. </li>
</ul>
<p>Of course, most administration should be done through vCenter, but you still occasionally need to log into an ESX host directly. The solution to this that I have recommended in the past has been to create local user accounts coinciding with the Active Directory user name on each ESX host. Then do not use root unless absolutely necessary when performing administrative tasks directly on the host. However, this meant that the IT Administrators would need to manage user accounts in Active Directory and the local accounts on the ESX / ESXi hosts.</p>
<p>There has been a “less than ideal” solution to Active Directory authentication for quite a while (<a href="http://blog.scottlowe.org/2007/07/10/esx-server-ad-integration/">see Scott Lowe’s article</a>). However, this solution was very laborious, involves the command line, and only worked on ESX Classic. Not ESXi.</p>
<p>With the release of vSphere 4.1, native Active Directory authentication is one of the many new features. Here’s how easy it is to implement once you have ESX installed.</p>
<ol>
<li>Connect to your ESX/ESXi server with the vSphere Client. </li>
<li>Click on “Inventory” and highlight your ESX/ESXi server. </li>
<li>Click on the “Configuration” tab. </li>
<li>Navigate to “Software –&gt; Authentication Services” </li>
<li>Click on “Properties” on the right hand side. </li>
<li>Change the “Directory Service Type” from “Local Authentication” to “Active Directory” </li>
<li>Once you do that and enter in your Domain, click “Join Domain” and you will be prompted for appropriate credentials to join the domain. </li>
<li>Click “OK” when you are done. </li>
</ol>
<p>&#160;</p>
<p> <a href="http://www.theblinkylight.com/wp/wp-content/uploads/2010/08/b32a89fc3fe59da7f97e0d5161682bd2.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="b32a89fc3fe59da7f97e0d5161682bd2" src="http://www.harleystagner.com/wp-content/plugins/wp-o-matic/cache/2b97c_b32a89fc3fe59da7f97e0d5161682bd2_thumb.png" width="244" height="200" /></a>
</p>
<p>&#160;</p>
<p>That’s it! Now you can have accountability controlled through Active Directory Authentication. Joe, Bob, and Sue can all use their respective Active Directory accounts for authentication. Accountability!</p>
<p>&#160;</p>
<p><a href="http://www.theblinkylight.com/wp/wp-content/uploads/2010/08/b7526b6a8ee694da6aecb6faa7a34f69.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="b7526b6a8ee694da6aecb6faa7a34f69" src="http://www.harleystagner.com/wp-content/plugins/wp-o-matic/cache/f067f_b7526b6a8ee694da6aecb6faa7a34f69_thumb.png" width="244" height="100" /></a> </p>
<p>&#160;</p>
<p>Permissions can now be added for Active Directory users and groups as well.</p>
<p>&#160;</p>
<p><a href="http://www.theblinkylight.com/wp/wp-content/uploads/2010/08/2ad89b1a177a280224ead207b4a7dafc.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="2ad89b1a177a280224ead207b4a7dafc" src="http://www.harleystagner.com/wp-content/plugins/wp-o-matic/cache/f067f_2ad89b1a177a280224ead207b4a7dafc_thumb.png" width="244" height="48" /></a> </p>
<p>You can even use it with the vSphere CLI and the Direct Console User Interface (DCUI) on ESXi.</p>
<p><a href="http://www.theblinkylight.com/wp/wp-content/uploads/2010/08/499e10ac868f1254e7260d133ef58c7a.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="499e10ac868f1254e7260d133ef58c7a" src="http://www.harleystagner.com/wp-content/plugins/wp-o-matic/cache/f067f_499e10ac868f1254e7260d133ef58c7a_thumb.png" width="244" height="135" /></a> </p>
</p>
<p>Should you still need the local “root” account for emergencies, it will still be available to you. Otherwise, do your company a favor and maintain an audit trail for administrative actions on your infrastructure.</p>
<img src="http://feeds.feedburner.com/~r/Harleystagnercom/~4/nV-_Wy_hsb8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.harleystagner.com/vmware/active-directory-authentication-%e2%80%93-accountability-in-esx-esxi-4-1.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.harleystagner.com/vmware/active-directory-authentication-%e2%80%93-accountability-in-esx-esxi-4-1.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>
	</channel>
</rss>
