<?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>Wahl Network</title>
	<atom:link href="http://wahlnetwork.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://wahlnetwork.com</link>
	<description></description>
	<lastBuildDate>Thu, 16 Feb 2012 17:42:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='wahlnetwork.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/6df666d74730f617680f59548678e6ac?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Wahl Network</title>
		<link>http://wahlnetwork.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://wahlnetwork.com/osd.xml" title="Wahl Network" />
	<atom:link rel='hub' href='http://wahlnetwork.com/?pushpress=hub'/>
		<item>
		<title>It&#8217;s Going To Be a Field Day &#8230; of Virtualization!</title>
		<link>http://wahlnetwork.com/2012/02/15/its-going-to-be-a-field-day-of-virtualization/</link>
		<comments>http://wahlnetwork.com/2012/02/15/its-going-to-be-a-field-day-of-virtualization/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 14:18:41 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[TFD]]></category>

		<guid isPermaLink="false">http://wahlnetwork.com/?p=1915</guid>
		<description><![CDATA[Queue dramatic music, 80&#8242;s fog machines, and rows upon rows of whirling strobe lights &#8230; it&#8217;s Virtualization Field Day 2! Bringing it back, baby! But seriously, if you have not heard about the Tech Field Days run by Stephen Foskett, you&#8217;re in for a treat. This will be my second time attending a Tech Field [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1915&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Queue dramatic music, 80&#8242;s fog machines, and rows upon rows of whirling strobe lights &#8230; it&#8217;s <a href="http://techfieldday.com/2012/vfd2/" target="_blank">Virtualization Field Day 2</a>!</p>
<p><img class="aligncenter size-full wp-image-1944" title="disco_stu2" src="http://wahlnetwork.files.wordpress.com/2012/02/disco_stu2.gif?w=650" alt=""   /></p>
<p style="text-align:center;"><em>Bringing it back, baby!</em></p>
<p>But seriously, if you have not heard about the Tech Field Days run by <a href="https://twitter.com/sfoskett" target="_blank">Stephen Foskett</a>, you&#8217;re in for a treat. This will be my second time attending a Tech Field Day, having attended <a href="http://techfieldday.com/2011/tfd8/" target="_blank">Tech Field Day #8</a> as a delegate last year. Now that I have a much better idea what it&#8217;s all about, I wanted to shine some attention on the event in hopes of increasing awareness and, well, evangelizing it a bit.<span id="more-1915"></span></p>
<h2>Full Disclosure</h2>
<p>The entire trip is paid for by the sponsors indirectly (Tech Field Day handles the payments on my behalf). Sometimes there are branded swag gifts or product demos given out. Nothing is expected or required. I wrote about some of the sponsors, and not others, during my last visit. I was invited back &#8211; I guess that proves that you don&#8217;t have to go bonkers with posts or cheerleading for any of the sponsors.</p>
<h1>What Sets Tech Field Day Apart</h1>
<p>First off, it&#8217;s an incredibly fun event. Don&#8217;t get me wrong &#8211; the days are grueling and I typically got less than 4 hours of sleep a night, but that&#8217;s because I spent so much time learning, writing, and conversing with the presenters (such as <a href="http://www.nasuni.com/blog/authors/18-andres_rodriguez" target="_blank">The Most Interesting Man in the World</a> - stay Cloudy my friends!) and fellow delegates until the wee hours of the morning. There are no censors, NDAs, or filters at Tech Field Day &#8211; Stephen is adamant on making sure your voice is heard, even if you hated the presentation.</p>
<h2>The Open Flow of Communication</h2>
<p>Sponsors of Tech Field Day are prepped before hand to understand that they are delivering content and opening themselves up to <a href="http://techfieldday.com/sponsors/presenting-engineers/" target="_blank">exploration from technical engineers</a>. Delegates aren&#8217;t writing press releases, they are analyzing the product or service and picking it a part. That doesn&#8217;t mean dropping F-bombs and setting fire to the carpet, but if they want to express the negatives of a product, delegates can and are encouraged to!</p>
<p><img class="aligncenter size-full wp-image-1948" title="f-bomb" src="http://wahlnetwork.files.wordpress.com/2012/02/f-bomb.jpg?w=650" alt=""   /></p>
<p style="text-align:center;"><em>Generally frowned upon</em></p>
<p>Additionally, the presentations are typically not death by PowerPoint (or at least, the GOOD ones are not). Technical demos with live products, whiteboards, and tours are common place for a Tech Field Day. The idea is to open a dialogue with you (the delegates) and them (the sponsors) to get unfiltered feedback. Thus, opinions matter!</p>
<p><img class="aligncenter size-full wp-image-1956" title="tfd8-purestorage" src="http://wahlnetwork.files.wordpress.com/2012/02/tfd8-purestorage.png?w=650" alt=""   /></p>
<p style="text-align:center;"><em>This is roughly what it looks like at a Tech Field Day presentation. This is from a session at TFD8 from <a href="http://www.purestorage.com/" target="_blank">Pure Storage</a> (<a href="http://datacenteroverlords.com/2011/09/30/fsck-it-well-do-it-all-with-ssds/" target="_blank">the SSD whisperers</a>).</em></p>
<p>With all that said, the sponsors and content are typically top notch and bring their A-game to the presentation. The discussion is focused on something that&#8217;s interesting, sometimes in stealth mode and coming into the market as a new idea, and therefore fun to learn about and engage with the designers.</p>
<h2>Social Media Fiesta</h2>
<p>During a presentation, social media is going nuts. Hashtags in Twitter are flying all over the place, blogs are being updated, and a video camera is recording (and live streaming) everything that&#8217;s going on. It&#8217;s a veritable waterfall of information pouring out of every session. The Tech Field Day staff do a great job at making sure all of the delegate content is quickly spread to the world, and keep the participants updated on the various streams and events taking place.</p>
<p><img class="aligncenter size-full wp-image-1950" title="fail-whale" src="http://wahlnetwork.files.wordpress.com/2012/02/fail-whale.jpg?w=650" alt=""   /></p>
<p style="text-align:center;"><em>The fail whale is often caused by all of the delegate commentary</em></p>
<h1>Becoming a Part of Tech Field Day</h1>
<p>I encouraging others out there who are of an independent mind to throw your hat in the ring. They are always looking for new blood. Or, if you know someone who would benefit from a Tech Field Day, <a href="http://techfieldday.com/delegates/become-field-day-delegate/" target="_blank">nominate them here</a>.</p>
<p>You can also <a href="http://techfieldday.com/sponsors/present-tech-field-day/" target="_blank">nominate sponsors</a> that you&#8217;d like to see present at Tech Field Day.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wahlnetwork.wordpress.com/1915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wahlnetwork.wordpress.com/1915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wahlnetwork.wordpress.com/1915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wahlnetwork.wordpress.com/1915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wahlnetwork.wordpress.com/1915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wahlnetwork.wordpress.com/1915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wahlnetwork.wordpress.com/1915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wahlnetwork.wordpress.com/1915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wahlnetwork.wordpress.com/1915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wahlnetwork.wordpress.com/1915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wahlnetwork.wordpress.com/1915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wahlnetwork.wordpress.com/1915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wahlnetwork.wordpress.com/1915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wahlnetwork.wordpress.com/1915/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1915&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wahlnetwork.com/2012/02/15/its-going-to-be-a-field-day-of-virtualization/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bb33a837dd077f35f0d97b9fc1784f9e?s=96&#38;d=retro&#38;r=PG" medium="image">
			<media:title type="html">wahlnetwork</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/disco_stu2.gif" medium="image">
			<media:title type="html">disco_stu2</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/f-bomb.jpg" medium="image">
			<media:title type="html">f-bomb</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/tfd8-purestorage.png" medium="image">
			<media:title type="html">tfd8-purestorage</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/fail-whale.jpg" medium="image">
			<media:title type="html">fail-whale</media:title>
		</media:content>
	</item>
		<item>
		<title>Tackling the Craziness: Microsoft Licensing Limitations on vMotion</title>
		<link>http://wahlnetwork.com/2012/02/14/tackling-the-craziness-microsoft-licensing-limitations-on-vmotion/</link>
		<comments>http://wahlnetwork.com/2012/02/14/tackling-the-craziness-microsoft-licensing-limitations-on-vmotion/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 00:54:25 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Tech Guides]]></category>
		<category><![CDATA[Licensing]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://wahlnetwork.com/?p=1906</guid>
		<description><![CDATA[Microsoft licensing. Those two words are often enough to cause even a veteran IT professional cringe. Typically, reading and fully comprehending a license document requires a law professor, Hoodini&#8217;s ghost, some tarot cards, and a nice strong shot of whiskey. One particular craziness is how Windows server licenses are tied to the underlying hardware, including [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1906&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Microsoft licensing. Those two words are often enough to cause even a veteran IT professional cringe. Typically, reading and fully comprehending a license document requires a law professor, Hoodini&#8217;s ghost, some tarot cards, and a nice strong shot of whiskey. One particular craziness is how Windows server licenses are tied to the underlying hardware, including virtual machines to the host running a hypervisor. All of the sudden, <a href="http://communities.vmware.com/groups/licensing/blog/2012/01/06/microsoft-server-licensing-implications-with-vmotion" target="_blank">vMotion becomes &#8220;illegal&#8221; in some cases</a>.</p>
<p><img class="aligncenter size-full wp-image-1928" title="balancing_act22" src="http://wahlnetwork.files.wordpress.com/2012/02/balancing_act22.jpg?w=650" alt=""   /></p>
<p style="text-align:center;"><em>This is kinda what it is like to deal with Microsoft licensing</em></p>
<h2><span id="more-1906"></span>Who is Affected?</h2>
<p>This issue doesn&#8217;t specifically stop at VMware&#8217;s vMotion. Seemingly any Windows server license falls under the agreement umbrella. It&#8217;s rather sad that in this day and age we&#8217;re still having to jump through hoops around licensing, although I would imagine profit margins come in to play here somewhere. I find it especially confusing since <a href="http://www.microsoft.com/en-us/server-cloud/windows-server/hyper-v.aspx" target="_blank">Microsoft has a product</a> that is also hurt by this policy, and an ecosystem of overt complexity only breeds <a href="http://en.wikipedia.org/wiki/Fear,_uncertainty_and_doubt" target="_blank">FUD</a> (Fear, Uncertainty, Doubt).</p>
<p><img class="aligncenter size-full wp-image-1929" title="FUD" src="http://wahlnetwork.files.wordpress.com/2012/02/fud.png?w=650" alt=""   /></p>
<p style="text-align:center;"><em>Tasty and delicious</em></p>
<h2>Working Through the Pain</h2>
<p>I&#8217;ve always been a strong advocate of the Windows Data Center level licensing, as it seems to be extremely friendly to virtual environments. In a nutshell, Data Center is sold on a per socket quantity. Any Windows server using that socket is licensed and can use whatever edition needed. The price is typically competitive compared to the Enterprise license, which only allows for 4 guest VMs to be created per license. This doesn&#8217;t mean that you have to install Windows server Data Center edition (typically overkill for most people) in the virtual machines.</p>
<blockquote><p>As an example, a two socket VMware host can run multiple copies of Windows server in all flavors (Standard, Enterprise, or Data Center) as long as two licenses of Windows Data Center are purchased.</p></blockquote>
<p>Unless you already have a significant investment in lower level licensing, such as a server farm running non-OEM&#8217;ed Standard licenses, go with Data Center.</p>
<p>Note: I specifically leave out anyone with an enterprise agreement with software assurance. I imagine that at that level, you aren&#8217;t worrying too much about licensing. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Big Brother Isn&#8217;t Watching You</h2>
<p><img class="alignleft size-full wp-image-1941" title="big-brother" src="http://wahlnetwork.files.wordpress.com/2012/02/big-brother1.png?w=650" alt=""   />Not that I&#8217;m advocating violating your license agreement, but to be clear there is no call home feature that I&#8217;m aware of that sends the five-O to your business. Definitely know what you&#8217;re getting in to before you crank up DRS to fully automated and let it play shuffleboard with your VMs, but don&#8217;t worry about events like HA restarting your VMs due to hardware failure (perfectly within your rights of the licensing).</p>
<p>If you are audited, though, you may be in for some fun. And by fun, I mean not fun.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wahlnetwork.wordpress.com/1906/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wahlnetwork.wordpress.com/1906/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wahlnetwork.wordpress.com/1906/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wahlnetwork.wordpress.com/1906/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wahlnetwork.wordpress.com/1906/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wahlnetwork.wordpress.com/1906/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wahlnetwork.wordpress.com/1906/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wahlnetwork.wordpress.com/1906/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wahlnetwork.wordpress.com/1906/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wahlnetwork.wordpress.com/1906/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wahlnetwork.wordpress.com/1906/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wahlnetwork.wordpress.com/1906/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wahlnetwork.wordpress.com/1906/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wahlnetwork.wordpress.com/1906/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1906&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wahlnetwork.com/2012/02/14/tackling-the-craziness-microsoft-licensing-limitations-on-vmotion/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bb33a837dd077f35f0d97b9fc1784f9e?s=96&#38;d=retro&#38;r=PG" medium="image">
			<media:title type="html">wahlnetwork</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/balancing_act22.jpg" medium="image">
			<media:title type="html">balancing_act22</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/fud.png" medium="image">
			<media:title type="html">FUD</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/big-brother1.png" medium="image">
			<media:title type="html">big-brother</media:title>
		</media:content>
	</item>
		<item>
		<title>Tips for Getting Started with PowerCLI</title>
		<link>http://wahlnetwork.com/2012/02/09/tips-for-getting-started-with-powercli/</link>
		<comments>http://wahlnetwork.com/2012/02/09/tips-for-getting-started-with-powercli/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 02:27:55 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tech Guides]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://wahlnetwork.com/?p=1413</guid>
		<description><![CDATA[A number of folks I speak with are aware of PowerCLI (and subsequently, PowerShell) and that it has some sort of magic mojo to do whatever the imagination can come up with. Which is true (mostly). The fine folks at VMware and the rockstars of scripting (mentioned later in this post) have pretty much taken [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1413&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A number of folks I speak with are aware of PowerCLI (and subsequently, PowerShell) and that it has some sort of magic mojo to do whatever the imagination can come up with. Which is true (mostly). The fine folks at VMware and the rockstars of scripting (mentioned later in this post) have pretty much taken PowerCLI to the point where the next version will become sentient and vSkyNet will be birthed.</p>
<p>However, that does you no good if you&#8217;re on the other side of the glass of PowerCLI utopia. Sometimes the hardest part to getting started is figuring out the first step. So, this post will go over some suggestions on how to set up your workstation to form a PowerCLI zen garden and some great resources (both online and in dead tree form) to help walk the path to enlightenment. Once you have a basic level understanding of how this scripting language works, mental sanity will be restored and a guy from Western Union will show up with a seventy year old letter stating that Doc is still alive and living in the wild west of 1885.</p>
<p><img class="aligncenter size-full wp-image-1884" title="powercli-head-gear" src="http://wahlnetwork.files.wordpress.com/2012/02/powercli-head-gear.jpg?w=650" alt=""   /></p>
<p style="text-align:center;"><em>You don&#8217;t have to wear this to learn PowerCLI, but it helps</em></p>
<h1>Go Grab PowerCLI!</h1>
<p>Make sure you have PowerCLI installed before we go any further. So, go <a href="http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/powercli" target="_blank">download</a> and then install it. Preferably in that order.<span id="more-1413"></span></p>
<p>We&#8217;re not actually going to use the &#8220;stock&#8221; version of PowerCLI in this tutorial so don&#8217;t worry about launching any applications after you&#8217;ve finished installing.</p>
<p><img class="aligncenter size-full wp-image-1885" title="powercli-lame" src="http://wahlnetwork.files.wordpress.com/2012/02/powercli-lame.png?w=650" alt=""   /></p>
<p style="text-align:center;"><em>There&#8217;s just no sizzle with the stock editor.</em></p>
<h1>PowerGUI &#8211; 1.21 Giga Watts of Power</h1>
<p>This section could reasonably be entitled &#8220;use a scripting editor&#8221; but, quite frankly, I think <a href="http://powergui.org/index.jspa" target="_blank">PowerGUI</a> is a great tool and highly advocate its use. The free version is amazingly well written with lots of community support and rich with features.</p>
<p>The main thing I like about PowerGUI is that it&#8217;s extremely stable. I&#8217;ve used a number of different GUI editors and have been disappointed with bugs or &#8220;flashy graphics&#8221; that offer no value. For the money (free) this is just one of the best. Even with a 60 second auto save built in and my habit of saving constantly, there&#8217;s nothing worse than having your editor puke in the middle of a flash of code to really put a rain cloud over your head.</p>
<p>Also, like any good editor, this one offers a nice set of window panes for variables / console / editing, auto-complete for cmdlets, and coloration of the code. There&#8217;s a whole slew of other features, such as PowerPacks and tabs, but these are the meat and potatoes.</p>
<p><img class="aligncenter size-full wp-image-1886" title="powergui" src="http://wahlnetwork.files.wordpress.com/2012/02/powergui.png?w=650&#038;h=279" alt="" width="650" height="279" /></p>
<p style="text-align:center;"><em>Meat, Potatoes &#8230; and scripting.</em></p>
<h1>Research Material and Rockstars</h1>
<p>There are a number of great resources available online to help you learn PowerCLI. My main source when I was learning consisted of the three rockstars of scripting: <a href="https://twitter.com/lamw" target="_blank">William Lam</a> (<a href="http://www.virtuallyghetto.com/" target="_blank">Virtually Ghetto</a>), <a href="https://twitter.com/LucD22/" target="_blank">Luc Dekens</a> (<a href="http://www.lucd.info/" target="_blank">LucD Notes</a>), and <a href="https://twitter.com/alanrenouf" target="_blank">Alan Renouf</a> (<a href="http://www.virtu-al.net/" target="_blank">Virtu-Al.net</a>). Very humble guys who donate a lot of their time to evangelize for the community and help people solve scripting road blocks on their websites, VMTN forums, via twitter, and who knows else where. I highly recommend following them on twitter and reading their blogs as a great way to start.</p>
<p>Additionally, Alan and Luc wrote a great book on the subject called &#8220;<em>VMware vSphere PowerCLI Reference: Automating vSphere Administration</em>&#8220; (<a href="http://www.amazon.com/gp/product/0470890797?ie=UTF8&amp;tag=virtal-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0470890797" target="_blank">Amazon</a>) that I own and use frequently. I call it the PowerCLI bible. Go get it, it&#8217;s like 20-something bucks. Easily worth it.</p>
<p><img class="aligncenter size-full wp-image-1888" title="powercli-reference" src="http://wahlnetwork.files.wordpress.com/2012/02/powercli-reference.png?w=650" alt=""   /></p>
<p style="text-align:center;"><em>A treasure of scripting knowledge is behind this cover</em></p>
<h1 style="text-align:left;">Learning to Script</h1>
<p>Aside from formal course work, the best advice I can give is to snag other scripts and reverse engineer them. The book shown above has a lot of example scripts and explains how they work. Use this is a blueprint to begin making your own scripts. Another tip is to start simple and try to emulate many of the features that the vSphere client performs for you &#8211; you should already be familiar with how these work, so it&#8217;s just a matter of learning the language of PowerCLI. Of course, it helps when you&#8217;re not doing this in production, so make sure to pick a lab environment if you&#8217;re not 100% confident in your code (which should be the case if you&#8217;re just starting off!). The best way to firewall yourself from doing any harm is to script directly against a host that has only lab VMs on it, or a lab vCenter (if you have that luxury).</p>
<p>Additionally, check the <a href="http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/powercli?view=discussions" target="_blank">PowerCLI VMTN forums</a> for clues. Many of the scripts that you want have already been requested and fullfilled by a number of folks that want to help. I don&#8217;t advise simply plopping down a post that says &#8220;do it for me&#8221; &#8211; I typically ignore these. However, if you post your script and ask specific questions, such as &#8220;why am I getting this error&#8221; or &#8220;what am I missing&#8221; you should get plenty of help.</p>
<p>If you can find a <strong>mentor</strong> in your office or on twitter, that&#8217;s a great start as well.</p>
<p style="text-align:center;"><img class="aligncenter  wp-image-1891" title="battle_owl" src="http://wahlnetwork.files.wordpress.com/2012/02/battle_owl.jpg?w=385&#038;h=336" alt="" width="385" height="336" /></p>
<p style="text-align:center;"><em>This is my scripting mentor, Battle Owl.</em></p>
<h1>Scripting Exercises</h1>
<p>Try to figure out the code for the following activities. The answers are below in the next section.</p>
<ol>
<li>Power on a VM</li>
<li>Gracefully shutdown a VM</li>
<li>Take a snapshot of a VM</li>
<li>Figure out how many VMs are in a Cluster</li>
<li>Rename a VM</li>
</ol>
<h1>Scripting Exercise Answers</h1>
<p>Power on a VM</p>
<p><pre class="brush: powershell;">
Start-VM -VM &quot;name&quot;
</pre></p>
<p>Gracefully shutdown a VM</p>
<p><pre class="brush: powershell;">
Shutdown-VMGuest -VM &quot;name&quot;
</pre></p>
<p>Take a snapshot of a VM</p>
<p><pre class="brush: powershell;">
New-Snapshot -Name &quot;WahlNetwork Snapshot&quot; -VM &quot;name&quot;
</pre></p>
<p>Figure out how many VMs are in a Cluster</p>
<p><pre class="brush: powershell;">
(Get-VM -Location (Get-Cluster &quot;cluster name&quot;)).count
</pre></p>
<p>Rename a VM</p>
<p><pre class="brush: powershell;">
Set-VM -VM &quot;name&quot; -Name &quot;Wahl Network VM&quot;
</pre></p>
<h1>Thoughts</h1>
<p>As you can see from the answers, much of the code is just plain English. Nothing to be afraid of! I hope this begins your journey towards using (and loving) PowerCLI.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wahlnetwork.wordpress.com/1413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wahlnetwork.wordpress.com/1413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wahlnetwork.wordpress.com/1413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wahlnetwork.wordpress.com/1413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wahlnetwork.wordpress.com/1413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wahlnetwork.wordpress.com/1413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wahlnetwork.wordpress.com/1413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wahlnetwork.wordpress.com/1413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wahlnetwork.wordpress.com/1413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wahlnetwork.wordpress.com/1413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wahlnetwork.wordpress.com/1413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wahlnetwork.wordpress.com/1413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wahlnetwork.wordpress.com/1413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wahlnetwork.wordpress.com/1413/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1413&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wahlnetwork.com/2012/02/09/tips-for-getting-started-with-powercli/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bb33a837dd077f35f0d97b9fc1784f9e?s=96&#38;d=retro&#38;r=PG" medium="image">
			<media:title type="html">wahlnetwork</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/powercli-head-gear.jpg" medium="image">
			<media:title type="html">powercli-head-gear</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/powercli-lame.png" medium="image">
			<media:title type="html">powercli-lame</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/powergui.png" medium="image">
			<media:title type="html">powergui</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/powercli-reference.png" medium="image">
			<media:title type="html">powercli-reference</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/battle_owl.jpg" medium="image">
			<media:title type="html">battle_owl</media:title>
		</media:content>
	</item>
		<item>
		<title>ADSI Edit to the Rescue: Modifying VM Folder Settings in VMware View</title>
		<link>http://wahlnetwork.com/2012/02/06/adsi-edit-to-the-rescue-modifying-vm-folder-settings-in-vmware-view/</link>
		<comments>http://wahlnetwork.com/2012/02/06/adsi-edit-to-the-rescue-modifying-vm-folder-settings-in-vmware-view/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 08:30:30 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Tech Guides]]></category>
		<category><![CDATA[Administration]]></category>
		<category><![CDATA[View]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://wahlnetwork.com/?p=1487</guid>
		<description><![CDATA[One thing that has always bugged me are the few, seemingly random properties of a VMware View pool that cannot be modified once the pool is created. At the top of my list is the VM Folder property in an automated pool. This is the vSphere folder (sometimes referred to as a &#8220;blue folder&#8221;) created [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1487&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One thing that has always bugged me are the few, seemingly random properties of a VMware View pool that cannot be modified once the pool is created. At the top of my list is the VM Folder property in an automated pool. This is the vSphere folder (sometimes referred to as a &#8220;blue folder&#8221;) created by the View Administrator to house provisioned desktop VMs. By default, the folder name is identical to the name of the pool and cannot be modified, which I find very frustrating.</p>
<p>In this post, I&#8217;ll go into more detail on this process, and then show you a trick using ADSI edit to change the location, along with the results. Comments especially welcome; I&#8217;d love to hear any pain points you&#8217;ve had with VM Folders (if any) and how you overcame them.</p>
<p><em><span style="color:#ff0000;"><strong>Note!</strong></span> Use of ADSI edit may not be strictly supported by VMware. The post below was performed in a home lab environment. Use at your own risk &#8211; wear a helmet!</em></p>
<h1>Examining View Pool Settings</h1>
<p>For this scenario, I&#8217;m using an automated pool in my home lab that is creatively called Home. You can see that the virtual machine settings include a VM folder set to the path of:</p>
<blockquote><p><strong>/WahlNetwork </strong><em>(datacenter name) </em><strong>/vm /View </strong><em>(parent folder) </em><strong>/Home </strong><em>(child folder)</em></p></blockquote>
<p><img class="aligncenter size-full wp-image-1509" title="view_folder_01" src="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_01.png?w=650" alt=""   /></p>
<p style="text-align:center;"><em>Here is a snapshot of the settings in the View Administrator</em></p>
<p>You can also see that the two desktops that are provisioned for this pool are sitting happily in the Home folder in vSphere.</p>
<p><img class="aligncenter size-full wp-image-1513" title="view_folder_02" src="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_02.png?w=650" alt=""   /></p>
<p>The path to this folder is referenced as a string value to View. Meaning<span id="more-1487"></span>, you can&#8217;t change the name of any folder along the path, be that the parent(s) or the child folder. If you do, future provisioning efforts will fail citing that the folder could not be found. I don&#8217;t have enough vSphere API knowledge to specifically understand why a string path was chosen; in PowerCLI you can see that each folder has an Id value that doesn&#8217;t change based on the name.</p>
<p>For example, my &#8220;Home&#8221; folder has an Id value of Folder-group-v69. When I change the name to &#8220;Blah&#8221; it retains that same Id. Here is a dump of the info in PowerCLI</p>
<pre>Name Id
---- --
Home Folder-group-v69
Blah Folder-group-v69</pre>
<p>Drastic measures are needed. We must <a href="http://www.imdb.com/title/tt0113243/" target="_blank">hack the Gibson</a>.</p>
<p><img class="aligncenter size-full wp-image-1515" title="view_folder_gibson" src="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_gibson.png?w=650" alt=""   /></p>
<p style="text-align:center;"><em>This is what hacking looks like. Can you spot the garbage file?</em></p>
<h1>Using ADSI Edit</h1>
<p>Active Directory Service Interfaces Editor (ADSI Edit) is an invaluable tool that is used by administrators to do custom edits to an LDAP database. VMware View actually uses a combination of <a href="http://technet.microsoft.com/en-us/library/cc755705(WS.10).aspx" target="_blank">Active Directory Application Mode</a> (ADAM) and <a href="http://technet.microsoft.com/en-us/library/cc754361(WS.10).aspx" target="_blank">Active Directory Lightweight Directory Services</a> (AD LDS) to store information on the environment, meaning you can use the standard ADSI Edit tool to view and configure this information.</p>
<p>In this particular scenario, I have used remote desktop to connect into my View Connection Server so that I can run adsiedit.msc (the console tool). You should be able to launch it directly from the Run prompt, otherwise it should be in the Administrative Tools program folder.</p>
<p>Once you have ADSI Edit running, right click the ADSI Edit root object and select &#8220;Connect to&#8230;&#8221;</p>
<p><img class="aligncenter size-full wp-image-1519" title="view_folder_02b" src="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_02b.png?w=650" alt=""   /></p>
<p>You&#8217;ll need to modify a few of the settings in order to connect to the View environment. These settings are:</p>
<ul>
<li>Name: Arbitrary, but I use &#8220;View&#8221; to remind myself what this connection is in the future.</li>
<li>Connection Point: Change to &#8220;Select or type a Distinguished Name or Naming Context&#8221; and then enter dc=vdi,dc=vmware,dc=int</li>
<li>Computer: Change to &#8220;Select or type a domain or server:&#8221; and put in localhost
<ul>
<li>Note: This assumes you are locally connected to the Connection Server</li>
</ul>
</li>
</ul>
<p><a href="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_03.png"><img class="aligncenter size-full wp-image-1518" title="view_folder_03" src="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_03.png?w=650" alt=""   /></a></p>
<p>Click OK and a new entry will be added to the tree. Expand the tree until you find the &#8220;OU=Server Groups&#8221; folder. This contains the View Pools. In my scenario, there is only one pool (CN=Home). Right click on this entry and select Properties.</p>
<p><a href="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_04.png"><img class="aligncenter size-full wp-image-1520" title="view_folder_04" src="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_04.png?w=650" alt=""   /></a></p>
<p>There are tons of properties available for the pool. The one we&#8217;re interested in is the pae-VmPath value of /WahlNetwork/vm/View/Home. This is the string of the path that View is using to identify the vSphere folder (blue folder). If, for example, I wanted to change the &#8220;Home&#8221; folder to &#8220;ZeroCool&#8221; I would make the edit to the pae-VmPath property to read:</p>
<p>/WahlNetwork/vm/View/ZeroCool</p>
<p><img class="aligncenter size-full wp-image-1521" title="view_folder_05" src="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_05.png?w=650" alt=""   /></p>
<p>I&#8217;d also need to change the name of the vSphere folder to be ZeroCool as well.</p>
<p><img class="aligncenter size-full wp-image-1522" title="view_folder_06" src="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_06.png?w=650" alt=""   /></p>
<h1>Results</h1>
<p>Now that the change has been made in both ADSI edit and in vSphere, a quick check to the View Administrator reveals that the pool is ready to go. Notice that there is no &#8220;Browse&#8230;&#8221; button next to the VM folder setting.</p>
<p><img class="aligncenter size-full wp-image-1523" title="view_folder_07" src="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_07.png?w=650" alt=""   /></p>
<p>The ultimate sign of success is seeing a new desktop provisioned in the ZeroCool folder. Maybe I should make an AcidBurn pool as well?</p>
<p><a href="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_08.png"><img class="aligncenter size-full wp-image-1524" title="view_folder_08" src="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_08.png?w=650" alt=""   /></a></p>
<h1>Thoughts</h1>
<p>Why is the VM Folder setting not changeable from the GUI? It seems like such a harmless thing. I&#8217;ve come across multiple environments that set up their first pool(s) and didn&#8217;t quite understand the vSphere folder piece, and then discovered it was too late to change things and had some spider web of weird folder nesting. I also like the idea of changing the folder to something that isn&#8217;t tied to the pool ID, as some of my View deployment use cases aren&#8217;t strictly for end users that don&#8217;t see vSphere (such as in pre-prod testing with application groups).</p>
<p>Until this is a supported, editable GUI field, I will say that the method I show above works fine and I&#8217;ve used it a few times to fix some weird vSphere folder nesting. Again, however, use at your own risk (and wear a helmet!).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wahlnetwork.wordpress.com/1487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wahlnetwork.wordpress.com/1487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wahlnetwork.wordpress.com/1487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wahlnetwork.wordpress.com/1487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wahlnetwork.wordpress.com/1487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wahlnetwork.wordpress.com/1487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wahlnetwork.wordpress.com/1487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wahlnetwork.wordpress.com/1487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wahlnetwork.wordpress.com/1487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wahlnetwork.wordpress.com/1487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wahlnetwork.wordpress.com/1487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wahlnetwork.wordpress.com/1487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wahlnetwork.wordpress.com/1487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wahlnetwork.wordpress.com/1487/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1487&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wahlnetwork.com/2012/02/06/adsi-edit-to-the-rescue-modifying-vm-folder-settings-in-vmware-view/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:thumbnail url="http://wahlnetwork.files.wordpress.com/2012/02/breaking-the-chains.jpg?w=150" />
		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/breaking-the-chains.jpg?w=150" medium="image">
			<media:title type="html">breaking-the-chains</media:title>
		</media:content>

		<media:content url="http://1.gravatar.com/avatar/bb33a837dd077f35f0d97b9fc1784f9e?s=96&#38;d=retro&#38;r=PG" medium="image">
			<media:title type="html">wahlnetwork</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_01.png" medium="image">
			<media:title type="html">view_folder_01</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_02.png" medium="image">
			<media:title type="html">view_folder_02</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_gibson.png" medium="image">
			<media:title type="html">view_folder_gibson</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_02b.png" medium="image">
			<media:title type="html">view_folder_02b</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_03.png" medium="image">
			<media:title type="html">view_folder_03</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_04.png" medium="image">
			<media:title type="html">view_folder_04</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_05.png" medium="image">
			<media:title type="html">view_folder_05</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_06.png" medium="image">
			<media:title type="html">view_folder_06</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_07.png" medium="image">
			<media:title type="html">view_folder_07</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/view_folder_08.png" medium="image">
			<media:title type="html">view_folder_08</media:title>
		</media:content>
	</item>
		<item>
		<title>Understanding Resource Pools in VMware vSphere</title>
		<link>http://wahlnetwork.com/2012/02/01/understanding-resource-pools-in-vmware-vsphere/</link>
		<comments>http://wahlnetwork.com/2012/02/01/understanding-resource-pools-in-vmware-vsphere/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 03:03:02 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tech Guides]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://wahlnetwork.com/?p=1409</guid>
		<description><![CDATA[It is my experience that resource pools are nearly a four letter word in the virtualization world. Typically I see a look of fear or confusion when I bring up the topic. Even with some other great resources out there that discuss this topic, a lack of education remains on how resource pools work, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1409&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is my experience that resource pools are nearly a four letter word in the virtualization world. Typically I see a look of fear or confusion when I bring up the topic. Even with some <a href="http://www.yellow-bricks.com/2010/02/22/the-resource-pool-priority-pie-paradox/" target="_blank">other</a> <a href="http://www.yellow-bricks.com/2010/12/14/shares-set-on-resource-pools/" target="_blank">great </a><a href="http://www.yellow-bricks.com/2010/02/24/custom-shares-on-a-resource-pools-scripted/" target="_blank">resources </a>out there that discuss this topic, a lack of education remains on how resource pools work, and what they do. In this post, I&#8217;ll give you my spin on some of the ideals behind a resource pool, show off a fancy infographic, and then discuss ways to properly balance resource pools by hand and with the help of PowerShell.</p>
<h1>Who Needs Resource Pools?</h1>
<p>That&#8217;s a good question. You can&#8217;t even make a resource pool on a cluster unless you have DRS running. So, if your license level excludes this technology, you don&#8217;t have to worry about resource pools at all. If you are graced with the awesomeness of DRS, you may need a resource pool if you want to &#8220;weight&#8221; different types of workloads for two scenarios:</p>
<ul>
<li>For when memory and CPU resources become constrained on the cluster, and</li>
<li>&#8230; for when a workload needs a dedicated amount of resources at all times.</li>
</ul>
<p>Now, this isn&#8217;t to say that a resource pool is the only way to accomplish these things &#8211; you can use per VM shares and reservations. But, these values sometimes reset when a VM vMotions to another host, and frankly it&#8217;s a bit of an administrative nightmare to manage resource settings on the VMs individually. I&#8217;ll give an exception to those using some sort of script, but it would require adding some creative solutions to identifying which VMs should be set to what resource values (folders, annotations, etc.).</p>
<p><img class="aligncenter size-full wp-image-1461" title="Pancakesvswaffles" src="http://wahlnetwork.files.wordpress.com/2012/02/pancakesvswaffles.png?w=650" alt=""   /></p>
<p style="text-align:center;"><em>The only debate more epic than resource pools is the infamous &#8220;Pancake vs Waffle&#8221; debacle</em></p>
<p><span id="more-1409"></span>I personally like resource pools and use them often in a mixed workload environment. If you don&#8217;t have the luxury of a dedicated management cluster, resource pools are an easy way to dedicate resources to your vCenter, VUM, DB, and other &#8220;virtual infrastructure management&#8221; (VIM) VMs.</p>
<h1>Why People Fear Resource Pools</h1>
<p>People fear resource pools because they are mysterious like a wild unicorn. Ok, maybe not that mysterious, but they are a bit wonky at first. Also, they are easy to misunderstand, and thus misuse.</p>
<p>Here is an infographic I&#8217;ve created that shows a typical scenario where someone has deployed a resource pool without understanding fully how they work. Look through the graphic and then we&#8217;ll discuss further.</p>
<p><a href="http://wahlnetwork.files.wordpress.com/2012/02/resource_pools1.jpg"><img class="aligncenter size-full wp-image-1472" title="resource_pools" src="http://wahlnetwork.files.wordpress.com/2012/02/resource_pools1.jpg?w=650" alt=""   /></a></p>
<p>Have you had a chance to look at the picture? Hopefully yes, so let&#8217;s cover it.</p>
<h1>Where Did I Get Those Numbers?</h1>
<p>Let&#8217;s start with the resource pools. You&#8217;ll notice 3 bullet points for each pool &#8211; the shares setting (high or low), the amount of shares for RAM, and the amount of shares for CPU. Here&#8217;s the math and <a href="http://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50-resource-management-guide.pdf" target="_blank">the documentation supporting it</a>:</p>
<ul>
<li><span style="text-decoration:underline;color:#800000;"><strong>RAM is calculated like this</strong></span>: [Cluster RAM in MB] * [ 20 for High | 10 for Normal | 5 for Low]</li>
<li>Our cluster has 100 GB of RAM (see the blue section) and thus the math is: <span style="color:#ff0000;"><strong>102,400 MB of RAM * 20 = 2,048,000 for High</strong></span> and <span style="color:#008000;"><strong>102,400 MB of RAM * 5 = 512,000 for Low</strong></span></li>
</ul>
<ul>
<li><span style="text-decoration:underline;color:#800000;"><strong>CPU is calculated like this</strong></span>: [Cluster CPU Cores] * [ 2,000 for High, 1,000 for Normal, 500 for Low ]</li>
<li>Our cluster has 100 CPU cores (see the blue section) and thus the math is: <strong><span style="color:#ff0000;">100 * 2,000 = 200,000 for High</span></strong> and <strong><span style="color:#008000;">100 * 500 = 50,000 for Low</span></strong></li>
</ul>
<p>Based on this math, the Production resource pool has roughly 80% of the shares. However, when you divide those shares for the resource pool by the number of VMs that live in the resource pool, you start to see the problem. The bottom part of the infographic shows the entitlements at a <strong>Per VM level</strong>. <em>Dev/Test has more than twice what Production has when looking at individual VMs.</em></p>
<p><img class="aligncenter size-full wp-image-1458" title="burns" src="http://wahlnetwork.files.wordpress.com/2012/02/burns.gif?w=650" alt=""   /></p>
<p style="text-align:center;"><em>Giving Dev/Test more weight than Production? Eeeeexcelent. (Doh!)</em></p>
<h1>Maintaining the Balance</h1>
<p>The trick to keeping your resource pools balanced is to work the math backwards and never, ever use the default high, normal, and low shares values. Decide the weight of your per VM shares first. Let&#8217;s say that I want my Dev/Test VMs to receive half as much share weight as Production. Instead of worrying about VMware&#8217;s default share value calculations above, create your own. Shares are an arbitrary value that just determine weight, they aren&#8217;t a magic number.</p>
<p>So, let&#8217;s give Dev/Test VMs 50 shares each, and Production VMs 100 shares each. I would change the resource pools to this:</p>
<ul>
<li>Production would get [ 90 VMs ] * [ 100 shares ] = 9,000 shares of RAM and CPU</li>
<li>Dev/Test would get [ 10 VMs ] * [ 50 shares ] = 500 shares of RAM and CPU</li>
</ul>
<p>Much easier, right? Realistically, I could have just chosen a per VM share value of 2 for Production and 1 for Dev/Test. They would both do the same thing.</p>
<p><span style="color:#ff0000;"><strong>Note!</strong></span> If the number of VMs in the resource pool change, you&#8217;ll need to update the resource pool shares value to reflect the added VMs. Your options are to manually update the pool when the number of VMs inside change (no fun) or use &#8230; PowerCLI!</p>
<p><img class="aligncenter size-full wp-image-1341" title="spongebob_powercli" src="http://wahlnetwork.files.wordpress.com/2012/01/spongebob_powercli.png?w=650" alt=""   /></p>
<h1>Using PowerCLI to Balance Resource Pool Shares</h1>
<p>Now that I&#8217;ve invoked the PowerCLI SpongeBob graphic (Wooo!) let&#8217;s do some coding. This very basic script will connect to the vCenter server and cluster specified and look at the resource pools within. It then reports on the number of VMs contained within and offers to adjust the shares value based on an input you provide. It confirms before making any changes (just click or answer No if you don&#8217;t want the change).</p>
<p>Make sure to change line 02 and 03 to specify your vCenter and cluster name. Feel free to distribute and modify at your leisure, I take no responsibility if your environment catches fire, becomes sentient, etc.</p>
<p><pre class="brush: powershell;">

## Variables
$vcenter = &quot;fqdn.of.vcenter&quot;
$cluster = &quot;Cluster Name&quot;

## Gather RPools
Connect-VIServer $vcenter
[array]$rpools = Get-ResourcePool -Location (Get-Cluster $cluster)
cls

## Enumerate Members of RPools
Foreach ($rpool in $rpools)
	{
	If ($rpool.name -ne &quot;Resources&quot;)
		{
		[int]$pervmshares = Read-Host &quot;How many shares per VM in the $($rpool.Name) resource pool?&quot;
		$totalvms = $rpool.ExtensionData.Vm.count
		[int]$rpshares = $pervmshares * $totalvms
		Write-Host -ForegroundColor Green -BackgroundColor Black $rpool.name
		Write-Host &quot;Found $totalvms in the $($rpool.name) resource pool. At $pervmshares each, this pool should be set to $rpshares shares.&quot;
		Set-ResourcePool -ResourcePool $rpool.Name -CpuSharesLevel:Custom -NumCpuShares $rpshares -MemSharesLevel:Custom -NumMemShares $rpshares -Confirm:$true | Out-Null
		}
	}

</pre></p>
<h1>Thoughts</h1>
<p>I hope this has helped clear some confusion around resource pools, although it&#8217;s a big chunk to swallow in one bite, and I&#8217;m sure there are a lot of other competing opinions floating out there that won&#8217;t jive with mine. I&#8217;m OK with that. One thing I would like changed is the ability to set per VM shares on the resource pool, and let the pool automatically adjust for membership values.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wahlnetwork.wordpress.com/1409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wahlnetwork.wordpress.com/1409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wahlnetwork.wordpress.com/1409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wahlnetwork.wordpress.com/1409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wahlnetwork.wordpress.com/1409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wahlnetwork.wordpress.com/1409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wahlnetwork.wordpress.com/1409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wahlnetwork.wordpress.com/1409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wahlnetwork.wordpress.com/1409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wahlnetwork.wordpress.com/1409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wahlnetwork.wordpress.com/1409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wahlnetwork.wordpress.com/1409/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wahlnetwork.wordpress.com/1409/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wahlnetwork.wordpress.com/1409/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1409&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wahlnetwork.com/2012/02/01/understanding-resource-pools-in-vmware-vsphere/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bb33a837dd077f35f0d97b9fc1784f9e?s=96&#38;d=retro&#38;r=PG" medium="image">
			<media:title type="html">wahlnetwork</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/pancakesvswaffles.png" medium="image">
			<media:title type="html">Pancakesvswaffles</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/resource_pools1.jpg" medium="image">
			<media:title type="html">resource_pools</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/02/burns.gif" medium="image">
			<media:title type="html">burns</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/01/spongebob_powercli.png" medium="image">
			<media:title type="html">spongebob_powercli</media:title>
		</media:content>
	</item>
		<item>
		<title>Those Bits Have to go Somewhere: My CCNA Experience</title>
		<link>http://wahlnetwork.com/2012/01/30/those-bits-have-to-go-somewhere-my-ccna-experience/</link>
		<comments>http://wahlnetwork.com/2012/01/30/those-bits-have-to-go-somewhere-my-ccna-experience/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 01:43:56 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Certifications]]></category>
		<category><![CDATA[Certification]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://wahlnetwork.com/?p=1416</guid>
		<description><![CDATA[This will come as no surprise to a lot of you, but I feel it&#8217;s worth underlining: virtualization covers the entire stack in the data center. This can easily be proven by looking at the vSphere Client. All four food groups are shown: compute, OS, storage, and networking. I&#8217;ve spent a lot of time in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1416&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This will come as no surprise to a lot of you, but I feel it&#8217;s worth underlining: virtualization covers the entire stack in the data center. This can easily be proven by looking at the vSphere Client. All four food groups are shown: compute, OS, storage, and networking.</p>
<div id="attachment_1418" class="wp-caption aligncenter" style="width: 406px"><img class="size-full wp-image-1418 " style="border-color:black;border-style:solid;border-width:2px;" title="vsphere_icons" src="http://wahlnetwork.files.wordpress.com/2012/01/vsphere_icons.png?w=650" alt=""   /><p class="wp-caption-text">I&#039;ll take some hosts and clusters with a side of networking and an extra helping of datastores.</p></div>
<p>I&#8217;ve spent a lot of time in those first 3 segments in the forms of servers and blades, various Microsoft operating systems, and all tiers of storage. This has given me a healthy amount of respect and experience for what&#8217;s out there. Recently, I&#8217;ve made it a goal to focus on the fourth segment, networking, and I wanted to share a bit of my experience to obtaining Cisco&#8217;s certified network associate (<a href="http://www.cisco.com/web/learning/le3/le2/le0/le9/learning_certification_type_home.html" target="_blank">CCNA</a>) certification. The ultimate journey will most likely end with CCNP and being able to work with NX_OS (Nexus) switches, but this is a good start.</p>
<h1>Learning Materials</h1>
<p>While I do have an undergraduate in networking, it&#8217;s been a long time since I&#8217;ve implemented anything on a router or switch. Plus, things like RIP v1, which I spent many hours learning and committing to memory, are nearly worthless now (RIP is a very ironic name). Here are the materials I used to learn and study:</p>
<p><strong>CCNA Cisco Certified Network Associate Study Guide: Exam 640-802</strong> (<a href="http://www.amazon.com/Cisco-Certified-Network-Associate-CD-ROM/dp/0470901071/ref=dp_ob_title_bk" target="_blank">Amazon</a>): This is a very detailed book written by Todd Lammle. It goes into all sorts of the nitty gritty on what you should know for the CCNA, and includes a lot of things that you may just want to know or be curious about outside of the exam.</p>
<p><strong>CCENT/CCNA ICND1 640-822 Official Cert Guide (3rd Edition)</strong> (<a href="http://www.amazon.com/CCENT-ICND1-640-822-Official-Guide/dp/1587204258" target="_blank">Amazon</a>): While a bit dry and filled with Flinstones based examples, the infamous Wendell Odom does a great job and explaining things in a very simple set of terms. This thing is a tome of knowledge with some great examples and walk-throughs.</p>
<p><strong>CCNA Exam Cram (Exam 640-802) (3rd Edition)</strong> (<a href="http://www.amazon.com/CCNA-Exam-Cram-640-802-3rd/dp/0789737124/" target="_blank">Amazon</a>): This was actually my favorite resource because it&#8217;s written in a very conversational tone and doesn&#8217;t wander deep into the weeds at every turn. It also had a great set of practice exams (not brain dumps, I assure you) that help prepare for the style of questions on the CCNA exam.</p>
<p>If you want the CD that comes with any of these books, grab the dead tree edition, as it&#8217;s a bit of a pain to try and get them in Kindle format. I recommend getting the <span id="more-1416"></span>Exam Cram book in paperback, as their CD is really good. The others I did not feel added any significant value in the very limited digital content.</p>
<h1>Home Lab</h1>
<p>My entire home lab was simply a virtual machine running Windows 7 and GNS3. This allowed me to set up a rather complex topology of routers and switches to use while following along with the learning materials. For more details on working with GNS3, head over to their <a href="http://www.gns3.net/gns3-quick-start-windows/" target="_blank">tutorial page</a>.</p>
<p><a href="http://wahlnetwork.files.wordpress.com/2012/01/gns3.png"><img class="aligncenter size-full wp-image-1423" title="gns3" src="http://wahlnetwork.files.wordpress.com/2012/01/gns3.png?w=650" alt=""   /></a></p>
<p>The other possibility would be to purchase equipment. There&#8217;s a lot of places out there that sell CCNA/CCNP hardware kits for a couple clams, but I found GNS3 to be &#8220;good enough&#8221; for my intentions. It will not suffice for the CCNP as GNS3 cannot emulate a Catalyst switch.</p>
<h1>Thoughts</h1>
<p>I&#8217;ve taken exams from Microsoft, VMware, and NetApp, and to date Cisco wins the &#8220;wow this is hard&#8221; contest hands down. The exam requires 800/1000 (one required 825/1000) to pass and consists of many simulated environments where there is a terminal configured to accept line commands &#8211; you are expected to perform live commands to achieve goals set by the question (very cool!). <a href="http://wahlnetwork.files.wordpress.com/2012/01/hard.png"><img class="alignright size-medium wp-image-1430" title="hard" src="http://wahlnetwork.files.wordpress.com/2012/01/hard.png?w=300&#038;h=220" alt="" width="300" height="220" /></a>I really enjoyed the exam content and difficulty, and I now have more respect for anyone else who has gone through the process. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I took both the ICND1 and ICND2 as opposed to the straight CCNA exam &#8211; my reason for this was to avoid taking the entire thing all over again if I did not pass, and to narrow down the content for each exam.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wahlnetwork.wordpress.com/1416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wahlnetwork.wordpress.com/1416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wahlnetwork.wordpress.com/1416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wahlnetwork.wordpress.com/1416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wahlnetwork.wordpress.com/1416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wahlnetwork.wordpress.com/1416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wahlnetwork.wordpress.com/1416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wahlnetwork.wordpress.com/1416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wahlnetwork.wordpress.com/1416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wahlnetwork.wordpress.com/1416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wahlnetwork.wordpress.com/1416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wahlnetwork.wordpress.com/1416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wahlnetwork.wordpress.com/1416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wahlnetwork.wordpress.com/1416/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1416&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wahlnetwork.com/2012/01/30/those-bits-have-to-go-somewhere-my-ccna-experience/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:thumbnail url="http://wahlnetwork.files.wordpress.com/2012/01/cisco_kid1.jpg?w=105" />
		<media:content url="http://wahlnetwork.files.wordpress.com/2012/01/cisco_kid1.jpg?w=105" medium="image">
			<media:title type="html">cisco_kid</media:title>
		</media:content>

		<media:content url="http://1.gravatar.com/avatar/bb33a837dd077f35f0d97b9fc1784f9e?s=96&#38;d=retro&#38;r=PG" medium="image">
			<media:title type="html">wahlnetwork</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/01/vsphere_icons.png" medium="image">
			<media:title type="html">vsphere_icons</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/01/gns3.png" medium="image">
			<media:title type="html">gns3</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/01/hard.png?w=300" medium="image">
			<media:title type="html">hard</media:title>
		</media:content>
	</item>
		<item>
		<title>VMware View Linked Clone Desktops &#8211; Disk Redirection Explained [Video]</title>
		<link>http://wahlnetwork.com/2012/01/22/vmware-view-linked-clone-desktops-disk-redirection-explained-video/</link>
		<comments>http://wahlnetwork.com/2012/01/22/vmware-view-linked-clone-desktops-disk-redirection-explained-video/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 22:00:08 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Tech Guides]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[View]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://wahlnetwork.com/?p=1236</guid>
		<description><![CDATA[I get a lot of questions on the various disks that are used with a VMware View Linked Clone desktop pool, especially the disks that are not specifically called out by the datastore selection piece. In response, I&#8217;ve created a video that goes over the creation of a Linked Clone desktop pool, including a discussion [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1236&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I get a lot of questions on the various disks that are used with a VMware View Linked Clone desktop pool, especially the disks that are not specifically called out by the datastore selection piece. In response, I&#8217;ve <a href="http://youtu.be/KFRPRNx4kLw" target="_blank">created a video</a> that goes over the creation of a Linked Clone desktop pool, including a discussion on where the disposable disk and internal disk are placed when datastore tiering is used, and closes with some thoughts on the usefulness of disposable disks.</p>
<p>I personally have a preference in favor of disposable disks, as the &#8220;junk&#8221; data is deleted when a VM is powered off. It seems like a no hassle way to keep the desktops clean. And, for those wondering, the disposable and internal disks follow the OS disk in regards to datastore selection.</p>
<span style="text-align:center; display: block;"><a href="http://wahlnetwork.com/2012/01/22/vmware-view-linked-clone-desktops-disk-redirection-explained-video/"><img src="http://img.youtube.com/vi/KFRPRNx4kLw/2.jpg" alt="" /></a></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wahlnetwork.wordpress.com/1236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wahlnetwork.wordpress.com/1236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wahlnetwork.wordpress.com/1236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wahlnetwork.wordpress.com/1236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wahlnetwork.wordpress.com/1236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wahlnetwork.wordpress.com/1236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wahlnetwork.wordpress.com/1236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wahlnetwork.wordpress.com/1236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wahlnetwork.wordpress.com/1236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wahlnetwork.wordpress.com/1236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wahlnetwork.wordpress.com/1236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wahlnetwork.wordpress.com/1236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wahlnetwork.wordpress.com/1236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wahlnetwork.wordpress.com/1236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1236&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wahlnetwork.com/2012/01/22/vmware-view-linked-clone-desktops-disk-redirection-explained-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bb33a837dd077f35f0d97b9fc1784f9e?s=96&#38;d=retro&#38;r=PG" medium="image">
			<media:title type="html">wahlnetwork</media:title>
		</media:content>
	</item>
		<item>
		<title>Resolving VLAN Tagging Errors on HP ProLiant Blades using Virtual Connect and ESXi 5</title>
		<link>http://wahlnetwork.com/2012/01/20/resolving-vlan-tagging-errors-on-hp-proliant-blades-using-virtual-connect-and-esxi-5/</link>
		<comments>http://wahlnetwork.com/2012/01/20/resolving-vlan-tagging-errors-on-hp-proliant-blades-using-virtual-connect-and-esxi-5/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 14:55:12 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Tech Guides]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[HP]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://wahlnetwork.com/?p=1372</guid>
		<description><![CDATA[I ran across this curious bug that was a bit difficult to track down due to the nature of the errors that it displayed and wanted to share the troubleshooting path / resolution. Details I was working on a BladeSystem (C7000) populated with ProLiant BL460c G7 blades along with HP Virtual Connect.The HP Virtual Connect Ethernet networks were [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1372&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I ran across this curious bug that was a bit difficult to track down due to the nature of the errors that it displayed and wanted to share the troubleshooting path / resolution.</p>
<h2>Details</h2>
<p>I was working on a BladeSystem (C7000) populated with ProLiant BL460c G7 blades along with HP Virtual Connect.The HP Virtual Connect Ethernet networks were configured to tunnel VLAN traffic (pass the VLAN tags along without stripping them off) so that the distributed switches in vSphere could handle the VLAN tags. Installation of ESXi 5 on the blades went just fine. I used the &#8220;test network&#8221; option in the DCUI successfully: the blades pinged their DNS servers and resolved their DNS name without a hiccup. However, I could not attach them to vCenter, nor could I use the vSphere Client to connect to them directly.</p>
<p>The error I received was:</p>
<blockquote><p>The server &#8216;name.of.server&#8217; could not interpret the client&#8217;s request (the remote server returned an error: (404) not found)<br />
Error stack:<br />
Call &#8220;ServiceInstance.RetrieveContent&#8221; for object &#8220;ServiceInstance&#8221; on Server &#8220;address.of.server&#8221; failed.</p></blockquote>
<p><a href="http://wahlnetwork.files.wordpress.com/2012/01/virtual_connect.png"><img class="aligncenter size-full wp-image-1375" title="virtual_connect" src="http://wahlnetwork.files.wordpress.com/2012/01/virtual_connect.png?w=650" alt=""   /></a></p>
<p>Googling this error brings about a lot of incorrect resolutions, such as adding https to the front of the name of the server, or ensuring that the resolv.conf file contained valid DNS entires. It was obvious that DNS was working due to the fact that I could indeed ping by using FQDN values on the console of the blade.</p>
<p>At this point I was a little stumped. I tried a different approach. Using ethtool in the DCUI, I grabbed the firmware and driver versions and began looking around for KB articles discussing any bugs. The shipping driver version is 4.0.88.0. I managed to find this <a href="http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03005737" target="_blank">Advisory published by HP</a> and updated on January 19th (yesterday).</p>
<p><a href="http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03005737" target="_blank">Advisory: (Revision) HP BladeSystem &#8211; Emulex be2net Inbox Driver Version 4.0.88.0 Does Not Support Flex-10 or Flex Fabric Adapters on VMware ESXi 5.0 in a Virtual Connect Environment</a></p>
<p>It specifically calls out the issue:</p>
<blockquote><p>If a VLAN tag is added to a network (for example, from the VM Portgroup, the network in VC, the external switch, etc.), then the vSphere client cannot connect to the host.</p></blockquote>
<p>Ah ha! That was exactly the case.<span id="more-1372"></span></p>
<h2>Resolution</h2>
<p>The resolution is pretty straight forward &#8211; update to the<a href="http://downloads.vmware.com/d/details/dt_esxi50_emulex_be2net_403551/dHRAYnQqQHBiZHAlJQ" target="_blank"> latest drivers</a>.</p>
<blockquote><p>The async be2net driver version 4.0.355.1 is available on the VMware website at the following URL:</p>
<p><a href="http://downloads.vmware.com/d/details/dt_esxi50_emulex_be2net_403551/dHRAYnQqQHBiZHAlJQ">http://downloads.vmware.com/d/details/dt_esxi50_emulex_be2net_403551/dHRAYnQqQHBiZHAlJQ</a></p></blockquote>
<p>My method was to do EST (External Switch Tagging) on the Virtual Connect side, get the hosts connected in to vCenter, and push out the updates using VMware Update Manager (VUM). Once updated, the blades could then again use VST (Virtual Switch Tagging) without any issues. Because vSphere 5 has multi-host remediation with VUM, it doesn&#8217;t take long to patch a bunch of blades, as I set it up to just do all of them simultaneously. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I hope this helps anyone else Google searching for the answer!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wahlnetwork.wordpress.com/1372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wahlnetwork.wordpress.com/1372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wahlnetwork.wordpress.com/1372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wahlnetwork.wordpress.com/1372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wahlnetwork.wordpress.com/1372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wahlnetwork.wordpress.com/1372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wahlnetwork.wordpress.com/1372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wahlnetwork.wordpress.com/1372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wahlnetwork.wordpress.com/1372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wahlnetwork.wordpress.com/1372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wahlnetwork.wordpress.com/1372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wahlnetwork.wordpress.com/1372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wahlnetwork.wordpress.com/1372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wahlnetwork.wordpress.com/1372/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1372&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wahlnetwork.com/2012/01/20/resolving-vlan-tagging-errors-on-hp-proliant-blades-using-virtual-connect-and-esxi-5/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bb33a837dd077f35f0d97b9fc1784f9e?s=96&#38;d=retro&#38;r=PG" medium="image">
			<media:title type="html">wahlnetwork</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/01/virtual_connect.png" medium="image">
			<media:title type="html">virtual_connect</media:title>
		</media:content>
	</item>
		<item>
		<title>Infographic: Understanding VMware View Pools</title>
		<link>http://wahlnetwork.com/2012/01/11/infographic-understanding-vmware-view-pools/</link>
		<comments>http://wahlnetwork.com/2012/01/11/infographic-understanding-vmware-view-pools/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 22:19:28 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Tech Guides]]></category>
		<category><![CDATA[View]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://wahlnetwork.com/?p=1353</guid>
		<description><![CDATA[I&#8217;ve created this infographic to help assist those looking to learn about VMware View pool dependencies, how desktops and sessions are controlled, and to learn the View verbiage. Feel free to share and enjoy. Download PDF<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1353&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve created this infographic to help assist those looking to learn about VMware View pool dependencies, how desktops and sessions are controlled, and to learn the View verbiage. Feel free to share and enjoy.</p>
<p style="text-align:center;"><a href="http://wahlnetwork.files.wordpress.com/2012/01/view-desktop-and-session-controls.pdf">Download PDF</a></p>
<p><a href="http://wahlnetwork.files.wordpress.com/2012/01/view-desktop-and-session-controls.png"><img class="aligncenter size-full wp-image-1355" title="view-desktop-and-session-controls" src="http://wahlnetwork.files.wordpress.com/2012/01/view-desktop-and-session-controls.png?w=650" alt=""   /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wahlnetwork.wordpress.com/1353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wahlnetwork.wordpress.com/1353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wahlnetwork.wordpress.com/1353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wahlnetwork.wordpress.com/1353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wahlnetwork.wordpress.com/1353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wahlnetwork.wordpress.com/1353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wahlnetwork.wordpress.com/1353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wahlnetwork.wordpress.com/1353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wahlnetwork.wordpress.com/1353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wahlnetwork.wordpress.com/1353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wahlnetwork.wordpress.com/1353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wahlnetwork.wordpress.com/1353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wahlnetwork.wordpress.com/1353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wahlnetwork.wordpress.com/1353/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1353&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wahlnetwork.com/2012/01/11/infographic-understanding-vmware-view-pools/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bb33a837dd077f35f0d97b9fc1784f9e?s=96&#38;d=retro&#38;r=PG" medium="image">
			<media:title type="html">wahlnetwork</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/01/view-desktop-and-session-controls.png" medium="image">
			<media:title type="html">view-desktop-and-session-controls</media:title>
		</media:content>
	</item>
		<item>
		<title>Avoiding Those Pesky Reboots when Updating VMware Tools</title>
		<link>http://wahlnetwork.com/2012/01/09/avoiding-those-pesky-reboots-when-updating-vmware-tools/</link>
		<comments>http://wahlnetwork.com/2012/01/09/avoiding-those-pesky-reboots-when-updating-vmware-tools/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 02:45:58 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tech Guides]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://wahlnetwork.com/?p=1329</guid>
		<description><![CDATA[There are numerous ways to upgrade VMware Tools, which you should have installed on all of your VMs, but not quite as many that allow you to suppress a guest reboot afterwards. There are many reasons both for and against suppressing the reboot process, and I certainly don&#8217;t recommend avoiding the reboot for prolonged amounts [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1329&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are numerous ways to upgrade VMware Tools, which you should have installed on all of your VMs, but not quite as many that allow you to suppress a guest reboot afterwards. There are many reasons both for and against suppressing the reboot process, and I certainly don&#8217;t recommend avoiding the reboot for prolonged amounts of time. However, if you want to do a non-invasive update and let the reboot occur during your corporate patch cycle, the information in this post may appeal to you.</p>
<h2>Using the vSphere Client</h2>
<p>Probably the most known, and easiest method, to update VMware Tools is via the vSphere Client. It&#8217;s simple and straightforward.</p>
<ol>
<li>Right click on a VM in the vSphere Client</li>
<li>Choose Guest</li>
<li>Choose Install/Upgrade VMware Tools</li>
</ol>
<p><img class="aligncenter size-full wp-image-1330" title="update_tools_01" src="http://wahlnetwork.files.wordpress.com/2012/01/update_tools_01.png?w=650" alt=""   /></p>
<p>You will be prompted to choose how you would like the upgrade to take place, either Interactively or Automatically. Along with the Automatic option comes the ability to enter some arguments, listed as &#8220;advanced options&#8221; in the GUI, that will be passed to the install.</p>
<p><img class="aligncenter size-full wp-image-1331" title="update_tools_02" src="http://wahlnetwork.files.wordpress.com/2012/01/update_tools_02.png?w=650" alt=""   /></p>
<p>I did a lot of web searching but could not find anyone with the updated string to put in this box after the VI3 days. Also, the official VMware documentation seems to ignore any recommended values for the advanced options box. A former colleague of mine asked what to put in the box, so I did some digging with procmon to see exactly what the advanced options box does.</p>
<p>Behold! The string that I have found to work is as follows:<span id="more-1329"></span></p>
<pre>/s /v/qn ADDLOCAL=ALL REBOOT=ReallySuppress</pre>
<p>I&#8217;ve tested this on ESXi 4.1 and ESXi 5.0 with the same results &#8211; the VM is updated without a reboot. I will caution that you shouldn&#8217;t fully take my word for it, as perhaps some newer or older version of tools will not respond to this exact phrasing as planned. Test it out first to make sure it will go as planned. I won&#8217;t take responsibility when your production SQL box reboots. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h2><img class="alignright size-full wp-image-1341" title="spongebob_powercli" src="http://wahlnetwork.files.wordpress.com/2012/01/spongebob_powercli.png?w=650" alt=""   />Using a PowerCLI Script</h2>
<p>The second method is a little more difficult, but not by much. It requires that you have installed PowerCLI onto your workstation or server.</p>
<p>It also gives me a chance to use my incredibly awesome PowerCLI graphic featuring Spongebob.</p>
<p>You can read the <a href="http://www.vmware.com/support/developer/PowerCLI/PowerCLI41/html/Update-Tools.html" target="_blank">documentation on the cmdlet</a> here, or you can see some further examples on <a href="http://kb.vmware.com/kb/1028291" target="_blank">VMware&#8217;s KB site</a> or on <a href="http://ict-freak.nl/2011/02/09/powercli-vmware-tools-one-liners/" target="_blank">ICT-FREAK&#8217;s page of PowerCLI one-liners</a>, but the basic code is:</p>
<p><pre class="brush: powershell;">
Get-VM &quot;Name Of VM&quot; | Update-Tools -NoReboot
</pre></p>
<p>You can get as fancy as you want with the Get-VM portion by using the -<em>Location</em> argument. In this example, I&#8217;ve nested 3 Get cmdlets to specify a datacenter, cluster, and folder to search. The script will update every VM it finds in that location.</p>
<p><pre class="brush: powershell;">
Get-VM -Location (Get-Datacenter Foo | Get-Cluster Bar | Get-Folder Blah) | Update-Tools -NoReboot -RunAsync
</pre></p>
<p>Note that in this case I&#8217;ve added the <em>-RunAsync</em> argument to avoid having to wait for each VM&#8217;s tools to start updating. Also, it&#8217;s important to know that the Update-Tools command does <strong>not</strong> accept <em>-WhatIf</em> or <em>-Confirm</em>.</p>
<h2>Using a Remote Execute Program (PSEXEC)</h2>
<p>The final method is by calling the installer using some remote execution software. This could be any of your third party installers, and I use the example of PSEXEC because it&#8217;s so well known. You can use the same arguments I supplied in the vSphere Client example to accomplish this.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wahlnetwork.wordpress.com/1329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wahlnetwork.wordpress.com/1329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wahlnetwork.wordpress.com/1329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wahlnetwork.wordpress.com/1329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wahlnetwork.wordpress.com/1329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wahlnetwork.wordpress.com/1329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wahlnetwork.wordpress.com/1329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wahlnetwork.wordpress.com/1329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wahlnetwork.wordpress.com/1329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wahlnetwork.wordpress.com/1329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wahlnetwork.wordpress.com/1329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wahlnetwork.wordpress.com/1329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wahlnetwork.wordpress.com/1329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wahlnetwork.wordpress.com/1329/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wahlnetwork.com&amp;blog=17599474&amp;post=1329&amp;subd=wahlnetwork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wahlnetwork.com/2012/01/09/avoiding-those-pesky-reboots-when-updating-vmware-tools/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:thumbnail url="http://wahlnetwork.files.wordpress.com/2012/01/vmtools.png?w=150" />
		<media:content url="http://wahlnetwork.files.wordpress.com/2012/01/vmtools.png?w=150" medium="image">
			<media:title type="html">vmtools</media:title>
		</media:content>

		<media:content url="http://1.gravatar.com/avatar/bb33a837dd077f35f0d97b9fc1784f9e?s=96&#38;d=retro&#38;r=PG" medium="image">
			<media:title type="html">wahlnetwork</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/01/update_tools_01.png" medium="image">
			<media:title type="html">update_tools_01</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/01/update_tools_02.png" medium="image">
			<media:title type="html">update_tools_02</media:title>
		</media:content>

		<media:content url="http://wahlnetwork.files.wordpress.com/2012/01/spongebob_powercli.png" medium="image">
			<media:title type="html">spongebob_powercli</media:title>
		</media:content>
	</item>
	</channel>
</rss>
