<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ken&#039;s Virtual Reality</title>
	<atom:link href="http://kensvirtualreality.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://kensvirtualreality.wordpress.com</link>
	<description>My Ramblings about all things Virtual</description>
	<lastBuildDate>Tue, 18 Jan 2011 17:06:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='kensvirtualreality.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/1edd7eeb68a01346ea4f50824cdab9ec?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Ken&#039;s Virtual Reality</title>
		<link>http://kensvirtualreality.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://kensvirtualreality.wordpress.com/osd.xml" title="Ken&#039;s Virtual Reality" />
	<atom:link rel='hub' href='http://kensvirtualreality.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Is it &#8220;number&#8221; or &#8220;amount&#8221;?</title>
		<link>http://kensvirtualreality.wordpress.com/2009/12/23/is-it-number-or-amount/</link>
		<comments>http://kensvirtualreality.wordpress.com/2009/12/23/is-it-number-or-amount/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 22:39:55 +0000</pubDate>
		<dc:creator>Ken Cline</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://kensvirtualreality.wordpress.com/?p=304</guid>
		<description><![CDATA[OK&#8230;this is not a technical post, it&#8217;s a word choice post. &#60;soapbox&#62; I&#8217;m going to let you all in on one of my pet peeves &#8230; it seems that too many people who write about technology don&#8217;t know the difference between the words &#8220;number&#8221; and &#8220;amount&#8221;. A couple of examples: What is the amount of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=304&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>OK&#8230;this is not a technical post, it&#8217;s a word choice post.</p>
<p>&lt;soapbox&gt;<br />
I&#8217;m going to let you all in on one of my pet peeves &#8230; it seems that too many people who write about technology don&#8217;t know the difference between the words &#8220;number&#8221; and &#8220;amount&#8221;. A couple of examples:</p>
<ul>
<li>What is the amount of NICs in that server?</li>
<li>The amount of TB of storage is surprising.</li>
<li>The amount of ways the problem can be solved&#8230;</li>
<li>The number of RAMs in servers today is amazing.</li>
</ul>
<p>I could go on and on&#8230;but you get the idea. Let me make it as simple as I can:</p>
<dl>
<dt>Number</dt>
<dd>Used for items that are enumerable &#8211; i.e. you can count them as 1, 2, 3. In the examples above, you can count NICs, TB, and &#8220;ways&#8221;, but you can&#8217;t count &#8220;RAMs&#8221;.</dd>
<dt>Amount</dt>
<dd>Used for things that do not have a definite quantity. Let&#8217;s use RAM as an example. [Q:] How much RAM is in your server? [A:] I have 64GB of RAM in my server.</dd>
<dd>Notice that you provide a specific number of GB, but &#8220;RAM&#8221; is not a quantity.</dd>
</dl>
<p>So please, let&#8217;s start using the right word in the right place! When you get ready to write a word that indicates a certain quantity of something &#8211; consider whether you can COUNT the thing(s) you&#8217;re quantifying. And just in case you&#8217;re wondering, it doesn&#8217;t matter that you can count DIMMs, you can&#8217;t count RAM!</p>
<p>&lt;/soapbox&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kensvirtualreality.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kensvirtualreality.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kensvirtualreality.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kensvirtualreality.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kensvirtualreality.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kensvirtualreality.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kensvirtualreality.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kensvirtualreality.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kensvirtualreality.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kensvirtualreality.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kensvirtualreality.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kensvirtualreality.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kensvirtualreality.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kensvirtualreality.wordpress.com/304/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=304&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kensvirtualreality.wordpress.com/2009/12/23/is-it-number-or-amount/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d1c81a8142525d780fda1c5064ceb1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ken Cline</media:title>
		</media:content>
	</item>
		<item>
		<title>The Great vSwitch Debate &#8211; Part 8 (Final)</title>
		<link>http://kensvirtualreality.wordpress.com/2009/05/13/the-great-vswitch-debate-part-8-final/</link>
		<comments>http://kensvirtualreality.wordpress.com/2009/05/13/the-great-vswitch-debate-part-8-final/#comments</comments>
		<pubDate>Wed, 13 May 2009 14:44:28 +0000</pubDate>
		<dc:creator>Ken Cline</dc:creator>
				<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[best practice]]></category>
		<category><![CDATA[vswitch]]></category>

		<guid isPermaLink="false">http://kensvirtualreality.wordpress.com/?p=293</guid>
		<description><![CDATA[OK, I promised, so here we go! The other seven parts of this series have all dealt with the technical aspects of vSwitches, pNICs, Port Groups and such. This part will deal with the more mundane aspect of naming standards. While maybe not as glamorous, this is definitely one of the most important aspects of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=293&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>OK, I promised, so here we go! The other seven parts of this series have all dealt with the technical aspects of vSwitches, pNICs, Port Groups and such. This part will deal with the more mundane aspect of naming standards. While maybe not as glamorous, this is definitely one of the most important aspects of building your virtual infrastructure. Oh, by the way, the names I used in this series of article (i.e. PG_APP1, PG_VMotion, etc.) are <em>really bad</em> names for a production environment!</p>
<p>A naming standard is exactly what the title sounds like – a standard for defining the names of things. In my opinion, a naming standard should achieve a couple things:</p>
<ul>
<li>Provide a simple, consistent method for assigning names to objects – there is nothing “arbitrary” about a naming standard</li>
<li>Be flexible enough to accommodate most, if not all, use cases</li>
<li>Provide an effective means for all parties involved to understand what is being described</li>
</ul>
<p><span id="more-293"></span>While these may seem really obvious and simple to achieve, there can be alligators hiding just beneath the surface!</p>
<p>The first two are, indeed, fairly simple. It’s that third bullet that can cause heartburn. Why? Because there are so many parties involved! First, you have the ESX administrators. They need to be able to accurately connect a virtual machine to the proper port group. Failure to do so could result in a VM that is unable to communicate, or worse, a VM that can communicate on the wrong network! Next, you have the OS administrators who are responsible for administering the guest operating system within the VM. They have to be able to effectively communicate to the ESX admin which network to connect the VM to. This person has absolutely no idea what a “port group” is and they’re not interested in learning…it’s just outside the scope of their responsibility. And if you think the OS admin doesn’t know what a port group is, imagine what the application admin knows!</p>
<p>So, up to this point, we’ve got three different points of view. We’ve got an application administrator who knows that his application needs to be on the SAP network; an OS admin who wants his VM connected to the production network; and an ESX admin who doesn’t care what the functionality is – he just wants to know what port group to connect the vNIC to. Oh yeah, there is one other group who has an interest in this whole thing – the network admins. These folks don’t know about applications, don’t care about operating systems, and stare at you blankly when you mention port groups – all they understand is that a host system needs to be connected to a particular VLAN number!</p>
<p>As you can see, the real challenge of defining a naming standard is developing a common vernacular so that everyone understands what everyone else means when they identify their network. I’ve seen all sorts of standards put into use. Some are better than others, and some are simply miserable!</p>
<p>Virtual switches are actually very simple to name…accept the default value of “vSwitch#” where # is the incremental count of vSwitches that have been created. The first vSwitch to be created will be “vSwitch1”, the second will be “vSwitch2”; I think you get the idea, so I’m not going to spend any more time on vSwitch naming.</p>
<p>Port Groups are another matter all together! By default, when you install ESX, there will be a single vSwitch created (vSwitch1) and it will have two port groups created on it. These port groups will be named “Service Console” and “Virtual Machines” to reflect their intended usage. This is a valid naming convention (i.e. name the port group based on the services that will be connected to it), but it does have some limitations. Think back to our discussion above. The ESX admin will feel right at home, but does “Virtual Machines” mean anything to the application administrator? The OS administrator? Or the network administrator? Probably not.</p>
<p>This is a prime example of a name that doesn’t fulfill our stated objectives. So, what is a good naming standard? Well, let’s consider everyone we have to satisfy:</p>
<ul>
<li>Application Admin: We need to be able to let the application administrator communicate the function of the port group</li>
<li>Server OS Admin: Needs to be able to communicate the environment into which the VM needs to be placed</li>
<li>ESX Admin: Will be creating the port group and assigning the name. Is also responsible for actually connecting a vNIC to a port group. Needs to be able to understand what his customers are asking him to do</li>
<li>Network Admin: Needs to be able to communicate and understand where the vNIC needs to reside within the overall network infrastructure</li>
</ul>
<p>So, a possible option for a naming standard could be something like this:</p>
<p>                SAP Prod VLAN123</p>
<p>This is actually pretty good. We know that the port group is used to support the SAP application in the production environment and that it lives on VLAN 123. There are a couple of issues with this standard, though. The biggest “problem” from my point of view is the use of spaces. Spaces do not cause a problem in a virtual environment; however, they can present an interesting challenge when it comes to automation. Spaces are viewed as delimiters in most scripting languages, so if your script developer (or the script developer of the third-party product or the guy on the Internet who developed a cool script) isn’t careful, you can have some “unexpected behaviors” at some point in the future.</p>
<p>It’s actually a simple matter to protect against this type of scripting error: don’t use spaces in your naming standard! So, you could name your port group something like this:</p>
<p>                SAP_Prod_VLAN123<br />
                SAP_Dev_VLAN224<br />
                Mail_DMZ_VLAN400<br />
                VIAdmin_Admin_VLAN10<br />
                WinAdmin_Admin_VLAN11<br />
                Backup_Backup_VLAN543</p>
<p>Now we have a standard name that is easily understood by all parties involved and protects against poor scripting habits. While this is certainly not the “end-all and be-all” naming standard, it does meet our stated goals. You should look at your environment and develop a standard that meets the requirements identified above plus whatever other requirements you may have. If you can do that – and stick to it – you will have a virtual networking stack that meets your needs and is simple to administer. That’s my definition of goodness.</p>
<p>I&#8217;d like to thank you for taking the time to read through this series of articles. It&#8217;s been an interesting challenge for me to commit all of this to &#8220;paper&#8221; and I hope you&#8217;ve found it useful. Look forward to more stuff from me in the future!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kensvirtualreality.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kensvirtualreality.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kensvirtualreality.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kensvirtualreality.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kensvirtualreality.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kensvirtualreality.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kensvirtualreality.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kensvirtualreality.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kensvirtualreality.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kensvirtualreality.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kensvirtualreality.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kensvirtualreality.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kensvirtualreality.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kensvirtualreality.wordpress.com/293/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=293&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kensvirtualreality.wordpress.com/2009/05/13/the-great-vswitch-debate-part-8-final/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d1c81a8142525d780fda1c5064ceb1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ken Cline</media:title>
		</media:content>
	</item>
		<item>
		<title>HyTrust Appliance: Community Edition</title>
		<link>http://kensvirtualreality.wordpress.com/2009/05/05/hytrust-appliance-community-edition/</link>
		<comments>http://kensvirtualreality.wordpress.com/2009/05/05/hytrust-appliance-community-edition/#comments</comments>
		<pubDate>Tue, 05 May 2009 07:01:37 +0000</pubDate>
		<dc:creator>Ken Cline</dc:creator>
				<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[hytrust]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[virtual appliance]]></category>

		<guid isPermaLink="false">http://kensvirtualreality.wordpress.com/?p=284</guid>
		<description><![CDATA[Today, HyTrust is releasing the Community Edition of their HyTrust Appliance. The HyTrust Appliance comes in two different formats: a physical appliance and a virtual appliance. Either gets inserted between your administrative users and your virtual infrastructure (see my earlier post for more details). The HyTrust Appliance Community Edition is a full-featured virtual appliance that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=284&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today, HyTrust is releasing the Community Edition of their HyTrust Appliance. The HyTrust Appliance comes in two different formats: a physical appliance and a virtual appliance. Either gets inserted between your administrative users and your virtual infrastructure (see my <a href="http://kensvirtualreality.wordpress.com/2009/04/06/hytrust-appliance/">earlier post</a> for more details).</p>
<p>The HyTrust Appliance Community Edition is a full-featured virtual appliance that allows you to manage up to three ESX hosts. This is a great way for smaller organizations to gain the benefits of centralized authentication, consistent security configuration, and greatly enhanced auditability. It also gives organizations of all sizes the chance to &#8220;kick the tires&#8221; on the product to see if it fits their needs. All of this in a totally FREE product (well, you do have to register&#8230;).</p>
<p>Quoting from the Press Release:</p>
<p style="margin-bottom:.0001pt;line-height:150%;"><strong></strong></p>
<p style="margin-bottom:.0001pt;line-height:150%;"><strong></strong></p>
<blockquote>
<p style="margin-bottom:.0001pt;line-height:150%;"><strong><span style="color:black;">Pricing &amp; Availability</span></strong></p>
<p style="margin-bottom:.0001pt;line-height:150%;"><span style="color:black;">HyTrust Appliance, Community Edition is now available for download now as a pre-built, VMware-compatible virtual appliance to members of HyTrust Community. To join the community free of charge, go to </span><a href="http://www.hytrust.com/community/register" target="_blank">http://www.hytrust.com/community/register</a><span style="color:black;">. Support for Community Edition is provided by the Community via online forum participation and direct community member interaction.</span></p>
</blockquote>
<p>This is a great opportunity &#8211; join the HyTrust Community and download the HyTrust Appliance Community Edition today. It will simplify your life, no matter how small (or large) your environment!</p>
<p>KLC</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kensvirtualreality.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kensvirtualreality.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kensvirtualreality.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kensvirtualreality.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kensvirtualreality.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kensvirtualreality.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kensvirtualreality.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kensvirtualreality.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kensvirtualreality.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kensvirtualreality.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kensvirtualreality.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kensvirtualreality.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kensvirtualreality.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kensvirtualreality.wordpress.com/284/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=284&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kensvirtualreality.wordpress.com/2009/05/05/hytrust-appliance-community-edition/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d1c81a8142525d780fda1c5064ceb1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ken Cline</media:title>
		</media:content>
	</item>
		<item>
		<title>Ken Cline Joins VMware</title>
		<link>http://kensvirtualreality.wordpress.com/2009/05/04/ken-cline-joins-vmware/</link>
		<comments>http://kensvirtualreality.wordpress.com/2009/05/04/ken-cline-joins-vmware/#comments</comments>
		<pubDate>Tue, 05 May 2009 00:07:47 +0000</pubDate>
		<dc:creator>Ken Cline</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://kensvirtualreality.wordpress.com/?p=288</guid>
		<description><![CDATA[Hi all, I wanted to take a minute and let everyone know that I have accepted a position as a Senior Consultant at VMware (actually started 27 April). I am working in the Professional Services Organization (PSO) and will be focusing on customers in the Federal Civil Sector, primarily in the Washington, DC area. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=288&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi all,</p>
<p>I wanted to take a minute and let everyone know that I have accepted a position as a Senior Consultant at VMware (actually started 27 April). I am working in the Professional Services Organization (PSO) and will be focusing on customers in the Federal Civil Sector, primarily in the Washington, DC area.</p>
<p>I want to let you know this so that you know where I&#8217;m coming from when I write here &#8211; although please do understand that this is my PERSONAL blog and anything that shows up here is my PERSONAL opinion. I do not have the authority (nor the desire) to speak on behalf of my employer, so if I say it, it&#8217;s because it conforms to &#8220;Virtualization according to Ken&#8221; &#8211; not &#8220;Virtualization according to VMware&#8221;!</p>
<p>Thanks for stopping by. I&#8217;ll try to make the content here worth your time, so stop by every once in a while to see what I&#8217;ve cooked up!</p>
<p>KLC</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kensvirtualreality.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kensvirtualreality.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kensvirtualreality.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kensvirtualreality.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kensvirtualreality.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kensvirtualreality.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kensvirtualreality.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kensvirtualreality.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kensvirtualreality.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kensvirtualreality.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kensvirtualreality.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kensvirtualreality.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kensvirtualreality.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kensvirtualreality.wordpress.com/288/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=288&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kensvirtualreality.wordpress.com/2009/05/04/ken-cline-joins-vmware/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d1c81a8142525d780fda1c5064ceb1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ken Cline</media:title>
		</media:content>
	</item>
		<item>
		<title>The Great vSwitch Debate &#8211; Part 7</title>
		<link>http://kensvirtualreality.wordpress.com/2009/05/01/the-great-vswitch-debate-part-7/</link>
		<comments>http://kensvirtualreality.wordpress.com/2009/05/01/the-great-vswitch-debate-part-7/#comments</comments>
		<pubDate>Fri, 01 May 2009 18:15:13 +0000</pubDate>
		<dc:creator>Ken Cline</dc:creator>
				<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[best practice]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vswitch]]></category>

		<guid isPermaLink="false">http://kensvirtualreality.wordpress.com/?p=265</guid>
		<description><![CDATA[OK&#8230;if you&#8217;ve followed along this far, you&#8217;re either 1) enjoying what you&#8217;re reading, 2) a glutton for punishmnet, or 3) really, really bored. Hopefully, it&#8217;s #1 and you&#8217;re here because you&#8217;ve read the first six posts in this series and you just can&#8217;t wait for me to add #7! If you&#8217;ve not read the first [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=265&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>OK&#8230;if you&#8217;ve followed along this far, you&#8217;re either 1) enjoying what you&#8217;re reading, 2) a glutton for punishmnet, or 3) really, really bored. Hopefully, it&#8217;s #1 and you&#8217;re here because you&#8217;ve read the first six posts in this series and you just can&#8217;t wait for me to add #7! If you&#8217;ve not read the first six posts, I recommend that you go back and do so now. The first six posts were:</p>
<ul class="unIndentedList">
<li><a href="http://kensvirtualreality.wordpress.com/2009/03/29/the-great-vswitch-debate-part-1/" target="_blank">The Great vSwitch Debate &#8211; Part 1</a><br />
In this post, I discussed vSwitch functions, Port Groups, VLAN tagging/trunking, valid communications paths, and some other basic vSwitch information.</li>
<li><a href="http://kensvirtualreality.wordpress.com/2009/03/29/the-great-vswitch-debate-part-2/" target="_blank">The Great vSwitch Debate &#8211; Part 2</a><br />
In Part 2, I covered the vSwitch security features (Promiscuous Mode, MAC Address Change, and Forged Transmits) as well as network traffic shaping options.</li>
<li><a href="http://kensvirtualreality.wordpress.com/2009/04/05/the-great-vswitch-debate%E2%80%93part-3/" target="_blank">The Great vSwitch Debate &#8211; Part 3</a><br />
Here I discussed the various load balancing options that are available in a VMware vSwitch.</li>
<li><a title="The Great vSwitch Debate - Part 4" href="http://kensvirtualreality.wordpress.com/2009/04/10/the-great-vswitch-debate-part-4/" target="_blank">The Great vSwitch Debate &#8211; Part 4</a><br />
In Part 4, I covered fault detection and the Cisco Discovery Protocol.</li>
<li><a title="The Great vSwitch Debate - Part 4" href="http://kensvirtualreality.wordpress.com/2009/04/17/the-great-vswitch-debate-part-5/" target="_blank">The Great vSwitch Debate &#8211; Part 5</a><br />
In Part 5, I talked about the various networks that you have to contend with in an ESX environment as well as an approach to help in deciding which networks to combine, if you have to.</li>
<li><a href="http://kensvirtualreality.wordpress.com/2009/04/20/the-great-vswitch-debate-part-6/" target="_blank">The Great vSwitch Debate &#8211; Part 6<br />
</a>I introduced the first host configuration. In this part, I talked about my recommendations for when you have eight pNICs and offered up a couple alternatives, including one for using an iSCSI initiator from within a VM.</li>
</ul>
<p>In this Part 7, I&#8217;m going to discuss configurations for systems with two, four, and six pNICS. The same ground rules I established in <a href="http://kensvirtualreality.wordpress.com/2009/04/20/the-great-vswitch-debate-part-6/">Part 6</a> are going to apply here &#8211; for those who are skipping ahead or who have short memories, here they are:<span id="more-265"></span></p>
<ul class="unIndentedList">
<li>All networks will have at least two pNICs to provide fault tolerance. While ESX will work just fine without the fault tolerance features, I don&#8217;t consider that to be an option for a real live &#8220;production&#8221; environment. If you&#8217;re building out a personal &#8220;playground&#8221; or a lab environment, feel free to cut the number of pNICs in half, but don&#8217;t come crying to me if your one and only network connection fails and your ESX/i host and/or your VMs fall off the face of the network!</li>
<li>Unless otherwise specified, all configuration options are set to their defaults values. This is in line with my &#8220;Don&#8217;t change a default value unless you have a good reason&#8221; philosophy (and it makes it easier to describe!)</li>
<li>There is a requirement to support two separate &#8220;application zones&#8221;. These are logically separate networks that could be separated via VLANs or physical separation.</li>
</ul>
<p>For each configuration, we&#8217;re going to use the same set of Port Groups &#8211; regardless of how many pNICs or vSwitches we create. If you remember from the end of <a href="http://kensvirtualreality.wordpress.com/2009/04/20/the-great-vswitch-debate-part-6/">Part 5</a>, I made this recommendation for manageability and scaleability, so I&#8217;m going to stick to it. So, for each of our host configurations, we&#8217;ll have the Port Group configuration shown in Figure 1 and Figure 2. Figure 1 shows the port groups for environments that are using IP Storage (iSCSI and/or NFS):</p>
<div id="attachment_269" class="wp-caption aligncenter" style="width: 479px"><a href="http://kensvirtualreality.files.wordpress.com/2009/05/with-ipstor.png"><img class="size-full wp-image-269" title="Figure 1. Port Groups with IP Storage" src="http://kensvirtualreality.files.wordpress.com/2009/05/with-ipstor.png?w=469&#038;h=57" alt="Figure 1. Port Groups with IP Storage" width="469" height="57" /></a><p class="wp-caption-text">Figure 1. Port Groups with IP Storage</p></div>
<p>And Figure 2 shows the port groups for those who are using local storage or fibre channel attached SAN storage:</p>
<div id="attachment_270" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/05/without-ipstor.png"><img class="size-full wp-image-270" title="Figure 2. Port Groups without IP Storage" src="http://kensvirtualreality.files.wordpress.com/2009/05/without-ipstor.png?w=470&#038;h=77" alt="Figure 2. Port Groups without IP Storage" width="470" height="77" /></a><p class="wp-caption-text">Figure 2. Port Groups without IP Storage</p></div>
<p>In all cases, I strongly recommend the use of VLAN tagging if your network infrastructure supports it. Tagging will provide logical separation of traffic (physical is better than logical, logical is better than nothing!). It would be up to your networking team to assign the actual VLAN numbers, so coordination is critical! Now, on with the host configurations!</p>
<h2>Configuration with Six pNICs</h2>
<p>In <a href="http://kensvirtualreality.wordpress.com/2009/04/20/the-great-vswitch-debate-part-6/">Part 6</a> we talked about the configuration for a host with eight pNICs, so let&#8217;s look now at a host with six pNICs. With only six pNICs, you have to start making some choices &#8211; especially if you&#8217;re using IP Storage. You no longer have enough pNICs to provide each port group with its own fully redundant set of pNICs &#8211; you have to combine some networks. This is where you might want to go back and review the interaction matrices back in <a href="http://kensvirtualreality.wordpress.com/2009/04/17/the-great-vswitch-debate-part-5/">Part 5</a>. Based on your own unique set of circumstances, you would decide which networks to combine together on a single vSwitch. </p>
<p>Figure 3 shows a fairly standard configuration for use with six pNICs when IP Storage is used. </p>
<div id="attachment_272" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/05/fig-3-six-pnics-with-ip-storage.png"><img class="size-full wp-image-272" title="Figure 3. Six pNICs with IP Storage" src="http://kensvirtualreality.files.wordpress.com/2009/05/fig-3-six-pnics-with-ip-storage.png?w=470&#038;h=220" alt="Figure 3. Six pNICs with IP Storage" width="470" height="220" /></a><p class="wp-caption-text">Figure 3. Six pNICs with IP Storage</p></div>
<p>Notice that I combined the management and VMotion port groups (PG_Mgmt &amp; PG_VMotion) onto a single vSwitch sharing a pair of pNICs. One alternative was to combine Management and IP Storage &#8211; I opted for VMotion because there is less traffic there, so there should be less interference between the two networks. The other option was to combine IP Storage and VMotion. I don&#8217;t normally like to do that because you then have two high-volume consumers using the same set of pNICs &#8211; but it is an option, and if you really need to isolate your management network, it could be the right option.</p>
<p>If you&#8217;re not using IP Storage, then six pNICs is pretty straight forward &#8211; three vSwitches to support the various functions (see Figure 4):</p>
<div id="attachment_271" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/05/fig-4-six-pnics-without-ip-storage.png"><img class="size-full wp-image-271" title="Figure 4. Six pNICs without IP Storage" src="http://kensvirtualreality.files.wordpress.com/2009/05/fig-4-six-pnics-without-ip-storage.png?w=470&#038;h=255" alt="Figure 4. Six pNICs without IP Storage" width="470" height="255" /></a><p class="wp-caption-text">Figure 4. Six pNICs without IP Storage</p></div>
<h2 style="font-size:1.5em;">Configuration with Four pNICs</h2>
<p>With only four pNICs, it begins to get a little more interesting. We are resource constrained to the point where we have no choice other than to mix critical networking services, so the question is &#8211; which ones? I opted to mix them up as shown in Figure 5.</p>
<div id="attachment_277" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/05/fig-5-four-pnics-with-ip-storage1.png"><img class="size-full wp-image-277" title="Figure 5. Four pNICs with IP Storage" src="http://kensvirtualreality.files.wordpress.com/2009/05/fig-5-four-pnics-with-ip-storage1.png?w=470&#038;h=220" alt="Figure 5. Four pNICs with IP Storage" width="470" height="220" /></a><p class="wp-caption-text">Figure 5. Four pNICs with IP Storage</p></div>
<p>Based on my belief that virtual machine traffic is toxic from a security standpoint, mixing of VM traffic with &#8220;infrastructure support&#8221; traffic would be a last resort. Taking IP Storage out of the picture yields Figure 6.</p>
<div id="attachment_275" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/05/fig-6-four-pnics-without-ip-storage.png"><img class="size-full wp-image-275" title="Figure 6. Four pNICs without IP Storage" src="http://kensvirtualreality.files.wordpress.com/2009/05/fig-6-four-pnics-without-ip-storage.png?w=470&#038;h=258" alt="Figure 6. Four pNICs without IP Storage" width="470" height="258" /></a><p class="wp-caption-text">Figure 6. Four pNICs without IP Storage</p></div>
<p>No surprises there! With four pNICs, I don&#8217;t see very many alternatives, although I guess you could opt for a single vSwitch with active and standby pNICs, but that adds complexity and little value. All it would do is to provide you with a failover path in the event that you lost both of your pNICs associated with a given function. Since we&#8217;ve been satisfied with single pNIC failure tolerance so far, I see no reason to start worrying about it now!</p>
<h2 style="font-size:1.5em;">Configuration with Two pNICs</h2>
<p>The use of only two pNICs is not recommended. You don&#8217;t have the ability to separate virtual machine traffic from infrastructure support traffic and still retain redundancy. To me, that&#8217;s not a viable configuration &#8211; except, perhaps, in a lab environment. This configuration seems to come up most frequently with some older blade servers and in &#8220;build it yourself&#8221; systems. If you have any way to add another pair of network adapters into your host, please do so!</p>
<p>So, let&#8217;s assume that you&#8217;re stuck and you really, really have to use a system with only two pNICs&#8230;well, there aren&#8217;t many choices! Here&#8217;s what I would do (Figure 7):</p>
<div id="attachment_280" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/05/fig-7-two-pnics-with-ip-storage.png"><img class="size-full wp-image-280" title="Figure 7. Two pNICs with IP Storage" src="http://kensvirtualreality.files.wordpress.com/2009/05/fig-7-two-pnics-with-ip-storage.png?w=470&#038;h=221" alt="Figure 7. Two pNICs with IP Storage" width="470" height="221" /></a><p class="wp-caption-text">Figure 7. Two pNICs with IP Storage</p></div>
<p>Yikes! That&#8217;s an ugly diagram! Due to the limited number of pNICs, I have elected to specify active and standby pNICs for each of the port groups. Normally, I don&#8217;t like to do this because it adds significantly to the overall complexity of the environment (just look at that diagram!). By overriding the default vSwitch behavior, I&#8217;m able to separate my VM traffic from my infrastructure support traffic except under failure conditions. Not an ideal arrangement, but hey, you do what you gotta do, right?</p>
<p>Once again, removing IP Storage only serves to simplify things (one less port group / network type to worry about!) &#8211; see Figure 8.</p>
<div id="attachment_279" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/05/fig-8-two-pnics-without-ip-storage.png"><img class="size-full wp-image-279" title="Figure 8. Two pNICs without IP Storage" src="http://kensvirtualreality.files.wordpress.com/2009/05/fig-8-two-pnics-without-ip-storage.png?w=470&#038;h=268" alt="Figure 8. Two pNICs without IP Storage" width="470" height="268" /></a><p class="wp-caption-text">Figure 8. Two pNICs without IP Storage</p></div>
<h2><strong>Configuration with One pNIC</strong></h2>
<p>If I don&#8217;t recommend the use of a system with only two pNICs, you can probably guess what my opinion of a single pNIC is! There is no way to separate traffic (other than by VLAN tagging &#8211; but if you can&#8217;t afford at least two pNICs, chances are good your pSwitch doesn&#8217;t support 802.1Q!) and there is no way to provide any redundancy. Redundancy was one of the requirements I set out at the beginning of this exercise, and since I can&#8217;t satisfy my requirement with a single pNIC, I&#8217;m nog even going to draw the picture. </p>
<p>If you absolutely, postively have to run with only one pNIC, I would still encourage you to create the port groups. It will help you to manage the environment &#8211; and if you&#8217;re just learning the environment, it will give you the ability to exercise most of the features of the management interface.</p>
<h2>Summary</h2>
<p>I hope you&#8217;ve enjoyed this series on vSwitches and virtual networking in general. I do have one more article that I want to write still &#8211; one about naming standards. I hope to get that one out pretty quickly, but the weekend is looking pretty busy and next week is jam packed, so it may take a while. In the meantime, enjoy the articles and please, if you have comments or questions, leave me a note. I&#8217;ll try to get back to you as quickly as I can.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kensvirtualreality.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kensvirtualreality.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kensvirtualreality.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kensvirtualreality.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kensvirtualreality.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kensvirtualreality.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kensvirtualreality.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kensvirtualreality.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kensvirtualreality.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kensvirtualreality.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kensvirtualreality.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kensvirtualreality.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kensvirtualreality.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kensvirtualreality.wordpress.com/265/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=265&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kensvirtualreality.wordpress.com/2009/05/01/the-great-vswitch-debate-part-7/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d1c81a8142525d780fda1c5064ceb1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ken Cline</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/05/with-ipstor.png" medium="image">
			<media:title type="html">Figure 1. Port Groups with IP Storage</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/05/without-ipstor.png" medium="image">
			<media:title type="html">Figure 2. Port Groups without IP Storage</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/05/fig-3-six-pnics-with-ip-storage.png" medium="image">
			<media:title type="html">Figure 3. Six pNICs with IP Storage</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/05/fig-4-six-pnics-without-ip-storage.png" medium="image">
			<media:title type="html">Figure 4. Six pNICs without IP Storage</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/05/fig-5-four-pnics-with-ip-storage1.png" medium="image">
			<media:title type="html">Figure 5. Four pNICs with IP Storage</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/05/fig-6-four-pnics-without-ip-storage.png" medium="image">
			<media:title type="html">Figure 6. Four pNICs without IP Storage</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/05/fig-7-two-pnics-with-ip-storage.png" medium="image">
			<media:title type="html">Figure 7. Two pNICs with IP Storage</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/05/fig-8-two-pnics-without-ip-storage.png" medium="image">
			<media:title type="html">Figure 8. Two pNICs without IP Storage</media:title>
		</media:content>
	</item>
		<item>
		<title>Updated: Reaction to: &#8220;How to Correctly Explain the Architectural Differences Between Hyper-V and ESX&#8221;</title>
		<link>http://kensvirtualreality.wordpress.com/2009/04/23/reaction-to-how-to-correctly-explain-the-architectural-differences-between-hyper-v-and-esx/</link>
		<comments>http://kensvirtualreality.wordpress.com/2009/04/23/reaction-to-how-to-correctly-explain-the-architectural-differences-between-hyper-v-and-esx/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 16:10:28 +0000</pubDate>
		<dc:creator>Ken Cline</dc:creator>
				<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://kensvirtualreality.wordpress.com/?p=237</guid>
		<description><![CDATA[Oh, goodness! It seems that Greg Shields&#8217; attempt at &#8220;How to Correctly Explain the Architectural Differences Between Hyper-V and ESX&#8221; isn&#8217;t all that correct. Oh, he starts out pretty well, classifying both Hyper-V and ESX as Type-1 hypervisors, which is correct. Where he goes astray is when he claims that Hyper-V utilizes &#8220;paravirtualization&#8221; and ESX [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=237&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Oh, goodness! It seems that Greg Shields&#8217; attempt at &#8220;<a href="http://www.realtime-windowsserver.com/virtualization/2009/04/how_to_correctly_explain_the_a_1.htm">How to Correctly Explain the Architectural Differences Between Hyper-V and ESX</a>&#8221; isn&#8217;t all that correct. Oh, he starts out pretty well, classifying both Hyper-V and ESX as Type-1 hypervisors, which is correct. Where he goes astray is when he claims that Hyper-V utilizes &#8220;paravirtualization&#8221; and ESX relies on &#8220;hardware emulation&#8221; &#8211; wrong!<span id="more-237"></span></p>
<p>As a matter of fact, both Hyper-V and ESX use paravirtualization. Both Hyper-V and ESX, can run non-paravirtualized operating systems because they offer a set of device drivers that emulate some very popular physical devices (VGA adapter, network adapter, disk controller) that are supported &#8211; out of the box &#8211; by most operating systems. Once the guest operating system is up and running, you have the option to install the paravirtualized drivers &#8211; Enlightenments for Hyper-V and VMware Tools for ESX. So, the assertion that Hyper-V derives an advantage over ESX through the use of paravirtualization is totally bogus.</p>
<p>Where Hyper-V does require paravirtualization is in the processor. Hyper-V cannot work without having &#8220;virtualization support&#8221; (i.e. Intel VT or AMD-V) baked into the CPU. ESX will take advantage of these technologies when they are available, but also has the ability to use <a href="http://download3.vmware.com/vmworld/2005/pac346.pdf">binary translation</a> to run VMs on hosts that do not have CPUs that provide hardware assisted virtualization.</p>
<p>Can we <em>please</em> lay this paravirtualization myth to rest?</p>
<p>Next, we have the argument that Hyper-V is &#8220;microkernelized&#8221; because its device drivers are implemented in the administrative OS. Well, that makes it a distributed OS, not a microkernel  based OS. Take a look at how Wikipedia defines &#8220;Microkernel&#8221;</p>
<blockquote><p><em>In computer science, a microkernel is a computer kernel that provides the mechanisms needed to implement an operating system, such as low-level address space management, thread management, and inter-process communication. If the hardware provides multiple privilege levels, then the microkernel is the only software executing at the most privileged level (generally referred to as supervisor or kernel mode). Actual operating system services, such as device drivers, protocol stacks, file systems and user interface code are contained in user space.</em></p></blockquote>
<p>Loading device drivers in the Primary Partition does not make Hyper-V a micro-kernel based OS (I believe it probably is a micro-kernel based OS, but not because of where it loads its device drivers!), nor does loading the device drivers into the vmkernel make ESX a monolithic OS. Both Hyper-V and ESX are modular operating systems, meaning that they extend their functionality through the use of &#8220;modules&#8221; that interface with the core OS via a well defined set of interfaces.</p>
<p>What Greg is trying to describe (or so I believe) is the difference in how Hyper-V and ESX manage their device drivers. With Hyper-V, the device drivers are loaded in the management partition (<em>primary</em> partition) and with ESX, they are loaded by the vmkernel into usermode space within the vmkernel. I think it&#8217;s time for a diagram to illustrate &#8211; see Figure 1:</p>
<div id="attachment_240" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/figure-1-architectural-differences.png"><img class="size-full wp-image-240" title="Figure 1. Hyper-V &amp; ESX - Architectural Differences" src="http://kensvirtualreality.files.wordpress.com/2009/04/figure-1-architectural-differences.png?w=470&#038;h=310" alt="Figure 1. Hyper-V &amp; ESX - Architectural Differences" width="470" height="310" /></a><p class="wp-caption-text">Figure 1. Hyper-V &amp; ESX - Architectural Differences</p></div>
<p>Notice that Hyper-V has device drivers living within the Primary Partition and ESX has device drivers that get loaded by the vmkernel. Not a huge deal, unless you consider that, in the case of Hyper-V, if the Primary Partition (Windows 2008) fails, your VMs lose the ability to talk to the outside world (if they survive at all), whereas with ESX, if the service console (modified Red Hat Linux) fails, your VMs continue to operate without problem.</p>
<p>As for the comment:</p>
<blockquote><p><em>Ever wonder why it takes VMware forever to add support for new hardware? That&#8217;s because any new driver or hardware support has to be specifically encoded, tested, and integrated into that hypervisor.</em></p></blockquote>
<p>Again, wrong!  The primary reason it takes &#8220;so long&#8221; to provide new hardware support is because ESX restricts the HCL to improve reliability. Every component on the HCL has been thoroughly tested and is certified to be compatible with ESX. There is some integration work that has to be done, but no more so than with any other operating system (including Windows!). The difference is that VMware has tighter control over the device driver eco-system than does Microsoft. If you look at Windows hosts, a frequent cause of outages is device drivers developed by third parties that have undergone third party certification. Yes, you get support quickly, but do you get robust support? Sometimes yes, sometimes no.</p>
<p>Then we have this interesting series of statements:</p>
<p style="padding-left:30px;">1.  <strong><em>It doesn&#8217;t matter how big your administrative OS is.</em></strong></p>
<p style="padding-left:30px;">2. With local disk drives so big these days, your administrative OS (called the &#8220;primary partition&#8221; in Hyper-V and Xen) can be 10K in size or it can be 10G.</p>
<p style="padding-left:30px;">3.  That administrative OS is merely there so you can manage the rest of the box.</p>
<p style="padding-left:30px;">4.  Further, because Hyper-V&#8217;s administrative OS (&#8220;primary partition&#8221;) has all this nice and already-existing support for drivers built into the OS, you can argue that it will always have a greater level of driver support than ESX.</p>
<p>Let&#8217;s take these one at a time:</p>
<p style="padding-left:30px;">1. If it&#8217;s truly an administrative OS (as is the case with ESX), I could maybe buy this argument; however, with Hyper-V, the primary partition (that administrative OS) is a key and integral part of the virtualization solution (see item #4).</p>
<p style="padding-left:30px;">2. Waste not, want not.</p>
<p style="padding-left:30px;">3. That is true for ESX; it is not true for Hyper-V (see item #4)</p>
<p style="padding-left:30px;">4. With Hyper-V, the &#8220;administrative OS&#8221;/&#8221;primary partition&#8221; provides the device drivers that allow the virtual machines to interact with the underlying hardware. The size and complexity that Greg was disparaging a few paragraphs ago come up in spades in the primary partition. Every new device driver, feature enhancement, user interface modification, etc. that gets incorporated provides a new opportunity for a conflict or incompatibility &#8211; not to mention that there&#8217;s nothing to stop an administrator from installing whatever application they want in the primary partition &#8211; it is, after all, just &#8220;another Windows OS instance&#8221;.</p>
<p>While we&#8217;re on the topic of device drivers, let&#8217;s look a little deeper. What are some of the key cornerstones of virtualization? In my book, you have two fundamental aspects:</p>
<ul class="unIndentedList">
<li>Encapsulation. A virtual machine is encapsulated in a group of files and the boundaries are clearly known.</li>
<li>Portability. The ability to move a virtual machine (running or not) from one host to another without concern about the underlying hardware.</li>
</ul>
<p>Both Hyper-V and ESX do a great job with #1; however, let&#8217;s consider #2. In Hyper-V (<em>per Ben Armstrong &#8211; Microsoft virtualization Program Manager</em>), &#8220;while we do provide high performance drivers, we also provide emulated devices for unsupported operating systems. For systems using the high performance drivers there is clean abstraction at the VMBus layer.&#8221; This means that &#8211; for supported OSes &#8211; there should be no problem with VM portability. What I&#8217;m not clear on is whether unsupported VMs have the same degree of portability, or if they are tightly coupled to the underlying hardware&#8230;Ben, can you clarify, please?</p>
<p>The current version of Hyper-V is also restricted by its use of NTFS as a filesystem. Since NTFS is not a clustered filesystem (in its current encarnation &#8211; supposed to change in W2K8 R2), a single LUN cannot be &#8220;owned&#8221; by multiple hosts at the same time. This is the lynch pin in the &#8220;live migration&#8221; issue &#8211; since you can&#8217;t have two hosts sharing access to the same LUN, Hyper-V is unable to live migrate a running VM. This will change with Windows Server 2008 R2 when Hyper-V will offer live migration support.</p>
<p>So&#8230;let&#8217;s recap for everyone&#8217;s benefit:</p>
<ul class="unIndentedList">
<li>Hyper-V and ESX are both &#8220;Type-1&#8243; hypervisors: TRUE</li>
<li>Hyper-V is a &#8220;microkernelized&#8221; hypervisor and ESX is a &#8220;monolithic&#8221; hypervisor: FALSE</li>
<li>ESX drivers exist within its hypervisor: TRUE, but are dynamically loaded and run at a lower privilege level than the core hypervisor functions</li>
<li><strong><em>It doesn&#8217;t matter how big your administrative OS is.</em></strong><strong>: </strong>TRUE, if it&#8217;s really an administrative OS. FALSE in the case of Hyper-V which relies on the primary partition for critical virtualization functionality</li>
<li>Further, because Hyper-V&#8217;s administrative OS (&#8220;primary partition&#8221;) has all this nice and already-existing support for drivers built into the OS, you can argue that it will always have a greater level of driver support than ESX.: TRUE &#8211; but is that a good thing?</li>
<li><strong><em>That means Hyper-V will always tend to see faster raw performance.</em></strong><strong>: </strong>FALSE In both cases (Hyper-V and ESX), there&#8217;s a degree of abstraction, which introduces some overhead. In neither case is the overhead &#8220;significant&#8221;.  In no circumstance would I make the comment that Hyper-V is <em>always<span style="text-decoration:underline;"> </span></em>faster; nor would I make the assertion that ESX is <em>always</em> faster. The performance for a particular device is dependent upon the device driver implementation as well as the entire software stack that deals with the device. I&#8217;d wager that Hyper-V will perform better under some circumstances and ESX will perform better under others.</li>
</ul>
<p><strong></strong></p>
<p><strong></strong></p>
<p>I hope I&#8217;ve cleared up some of the confusion. I know it&#8217;s rampant and people are looking for some clear understanding and guidance. To be fair, I am biased toward VMware. I&#8217;ve made my living by using and supporting VMware technologies for a long time&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kensvirtualreality.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kensvirtualreality.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kensvirtualreality.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kensvirtualreality.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kensvirtualreality.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kensvirtualreality.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kensvirtualreality.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kensvirtualreality.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kensvirtualreality.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kensvirtualreality.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kensvirtualreality.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kensvirtualreality.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kensvirtualreality.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kensvirtualreality.wordpress.com/237/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=237&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kensvirtualreality.wordpress.com/2009/04/23/reaction-to-how-to-correctly-explain-the-architectural-differences-between-hyper-v-and-esx/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d1c81a8142525d780fda1c5064ceb1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ken Cline</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/figure-1-architectural-differences.png" medium="image">
			<media:title type="html">Figure 1. Hyper-V &#38; ESX - Architectural Differences</media:title>
		</media:content>
	</item>
		<item>
		<title>The Great vSwitch Debate &#8211; Part 6</title>
		<link>http://kensvirtualreality.wordpress.com/2009/04/20/the-great-vswitch-debate-part-6/</link>
		<comments>http://kensvirtualreality.wordpress.com/2009/04/20/the-great-vswitch-debate-part-6/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 21:39:44 +0000</pubDate>
		<dc:creator>Ken Cline</dc:creator>
				<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[best practice]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vswitch]]></category>

		<guid isPermaLink="false">http://kensvirtualreality.wordpress.com/?p=224</guid>
		<description><![CDATA[OK, so the count is up to five posts on vSwitches. If you&#8217;ve not read these posts, I recommend that you go back and do so now. The first five posts were: The Great vSwitch Debate &#8211; Part 1 In this post, I discussed vSwitch functions, Port Groups, VLAN tagging/trunking, valid communications paths, and some [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=224&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>OK, so the count is up to five posts on vSwitches. If you&#8217;ve not read these posts, I recommend that you go back and do so now. The first five posts were:</p>
<ul class="unIndentedList">
<li><a href="http://kensvirtualreality.wordpress.com/2009/03/29/the-great-vswitch-debate-part-1/" target="_blank">The Great vSwitch Debate &#8211; Part 1</a><br />
In this post, I discussed vSwitch functions, Port Groups, VLAN tagging/trunking, valid communications paths, and some other basic vSwitch information.</li>
<li><a href="http://kensvirtualreality.wordpress.com/2009/03/29/the-great-vswitch-debate-part-2/" target="_blank">The Great vSwitch Debate &#8211; Part 2</a><br />
In Part 2, I covered the vSwitch security features (Promiscuous Mode, MAC Address Change, and Forged Transmits) as well as network traffic shaping options.</li>
<li><a href="http://kensvirtualreality.wordpress.com/2009/04/05/the-great-vswitch-debate%E2%80%93part-3/" target="_blank">The Great vSwitch Debate &#8211; Part 3</a><br />
Here I discussed the various load balancing options that are available in a VMware vSwitch.</li>
<li><a title="The Great vSwitch Debate - Part 4" href="http://kensvirtualreality.wordpress.com/2009/04/10/the-great-vswitch-debate-part-4/" target="_blank">The Great vSwitch Debate &#8211; Part 4</a><br />
In Part 4, I covered fault detection and the Cisco Discovery Protocol.</li>
<li><a title="The Great vSwitch Debate - Part 4" href="http://kensvirtualreality.wordpress.com/2009/04/17/the-great-vswitch-debate-part-5/" target="_blank">The Great vSwitch Debate &#8211; Part 5</a><br />
In Part 5, I talked about the various networks that you have to contend with in an ESX environment as well as an approach to help in deciding which networks to combine, if you have to.</li>
</ul>
<p>Now, in Part 6, we finally start talking about host configurations! I started a <a href="http://communities.vmware.com/thread/204347?tstart=0">thread</a> over on the VMTN Community forums for people to provide input about content they would like to see in this series. VMTN user <a href="http://communities.vmware.com/people/RobVM">RobVM</a> asked about a <a href="http://communities.vmware.com/message/1226508#1226508">configuration</a> with eight pNICs and iSCSI connectivity, so I&#8217;ll tackle that first. But before we do, let me lay some ground rules:<span id="more-224"></span></p>
<ul class="unIndentedList">
<li>All networks will have at least two pNICs to provide fault tolerance. While ESX will work just fine without the fault tolerance features, I don&#8217;t consider that to be an option for a real live &#8220;production&#8221; environment. If you&#8217;re building out a personal &#8220;playground&#8221; or a lab environment, feel free to cut the number of pNICs in half, but don&#8217;t come crying to me if your one and only network connection fails and your ESX/i host and/or your VMs fall off the face of the network J</li>
<li>Unless otherwise specified, all configuration options are set to their defaults values. This is in line with my &#8220;Don&#8217;t change a default value unless you have a good reason&#8221; philosophy (and it makes it easier to describe!)</li>
<li>There is a requirement to support two separate &#8220;application zones&#8221;. These are logically separate networks that could be separated via VLANs or physical separation.</li>
</ul>
<p>Now, on with the show!</p>
<h2>Configuration with Eight pNICs and IP Storage</h2>
<p>Eight is a really good number of pNICs if you plan to use IP-based storage. If you remember from Part 5 of this series, there are a variety of networks that we need to support on ESX:</p>
<ul class="unIndentedList">
<li>VMware Management Network. This is the network that connects vCenter Server to the ESX Service Console. Since ESXi doesn&#8217;t have a Service Console, the ESXi Management Network is terminated at the vmkernel.</li>
<li>VMotion Network. This network interconnects the various ESX/i (reminder, ESX/i is my shorthand notation for ESX and/or ESXi) hosts within a VMware cluster and enables VMotion among those nodes.</li>
<li>IP Storage (NFS or iSCSI) Network. The Network that provides storage for virtual machine and ancillary support (i.e. .iso files).</li>
<li>Virtual Machine Network(s). One or more networks that support VM to access and provide services.</li>
</ul>
<p>Notice that there are four networks &#8211; to get the redundancy that I said we were going to implement, multiply four by two and you get eight! (Can you handle this upper level math? It sometimes throws me for a loop!)</p>
<p>So, now we have enough information to throw out a configuration (Figure 1):</p>
<div id="attachment_226" class="wp-caption aligncenter" style="width: 479px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/figure-1-basic-eight-pnic-config.png"><img class="size-full wp-image-226" title="figure-1-basic-eight-pnic-config" src="http://kensvirtualreality.files.wordpress.com/2009/04/figure-1-basic-eight-pnic-config.png?w=469&#038;h=238" alt="Figure 1. Basic Eight pNIC Configuration" width="469" height="238" /></a><p class="wp-caption-text">Figure 1. Basic Eight pNIC Configuration</p></div>
<p>As you can see, I&#8217;ve laid out four vSwitches, each with two pNIC uplinks configured. The load balancing algorithm is &#8220;Route based on virtual switch port ID&#8221;. While this is a perfectly sane, robust, and common configuration, there are some negatives associated with this config:</p>
<p><em>vSwitch0</em> and <em>vSwitch1</em> each have two pNICs associated with them; however, there is a single port group and, more importantly, a single service associated with each. This means that each of these two vSwitches will have a pNIC sitting idle, waiting for the active path to fail. In the grand scheme of things, this isn&#8217;t such a horrible thing. We&#8217;re talking about, what, maybe a thousand dollars worth of &#8220;stuff&#8221; sitting idle? Between the two pNICs, the associated cabling, and the physical switch ports, that may be a little low, but overall, not a big deal.</p>
<p><em>vSwitch2</em> is dedicated to IP Storage. In many cases, this will be either iSCSI or NFS; however, there is nothing to prevent you from running both protocols across this single vSwitch. In fact, many places will do just that &#8211; using iSCSI for storing VMFS volumes and NFS for hosting .iso and other &#8220;support files&#8221;. Notice that if you&#8217;re using iSCSI storage, you do need to provide the service console with visibility into that network for authentication purposes.</p>
<p><em>vSwitch3</em> is your virtual machine vSwitch. Since we have two application environments, we have defined two different VLANs (by simply adding the VLAN number into the Port Group configuration and ensuring that the pSwitch is configured to trunk the required VLANs). If your policies dictate that these two application environments must not be allowed to comingle on the wire, you would need to add two additional pNICs (to maintain redundancy), and to ensure no comingling, I would recommend a separate vSwitch rather than port groups with active/standby/unused pNIC configurations.</p>
<p>Now, let&#8217;s spice it up a little and add in the requirement to support Multipath I/O (MPIO) from within our virtual machines. In order to support MPIO from within a VMware VM, you need to provision the VM with multiple vNICs. In my example, I&#8217;m going to configure a VM with three vNICs &#8211; one for &#8220;regular&#8221; network traffic and two to support MPIO access to an iSCSI target. In addition to these direct network connections, the VM will access its system volume as a virtual disk via the vmkernel iSCSI stack (see Figure 2).</p>
<div id="attachment_248" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/figure-2-guest-os-mpio-iscsi1.png"><img class="size-full wp-image-248" title="Figure 2. Guest OS MPIO iSCSI Configuration" src="http://kensvirtualreality.files.wordpress.com/2009/04/figure-2-guest-os-mpio-iscsi1.png?w=470&#038;h=416" alt="Figure 2. Guest OS MPIO iSCSI Configuration" width="470" height="416" /></a><p class="wp-caption-text">Figure 2. Guest OS MPIO iSCSI Configuration</p></div>
<p>So, we now have a single VM that is connecting to four separate port groups (although the connection to PG_IPStor is totally transparent &#8211; abstracted through the guest OS vSCSI controller). What really makes this VM different is the two extra vNICs that are connected to the PG_VMStor1 &amp; PG_VMStor2 port groups. We will be loading an iSCSI Initiator <em>inside</em> the guest operating system to access an iSCSI target. I won&#8217;t go into the details of how to configure the iSCSI initiator to support MPIO, but just trust me when I tell you that you can get better load balancing and better overall iSCSI performance using this approach rather than the native ESX iSCSI access. This improved performance comes with a significant price, though. By using this approach, you now have to manage the iSCSI Initiator within the guest OS and you have to manage the allocation of iSCSI targets to initiators. Additionally, the iSCSI Initiator inside the VM will drive your host&#8217;s CPU utilization significantly higher. This (higher CPU utilization) is frequently not much of a problem because many environments are not CPU constrained to start with. The additional management overhead is a big concern (to me).</p>
<p>&lt;soapbox&gt;</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="109">
<p align="center">
<a href="http://kensvirtualreality.files.wordpress.com/2009/04/soapbox.jpg"><img class="size-full wp-image-232" title="Soapbox" src="http://kensvirtualreality.files.wordpress.com/2009/04/soapbox.jpg?w=76&#038;h=176" alt="Soapbox" width="76" height="176" /></a>
</p>
<p>&nbsp;</p>
<div class="mceTemp mceIEcenter">
<dl class="wp-caption aligncenter">
<dd class="wp-caption-dd">Soapbox</dd>
</dl>
</div>
</td>
<td valign="top">I strongly encourage you to use this solution ONLY when you find that   the standard mechanism (connection via the vSCSI interface) for accessing   iSCSI storage does not provide the levels of performance that you need.   Remember, just because something is &#8220;faster&#8221; doesn&#8217;t make it &#8220;better&#8221;! In   many cases, I&#8217;ve seen people go through the pain of implementing this   solution only to find that storage throughput was not their bottleneck, and   giving a fatter pipe didn&#8217;t help overall performance at all. In many (most?)   cases, the performance bottleneck lives in the application and not in the   supporting infrastructure. Remember that most &#8220;modern&#8221; applications were   designed years ago when Pentium III and Pentium 4 were rulers of the roost,   when 500MHz RAM was blazingly fast, when 100Mbps networks were the norm, and   when U160 SCSI on 10,000 RPM drives provided more than enough &#8220;speed&#8221;.         </p>
<p> </td>
</tr>
</tbody>
</table>
<p>&lt;/soapbox&gt;</p>
<p>Now that I&#8217;ve gotten that off my chest&#8230;here&#8217;s what this solution would look like (Figure 3):</p>
<div id="attachment_254" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/figure-3-eight-pnic-config-with-guest-mpio2.png"><img class="size-full wp-image-254" title="Figure 3. Eight pNIC Configuration with Guest MPIO" src="http://kensvirtualreality.files.wordpress.com/2009/04/figure-3-eight-pnic-config-with-guest-mpio2.png?w=470&#038;h=208" alt="Figure 3. Eight pNIC Configuration with Guest MPIO" width="470" height="208" /></a><p class="wp-caption-text">Figure 3. Eight pNIC Configuration with Guest MPIO</p></div>
<p>Wait! What&#8217;s that I see on vSwitch1? Could it be? Is it possible? Did Ken <em>really</em> configure active and passive pNICs? Yep, I did! Why? Well, it&#8217;s really fairly simple. The default load balancing algorithm is vSwitch Port ID based. If you remember from <a href="http://kensvirtualreality.wordpress.com/2009/04/05/the-great-vswitch-debate%E2%80%93part-3/">Part 3</a> of this series, there are no guarantees about which pNIC your vNIC will associate with. In this case, we need to make sure that the vNICs wind up on different pNICs. At first blush, it would seem that I could default everything and still be OK, but what happens if connect and disconnect a couple of vNICs during operations? Remember that vSwitch ports are statically mapped to pNICs, so if I were to power up three VMs, the first and third each with two vNICs and the second with a single vNIC connecting into vSwitch1, I would have the following (Figure 4):</p>
<div id="attachment_250" class="wp-caption aligncenter" style="width: 413px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/figure-4-vm-initial-vnic-mapping1.png"><img class="size-full wp-image-250" title="Figure 4. Virtual Machine Initial vNIC Mapping" src="http://kensvirtualreality.files.wordpress.com/2009/04/figure-4-vm-initial-vnic-mapping1.png?w=403&#038;h=509" alt="Figure 4. Virtual Machine Initial vNIC Mapping" width="403" height="509" /></a><p class="wp-caption-text">Figure 4. Virtual Machine Initial vNIC Mapping</p></div>
<p>Notice that vSwitch Port #3 is statically mapped to pNIC2. Now, if I power off the second VM (the one with only one vNIC) and power on another VM with two vNICs, I wind up with the configuration shown in Figure 5.</p>
<div id="attachment_251" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/figure-5-vm-secondary-vnic-mapping1.png"><img class="size-full wp-image-251" title="Figure 5. Virtual Machine Secondary vNIC Mapping" src="http://kensvirtualreality.files.wordpress.com/2009/04/figure-5-vm-secondary-vnic-mapping1.png?w=470&#038;h=473" alt="Figure 5. Virtual Machine Secondary vNIC Mapping" width="470" height="473" /></a><p class="wp-caption-text">Figure 5. Virtual Machine Secondary vNIC Mapping</p></div>
<p>Notice now that BOTH vNICs for the newly powered on VM are mapped to pNIC1 &#8211; NOT what we wanted! If you could guarantee that every VM connected to this vSwitch would have two vNICs and that, at no point, would any of the vNICs be administratively disabled, you could allow the configuration to default. Personally, that&#8217;s too many &#8220;ifs&#8221; for me to trust!</p>
<p>Wow! Not only did I find a justification to break my &#8220;always default&#8221; rule, I found a good example of why you would want to use active and standby adapters!</p>
<h2>Configuration with Eight pNICs without IP Storage</h2>
<p>This one is easy. If you take the first example and keep the requirements the same, just remove the need for IP storage and still use eight pNICs, I would do the following (Figure 6):</p>
<div id="attachment_231" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/figure-6-eight-pnics-no-ip-storage.png"><img class="size-full wp-image-231" title="figure-6-eight-pnics-no-ip-storage" src="http://kensvirtualreality.files.wordpress.com/2009/04/figure-6-eight-pnics-no-ip-storage.png?w=470&#038;h=237" alt="Figure 6. Eight pNICs with no IP Storage" width="470" height="237" /></a><p class="wp-caption-text">Figure 6. Eight pNICs with no IP Storage</p></div>
<p>All we&#8217;ve done is split out the two application networks onto separate vSwitches, providing additional bandwidth (probably not needed) and additional fault tolerance. By doing this, we&#8217;ve eliminated the need to configure VLAN trunking on the pSwitch and also no need to specify a VLAN number on the PG_App1 and PG_App2 port groups.</p>
<h2>References</h2>
<p>Microsoft Multipath I/O: Frequently Asked Questions: <a href="http://www.microsoft.com/WindowsServer2003/technologies/storage/mpio/faq.mspx">http://www.microsoft.com/WindowsServer2003/technologies/storage/mpio/faq.mspx</a></p>
<p>Microsoft iSCSI Users Guide: <a href="http://download.microsoft.com/download/A/E/9/AE91DEA1-66D9-417C-ADE4-92D824B871AF/uGuide.doc">http://download.microsoft.com/download/A/E/9/AE91DEA1-66D9-417C-ADE4-92D824B871AF/uGuide.doc</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kensvirtualreality.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kensvirtualreality.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kensvirtualreality.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kensvirtualreality.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kensvirtualreality.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kensvirtualreality.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kensvirtualreality.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kensvirtualreality.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kensvirtualreality.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kensvirtualreality.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kensvirtualreality.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kensvirtualreality.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kensvirtualreality.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kensvirtualreality.wordpress.com/224/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=224&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kensvirtualreality.wordpress.com/2009/04/20/the-great-vswitch-debate-part-6/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d1c81a8142525d780fda1c5064ceb1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ken Cline</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/figure-1-basic-eight-pnic-config.png" medium="image">
			<media:title type="html">figure-1-basic-eight-pnic-config</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/figure-2-guest-os-mpio-iscsi1.png" medium="image">
			<media:title type="html">Figure 2. Guest OS MPIO iSCSI Configuration</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/soapbox.jpg" medium="image">
			<media:title type="html">Soapbox</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/figure-3-eight-pnic-config-with-guest-mpio2.png" medium="image">
			<media:title type="html">Figure 3. Eight pNIC Configuration with Guest MPIO</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/figure-4-vm-initial-vnic-mapping1.png" medium="image">
			<media:title type="html">Figure 4. Virtual Machine Initial vNIC Mapping</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/figure-5-vm-secondary-vnic-mapping1.png" medium="image">
			<media:title type="html">Figure 5. Virtual Machine Secondary vNIC Mapping</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/figure-6-eight-pnics-no-ip-storage.png" medium="image">
			<media:title type="html">figure-6-eight-pnics-no-ip-storage</media:title>
		</media:content>
	</item>
		<item>
		<title>The Great vSwitch Debate &#8211; Part 5</title>
		<link>http://kensvirtualreality.wordpress.com/2009/04/17/the-great-vswitch-debate-part-5/</link>
		<comments>http://kensvirtualreality.wordpress.com/2009/04/17/the-great-vswitch-debate-part-5/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 14:35:21 +0000</pubDate>
		<dc:creator>Ken Cline</dc:creator>
				<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[best practice]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vswitch]]></category>

		<guid isPermaLink="false">http://kensvirtualreality.wordpress.com/?p=209</guid>
		<description><![CDATA[So far, we&#8217;ve been through four posts on vSwitches. If you&#8217;ve not read these posts, I recommend that you go back and do so now (or you can read this post and then go back &#8211; there are not many dependencies). The first four posts were: The Great vSwitch Debate &#8211; Part 1 In this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=209&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So far, we&#8217;ve been through four posts on vSwitches. If you&#8217;ve not read these  posts, I recommend that you go back and do so now (or you can read this post and  then go back &#8211; there are not many dependencies). The first four posts were:</p>
<ul>
<li><a href="http://kensvirtualreality.wordpress.com/2009/03/29/the-great-vswitch-debate-part-1/" target="_blank">The Great vSwitch Debate &#8211; Part 1</a><br />
In this post, I  discussed vSwitch functions, Port Groups, VLAN tagging/trunking, valid  communications paths, and some other basic vSwitch information.</li>
<li><a href="http://kensvirtualreality.wordpress.com/2009/03/29/the-great-vswitch-debate-part-2/" target="_blank">The Great vSwitch Debate &#8211; Part 2</a><br />
In Part 2, I covered the  vSwitch security features (Promiscuous Mode, MAC Address Change, and Forged  Transmits) as well as network traffic shaping options.</li>
<li><a href="http://kensvirtualreality.wordpress.com/2009/04/05/the-great-vswitch-debate%E2%80%93part-3/" target="_blank">The Great vSwitch Debate &#8211; Part 3</a><br />
Here I discussed the  various load balancing options that are available in a VMware vSwitch.</li>
<li><a title="The Great vSwitch Debate - Part 4" href="http://kensvirtualreality.wordpress.com/2009/04/10/the-great-vswitch-debate-part-4/" target="_blank">The Great vSwitch Debate &#8211; Part 4</a><br />
In Part 4, I covered  fault detection and the Cisco Discovery Protocol.</li>
</ul>
<p>Now, in Part 5, I&#8217;m going to identify the various &#8220;networks&#8221; that you  interact with in a VMware environment and also provide my recommendation for a  configuration with only two pNICs. On with the show!<span id="more-209"></span></p>
<h2>The Various Networks</h2>
<p>In the VMware architecture, there are nominally five IP-based networks. I&#8217;ll  cover each of these below, but in summary, they are listed below and shown in  Figure 1:</p>
<ul>
<li>VMware Management Network. This is the network that connects vCenter Server  to the ESX Service Console. Since ESXi doesn&#8217;t have a Service Console, the ESXi  Management Network is terminated at the vmkernel.</li>
<li>VMotion Network. This network interconnects the various ESX/i (reminder,  ESX/i is my shorthand notation for ESX and/or ESXi) hosts within a VMware  cluster and enables VMotion among those nodes.</li>
<li>NFS Network. The Network File System (NFS) Network is an IP Storage network  that provides the interconnect between ESX/i hosts and one or more NFS servers  that provide storage for virtual machine and ancillary support (i.e. .iso  files).</li>
<li>iSCSI Network. The Internet Protocol Small Computer Systems Interface  (iSCSI) Network is an IP Storage network that provides the interconnect between  ESX/i hosts and one or more iSCSI targets that provide storage for virtual  machine and ancillary support (i.e. .iso files).</li>
<li>Virtual Machine Network(s). One or more networks that support VM to access  and provide services.</li>
</ul>
<div id="attachment_210" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/figure-1-the-various-networks.png"><img class="size-full wp-image-210" title="Figure 1. The Various Networks" src="http://kensvirtualreality.files.wordpress.com/2009/04/figure-1-the-various-networks.png?w=470&#038;h=367" alt="Figure 1. The Various Networks" width="470" height="367" /></a><p class="wp-caption-text">Figure 1. The Various Networks</p></div>
<p>You may have additional networks in your environment, and I&#8217;ll mention some  of them as I get through this article. One of these that I&#8217;ll mention right now  is the out-of-band (OOB) management network. While not required to make your  VMware environment work, this network is present in many, if not most,  enterprise VMware environments.</p>
<p>The out-of-band management network provides connectivity to your out-of-band  management interface (i.e. HP iLO, Dell DRAC, IBM Director, Sun LOM, etc.).  Users who have access to this network essentially have the keys to the kingdom.  With proper authentication (or by hacking a username/password), they have direct  console access, the ability to connect and disconnect virtual I/O devices  (CD-ROM, floppy), the ability to power the host on or off, and pretty much  anything else you could do if you were sitting in front of the system. This  network needs to be protected <em>at all costs</em>! It should  <strong><span style="text-decoration:underline;">never</span></strong> be placed into a DMZ network. Another way to view  the OOB network is as the door to your datacenter. You wouldn&#8217;t leave your  datacenter door propped open to a back alley, so don&#8217;t leave your OOB network  exposed to unnecessary risks, either!</p>
<h3>VMware Management Network</h3>
<p>Much like the Out-of-Band Network, the VMware Management Network is critical  to the security of your virtual infrastructure. This network provides the  management interface to the vmkernel &#8211; either through the service console (for  ESX) or directly (with ESXi). This is the network where vCenter Server (a.k.a.  Virtual Center) lives, as well as the path for ssh, web access, and third-party  tools access, see Figure 2.</p>
<div id="attachment_211" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/figure-2-vmware-management-network.png"><img class="size-full wp-image-211" title="Figure 2. VMware Management Network" src="http://kensvirtualreality.files.wordpress.com/2009/04/figure-2-vmware-management-network.png?w=470&#038;h=418" alt="Figure 2. VMware Management Network" width="470" height="418" /></a><p class="wp-caption-text">Figure 2. VMware Management Network</p></div>
<p>Again, in much the same manner as your OOB network, the Management Network  can be viewed as a door into your datacenter. It needs to be protected very  carefully and should never be exposed in a DMZ, and will frequently live behind  a firewall with minimal ports exposed.</p>
<h3>VMotion Network</h3>
<p>The VMotion Network is a special-purpose network with only one use &#8211; the live  migration of a running virtual machine from one physical ESX/i host to another  with no interruption of service to clients of the VM. The VMotion interface is a  vmkernel interface that is flagged as being used for VMotion. Figure 3 shows the  VMotion network.</p>
<div id="attachment_212" class="wp-caption aligncenter" style="width: 479px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/figure-3-vmotion-network.png"><img class="size-full wp-image-212" title="Figure 3. VMotion Network" src="http://kensvirtualreality.files.wordpress.com/2009/04/figure-3-vmotion-network.png?w=469&#038;h=226" alt="Figure 3. VMotion Network" width="469" height="226" /></a><p class="wp-caption-text">Figure 3. VMotion Network</p></div>
<p>All VMotion Network interfaces should be within the same IP broadcast domain  to ensure that the hosts can find each other. No function other than VMotion  needs to be able to access the VMotion network &#8211; in fact, for a two-node  cluster, you can use a direct cable with no intervening switch to support  VMotion.</p>
<p>It is important to know that the data sent across the VMotion network (on  port TCP 8000) is not encrypted in any manner. This means that anyone who can  connect their PC to the VMotion network will be able to listen in and intercept  that data, which contains whatever happens to be in the virtual machines vRAM at  the time of the VMotion. The information could include usernames, passwords,  credit card numbers, you name it&#8230;it could be there.</p>
<p>With that knowledge, it should come as no surprise that I&#8217;m recommending that  you protect the VMotion Network very carefully!</p>
<h3>NFS Network</h3>
<p>The NFS Network is a vmkernel network that supports access to Network File  System v3 (NFSv3) shares over the Transmission Control Protocol (TCP). NFS is a  file sharing protocol (much like Server Message Block [SMB] or the Common  Internet File System [CIFS], the common Windows file sharing protocols (see <a href="http://en.wikipedia.org/wiki/Cifs">http://en.wikipedia.org/wiki/Cifs</a>).  NFS was originally developed by Sun Microsystems in 1984 for use with Unix  systems (see <a href="http://en.wikipedia.org/wiki/Network_File_System_(protocol">http://en.wikipedia.org/wiki/Network_File_System_(protocol)</a>).  Figure 4 shows a typical NFS network configuration.</p>
<div id="attachment_213" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/figure-4-nfs-network.png"><img class="size-full wp-image-213" title="Figure 4. NFS Network" src="http://kensvirtualreality.files.wordpress.com/2009/04/figure-4-nfs-network.png?w=470&#038;h=297" alt="Figure 4. NFS Network" width="470" height="297" /></a><p class="wp-caption-text">Figure 4. NFS Network</p></div>
<p>Since NFS can be used to store virtual machines and/or utility files such as  .iso images, it is very common for the NFS server to have multiple connections  to the network. Depending on the NFS server or appliance that you are using,  there are a variety of ways that these connections can be aggregated to improve  the performance of your NFS network. Regardless of how the NFS server is  connected to the network, the ESX host is bound by the rules of the vSwitch  that&#8217;s used to support NFS traffic, as discussed in Part 3.</p>
<p>From a security perspective, the NFS protocol is not encrypted or otherwise  secured on the wire. This means that anyone who has access to the NFS network  has the ability to intercept data that represents the on-disk information stored  in virtual machine files. Obviously, this is a significant risk that needs to be  mitigated with appropriate configuration and management actions.</p>
<h3>iSCSI Network</h3>
<p>The iSCSI Network is quite similar to the NFS network. The primary difference  between NFS &amp; iSCSI is that iSCSI is a &#8220;block oriented&#8221; protocol whereas NFS  is a &#8220;file oriented&#8221; protocol. What does that mean? Basically, it means that  with NFS, it is the NFS server that is responsible for managing the filesystem  and individual blocks of data on the disk. The ESX Server doesn&#8217;t care if the  disks are formatted with NTFS, ZFS, ext3, or Ken&#8217;s File System &#8211; it never sees  the structure on the disk. It is the NFS Server&#8217;s responsibility to read from,  write to, and manage access of all information on the disk.</p>
<p>Conversely, an iSCSI Target (that&#8217;s what a single instance of an iSCSI server  process is called), the ESX server is intimately knowledgeable about the on-disk  structure (unless you happen to be using a Raw Device Map (RDM)) because ESX  will communicate with the iSCSI Target using standard SCSI commands, exposing  the actual on-disk blocks of data to the ESX host. In many, if not most, cases,  the logical unit number (LUN) exposed by the iSCSI Target will be formatted by  the ESX host as a VMware Filesystem (VMFS) volume. Figure 5 shows a typical  iSCSI configuration.</p>
<div id="attachment_214" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/figure-5-iscsi-network.png"><img class="size-full wp-image-214" title="Figure 5. iSCSI Network" src="http://kensvirtualreality.files.wordpress.com/2009/04/figure-5-iscsi-network.png?w=470&#038;h=307" alt="Figure 5. iSCSI Network" width="470" height="307" /></a><p class="wp-caption-text">Figure 5. iSCSI Network</p></div>
<p>As with NFS, it is not uncommon to see an iSCSI Target configured with  multiple uplink connections into the network. And just like NFS, iSCSI is bound  by the rules of the vSwitch for load balancing and failover.</p>
<p>I hate to be redundant, but this is worth stating: From a security  perspective, the iSCSI protocol is not encrypted or otherwise secured on the  wire. This means that anyone who has access to the iSCSI network has the ability  to intercept data that represents the on-disk information stored in virtual  machine files. Obviously, this is a significant risk that needs to be mitigated  with appropriate configuration and management actions.</p>
<h3>Virtual Machine Network(s)</h3>
<p>Here&#8217;s where things get interesting! When you start talking about virtual  machines, you&#8217;re talking about all the servers that live in your datacenter.  These servers provide and consume services of all types &#8211; from other virtual  machines, from physical servers in the datacenter, and from resources of all  types on the Internet and other external networks. Obviously, this means that  there may be the need to connect to more than one network to support all of  these different communications paths. Figure 6 provides a view of some of the  possible connectivity that needs to be supported by the VM Network(s).</p>
<div id="attachment_215" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/figure-6-virtual-machine-networks.png"><img class="size-full wp-image-215" title="Figure 6. Virtual Machine Networks" src="http://kensvirtualreality.files.wordpress.com/2009/04/figure-6-virtual-machine-networks.png?w=470&#038;h=406" alt="Figure 6. Virtual Machine Networks" width="470" height="406" /></a><p class="wp-caption-text">Figure 6. Virtual Machine Networks</p></div>
<p>Notice that I&#8217;ve included an NFS Server and an iSCSI server in this diagram.  You might ask &#8220;Why?&#8221; Well, it&#8217;s simple. The guest operating system inside a VM  can directly mount an NFS volume and it can also use an iSCSI Initiator to  connect to an iSCSI Target.</p>
<p>Some of these networks may need to be separated from each other. Depending on  the level of sensitivity of each network, you may be able to use a single  network divided only by IP subnets; you may need to use VLANs to provide a  logical separation among the networks; and you may need to use totally separate  vSwitches with dedicated pNICs to provide the required separation. I can&#8217;t help  you with these decisions&#8230;that&#8217;s between you, your network team, your application  team, your management team, and your security officer (good luck!).</p>
<p>Also notice that, for the first time in my initial six diagrams (other than  the ESX Service Console), the network connections into the ESX/i hosts is not  through a vmkernel port. In this case, the connection is via a vSwitch that is  configured for Virtual Machine connectivity. That&#8217;s really just a technicality,  a configuration setting. In reality, all vSwitches are owned and managed by the  vmkernel.</p>
<h2>Best Practices</h2>
<p>There are some general guidelines that I like to use when designing a network  architecture. Based on the discussion above, you can see that there are quite a  few networks that need to / should be protected or isolated. I recognize that  not everyone shares the same views on security and data protection &#8211; and that&#8217;s  perfectly fine (as long as you understand the consequences!). I&#8217;ll try to  accommodate as many positions as I can&#8230;on with the show!</p>
<p>There are two primary considerations when deciding how to carve up your  networks: security and performance. The third consideration is manageability,  and we&#8217;ll talk about it in a moment. The key to picking the optimal  configuration based on the number of pNICs you have in your hosts is to  understand the level of risk associated with mixing the various networks. I&#8217;ve  created a couple tables that shows my personal assessment of the risk associated  with each pairing. Table 1 shows the security implications while Table 2 shows  the performance ramifications.</p>
<div id="attachment_217" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/table-1-security-impact-of-mixing-networks.png"><img class="size-full wp-image-217" title="Table 1. Security Impact of Mixing Networks" src="http://kensvirtualreality.files.wordpress.com/2009/04/table-1-security-impact-of-mixing-networks.png?w=470&#038;h=115" alt="Table 1. Security Impact of Mixing Networks" width="470" height="115" /></a><p class="wp-caption-text">Table 1. Security Impact of Mixing Networks</p></div>
<p>My rationale for assigning these levels of security risk  are as follows:</p>
<ul>
<li>The Management Network should be isolated as much as possible. When it is  not possible to give it a dedicated vSwitch and associated pNICs (best case  scenario), it is typically a &#8220;Medium Risk&#8221; to mix it with either VMotion or one  of the IP Storage networks. The reason I chose medium risk is that the personnel  granted access to the Management network are typically the most trusted in your  organization. While it is never a good idea to allow users of any level of trust  to access an unsecured storage or VMotion network, if you have to do it due to  constraints, do it with your administrative users on your Management network  segment.</li>
<li>For the VMotion Network, there is &#8220;Low Risk&#8221; associated with the IP Storage  networks. The reason for this is that there shouldn&#8217;t be any users on any of  these three networks (VMotion, NFS, iSCSI), so there&#8217;s not much chance of  someone intercepting data on the wire.</li>
<li>The VMotion logic above applies to the NFS and iSCSI networks as well.</li>
<li>The Virtual Machine Network(s) are always considered &#8220;High Risk&#8221;. This is  because you have unknown/untrusted users connecting via potentially uncontrolled  systems. There may be cases where you have specific VM Networks that are not  high risk (for example, you may run vCenter Server as a VM. That particular VM  would live on the Administrative Network which is a Medium Risk network).</li>
</ul>
<p>Your assumptions about the level of risk associated with each network may be  different than what I&#8217;ve suggested here. It doesn&#8217;t matter, simply substitute  your values into the calculations and you&#8217;ll be set.</p>
<p>The second consideration I want to discuss is performance. Similarly to  security, there are performance impacts to combining the various networks onto  the same set of pNICs. Table 2 shows the matrix of performance impacts from  mixing the various networks.</p>
<div id="attachment_218" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/table-2-performance-impact-of-mixing-networks.png"><img class="size-full wp-image-218" title="Table 2. Performance Impact of Mixing Networks" src="http://kensvirtualreality.files.wordpress.com/2009/04/table-2-performance-impact-of-mixing-networks.png?w=470&#038;h=117" alt="Table 2. Performance Impact of Mixing Networks" width="470" height="117" /></a><p class="wp-caption-text">Table 2. Performance Impact of Mixing Networks</p></div>
<p>If you evaluate each network individually, you can develop an understanding  of the traffic patterns that exist for each.</p>
<ul>
<li>Management Network: There is typically not a lot of traffic on this network.  It is used for management functions such as vCenter Server operations (host  configuration and management, virtual machine configuration and management,  performance monitoring, etc.) and access by third-party applications  (configuration management, resource monitoring, etc.). These are typically  low-impact applications. The exceptions to the low-impact &#8220;rule&#8221; are the  deployment of templates and the use of service console-based backup utilities..  Each of these functions has a significant impact on management network  utilization.</li>
<li>VMotion Network: This network sits idle except during a virtual machine  migration; however, when a VMotion migration is taking place, you want to have  as much bandwidth as possible available to enable the migration to complete as  quickly as possible. If you do not use VMotion, you don&#8217;t need to worry about  this network.</li>
<li>NFS &amp; iSCSI Networks: These are your IP Storage networks. Their  utilization fluctuates wildly depending on what is happening in your virtual  environment. During steady-state operations, there is typically a &#8220;moderate&#8221;  level of activity; however, when virtual machines are being powered on, resumed,  or backed up across these networks, there is significant activity.</li>
<li>VM Network(s): This is a total crap shoot. In some environments, these  networks sit almost idle, while in others, they are hit very hard. You will have  to judge for yourself how significant your workloads are - although I will say  that it is the exception rather than the rule where the traffic on these  networks is &#8220;significant&#8221;.</li>
</ul>
<p>Next, I&#8217;ve taken the two considerations and combined them. The result is a  matrix that shows the overall &#8220;risk&#8221; of combining the various networks (see  Table 3).</p>
<div id="attachment_219" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/table-3-overall-impact-of-mixing-networks.png"><img class="size-full wp-image-219" title="Table 3. Overall Impact of Mixing Networks" src="http://kensvirtualreality.files.wordpress.com/2009/04/table-3-overall-impact-of-mixing-networks.png?w=470&#038;h=118" alt="Table 3. Overall Impact of Mixing Networks" width="470" height="118" /></a><p class="wp-caption-text">Table 3. Overall Impact of Mixing Networks</p></div>
<p>Again, these are not set-in-stone, has-to-be-this-way recommendations, but  rather a tool to be used to help you make your decisions.</p>
<p>Oh, I nearly forgot - I promised to talk some about manageability. Basically,  I recommend that each of these networks be separated into individual port  groups, even if you&#8217;re not using VLAN tagging. If possible, create separate  vSwitches for each of the major networks (Management, VMotion, IP Storage). For  the VM Network(s), I recommend at least one vSwitch (depending on separation  requirements) with a separate port group for each different network. Figure 7  shows two possible configurations.</p>
<div id="attachment_216" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/figure-7-vswitch-options.png"><img class="size-full wp-image-216" title="Figure 7. vSwitch Options" src="http://kensvirtualreality.files.wordpress.com/2009/04/figure-7-vswitch-options.png?w=470&#038;h=222" alt="Figure 7. vSwitch Options" width="470" height="222" /></a><p class="wp-caption-text">Figure 7. vSwitch Options</p></div>
<p>Notice that, even though there is a different number of vSwitches in the two  configurations, the port groups are the same. This logical separation makes it  simple to manage your environment - you can even have different hosts with  different vSwitch configurations, yet the same port group configuration, that  support VMotion among them. It also makes it easy to scale the environment.</p>
<p>OK..that&#8217;s it for this time. Next time, in Part 6, I&#8217;ll talk about my  recommendations for when you have differing numbers of pNICs in your hosts.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kensvirtualreality.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kensvirtualreality.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kensvirtualreality.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kensvirtualreality.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kensvirtualreality.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kensvirtualreality.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kensvirtualreality.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kensvirtualreality.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kensvirtualreality.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kensvirtualreality.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kensvirtualreality.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kensvirtualreality.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kensvirtualreality.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kensvirtualreality.wordpress.com/209/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=209&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kensvirtualreality.wordpress.com/2009/04/17/the-great-vswitch-debate-part-5/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d1c81a8142525d780fda1c5064ceb1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ken Cline</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/figure-1-the-various-networks.png" medium="image">
			<media:title type="html">Figure 1. The Various Networks</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/figure-2-vmware-management-network.png" medium="image">
			<media:title type="html">Figure 2. VMware Management Network</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/figure-3-vmotion-network.png" medium="image">
			<media:title type="html">Figure 3. VMotion Network</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/figure-4-nfs-network.png" medium="image">
			<media:title type="html">Figure 4. NFS Network</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/figure-5-iscsi-network.png" medium="image">
			<media:title type="html">Figure 5. iSCSI Network</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/figure-6-virtual-machine-networks.png" medium="image">
			<media:title type="html">Figure 6. Virtual Machine Networks</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/table-1-security-impact-of-mixing-networks.png" medium="image">
			<media:title type="html">Table 1. Security Impact of Mixing Networks</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/table-2-performance-impact-of-mixing-networks.png" medium="image">
			<media:title type="html">Table 2. Performance Impact of Mixing Networks</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/table-3-overall-impact-of-mixing-networks.png" medium="image">
			<media:title type="html">Table 3. Overall Impact of Mixing Networks</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/figure-7-vswitch-options.png" medium="image">
			<media:title type="html">Figure 7. vSwitch Options</media:title>
		</media:content>
	</item>
		<item>
		<title>The Great vSwitch Debate &#8211; Part 4</title>
		<link>http://kensvirtualreality.wordpress.com/2009/04/10/the-great-vswitch-debate-part-4/</link>
		<comments>http://kensvirtualreality.wordpress.com/2009/04/10/the-great-vswitch-debate-part-4/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 17:05:09 +0000</pubDate>
		<dc:creator>Ken Cline</dc:creator>
				<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[best practice]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vswitch]]></category>

		<guid isPermaLink="false">http://kensvirtualreality.wordpress.com/?p=198</guid>
		<description><![CDATA[OK, we’re now up to Part 4 in this series of articles. With a title like “The Great vSwitch Debate” I bet you’re wondering when the debate’s going to start – well, not yet. I’ve still got a few more details to cover about what makes a vSwitch tick before I can really get into [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=198&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>OK, we’re now up to Part 4 in this series of articles. With a title like “The Great vSwitch Debate” I bet you’re wondering when the debate’s going to start – well, not yet. I’ve still got a few more details to cover about what makes a vSwitch tick before I can really get into the discussion of what’s the best way to configure your vSwitches.</p>
<p>So far, we’ve been through three posts on vSwitches. If you’ve not read these posts, I recommend that you go back and do so now (or you can read this post and then go back – there are not many dependencies). The first three posts were:</p>
<ul>
<li><a href="http://kensvirtualreality.wordpress.com/2009/03/29/the-great-vswitch-debate-part-1/" target="_blank">The Great vSwitch Debate – Part 1</a><br />
In this post, I discussed vSwitch functions, Port Groups, VLAN tagging/trunking, valid communications paths, and some other basic vSwitch information.</li>
<li><a href="http://kensvirtualreality.wordpress.com/2009/03/29/the-great-vswitch-debate-part-2/" target="_blank">The Great vSwitch Debate – Part 2</a><br />
In Part 2, I covered the vSwitch security features (Promiscuous Mode, MAC Address Change, and Forged Transmits) as well as network traffic shaping options.</li>
<li><a href="http://kensvirtualreality.wordpress.com/2009/04/05/the-great-vswitch-debate–part-3/" target="_blank">The Great vSwitch Debate – Part 3</a><br />
Here I discussed the various load balancing options that are available in a VMware vSwitch.</li>
</ul>
<p>So, what does that leave for Part 4? Plenty! In this edition, we’re going to talk about how a vSwitch detects path failures and also dip our toes into the Cisco Discovery Protocol waters. Now, on to the next topic!<span id="more-198"></span></p>
<h2>Network Path Failure Detection</h2>
<p>OK, so we’ve moved the responsibility for fault tolerance from the virtual machine’s guest OS and placed it squarely on the vSwitch. This begs the question – how does a vSwitch know that a failure has occurred, and what does it do about it?</p>
<p>Well, let’s see if we can answer those questions!</p>
<p>ESX supports two types of network failure detection mechanisms, beaconing and link state detection. Let’s investigate beaconing first.</p>
<h2>Beacon Probing</h2>
<p>Beacon Probing, frequently called simply “beaconing”. Beaconing is intended for use in situations where there are multiple pSwitches between the various pNICs pNICs in a vSwitch. Beaconing is a technique that sends layer two Ethernet broadcast packets from every pNIC in the team to <span style="text-decoration:underline;">every</span> VLAN to which the vSwitch belongs (yes, that means that if your vSwitch participates in 10 VLANs, beaconing will transmit 10 broadcast packets per pNIC per beacon interval!), although you do have the option of overriding the vSwitch default settings at the Port Group level, if you desire.</p>
<p>See Figure 1 for a depiction of a single pNIC transmitting beacon packets to the broadcast address (in normal operation, every pNIC will transmit beacon packets on every connected VLAN). This packet would be received by all other pNICs in the broadcast domain. An interesting note is that this is the only situation when, during normal operation, you will see the MAC address of the pNIC on the network. The MAC address or the Beacon Initiator pNIC is used as the source MAC address in the beacon frame. It is also of interest that the vSwitch will absorb the beacon frames received by the Beacon Receivers – the virtual machines will never see the beacon frames.</p>
<div id="attachment_200" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/beaconing-1.png"><img class="size-full wp-image-200" title="Figure 1. Beacon Probing" src="http://kensvirtualreality.files.wordpress.com/2009/04/beaconing-1.png?w=470&#038;h=421" alt="Figure 1. Beacon Probing" width="470" height="421" /></a><p class="wp-caption-text">Figure 1. Beacon Probing</p></div>
<p> </p>
<p>If a Beacon Receiver misses three consecutive beacon packets, it will flagged as “bad” and put into a down state. Outbound vSwitch traffic will automatically be routed over surviving interfaces. There are two basic behaviors that the vSwitch will exhibit upon beacon failure (from <a title="http://blogs.vmware.com/networking/2008/12/using-beaconing-to-detect-link-failures-or-beaconing-demystified.html" href="http://blogs.vmware.com/networking/2008/12/using-beaconing-to-detect-link-failures-or-beaconing-demystified.html">http://blogs.vmware.com/networking/2008/12/using-beaconing-to-detect-link-failures-or-beaconing-demystified.html</a>):</p>
<p>ESX behavior when a beaconing failure is detected is as follows:</p>
<ol>
<li>If two or more uplinks receive beacons from each other, those uplinks are considered good. <span style="color:#0000ff;">We stop using uplinks which do not receive any beacon packets.</span></li>
<li>On ESX 3.5, if no uplink receives beacon packets, traffic is sent to all uplinks (shotgun mode). If a team has two uplinks, any link failure will result in all packets being sent to both uplinks.</li>
</ol>
<p>As you see, you can wind up in a situation where you are transmitting all packets along every uplink path. This can cause extreme confusion for your pSwitches, especially if you have multiple uplinks connected to the same pSwitch (not recommended when using beaconing)!</p>
<p>There are other issues with Beacon Probing, too. For example <a href="http://kb.vmware.com/kb/1004373">http://kb.vmware.com/kb/1004373</a> reads as follows:</p>
<blockquote><p>“When configuring networking for an ESX Server host using at least two vmnic as network adapters and VLAN Type 4095, duplicated packets can occur when <strong>Beacon Probing</strong> is selected in the <strong>Network Failover Detection</strong> dropdown menu.”</p></blockquote>
<p>With the following recommended solution:</p>
<blockquote><p>“Select the <strong>Link Status Only</strong> option in the <strong>Network Failover Detection</strong> dropdown menu instead of <strong>Beacon Probing</strong>.”</p></blockquote>
<p>Basically, Beacon Probing should not be used as an alternative to a robust Layer Two network implementation. Instead, use <strong>Link Status Only</strong> as your network failure detection mechanism.</p>
<h2>Link Status Only</h2>
<p><span style="font-weight:bold;">Link Status Only</span> error detection relies upon the pNIC’s link state detection capabilities to identify when there is a problem with the network path. At first blush, you may think this is not a very robust error detection scheme – it only sees the condition of the connection between the pNIC and the first upstream pSwitch! It also does nothing to verify that the pSwitch port is configured correctly, and it can&#8217;t see deeper into the network. While all this is true, there are some things that can be done to help alleviate these problems.</p>
<p>First, use a pSwitch that has the “<span style="font-style:italic;">Link State Tracking</span>” feature. This feature will mirror the link status of the upstream link (pSwitch to pSwitch) down to the downstream link (pSwitch to ESX pNIC). What this means is that if the first upstream pSwitch becomes isolated, the link status indicator for the pNIC will be set to “Down”, indicating to the vSwitch that the associated path is no longer viable.</p>
<div id="attachment_201" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/04/link-state-tracking.png"><img class="size-full wp-image-201" title="Figure 2. Link State Tracking" src="http://kensvirtualreality.files.wordpress.com/2009/04/link-state-tracking.png?w=470&#038;h=380" alt="Figure 2. Link State Tracking" width="470" height="380" /></a><p class="wp-caption-text">Figure 2. Link State Tracking</p></div>
<p>Figure 2 shows an example of how Link State Tracking works. When looking at the Downstream Link (from the first pSwitch’s perspective), everything looks good; however, the Upstream Link between the two pSwitches has failed. With Link State Tracking enabled on the pSwitch, will reflect the state of the Upstream link on the Downstream link, letting ESX know that the path is dead and that the alternate path should be used.</p>
<h2>Which to Use?</h2>
<p>So, you’ve got two options for managing network failure conditions, which should you use? I recommend the following:</p>
<ul>
<li>When you initially configure your vSwitch, use <span style="font-weight:bold;">Beacon Probing</span>. This will allow you to test not only the link state, but also ensure that you can talk across all of your configured port groups. Once you’ve validated proper configuration, switch to <strong>Link Status Only</strong></li>
<li>When you add a new port group to an existing vSwitch, set the error detection method for the port group to <span style="font-weight:bold;">Beacon Probing</span> to verify correct pSwitch configuration. Once you’ve validated proper configuration, switch to <strong>Link Status Only</strong></li>
<li><strong>Don’t</strong> use <span style="font-weight:bold;">Beacon Probing</span> if more than one pNIC in the vSwitch is connected to the same pSwitch. This could result in the same MAC address being presented on two or more ports on the pSwitch which is “<span style="font-style:italic;">a very bad thing</span>”.</li>
<li>Use <span style="font-weight:bold;">Link Status Only</span> for network failure detection. If at all possible, use pSwitches that support Link State Tracking to reflect upstream network status back to the vSwitch.</li>
<li>Implement a robust Layer Two network. If possible, have your first level pSwitch multi-homed to eliminate single points of failure.</li>
</ul>
<h2>Cisco Discovery Protocol (CDP)</h2>
<p>The Cisco Discovery Protocol (CDP) is used to obtain pSwitch port configuration from an ESX host. The information returned by CDP can be invaluable when you’re trying to verify or modify your network configuration. Examples of some of the information returned by CDP include:</p>
<ul>
<li>Identification of the pSwitch to which a pNIC is connected</li>
<li>Identification of the pSwitch port to which the pNIC is connected</li>
<li>Speed &amp; Duplex settings for the pSwitch port</li>
<li>VLAN number(s) associated with the pSwitch port</li>
</ul>
<p>The CDP information is available either via the command line (use vmware-vim-cmd) or via vCenter Server (on the Configuration / Networking tab). For more detailed information on the use of CDP, check out the following VMware knowledgebase articles:</p>
<p><a title="http://kb.vmware.com/kb/1007069" href="http://kb.vmware.com/kb/1007069">http://kb.vmware.com/kb/1007069</a></p>
<p><a title="http://kb.vmware.com/kb/1003885" href="http://kb.vmware.com/kb/1003885">http://kb.vmware.com/kb/1003885</a></p>
<p>OK, this wraps it up for Part 4 of my series on vSwitches. In the next section (Part 5), I’ll start getting into some of my recommended configurations. That’s where the real fun begins – and hopefully we’ll get the “Debate” part of this thing spun up <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span style="font-size:19px;font-weight:bold;">References:</span></p>
<p><a href="http://blogs.vmware.com/networking/2008/12/using-beaconing-to-detect-link-failures-or-beaconing-demystified.html"></a></p>
<p><a href="http://blogs.vmware.com/networking/2008/12/using-beaconing-to-detect-link-failures-or-beaconing-demystified.html">Beaconing Demystified: Using Beaconing to Detect Link Failures</a></p>
<p><a title="VMware Virtual Networking Concepts" href="http://www.vmware.com/files/pdf/virtual_networking_concepts.pdf" target="_blank">VMware Virtual Networking Concepts</a></p>
<p><a title="Duplicated Packets Occur when Beacon Probing Is Selected Using vmnic and VLAN Type 4095" href="http://kb.vmware.com/kb/1004373" target="_blank">Duplicated Packets Occur when Beacon Probing Is Selected Using vmnic and VLAN Type 4095</a></p>
<p><a title="Cisco Discovery Protocol (CDP) network information via command line and VirtualCenter on an ESX host" href="http://kb.vmware.com/kb/1007069" target="_blank">Cisco Discovery Protocol (CDP) network information via command line and VirtualCenter on an ESX host</a></p>
<p><a title="Configuring the Cisco Discovery Protocol (CDP) with ESX Server" href="http://kb.vmware.com/kb/1003885" target="_blank">Configuring the Cisco Discovery Protocol (CDP) with ESX Server</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kensvirtualreality.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kensvirtualreality.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kensvirtualreality.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kensvirtualreality.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kensvirtualreality.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kensvirtualreality.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kensvirtualreality.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kensvirtualreality.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kensvirtualreality.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kensvirtualreality.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kensvirtualreality.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kensvirtualreality.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kensvirtualreality.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kensvirtualreality.wordpress.com/198/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=198&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kensvirtualreality.wordpress.com/2009/04/10/the-great-vswitch-debate-part-4/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d1c81a8142525d780fda1c5064ceb1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ken Cline</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/beaconing-1.png" medium="image">
			<media:title type="html">Figure 1. Beacon Probing</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/04/link-state-tracking.png" medium="image">
			<media:title type="html">Figure 2. Link State Tracking</media:title>
		</media:content>
	</item>
		<item>
		<title>HyTrust Appliance</title>
		<link>http://kensvirtualreality.wordpress.com/2009/04/06/hytrust-appliance/</link>
		<comments>http://kensvirtualreality.wordpress.com/2009/04/06/hytrust-appliance/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 04:02:15 +0000</pubDate>
		<dc:creator>Ken Cline</dc:creator>
				<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[appliance]]></category>
		<category><![CDATA[auditability]]></category>
		<category><![CDATA[hytrust]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://kensvirtualreality.wordpress.com/?p=71</guid>
		<description><![CDATA[I had the pleasure of having Eric Chiu and Ken Crandall of HyTrust (http://www.linkedin.com/companies/hytrust &#38; http://www.hytrust.com/) give me a pre-release demo of their soon to be released product, the HyTrust Appliance. I hesitate to call the device a &#8220;security appliance&#8221;, although it is – and much more. My take on the HyTrust Appliance is that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=71&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had the pleasure of having Eric Chiu and Ken Crandall of HyTrust (<a href="http://www.linkedin.com/companies/hytrust">http://www.linkedin.com/companies/hytrust</a> &amp; <a href="http://www.hytrust.com/">http://www.hytrust.com/</a>) give me a pre-release demo of their soon to be released product, the HyTrust Appliance. I hesitate to call the device a &#8220;security appliance&#8221;, although it is – and much more. My take on the HyTrust Appliance is that it is a device (either a physical hardware appliance or a VM appliance) whose goal, at a high level, is to provide a centralized point for administrative access to your VMware Infrastructure components. Why would you want such a thing? Here are four good reasons:<span id="more-71"></span></p>
<ul>
<li>To enable a single authentication source for all of the different administrative access methods (vCenter Server, ssh, web access, VIC, third-party tools, etc.)</li>
<li>To enable a granular authorization service for users, regardless of administrative access method</li>
<li>To provide a template-based security configuration for your hosts, and</li>
<li>To provide a centralized logging facility to simplify and enhance auditability.</li>
</ul>
<p>The architecture is relatively simple (which is a good thing). Basically, as shown in Figure 1, the appliance sits between your administrative users and your VMware Infrastructure systems. It can be configured either as an Ethernet bridge or as a proxy. I personally prefer the bridge approach, since it doesn&#8217;t require client-side configuration and is much harder to circumvent – intentionally or on purpose.</p>
<div id="attachment_72" class="wp-caption aligncenter" style="width: 480px"><a href="http://kensvirtualreality.files.wordpress.com/2009/03/032609-1747-hytrustappl11.png"><img class="size-full wp-image-72" title="HyTrust High Level Architecture" src="http://kensvirtualreality.files.wordpress.com/2009/03/032609-1747-hytrustappl11.png?w=470&#038;h=350" alt="Figure 1. HyTrust High Level Architecture" width="470" height="350" /></a><p class="wp-caption-text">Figure 1. HyTrust High Level Architecture</p></div>
<p>Let&#8217;s look at the four basic functions individually:</p>
<h2>Single Authentication Source</h2>
<p>The appliance works in much the same way as vCenter Server – inbound administrative connections are terminated at the HyTrust appliance and HyTrust will use a single privileged account to perform host actions on the user&#8217;s behalf. The great thing about this approach is that you now have a single repository for user credentials – your Active Directory or other LDAP v3 repository. You don&#8217;t have to worry about keeping multiple authentication sources synchronized, and your users don&#8217;t have to remember a bunch of different passwords.</p>
<h2>Granular Authorization Service</h2>
<p>Because the HyTrust Appliance terminates inbound administrative connections, it has the ability to be very granular in its authorization functions. In addition to being able to authorize users for individual commands, such as esxcfgnas, you have the ability to authorize individual options on each command. For example, you could configure a role that has the rights to execute the command <span style="color:#0000ff;">esxcfgnas -l</span> but not <span style="color:#0000ff;">esxcfgnas –a</span>. This could be ideal for creating, for example, a role for an auditor who could come in and look at anything they wanted to, but they wouldn&#8217;t be able to change anything.</p>
<p>One of the really neat things that was demoed was a user connected to vCenter Server via the VIC attempting to execute a command that they are not authorized for. They were able to issue the command, but it was squashed even before it showed up as a task in the VIC status pane (and the attempt was logged). Ideally, unauthorized commands wouldn&#8217;t even show up in the UI, but the ability to prevent the command from even being scheduled for execution is a great first step.</p>
<p>Additionally, there is a single point for logging all actions performed against your environment.</p>
<h2>Template-based Host Security Configuration</h2>
<p>Another feature that was demonstrated was template-based host security configuration. OK, that sounds ominous – what exactly does it mean? It means that you can define the security settings that you want implemented for your hosts and the HyTrust Appliance can audit your hosts for compliance with your template and it can also remediate any hosts that it finds out of compliance. When the product ships, it will include two pre-defined templates that you can use out of the box or customize for your specific needs. The included templates will be base on the VMware ESX Security Hardening White Paper and the CIS VMware ESX Server Benchmark.</p>
<p>Additional templates may be added, and of course, you are free to create your own by modifying the included ones or starting from scratch.</p>
<h2>Centralized Logging Facility</h2>
<p>Since all administrative actions will be performed by the HyTrust Appliance, auditable logs can be created in one place. True, if you really have to dig in for forensics purposes, you&#8217;ll still have to go back to the source host and do log correlation and piece together an activity trail, but in many cases, you&#8217;ll have enough information in the HyTrust logs to satisfy your requirements. This can be a HUGE benefit for organizations that have regulatory obligations (such as HIPAA, GLBA, SARBOX, etc.) or for anyone who cares about security in general.</p>
<p>One of the things that I really liked about the log entries is that they were actually understandable! Here are just a couple examples to give you an idea:</p>
<ul>
<li>WARN : AUN0010I The request for {NetworkAdminUser {HT_NetworkAdmin}} to perform PowerOnVM_Task on VM : win2k3 is declined</li>
<li>INFO : VVM0010O Source: 172.16.1.100 User: NetworkAdminUser Operation: RemoveVirtualSwitch</li>
<li>INFO : AUN0001I The request for {NetworkAdminUser {HT_NetworkAdmin}} to perform RemoveVirtualSwitch on NETWORK : networkSystem-8 is authorized</li>
</ul>
<p>There is enough information in the log to recreate the activities that a user has performed, the messages are structured to allow easy parsing by log analyzers, and the messages are clear enough that a human can read them and understand what&#8217;s going on.</p>
<h2>Summary</h2>
<p>I&#8217;ve not covered all the features that were presented in the demo, but I&#8217;ve hit what I felt were the high points. I&#8217;m eagerly awaiting the chance to put my hands on one of these boxes to put it through its paces for real.</p>
<p>In summary, I found the HyTrust Appliance to be a very interesting product that addresses many of the issues that nearly every virtualized environment is facing today. It enables true Role Based Access Control (RBAC) and single-source authentication for all of your VI administrative interfaces.</p>
<p>The only hole that I noticed in the HyTrust armor is the ESX server&#8217;s physical console. There is no way for a network-based product to protect against someone who has physical access to a system. This is true for every system and reinforces the best practice of ensuring the integrity of your security policies regarding access to systems.</p>
<p>As always, security is a combination of people, process, and technology. The HyTrust Appliance should be looked at by anyone who is serious about security in their environment.</p>
<p>Thanks Eric &amp; Ken – I look forward to a product release in the near future!</p>
<hr />
<h3>More opinions can be found here:</h3>
<p><a href="http://www.yellow-bricks.com/2009/04/07/hytrust-virtualization-under-control/">Hytrust, virtualization under control @ Yellow Bricks / Duncan Epping</a><br />
<a href="http://www.yellow-bricks.com/2009/04/07/hytrust-virtualization-under-control/">HyTrust Launches Security Appliance @ Scott Lowe</a><br />
<a href="http://www.rationalsurvivability.com/blog/?p=691">HyTrust: An Elegant Solution To a Messy Problem @ Rational Survivability / Chris Hoff</a><br />
<a href="http://professionalvmware.com/2009/04/07/virtually-secure-hytrust-launches-virtual-security-appliance/">Virtually Secure – HyTrust Launches Virtual Security Appliance @ Professional VMware / Cody Bunch</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kensvirtualreality.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kensvirtualreality.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kensvirtualreality.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kensvirtualreality.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kensvirtualreality.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kensvirtualreality.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kensvirtualreality.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kensvirtualreality.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kensvirtualreality.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kensvirtualreality.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kensvirtualreality.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kensvirtualreality.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kensvirtualreality.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kensvirtualreality.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kensvirtualreality.wordpress.com&amp;blog=6923228&amp;post=71&amp;subd=kensvirtualreality&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kensvirtualreality.wordpress.com/2009/04/06/hytrust-appliance/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2d1c81a8142525d780fda1c5064ceb1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ken Cline</media:title>
		</media:content>

		<media:content url="http://kensvirtualreality.files.wordpress.com/2009/03/032609-1747-hytrustappl11.png" medium="image">
			<media:title type="html">HyTrust High Level Architecture</media:title>
		</media:content>
	</item>
	</channel>
</rss>
