<?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>VCritical &#187; networking</title>
	<atom:link href="http://www.vcritical.com/tag/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vcritical.com</link>
	<description>Informed Virtualization Criticism</description>
	<lastBuildDate>Wed, 19 Oct 2011 22:08:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>The Secret of Ephemeral Port Groups</title>
		<link>http://www.vcritical.com/2011/05/the-secret-of-ephemeral-port-groups/</link>
		<comments>http://www.vcritical.com/2011/05/the-secret-of-ephemeral-port-groups/#comments</comments>
		<pubDate>Tue, 31 May 2011 12:15:14 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=3639</guid>
		<description><![CDATA[When using the VMware vSphere Distributed Switch, ephemeral port groups offer a capability not found in the other two binding options.]]></description>
			<content:encoded><![CDATA[<p>VMware vSphere networking is available in two variations &#8212; Standard vSwitch and Distributed Switch (vDS) &#8212; that accommodate a wide range of requirements for any environment.  Standard switches are simple to set up and understand, but the effort to manage them scales along with the number of ESXi hosts managed.  While that management can certainly be automated, e.g., through PowerCLI, there are <a href="http://www.vmware.com/products/vnetwork-distributed-switch/overview.html" target="_blank">advantages to the centrally-configured Distributed Switch</a>.</p>
<p>This is not an article to convince you to use one over the other; to see what experts have to say about the matter, take a look at a recent article from Duncan Epping on <a href="http://www.yellow-bricks.com/2011/04/21/distributed-vswitches-go-hybrid-or-go-distributed/" target="_blank">whether to go pure Distributed or hybrid</a>.</p>
<p>Whenever this topic comes up for debate, it&#8217;s clear that the major concern about vDS is the inability to manage virtual networks if vCenter Server goes down.  Thus, the impetus for considering a hybrid environment with management interfaces on Standard vSwitches and only VM networking benefiting from vDS.  However, there is a configuration alternative that may just boost confidence in a pure vDS network.</p>
<h2>Distributed Switch Port Group Bindings</h2>
<p>Distributed Switches, just like Standard vSwitches, use port groups to configure various network capabilities, VLANs, etc.  One difference is that vDS port groups have three different binding options: static, dynamic, and ephemeral.  For an overview of these options, check out <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1010593" target="_blank">KB Article 1010593</a>.</p>
<p><img class="alignnone size-full wp-image-3644" title="Ephemeral port binding" src="http://www.vcritical.com/wp-content/uploads/2011/05/ephemeral-port-binding-vlan1921.png" alt="" width="545" height="287" /></p>
<p>The key point to note is that port groups using ephemeral bindings behave very much like a Standard vSwitch &#8212; <strong>even with vCenter Server powered off</strong>, administrators have the ability to connect directly to an ESXi host and reconfigure VM networking.<span id="more-3639"></span></p>
<p>In fact, it is even possible to create a new VM from scratch directly on a host while vCenter is offline, as seen here:</p>
<p><img class="alignnone size-full wp-image-3643" title="Create a VM while vCenter Server is offline" src="http://www.vcritical.com/wp-content/uploads/2011/05/create-vm-ephemeral-vc-offline.png" alt="" width="592" height="294" /></p>
<p>Behind the scenes, with vCenter unavailable, a temporary port is created on the host for the vNIC with the ID &#8220;h-1&#8243;:</p>
<p><img class="alignnone size-full wp-image-3642" title="vNIC temporarily assigned to port h-1" src="http://www.vcritical.com/wp-content/uploads/2011/05/dvs-port-h1.png" alt="" width="340" height="131" /></p>
<p>After vCenter Server comes back online, everything syncs up and the VM is automatically updated with a numeric port ID from the vDS:</p>
<p><img class="alignnone size-full wp-image-3641" title="vNIC assigned to DVS port" src="http://www.vcritical.com/wp-content/uploads/2011/05/dvs-port-658.png" alt="" width="336" height="125" /></p>
<h2>Leveraging Ephemeral Port Groups</h2>
<p>If the inability to quickly provision a new VM or to reconnect a vNIC while vCenter Server is unavailable has kept you from considering a pure vDS network architecture, ephemeral port groups may be a suitable safety net.  You would not even need to use ephemeral port groups for production virtual networks &#8212; simply create a few to have as backups for accessing the most critical VLANs.</p>
<p>In reality, if vCenter is down that&#8217;s probably the first issue to tackle.  But, in order to recover from a minor catastrophe, it may necessary to manually register that VM and get it online &#8212; an idle ephemeral port group could save you the trouble of having to temporarily create a new vSwitch directly on a host.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2008/12/thanks-for-all-the-port-groups/' rel='bookmark' title='Thanks for all the port groups!'>Thanks for all the port groups!</a></li>
<li><a href='http://www.vcritical.com/2011/05/nic-teaming-update-hyper-v-still-cloudy-as-ever/' rel='bookmark' title='NIC Teaming Update: Hyper-V Still Cloudy as Ever'>NIC Teaming Update: Hyper-V Still Cloudy as Ever</a></li>
<li><a href='http://www.vcritical.com/2009/01/clean-up-vcenter-with-powershell-after-scvmm-leaves/' rel='bookmark' title='Clean up vCenter with PowerShell after SCVMM leaves'>Clean up vCenter with PowerShell after SCVMM leaves</a></li>
<li><a href='http://www.vcritical.com/2009/03/scvmm-damage-control/' rel='bookmark' title='SCVMM Damage Control'>SCVMM Damage Control</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2011/05/the-secret-of-ephemeral-port-groups/#respond">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/networking/" rel="tag">networking</a>, <a href="http://www.vcritical.com/tag/vsphere/" rel="tag">vSphere</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2011/05/the-secret-of-ephemeral-port-groups/">The Secret of Ephemeral Port Groups</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2011 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2011/05/the-secret-of-ephemeral-port-groups/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>NIC Teaming Update: Hyper-V Still Cloudy as Ever</title>
		<link>http://www.vcritical.com/2011/05/nic-teaming-update-hyper-v-still-cloudy-as-ever/</link>
		<comments>http://www.vcritical.com/2011/05/nic-teaming-update-hyper-v-still-cloudy-as-ever/#comments</comments>
		<pubDate>Thu, 26 May 2011 17:50:05 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=3606</guid>
		<description><![CDATA[Network teaming provides load balancing and fault tolerance to your virtual infrastructure.  VMware vSphere provides powerful, elegant solutions to meet the most demanding requirements.  The Hyper-V platform continues to rely on unsupported legacy technologies.]]></description>
			<content:encoded><![CDATA[<p>To accommodate the performance and reliability demands of today&#8217;s workloads, VMware vSphere provides advanced networking capabilities that form a robust foundation for private cloud computing.</p>
<p>Two different vSwitches are provided in vSphere: Standard and Distributed.  Both offer NIC teaming for load balancing and fault tolerance, intuitive VLAN support, and Cisco Discovery Protocol (CDP) for easy lights out datacenter management.  Be sure to check out <a href="http://www.boche.net/blog/index.php/2011/05/15/cisco-discovery-protocol-cdp-tag-team/" target="_blank">Jason Boche&#8217;s great overview of CDP</a>.</p>
<h2>vSphere Distributed Switch &#8212; Simple Network Management</h2>
<p>The Distributed Switch adds advanced networking features to your virtual infrastructure, such as load-based teaming and private VLANs, and offers centralized port group management &#8212; eliminating the need to configure vSwitches and port groups individually on each host.  vSphere administrators can also choose to go with a hybrid model, maintaining a Standard vSwitch on each host &#8212; typically for management &#8212; and leveraging a Distributed Switch for virtual machine traffic.</p>
<p>Here you can see a Distributed Switch that spans four ESX hosts, utilizing two physical NICs per host :</p>
<p><img class="alignnone size-full wp-image-3611" title="vSphere Distributed vSwitch and CDP" src="http://www.vcritical.com/wp-content/uploads/2011/05/dvs-cdp.png" alt="" width="513" height="425" /></p>
<p>By connecting these physical NICs to multiple trunk ports, virtual machines benefit from network redundancy and load balancing while making it trivial to create port groups for any VLAN required.  Configurations are instantly propagated across the cluster, boosting efficiency and minimizing human error.<span id="more-3606"></span></p>
<p>Also shown above is the CDP information for one of the physical NICs, handy for identifying connected physical switch ports &#8212; no need to convince a coworker to visit the datacenter and help trace cables!</p>
<h2>Hyper-V NIC Teaming Update</h2>
<p>It&#8217;s been a while since I last wrote about the state of <a href="http://www.vcritical.com/2009/02/yes-nic-teaming-is-not-unsupported/">Hyper-V NIC teaming</a>, some readers may be curious to know if anything has changed.  Let&#8217;s start our investigation by reviewing the latest official <a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;968703" target="_blank">Microsoft support policy</a>:</p>
<blockquote><p>Since Network Adapter Teaming is only provided by Hardware Vendors, Microsoft does not provide any support for this technology&#8230;</p>
<p>Since Microsoft Hyper-V Virtualization is a new technology, we recommend  that you thoroughly test your teaming solution in a test environment  prior to deploying into Production.</p></blockquote>
<p>Looks like it&#8217;s up to the end user to put this puzzle together.  Fortunately, enthusiastic bloggers have stepped up to provide some of the missing guidance to help decide which combination has the best chance of success.  Hyper-V expert <a href="http://www.hyper-v.nu/archives/hvredevoort/2011/03/windows-server-2008-r2-sp1-and-hp-network-teaming-testing-results/" target="_blank">Hans Vredevoort begrudgingly admits</a>:</p>
<blockquote><p>Now that Windows Server 2008 R2 SP1 was published almost a month ago, I have attempted to evaluate the consequences for this lovely combination.</p></blockquote>
<p>There are <em>just</em> a few main elements to consider before attempting to bring robust private cloud networking capabilities to the Windows hypervisor:</p>
<ul>
<li>Windows Server service pack and hotfixes</li>
<li>Third-party network drivers</li>
<li>Third-party network teaming drivers</li>
<li>VLAN requirements, and at what level in the stack to implement</li>
</ul>
<p>[Math quiz: calculate the number of possible combinations administrators must consider.]</p>
<p>What&#8217;s all the fuss?  Just download the latest versions of everything and go.  Not so fast&#8230;</p>
<h2>Experts Offered No Immunity</h2>
<p>Stu Fox, Microsoft virtualization expert and VCritical reader, recently shared <em>his </em>experience with this very issue &#8212; encountering an outage after a simple driver update:</p>
<p><img class="alignnone size-full wp-image-3609" title="HP NCU driver problems" src="http://www.vcritical.com/wp-content/uploads/2011/05/stufox-hp-ncu-tweet.png" alt="" width="551" height="225" /></p>
<h2>Hope for the Future?</h2>
<p>It&#8217;s hard to say if Microsoft will ever integrate NIC teaming capabilities directly into the Windows platform; the next version is expected sometime next year.  For now Hyper-V users will just have to rely on the upcoming <a href="http://www.vcritical.com/2011/05/understanding-vmware-vsphere-esxi-and-release-cycles/">Virtual Machine Manager 2012 release</a>, which will no doubt introduce <span style="text-decoration: line-through;">complexity</span> abstraction to VM networking in an effort to bring it closer to the simplicity vSphere administrators have enjoyed for years.</p>
<p>Is it any wonder <a href="http://www.vcritical.com/2010/10/gartner-hyper-v-under-performing-not-grabbing-share/">Gartner concludes that Hyper-V is under-performing</a>?</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/02/yes-nic-teaming-is-not-unsupported/' rel='bookmark' title='Yes, NIC teaming is not unsupported'>Yes, NIC teaming is not unsupported</a></li>
<li><a href='http://www.vcritical.com/2011/05/the-secret-of-ephemeral-port-groups/' rel='bookmark' title='The Secret of Ephemeral Port Groups'>The Secret of Ephemeral Port Groups</a></li>
<li><a href='http://www.vcritical.com/2008/12/thanks-for-all-the-port-groups/' rel='bookmark' title='Thanks for all the port groups!'>Thanks for all the port groups!</a></li>
<li><a href='http://www.vcritical.com/2009/08/single-pane-of-glass-hyper-v-edition/' rel='bookmark' title='Single Pane of Glass &#8212; Hyper-V Edition'>Single Pane of Glass &#8212; Hyper-V Edition</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2011/05/nic-teaming-update-hyper-v-still-cloudy-as-ever/#respond">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/esx/" rel="tag">ESX</a>, <a href="http://www.vcritical.com/tag/hyper-v/" rel="tag">Hyper-V</a>, <a href="http://www.vcritical.com/tag/networking/" rel="tag">networking</a>, <a href="http://www.vcritical.com/tag/vsphere/" rel="tag">vSphere</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2011/05/nic-teaming-update-hyper-v-still-cloudy-as-ever/">NIC Teaming Update: Hyper-V Still Cloudy as Ever</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2011 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2011/05/nic-teaming-update-hyper-v-still-cloudy-as-ever/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>OpSource Cloud Experience &#8212; Networking</title>
		<link>http://www.vcritical.com/2011/04/opsource-cloud-experience-networking/</link>
		<comments>http://www.vcritical.com/2011/04/opsource-cloud-experience-networking/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 12:05:29 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[IaaS]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[OpSource]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=3497</guid>
		<description><![CDATA[Learn some of the details behind the OpSource Cloud network topology and performance.]]></description>
			<content:encoded><![CDATA[<p>So far in this series on the <a href="http://www.vcritical.com/tag/opsource">OpSource Cloud</a>, you&#8217;ve seen how to get started and how to manage workloads securely over the Internet.  Now let&#8217;s look at connectivity and performance between the cloud virtual machines.</p>
<h2>Layer 2 Networking</h2>
<p>If you are a <a href="http://www.vcritical.com/tag/vsphere">vSphere</a> administrator, it may come as a surprise to find out that some public clouds do not permit layer 2 connectivity between virtual machines.  Actually, you may be <em>even more surprised</em> to learn that it is very typical for your VMs to be instantiated on completely different subnets.  That means that all data must flow through another device on the network &#8212; an Ethernet bridge or IP router, filtering traffic &#8212; even if two virtual machines <em>are</em> on the same IP subnet.</p>
<p>The OpSource Cloud, just like vCloud Director clouds, offers true layer 2 connectivity.  If two of your VMs are on the same network, they communicate directly, not through an intermediary security bridge or router.  Here you see that the VM I am currently logged into has the MAC address of another VM to which it connects:</p>
<p><img class="alignnone size-full wp-image-3500" title="L2 Networking!" src="http://www.vcritical.com/wp-content/uploads/2011/03/arp.png" alt="" width="374" height="109" /></p>
<h2><span id="more-3497"></span>Lower Latency</h2>
<p>The above discussion on layer 2 connectivity may seem esoteric, but it ultimately manifests as very low latency between workloads running in the cloud &#8212; essential for multi-tier applications.  OpSource actually guarantees sub-millisecond response time, and in my experience they deliver:</p>
<p><img class="alignnone size-full wp-image-3499" title="Sub-millisecond ping time" src="http://www.vcritical.com/wp-content/uploads/2011/03/ping.png" alt="" width="478" height="281" /></p>
<h2>Plenty of Bandwidth</h2>
<p>For a quick test of bandwidth between two VMs, I used iperf with default options and attained well over 900Mb/s &#8212; plenty for most applications that would be deployed in this type of public cloud scenario.</p>
<p><img class="alignnone size-full wp-image-3498" title="VM to VM connectivity measured by iperf" src="http://www.vcritical.com/wp-content/uploads/2011/03/iperf.png" alt="" width="482" height="144" /></p>
<h2>Conclusion</h2>
<p>Because OpSource Cloud is built on top of vSphere, it works like a vSphere administrator would expect:  VMs are deployed on known subnets with layer 2 connectivity, offering the best potential performance while making it much easier to monitor and diagnose any network-related issues that could arise.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2011/04/opsource-cloud-experience-introduction/' rel='bookmark' title='OpSource Cloud Experience &#8212; Introduction'>OpSource Cloud Experience &#8212; Introduction</a></li>
<li><a href='http://www.vcritical.com/2011/04/opsource-cloud-experience-connecting/' rel='bookmark' title='OpSource Cloud Experience &#8212; Connecting'>OpSource Cloud Experience &#8212; Connecting</a></li>
<li><a href='http://www.vcritical.com/2011/04/opsource-cloud-experience-importexport/' rel='bookmark' title='OpSource Cloud Experience &#8212; Import/Export'>OpSource Cloud Experience &#8212; Import/Export</a></li>
<li><a href='http://www.vcritical.com/2008/12/thanks-for-all-the-port-groups/' rel='bookmark' title='Thanks for all the port groups!'>Thanks for all the port groups!</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2011/04/opsource-cloud-experience-networking/#respond">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/cloud/" rel="tag">cloud</a>, <a href="http://www.vcritical.com/tag/iaas/" rel="tag">IaaS</a>, <a href="http://www.vcritical.com/tag/networking/" rel="tag">networking</a>, <a href="http://www.vcritical.com/tag/opsource/" rel="tag">OpSource</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2011/04/opsource-cloud-experience-networking/">OpSource Cloud Experience &#8212; Networking</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2011 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2011/04/opsource-cloud-experience-networking/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Yes, NIC teaming is not unsupported</title>
		<link>http://www.vcritical.com/2009/02/yes-nic-teaming-is-not-unsupported/</link>
		<comments>http://www.vcritical.com/2009/02/yes-nic-teaming-is-not-unsupported/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 18:41:32 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[Server Core]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=162</guid>
		<description><![CDATA[Unlike Hyper-V, VMware ESX ships with complete network interface (NIC) teaming capabilities, a critical feature for hypervisors.]]></description>
			<content:encoded><![CDATA[<p>Network teaming is useful for providing redundancy and increasing network capacity for servers.  Traditionally, the downside has been getting it set up &#8212; often requiring the installation of non-native drivers for the network interface cards (NICs).</p>
<h2>VMware ESX NIC Teaming</h2>
<p>VMware ESX ships with the ability to connect multiple NICs to a single vSwitch&#8211;right out of the box.  No additional drivers or configuration needed.  You just need to click a few buttons to add the additional NICs.  You end up with something like this:</p>
<p><img class="alignnone size-full wp-image-692" title="VMware ESX vSwitch with NIC team." src="http://www.vcritical.com/wp-content/uploads/2009/02/vswitch-nic-team.png" alt="VMware ESX vSwitch with NIC team." width="469" height="234" /></p>
<p>There are several advanced configuration options available, but for the most part it &#8220;just works&#8221; and can be set up very quickly.  This is one of the many great benefits of virtualizing your server hardware&#8211;individual virtual machines benefit from enhanced network redundancy without any additional configuration in the guest OS.  Plus, it works for all guests, regardless of OS vendor.</p>
<h2>Hyper-V NIC Teaming</h2>
<p>How does Hyper-V handle NIC teaming?  <span id="more-162"></span>They punt and leave it up to the hardware (server and/or NIC) manufacturers.  This puts the system administrator in an unpleasant situation.  Take, for example, <a href="http://web2.minasi.com/forum/topic.asp?whichpage=1&amp;TOPIC_ID=28524&amp;#136573" target="_blank">this thread on Mark Minasi&#8217;s Forum</a>.  That is not an isolated incident, <a href="http://www.google.com/search?q=network+team+hyper-v" target="_blank">as you can see.</a></p>
<p>Since this feature is up to the server vendor, let&#8217;s see what one of them has to say about it.  According to this <a href="http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01516156/c01516156.pdf">HP integration note</a>, dated January 2009:</p>
<p style="padding-left: 30px;"><strong>IMPORTANT</strong><br />
Windows Server 2008 Hyper-V does not support the Network Configuration Utility (NIC Teaming). Deselect this component before installing the PSP components.</p>
<p>Ouch.  But wait&#8211;HP just published a <a href="http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01663264/c01663264.pdf">HOWTO paper</a> on the topic.  Perhaps things are changing.  Evidently, the installation order of the teaming drivers and Hyper-V is critical:</p>
<p style="padding-left: 30px;"><strong>NOTE</strong><br />
If the teaming software is installed first, the network adapters may cease passing traffic. The resolution to this issue is to uninstall both the HP teaming software and Hyper-V, reboot the server and then reinstall Hyper-V and the teaming software.</p>
<p>But this is my favorite part (Server Core fans, take note):</p>
<p style="padding-left: 30px;"><strong>Uninstalling teaming software</strong><br />
If HP ProLiant Network Teaming Software is already installed on a server, it must be removed (uninstalled) prior to installing and enabling Hyper-V.</p>
<p style="padding-left: 30px;"><strong>NOTE</strong><br />
There is no known method of uninstalling HP ProLiant Teaming software on machines running Windows Server 2008 Server Core. A tool for removing the teaming software is under development and will be available on the HP website in the future. HP recommends that any machine designated to run Server Core, Hyper-V, and teaming be configured as such during the initial installation, using the specified order of installation described above.</p>
<p>Even if Hyper-V is &#8220;free&#8221; and the HP NIC teaming drivers are &#8220;free,&#8221; <strong>your time is valuable</strong>.  Do you want to spend it configuring your hypervisor host OS, or getting real work done for your customers?</p>
<p><strong>UPDATE</strong> You can read more about NIC teaming straight from Microsoft <a href="http://blogs.technet.com/apb/archive/2009/02/25/using-vmm-to-manage-you-hyper-v-nic-teams-created-with-bacs.aspx" target="_blank">in this new post</a>, via <a href="http://blogs.technet.com/chengw/archive/2009/02/26/nic-teaming-and-vmm.aspx" target="_blank">Cheng&#8217;s Random Thoughts</a>.  Wow &#8212; don&#8217;t configure VLANs in SCVMM.  Where&#8217;s the single pane of glass?</p>
<p><em>Please note, the purpose of this article is to highlight the state-of-the-art in hypervisor NIC teaming &#8211;  not knock HP.  I am very satisfied with the HP Proliant servers that I use every day.  They run ESX like a champ!</em></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2011/05/nic-teaming-update-hyper-v-still-cloudy-as-ever/' rel='bookmark' title='NIC Teaming Update: Hyper-V Still Cloudy as Ever'>NIC Teaming Update: Hyper-V Still Cloudy as Ever</a></li>
<li><a href='http://www.vcritical.com/2009/08/single-pane-of-glass-hyper-v-edition/' rel='bookmark' title='Single Pane of Glass &#8212; Hyper-V Edition'>Single Pane of Glass &#8212; Hyper-V Edition</a></li>
<li><a href='http://www.vcritical.com/2010/10/getting-eth0-back-in-a-sles-for-vmware-clone/' rel='bookmark' title='Getting eth0 back in a SLES for VMware clone'>Getting eth0 back in a SLES for VMware clone</a></li>
<li><a href='http://www.vcritical.com/2008/12/thanks-for-all-the-port-groups/' rel='bookmark' title='Thanks for all the port groups!'>Thanks for all the port groups!</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2009/02/yes-nic-teaming-is-not-unsupported/#respond">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/esx/" rel="tag">ESX</a>, <a href="http://www.vcritical.com/tag/hyper-v/" rel="tag">Hyper-V</a>, <a href="http://www.vcritical.com/tag/networking/" rel="tag">networking</a>, <a href="http://www.vcritical.com/tag/server-core/" rel="tag">Server Core</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/02/yes-nic-teaming-is-not-unsupported/">Yes, NIC teaming is not unsupported</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2009 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2009/02/yes-nic-teaming-is-not-unsupported/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Clean up vCenter with PowerShell after SCVMM leaves</title>
		<link>http://www.vcritical.com/2009/01/clean-up-vcenter-with-powershell-after-scvmm-leaves/</link>
		<comments>http://www.vcritical.com/2009/01/clean-up-vcenter-with-powershell-after-scvmm-leaves/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 21:16:01 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=432</guid>
		<description><![CDATA[When System Center Virtual Machine Manager (SCVMM) connects to VirtualCenter/vCenter, several changes are made.  Learn how to recover everything with PowerShell.]]></description>
			<content:encoded><![CDATA[<p>Microsoft System Center Virtual Machine Manager (SCVMM) 2008 makes several changes to your vCenter environment that you may like to know about, especially since they don&#8217;t seem to be mentioned in the product documentation.  It&#8217;s also worth pointing out that none of these changes are reverted when you subsequently decide to discontinue managing vCenter with SCVMM.</p>
<p>There are three different affected areas and you can fix each one manually or all in one shot with a VI Toolkit (for Windows) PowerShell script that I wrote for just this purpose.</p>
<h2>1.  SCVMM Port Groups</h2>
<p><img style=' float: left; padding: 4px; margin: 0 7px 2px 0;'  class="size-full wp-image-436 alignleft" title="VI Client displaying several SCVMM-created networks" src="http://www.vcritical.com/wp-content/uploads/2008/12/networks-scvmm.png" alt="networks-scvmm" width="203" height="205" /></p>
<p>First, let&#8217;s address the new port groups that SCVMM created when managing your VMware ESX VMs.  I covered this in more detail in a <a href="http://www.vcritical.com/2008/12/thanks-for-all-the-port-groups/">previous article</a>.  Essentially, the SCVMM interface presents vSwitches, not port groups.  It then creates one or more new port groups for you without warning &#8212; one per vSwitch, per VLAN, on each ESX host.</p>
<p>To recover from this mess, you will need to reconfigure any VMs that are currently using these port groups and then delete the port groups from the vSwitches.  If you have more than a couple VMs this task will be easier with the script.<span id="more-432"></span></p>
<h2 style="clear:both">2.  Custom Attribute: ClusterInvariantVMMId</h2>
<p>I bet you did not know that SCVMM would add a new strangely-named custom attribute to vCenter and tag every single VM in your inventory with a GUID.  I&#8217;ve heard puzzled VMware customers asking about this.  Initially, the explanation for this phenomenon was not clear &#8212; until I evaluated the SCVMM product and VMware vCenter integration.  If you are done with SCVMM, it is safe to remove this attribute with VI Client (on the Administration menu).</p>
<p><img class="size-full wp-image-435 alignnone" style="border: 1px solid black;" title="VM Annotation field displaying ClusterInvariantVMMID" src="http://www.vcritical.com/wp-content/uploads/2008/12/annotations.png" alt="annotations" width="433" height="243" /></p>
<h2>3.  Self-Service Role</h2>
<p>Evidently the Self-Service Portal feature of SCVMM will allow users to provision and manage VMs on ESX hosts in addition to Hyper-V.  I tried this and it did not work, but I probably wasn&#8217;t persistent enough.  When you are done using SCVMM you won&#8217;t be needing that role anymore &#8212; go ahead and delete it.</p>
<p><img class="alignnone size-full wp-image-433" title="roles" src="http://www.vcritical.com/wp-content/uploads/2008/12/roles.png" alt="roles" width="442" height="265" /></p>
<h2>PowerShell Cleanup Script</h2>
<p>If you would like to clean up all three of these issues in one step, use the following VI Toolkit (for Windows):</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #008000;"># SCVMM-Cleanup.ps1</span>
<span style="color: #008000;">#</span>
<span style="color: #008000;"># When SCVMM connects to vCenter, it makes several changes and doesn't clean up</span>
<span style="color: #008000;"># after itself.  This script returns everything back to normal.</span>
&nbsp;
<span style="color: #008000;"># Version 1.0  January 5, 2009</span>
<span style="color: #008000;"># Eric Gray</span>
&nbsp;
<span style="color: #008000;"># modify this line accordingly</span>
Get<span style="color: pink;">-</span>VC vchostname <span style="color: pink;">-</span>user xxx <span style="color: pink;">-</span>Password yyy
&nbsp;
<span style="color: #008000;"># VMs using SCVMM-created port groups will be reconfigured to use this instead</span>
<span style="color: #800080;">$portGroup</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;VM Network&quot;</span>
&nbsp;
<span style="color: #008000;"># Move all NICs from the SCVMM.vSwitchX.Y port groups to $portGroup</span>
get<span style="color: pink;">-</span>vm <span style="color: pink;">|</span> Get<span style="color: pink;">-</span>NetworkAdapter <span style="color: pink;">|</span> <span style="color: #0000FF;">where</span> <span style="color: #000000;">&#123;</span><span style="color: #000080;">$_</span>.NetworkName <span style="color: #FF0000;">-like</span> <span style="color: #800000;">&quot;SCVMM*&quot;</span><span style="color: #000000;">&#125;</span> `
    <span style="color: pink;">|</span> Set<span style="color: pink;">-</span>NetworkAdapter <span style="color: pink;">-</span>NetworkName <span style="color: #800080;">$portGroup</span> <span style="color: #008080; font-style: italic;">-Confirm</span>:<span style="color: #800080;">$false</span>
&nbsp;
<span style="color: #008000;"># Delete those SCVMM port groups after they are no longer in use</span>
<span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#40;</span><span style="color: #800080;">$esx</span> <span style="color: #0000FF;">in</span> Get<span style="color: pink;">-</span>VMHost<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
    Get<span style="color: pink;">-</span>VirtualPortGroup <span style="color: pink;">-</span>VMHost <span style="color: #800080;">$esx</span>.Name <span style="color: pink;">|</span> <span style="color: #0000FF;">where</span> <span style="color: #000000;">&#123;</span> <span style="color: #000080;">$_</span>.Name <span style="color: #FF0000;">-like</span> <span style="color: #800000;">&quot;SCVMM*&quot;</span> <span style="color: #000000;">&#125;</span> `
    <span style="color: pink;">|</span> Remove<span style="color: pink;">-</span>VirtualPortGroup  <span style="color: #008080; font-style: italic;">-Confirm</span>:<span style="color: #800080;">$false</span>
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #008000;"># Clean up the custom attribute</span>
Get<span style="color: pink;">-</span>Datacenter <span style="color: pink;">|</span> Remove<span style="color: pink;">-</span>CustomField <span style="color: #008080; font-style: italic;">-Name</span> ClusterInvariantVMMId <span style="color: #008080; font-style: italic;">-Confirm</span>:<span style="color: #800080;">$false</span>
&nbsp;
<span style="color: #008000;"># Remove the SCVMM role</span>
<span style="color: #800080;">$authMgr</span> <span style="color: pink;">=</span> Get<span style="color: pink;">-</span>View AuthorizationManager
<span style="color: #0000FF;">foreach</span><span style="color: #000000;">&#40;</span><span style="color: #800080;">$role</span> <span style="color: #0000FF;">in</span> <span style="color: #800080;">$authMgr</span>.RoleList <span style="color: pink;">|</span> <span style="color: #0000FF;">where</span> <span style="color: #000000;">&#123;</span><span style="color: #000080;">$_</span>.Name <span style="color: #FF0000;">-eq</span> <span style="color: #800000;">&quot;SCVMMSelfServiceUser&quot;</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
    <span style="color: #800080;">$authMgr</span>.RemoveAuthorizationRole<span style="color: #000000;">&#40;</span><span style="color: #800080;">$role</span>.roleid<span style="color: pink;">,</span> <span style="color: #804000;">1</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>If you or one of your coworkers accidentally polluted your vCenter environment, this should help you get everything back in order.</p>
<p style="text-align: right;"><em>Thanks go to Carter Shanklin for reviewing the script.</em></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/04/igt-part-6-cluster-invari-what-id/' rel='bookmark' title='IGT Part 6: Cluster invari-what ID?'>IGT Part 6: Cluster invari-what ID?</a></li>
<li><a href='http://www.vcritical.com/2009/03/managing-vi3-with-scvmm-considered-harmful/' rel='bookmark' title='Managing VI3 with SCVMM considered harmful'>Managing VI3 with SCVMM considered harmful</a></li>
<li><a href='http://www.vcritical.com/2008/12/thanks-for-all-the-port-groups/' rel='bookmark' title='Thanks for all the port groups!'>Thanks for all the port groups!</a></li>
<li><a href='http://www.vcritical.com/2009/04/vmware-vcenter-server-4-task-and-event-retention/' rel='bookmark' title='VMware vCenter Server 4 task and event retention'>VMware vCenter Server 4 task and event retention</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2009/01/clean-up-vcenter-with-powershell-after-scvmm-leaves/#respond">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/networking/" rel="tag">networking</a>, <a href="http://www.vcritical.com/tag/powercli/" rel="tag">PowerCLI</a>, <a href="http://www.vcritical.com/tag/powershell/" rel="tag">PowerShell</a>, <a href="http://www.vcritical.com/tag/scvmm/" rel="tag">SCVMM</a>, <a href="http://www.vcritical.com/tag/technical/" rel="tag">Technical</a>, <a href="http://www.vcritical.com/tag/vcenter/" rel="tag">vCenter</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/01/clean-up-vcenter-with-powershell-after-scvmm-leaves/">Clean up vCenter with PowerShell after SCVMM leaves</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2009 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2009/01/clean-up-vcenter-with-powershell-after-scvmm-leaves/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Thanks for all the port groups!</title>
		<link>http://www.vcritical.com/2008/12/thanks-for-all-the-port-groups/</link>
		<comments>http://www.vcritical.com/2008/12/thanks-for-all-the-port-groups/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 00:48:41 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[VI Client]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=362</guid>
		<description><![CDATA[VMware ESX virtual machine networking is pretty straightforward.  A virtual switch (vSwitch) is created on each host by default and is associated with one or more physical NICs.  When multiple physical NICs are used, virtual machines benefit from added redundancy and load balancing by simply connecting to such a vSwitch. However, VMs don&#8217;t connect directly [...]]]></description>
			<content:encoded><![CDATA[<p><img style=' float: left; padding: 4px; margin: 0 7px 2px 0;'  class="size-medium wp-image-370 alignleft" title="viclient-networks" src="http://www.vcritical.com/wp-content/uploads/2008/12/viclient-networks.png" alt="" width="233" height="135" /></p>
<p>VMware ESX virtual machine networking is pretty straightforward.  A virtual switch (vSwitch) is created on each host by default and is associated with one or more physical NICs.  When multiple physical NICs are used, virtual machines benefit from added redundancy and load balancing by simply connecting to such a vSwitch.</p>
<p><strong>However, VMs don&#8217;t connect directly to vSwitches, they connect to port groups on a vSwitch.</strong> Port groups offer a means of configuring different settings, like VLAN and security, on a single vSwitch.  ESX virtual network administrators perform the infrequent task of creating port groups on hosts.  Later, virtual machine administrators simply select appropriate port groups when configuring VMs, seen as friendly names like this in the VI Client:</p>
<p><img class="size-full wp-image-383 alignnone" title="viclient-vm-network" src="http://www.vcritical.com/wp-content/uploads/2008/12/viclient-vm-network.png" alt="viclient-vm-network" width="243" height="73" /></p>
<p>VM administrators do not necessarily know or care about VLAN or security settings, so this model abstracts some of the complexity that is a result of this network configuration flexibility.  Here is what a vSwitch with two port groups and two physical NICs looks like:</p>
<p><img class="alignnone size-full wp-image-384" title="vswitch1-2pg" src="http://www.vcritical.com/wp-content/uploads/2008/12/vswitch1-2pg.png" alt="vswitch1-2pg" width="463" height="149" /></p>
<p>Unfortunately, if you use Microsoft System Center Virtual Machine Manager (SCVMM) to configure your VMware ESX virtual machines, <span id="more-362"></span>you are only offered vSwitches in the configuration interfaces, not port groups:</p>
<p><img class="size-full wp-image-382 alignnone" title="esxvm-network-connect-scvmm" src="http://www.vcritical.com/wp-content/uploads/2008/12/esxvm-network-connect-scvmm.png" alt="esxvm-network-connect-scvmm" width="373" height="200" /></p>
<p>When creating a new VM, or modifying an existing  one, SCVMM simply introduces new port groups on the fly into your environment.  Well, that&#8217;s one way to avoid having to figure out which existing port group to use, but it might have been better if the SCVMM interface actually presented the correct objects in the first place.</p>
<p>After making such a configuration change, the VM is then connected to a cryptically-named network like this:</p>
<p><img class="alignnone size-full wp-image-369" title="esxvm-network" src="http://www.vcritical.com/wp-content/uploads/2008/12/esxvm-network.png" alt="" width="233" height="82" /></p>
<p>And new port groups are added to the vSwitches on all ESX hosts, something the virtual network administrator might not appreciate:</p>
<p><img class="alignnone size-full wp-image-385" title="vswitch1-4pg" src="http://www.vcritical.com/wp-content/uploads/2008/12/vswitch1-4pg.png" alt="vswitch1-4pg" width="448" height="244" /></p>
<p>Are you thinking about managing VMware ESX with SCVMM?  Are you also the virtual network administrator?  If not, you may have some explaining to do.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2011/05/the-secret-of-ephemeral-port-groups/' rel='bookmark' title='The Secret of Ephemeral Port Groups'>The Secret of Ephemeral Port Groups</a></li>
<li><a href='http://www.vcritical.com/2009/01/clean-up-vcenter-with-powershell-after-scvmm-leaves/' rel='bookmark' title='Clean up vCenter with PowerShell after SCVMM leaves'>Clean up vCenter with PowerShell after SCVMM leaves</a></li>
<li><a href='http://www.vcritical.com/2011/05/nic-teaming-update-hyper-v-still-cloudy-as-ever/' rel='bookmark' title='NIC Teaming Update: Hyper-V Still Cloudy as Ever'>NIC Teaming Update: Hyper-V Still Cloudy as Ever</a></li>
<li><a href='http://www.vcritical.com/2009/03/managing-vi3-with-scvmm-considered-harmful/' rel='bookmark' title='Managing VI3 with SCVMM considered harmful'>Managing VI3 with SCVMM considered harmful</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2008/12/thanks-for-all-the-port-groups/#respond">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/esx/" rel="tag">ESX</a>, <a href="http://www.vcritical.com/tag/networking/" rel="tag">networking</a>, <a href="http://www.vcritical.com/tag/scvmm/" rel="tag">SCVMM</a>, <a href="http://www.vcritical.com/tag/vi-client/" rel="tag">VI Client</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2008/12/thanks-for-all-the-port-groups/">Thanks for all the port groups!</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2008 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2008/12/thanks-for-all-the-port-groups/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

