<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Yellow Bricks &#187; deepdive</title>
	<atom:link href="http://www.yellow-bricks.com/tag/deepdive/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yellow-bricks.com</link>
	<description>Building blocks for virtualization...</description>
	<lastBuildDate>Fri, 10 Feb 2012 11:12:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>vSphere HA Deepdive page update</title>
		<link>http://www.yellow-bricks.com/2011/09/21/vsphere-ha-deepdive-page-update/</link>
		<comments>http://www.yellow-bricks.com/2011/09/21/vsphere-ha-deepdive-page-update/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 14:17:55 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[deepdive]]></category>
		<category><![CDATA[ha]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=9141</guid>
		<description><![CDATA[<p>I just finished overhauling the vSphere HA Deepdive page. It now includes details about all versions of HA but is specifically split up in two sections: 4.1 and prior 5.0 I also cleaned up all comments. Although there were a lot of useful details in there the amount of comments made it impossible to maintain. With all changes in 5.0 [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2011/09/21/vsphere-ha-deepdive-page-update/">vSphere HA Deepdive page update</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>I just finished overhauling the <a href="http://www.yellow-bricks.com/vmware-high-availability-deepdiv/">vSphere HA Deepdive page</a>. It now includes details about all versions of HA but is specifically split up in two sections:</p>
<ul>
<li>4.1 and prior</li>
<li>5.0</li>
</ul>
<p>I also cleaned up all comments. Although there were a lot of useful details in there the amount of comments made it impossible to maintain. With all changes in 5.0 I wanted to make sure the page was a single source of truth and no myths/rumors would start floating around based on the outdated comments. Please note that I will clean up the comments every once in a while and update the page when needed based on these comments. If there are any questions / comments or things you feel should be explained in this deepdive, feel free to <a href="http://www.yellow-bricks.com/vmware-high-availability-deepdiv/">drop them here</a>.</p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2011/09/21/vsphere-ha-deepdive-page-update/">vSphere HA Deepdive page update</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2011/09/21/vsphere-ha-deepdive-page-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What? An ebook? Is this a late April Fools&#8217; joke?</title>
		<link>http://www.yellow-bricks.com/2011/04/05/what-an-ebook-is-this-a-late-april-fools-joke/</link>
		<comments>http://www.yellow-bricks.com/2011/04/05/what-an-ebook-is-this-a-late-april-fools-joke/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 13:57:21 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Various]]></category>
		<category><![CDATA[4.1]]></category>
		<category><![CDATA[Book]]></category>
		<category><![CDATA[deepdive]]></category>
		<category><![CDATA[drs]]></category>
		<category><![CDATA[ebook]]></category>
		<category><![CDATA[ha]]></category>
		<category><![CDATA[kindle]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=8000</guid>
		<description><![CDATA[<p>No it isn&#8217;t a late April Fools&#8217; joke&#8230; And we never expected this to actually happen to be honest. Last week I had discussion about the ebook on twitter and people were convinced that ebooks are the way to go. I won&#8217;t deny that and I know Frank agrees with me on this as well but the fact of the [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2011/04/05/what-an-ebook-is-this-a-late-april-fools-joke/">What? An ebook? Is this a late April Fools&#8217; joke?</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>No it isn&#8217;t a late April Fools&#8217; joke&#8230; And we never expected this to actually happen to be honest. Last week I had discussion about the ebook on twitter and people were convinced that ebooks are the way to go. I won&#8217;t deny that and I know Frank agrees with me on this as well but the fact of the matter is that we just didn&#8217;t have the time to do all the reformatting work. I asked once again on twitter if someone knew any tools that we could leverage or if someone could give us a hand. The last 4 times I asked this question no one responded and again hardly anyone did, however a close relative of mine did contact me and told me he had some tools that could possibly help us. I forwarded the PDF and the DOCX file and within a couple of hours I received an almost clean .html file back. The email also contained a very important tip, Mobipocket Creator. So I installed it and added the html file to it and clicked &#8220;Convert&#8221;&#8230;.</p>
<p>Yes it was close, but not close enough to be published yet. I shared the book with Frank and both of us opened it up in our Kindle App and reviewed the layout. We marked all the pages that had some glitches and started editing those. We expected to be done in a couple of hours but it ended up being a full day again for both of us&#8230; but who cares the result is worth it.</p>
<p>After doing research on the Kindle Store we had another decision to make; pricing. We noticed that some ebooks are more expensive than the paper version, WHAT? We didn&#8217;t want to do that. We never expected to release this and every copy sold is an extra copy sold of our book and we know that many who wanted the ebook bought the paper version instead so we decided to make it cheap, almost half the price of the cheapest vSphere book on the list (calling all publishers, revisit your pricing strategy!) and $ 17.45 less than the paper version.</p>
<p>But before we give you the link, one of the most asked questions&#8230; Why Kindle? Well Kindle happens to be a multi-platform solution. The Kindle Application is available for Mac, Windows, iPad, Android, Blackberry, Windows Phone 7. Which made us believe that if we had to pick one format Kindle was the way to go.</p>
<p>So without further ado we present: <a href="https://www.amazon.com/dp/B004V49JGW/ref=as_li_tf_til?tag=yellowbricks-20&amp;camp=0&amp;creative=0&amp;linkCode=as1&amp;creativeASIN=B004V49JGW&amp;adid=0ED4RKK85G6ZTGTH9ENP&amp;">vSphere 4.1 HA and DRS technical deepdive</a>, the ebook&#8230;&#8230; for only <strong>$ 7.50</strong>. Pick <a href="http://www.amazon.com/dp/B004V49JGW/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&amp;camp=0&amp;creative=0&amp;linkCode=as1&amp;creativeASIN=B004V49JGW&amp;adid=0A3WD40FBX137E6K10F5">it</a> up,</p>
<p>Frank &amp; Duncan<br />
ps: it is also available in the <a href="http://www.amazon.co.uk/VMware-vSphere-4-1-technical-deepdive/dp/B004V49JGW/ref=sr_1_2?ie=UTF8&amp;s=digital-text&amp;qid=1301996151&amp;sr=8-2">UK Kindle Store</a> for £5.36.</p>
<p><img class="colorbox-8000"  src="http://s3.amazonaws.com/twitpic/photos/large/270758416.jpg?AWSAccessKeyId=AKIAJF3XCCKACR3QDMOA&amp;Expires=1302012799&amp;Signature=zWP1mx45GpwyLpOZiT7bloXwr%2Fs%3D" alt="" width="360" height="480" /></p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2011/04/05/what-an-ebook-is-this-a-late-april-fools-joke/">What? An ebook? Is this a late April Fools&#8217; joke?</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2011/04/05/what-an-ebook-is-this-a-late-april-fools-joke/feed/</wfw:commentRss>
		<slash:comments>41</slash:comments>
		</item>
		<item>
		<title>E-Book version of the HA/DRS Deepdive?</title>
		<link>http://www.yellow-bricks.com/2011/02/16/e-book-version-of-the-hadrs-deepdive/</link>
		<comments>http://www.yellow-bricks.com/2011/02/16/e-book-version-of-the-hadrs-deepdive/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 11:47:05 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Book]]></category>
		<category><![CDATA[deepdive]]></category>
		<category><![CDATA[drs]]></category>
		<category><![CDATA[ha]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=7770</guid>
		<description><![CDATA[<p>I&#8217;ve had this question too many times over the last couple of weeks and instead of answering all of them separately I figured I would dedicate a blog article to it so that I can reference to that. Here we go: Q) Will the e-book version of the HA/DRS deepdive be available soon? A) No. We have decided that we [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2011/02/16/e-book-version-of-the-hadrs-deepdive/">E-Book version of the HA/DRS Deepdive?</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p><del>I&#8217;ve had this question too many times over the last couple of weeks and instead of answering all of them separately I figured I would dedicate a blog article to it so that I can reference to that. Here we go:</del></p>
<p><del></del></p>
<p style="padding-left: 30px;"><del><strong>Q</strong>) Will the e-book version of the HA/DRS deepdive be available soon?</del></p>
<p style="padding-left: 30px;"><del><strong>A</strong>) No. We have decided that we will not release an e-book (including pdf, ibook, kindle) version of the book. It required a full reformatting of the book which is simple not feasible at this point in time. As it is a &#8220;self published&#8221; book we are responsible for not only the content but also the formatting etc. Sorry about that, for &#8220;Volume 2&#8243; however we will reconsider this.</del></p>
<p>&nbsp;</p>
<p><del>I hope this answers your question(s). Thanks and again our apologies, the only option is the <a href="http://www.amazon.com/gp/product/1456301446?ie=UTF8&amp;tag=yellowbricks-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1456301446">paper</a> version.</del></p>
<p>UPDATE: <a href="http://www.yellow-bricks.com/2011/04/05/what-an-ebook-is-this-a-late-april-fools-joke/">http://www.yellow-bricks.com/2011/04/05/what-an-ebook-is-this-a-late-april-fools-joke/</a></p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2011/02/16/e-book-version-of-the-hadrs-deepdive/">E-Book version of the HA/DRS Deepdive?</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2011/02/16/e-book-version-of-the-hadrs-deepdive/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Overhauling the HA deepdive section</title>
		<link>http://www.yellow-bricks.com/2010/02/23/overhauling-the-ha-deepdive-section/</link>
		<comments>http://www.yellow-bricks.com/2010/02/23/overhauling-the-ha-deepdive-section/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 14:00:51 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Management & Automation]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[deepdive]]></category>
		<category><![CDATA[ha]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=5377</guid>
		<description><![CDATA[<p>I&#8217;ve been working on an overhauled version of the HA Deepdive Page. I&#8217;ve been adding &#8220;basic design principles&#8221; which hopefully you find useful.Here&#8217;s an example of what they look like: Basic design principle: For iSCSI the preferred isolation response is always “Power off” to avoid a possible split brain scenario. Another bit I&#8217;ve added is the following: Please keep in [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2010/02/23/overhauling-the-ha-deepdive-section/">Overhauling the HA deepdive section</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on an overhauled version of the <a href="http://www.yellow-bricks.com/vmware-high-availability-deepdiv/">HA Deepdive Page</a>. I&#8217;ve been adding &#8220;basic design principles&#8221; which hopefully you find useful.Here&#8217;s an example of what they look like:</p>
<p style="padding-left: 30px;"><em>Basic design principle: </em><em>For iSCSI the preferred isolation response is always “<span style="text-decoration: underline;">Power off</span>” to avoid a possible split brain scenario.</em></p>
<p>Another bit I&#8217;ve added is the following:</p>
<blockquote><p>Please keep in mind that if you have an unbalanced cluster(host with different CPU or memory resources) your percentage is equal or preferably larger than the percentage of resources provided by the largest host. This way you ensure that all virtual machines residing on this host can be restarted in case of a host failure. Another thing to keep in mind is as there are no slots which HA uses resources might be fragmented throughout the cluster. Make sure you have at least a host with enough available capacity to boot the largest VM (reservation CPU/MEM). Also make sure you select the highest<span style="text-decoration: underline;"> restart priority</span> for this VM(of course depending on the SLA) to ensure it will be able to boot.)</p></blockquote>
<p>What I&#8217;m discussing here is the impact of selecting a &#8220;Percentage&#8221; instead of the amount of host failures for your HA cluster. Although you might have enough spare resources left on your total cluster, the reservation of a single VM might cause it not to boot when resources are fragmented. Make sure these VMs are the first to boot up when disaster strikes by using restart priorities.</p>
<p>I created a diagram which makes it more obvious I think. So you have 5 hosts, each with roughly 76% memory usage. A host fails and all VMs will need to failover. One of those VMs has a 4GB memory reservation, as you can imagine failing over this particular VM will be impossible.</p>
<p><img class="colorbox-5377"  src="http://farm5.static.flickr.com/4067/4381483229_6979d24403.jpg" alt="" /></p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2010/02/23/overhauling-the-ha-deepdive-section/">Overhauling the HA deepdive section</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2010/02/23/overhauling-the-ha-deepdive-section/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DRS Deepdive Blog page</title>
		<link>http://www.yellow-bricks.com/2009/10/27/drs-deepdive-blog-page/</link>
		<comments>http://www.yellow-bricks.com/2009/10/27/drs-deepdive-blog-page/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 09:31:35 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Various]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[deepdive]]></category>
		<category><![CDATA[drs]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=4388</guid>
		<description><![CDATA[<p>Over the last week I received a whole bunch of requests to turn the DRS Deepdive articles in a &#8220;blog page&#8221; so that they would appear up in the menu. That&#8217;s what I just did, so you guys can easily find the info you are looking for. I will also try to add a diagram to the post which visualizes [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/10/27/drs-deepdive-blog-page/">DRS Deepdive Blog page</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>Over the last week I received a whole bunch of requests to turn the DRS Deepdive articles in a &#8220;blog page&#8221; so that they would appear up in the menu. That&#8217;s what I just did, so you guys can easily find the info you are looking for. I will also try to add a diagram to the post which visualizes the stages. Probably this week if I can find some spare time.</p>
<p>Direct Link: <a href="http://www.yellow-bricks.com/drs-deepdive/">http://www.yellow-bricks.com/drs-deepdive/</a></p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/10/27/drs-deepdive-blog-page/">DRS Deepdive Blog page</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2009/10/27/drs-deepdive-blog-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DRS Deepdive part II</title>
		<link>http://www.yellow-bricks.com/2009/10/22/drs-deepdive-part-ii/</link>
		<comments>http://www.yellow-bricks.com/2009/10/22/drs-deepdive-part-ii/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 13:13:34 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Management & Automation]]></category>
		<category><![CDATA[PASS Syndication]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[deepdive]]></category>
		<category><![CDATA[drs]]></category>
		<category><![CDATA[vcenter]]></category>
		<category><![CDATA[vmotion]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=4342</guid>
		<description><![CDATA[<p>Yesterday I posted the DRS Deepdive. One of the questions still left open was how DRS decides which VM to move to create a balance cluster. After a lot of digging for non-NDA info I found this &#8220;procedure&#8221; in a VMworld presentation(TA16) amongst some other cool info. The following procedure is used to form a set of recommendations to correct [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/10/22/drs-deepdive-part-ii/">DRS Deepdive part II</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I posted the DRS Deepdive. One of the questions still left open was how DRS decides which VM to move to create a balance cluster. After a lot of digging for non-NDA info I found this &#8220;procedure&#8221; in a VMworld presentation(TA16) amongst some other cool info.</p>
<p>The following procedure is used to form a set of recommendations to correct the imbalanced cluster:</p>
<pre style="padding-left: 30px;">While (load imbalance metric &gt; threshold) {
move = GetBestMove();
  If no good migration is found:
    stop;
  Else:
    Add move to the list of recommendations;
    Update cluster to the state after the move is added;
}</pre>
<p>Step by step in plain English:</p>
<p style="padding-left: 30px;">While the cluster is imbalanced (Current host load standard deviation &gt; Target host load standard deviation) select a VM to migrate based on specific criteria and simulate a move and recompute the &#8220;Current host load standard deviation&#8221; and add to the migration recommendation list. If the cluster is still imbalanced(Current host load standard deviation &gt; Target host load standard deviation) repeat procedure.</p>
<p>Now how does DRS select the best VM to move? DRS uses the following procedure:</p>
<pre style="padding-left: 30px;">GetBestMove() {
  For each VM v:
    For each host h that is not Source Host:
      If h is lightly loaded compared to Source Host:
      If Cost Benefit and Risk Analysis accepted
      simulate move v to h
      measure new cluster-wide load imbalance metric as g
  Return move v that gives least cluster-wide imbalance g.
}</pre>
<p>Again in plain English:</p>
<p style="padding-left: 30px;">For each VM check if a VMotion to each of the hosts which are less utilized than source host would result in a less imbalanced cluster and meets the Cost Benefit and Risk Analysis criteria. Compare the outcome of all tried combinations(VM&lt;-&gt;Host) and return the VMotion that results in the least cluster imbalance.</p>
<p>This should result in a migration which gives the most improvement in terms of cluster balance, in other words: most bang for the buck! This is the reason why usually the larger VMs are moved as they will most likely decrease &#8220;Current host load standard deviation&#8221; the most. If it&#8217;s not enough to balance the cluster within the given threshold the &#8220;GetBestMove&#8221; gets executed again by the procedure which is used to form a set of recommendations.</p>
<p>Now the next question would be what does &#8220;Cost Benefit&#8221; and &#8220;Risk Analysis&#8221; consist of and why are we doing this?</p>
<p>First of all we want to avoid a constant stream of VMotions and this will be done by weighing costs vs benefits vs risks. These consists of:</p>
<ul>
<li>Cost benefit<br />
Cost: CPU reserved during migration on t he target host<br />
Cost: Memory consumed by shadow VM during VMotion on the target host<br />
Cost: VM &#8220;downtime&#8221; during the VMotion<br />
Benefit: More resources available on source host due to migration<br />
Benefit: More resources for migrated VM as it moves to a less utilized host<br />
Benefit: Cluster Balance</li>
<li>Risk Analysis<br />
Stable vs unstable workload of the VM (historic info used)</li>
</ul>
<p>Based on these consideration a cost-benefit-risk metric will be calculated and if this has an acceptable value the VM will be consider for migration.</p>
<p>I will consolidate both post in a single blog page today to make it easier to find!</p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/10/22/drs-deepdive-part-ii/">DRS Deepdive part II</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2009/10/22/drs-deepdive-part-ii/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>DRS Deepdive</title>
		<link>http://www.yellow-bricks.com/2009/10/21/drs-deepdive/</link>
		<comments>http://www.yellow-bricks.com/2009/10/21/drs-deepdive/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 12:24:42 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Management & Automation]]></category>
		<category><![CDATA[PASS Syndication]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[deepdive]]></category>
		<category><![CDATA[drs]]></category>
		<category><![CDATA[vcenter]]></category>
		<category><![CDATA[vmotion]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=4277</guid>
		<description><![CDATA[<p>Last week I mentioned which metrics DRS used for load balancing VMs across a cluster. Of course the obvious question was when the DRS Deepdive would be posted. I must admit I&#8217;m not an expert on this topic as like most of you I always took for granted that it worked out of the box. I can&#8217;t remember that there [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/10/21/drs-deepdive/">DRS Deepdive</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>Last week I mentioned which <a href="http://www.yellow-bricks.com/2009/10/15/which-metrics-does-drs-use/">metrics DRS used</a> for load balancing VMs across a cluster. Of course the obvious question was when the DRS Deepdive would be posted. I must admit I&#8217;m not an expert on this topic as like most of you I always took for granted that it worked out of the box. I can&#8217;t remember that there ever was the need to troubleshoot DRS related problems, or better said I don&#8217;t think I&#8217;ve ever seen an issue which was DRS related.</p>
<p>This article will focus on two primary DRS  functions:</p>
<ol>
<li>Load balancing VMs due to imbalanced Cluster</li>
<li>VM Placement when booting</li>
</ol>
<p>I will not be focusing on Resource Pools at all as I feel that there are already more than enough articles which explain these. The <a href="http://www.vmware.com/pdf/vsphere4/r40/vsp_40_resource_mgmt.pdf">Resource Management Guide</a> also contains a wealth of info on resource pools and this should be your starting place!</p>
<p><strong>Load Balancing</strong></p>
<p>First of all VMware DRS evaluates your cluster every <span style="text-decoration: underline;">5 minutes</span>. If there&#8217;s an imbalance in load it will reorganize your cluster, with the help of VMotion, to create an evenly balanced cluster again. So how does it detect an imbalanced Cluster? First of all let&#8217;s start with a screenshot:<br />
<img class="colorbox-4277"  src="http://farm3.static.flickr.com/2634/4028391641_bea81f5d77_o.jpg" alt="" /><br />
<em>fig 1</em></p>
<p>There are three major elements here:</p>
<ol>
<li>Migration Threshold</li>
<li>Target host load standard deviation</li>
<li>Current host load standard deviation</li>
</ol>
<p>Keep in mind that when you change the &#8220;Migration Threshold&#8221; the value of the &#8220;Target host load standard deviation&#8221; will also change. In other words the Migration Threshold dictates how much the cluster can be &#8220;imbalanced&#8221;. There also appears to be a direct relationship between the amount of hosts in a cluster and the &#8220;Target host load standard deviation&#8221;. However, I haven&#8217;t found any reference to support this observation. (Two host cluster  with threshold set to three has a THLSD of <span style="text-decoration: underline;">0.2</span>, a three host cluster has a THLSD of <span style="text-decoration: underline;">0.163</span>.) As said every 5 minutes DRS will calculate the sum of the resource entitlements of all virtual machines on a single host and divides that number by the capacity of the host:</p>
<pre style="padding-left: 30px;">sum(expected VM loads) / (capacity of host)</pre>
<p>The result of all hosts will then be used to compute an average and the standard deviation. (Which effectively is the &#8220;Current host load standard deviation&#8221; you see in the screenshot(fig1).) I&#8217;m not going to explain what a standard deviation is as it&#8217;s explained extensively on <a href="http://en.wikipedia.org/wiki/Standard_deviation">Wiki</a>.</p>
<p>If the environment is imbalanced and the Current host load standard deviation  exceeds the value of the &#8220;Target host load standard deviation&#8221;  DRS will either recommend migrations or perform migrations depending on the chosen setting.</p>
<p>Every migration recommendation will get a priority rating. This priority rating is based on the Current host load standard deviation. The actual algorithm being used to determine this is described in this <a href="http://kb.vmware.com/kb/1007485">KB article</a>. I needed to read the article 134 times before I actually understood what they were trying to explain so I will use an example based on the info shown in the screenshot(fig1). Just to make sure it&#8217;s absolutely clear, LoadImbalanceMetric is the Current host load standard deviation value and ceil is basically a &#8220;round up&#8221;. The formula mentioned in the KB article followed by an example based on the screenshot(fig1):</p>
<pre style="padding-left: 30px;">6 - ceil(LoadImbalanceMetric / 0.1 * sqrt(NumberOfHostsInCluster))</pre>
<pre style="padding-left: 30px;">6 - ceil(0.022 / 0.1 * sqrt(3))</pre>
<p>This would result in a priority level of 5 for the migration recommendation if the cluster was imbalanced.</p>
<p>The only question left for me is how does DRS decide which VM it will VMotion&#8230; If anyone knows, feel free to chip in. I&#8217;ve already emailed the developers and when I receive a reply I will add it to this article and create a seperate article about the change so that it stands out.</p>
<p><strong>VM Placement</strong></p>
<p>The placement of a VM when being powered on is as you know part of DRS. DRS analyzes the cluster based on the algorithm described in &#8220;Load Balancing&#8221;. The question of course is for the VM which is being powered on what kind of values does DRS work with? Here&#8217;s the catch, DRS assumes that 100% of the provisioned resources for this VM will be used. DRS does not take limits or reservations into account. Just like HA, DRS has got &#8220;admission control&#8221;. If DRS can&#8217;t guarantee the full 100% of the resources provisioned for this VM can be used it will VMotion VMs away so that it can power on this single VM. If however there are not enough resources available it will not power on this VM.</p>
<p>That&#8217;s it for now&#8230; Like I said earlier, if you have more indepth details feel free to chip in as this is a grey area for most people.</p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/10/21/drs-deepdive/">DRS Deepdive</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2009/10/21/drs-deepdive/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Slot sizes</title>
		<link>http://www.yellow-bricks.com/2009/10/06/slot-sizes/</link>
		<comments>http://www.yellow-bricks.com/2009/10/06/slot-sizes/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 14:00:11 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[BC-DR]]></category>
		<category><![CDATA[Management & Automation]]></category>
		<category><![CDATA[PASS Syndication]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[deepdive]]></category>
		<category><![CDATA[ha]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=4105</guid>
		<description><![CDATA[<p>I&#8217;ve been receiving a lot of questions around slot sizes lately. Although I point everyone to my HA Deepdive post not everyone seems to understand what I am trying to explain. The foremost reason is that most people need to be able to visualize it; which is tough with slot sizes. Just to freshen up an outtake from the article: [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/10/06/slot-sizes/">Slot sizes</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been receiving a lot of questions around slot sizes lately. Although I point everyone to my <a href="http://www.yellow-bricks.com/vmware-high-availability-deepdiv/#HA-admission">HA Deepdive</a> post not everyone seems to understand what I am trying to explain. The foremost reason is that most people need to be able to visualize it; which is tough with slot sizes. Just to freshen up an outtake from the article:</p>
<blockquote><p>HA uses the highest CPU reservation of any given VM and the highest memory reservation of any given VM. If there is no reservation a default of 256Mhz will be used for the CPU slot and the memory overhead will be used for the memory slot!</p>
<p>If VM1 has 2GHZ and 1024GB reserved and VM2 has 1GHZ and 2048GB reserved the slot size for memory will be 2048MB+memory overhead and the slot size for CPU will be 2GHZ.</p>
<p><em>Now how does HA calculate how many slots are available per host?</em></p>
<p>Of course we need to know what the slot size for memory and CPU is first. Then we divide the total available CPU resources of a host by the CPU slot size and the total available Memory Resources of a host by the memory slot size. This leaves us with a slot size for both memory and CPU. The <span style="text-decoration: underline;">most restrictive number</span> is the amount of slots for this host. If you have 25 CPU slots but only 5 memory slots the amount of available slots for this host will be 5.</p></blockquote>
<p>The first question I got was around unbalanced clusters. Unbalanced would for instance be a cluster with 5 hosts of which one contains substantially more memory than the others. What would happen to the total amount of slots in a cluster of the following specs:</p>
<p>Five hosts, each host has 16GB of memory except for one host(esx5) which has recently been added and has 32GB of memory. One of the VMs in this cluster has 4CPUs and  4GB of memory, because there are no reservations set the memory overhead of 325MB is being used to calculate the memory slot sizes. (It&#8217;s more restrictive than the CPU slot size.)</p>
<p><img class="colorbox-4105"  src="http://farm3.static.flickr.com/2497/3975420032_f087801595.jpg" alt="" /></p>
<p>This results in 50 slots for esx01, esx02, esx03 and esx04. However, esx05 will have 100 slots available. Although this sounds great admission control rules the host out with the most slots as it takes the worst case scenario into account. In other words; end result:  <span style="text-decoration: underline;">200 slot cluster</span>.</p>
<p>With 5 hosts of 16GB, (5 x 50) &#8211; (1 x 50), the result would have been <span style="text-decoration: underline;">exactly</span> the same. To make a long story short: balance your clusters when using admission control!</p>
<p>The second question I received this week was around limiting the slotsizes with the advanced options das.slotCpuInMHz and/or das.slotMemInMB. If you need to use a high reservation for either CPU or Memory these options could definitely be useful, there is however something that you need to know. Check this diagram and see if you spot the problem, the das.slotMemInMB has been set to 1024MB.</p>
<p><img class="colorbox-4105"  src="http://farm4.static.flickr.com/3458/3975370356_4291a21c1e.jpg" alt="" /></p>
<p>Notice that the memory slotsize has been set to 1024MB. VM24 has a 4GB reservation set. Because of this VM24 spans 4 slots. As you might have noticed none of the hosts has 4 slots left. Although in total there are enough slots available; they are scattered and HA might not be able to actually boot VM24. Keep in mind that admission control does <span style="text-decoration: underline;">not</span> take scattering of slots into account. It does count 4 slots for VM24, but it will not verify the amount of available slots per host.</p>
<p>To make sure you will always have enough slots and know what your current situation is Alan Renouf wrote an <a href="http://www.virtu-al.net/2009/10/06/ha-slot-size-information/">excellent script</a>. This script reports the following:</p>
<blockquote><p>Example Output:</p>
<p>Cluster        : Production<br />
TotalSlots     : 32<br />
UsedSlots      : 10<br />
AvailableSlots : 22<br />
SlotNumvCPUs   : 1<br />
SlotCPUMHz     : 256<br />
SlotMemoryMB   : 118</p></blockquote>
<p>My article was a collaboration with Alan and I hope you find both article valuable. We&#8217;ve put a lot of time into making things as straight forward and simplistic as we possibly can.</p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/10/06/slot-sizes/">Slot sizes</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2009/10/06/slot-sizes/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>What&#8217;s that ALUA exactly?</title>
		<link>http://www.yellow-bricks.com/2009/09/29/whats-that-alua-exactly/</link>
		<comments>http://www.yellow-bricks.com/2009/09/29/whats-that-alua-exactly/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 12:48:21 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[deepdive]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[vstorage]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=4053</guid>
		<description><![CDATA[<p>Of course by now we have all read the excellent and lengthy posts by Chad Sakac on ALUA. I&#8217;m just a simple guy and usually try to summarize posts like Chad&#8217;s in a couple of lines which makes it easier for me to remember and digest. First of all ALUA stands for &#8220;Asymmetric Logical Unit Access&#8221;. As Chad explains and [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/09/29/whats-that-alua-exactly/">What&#8217;s that ALUA exactly?</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>Of course by now we have all read the excellent and lengthy <a href="http://virtualgeek.typepad.com/virtual_geek/2009/09/a-couple-important-alua-and-srm-notes.html">posts</a> by Chad Sakac on ALUA. I&#8217;m just a simple guy and usually try to summarize posts like Chad&#8217;s in a couple of lines which makes it easier for me to remember and digest.</p>
<p>First of all ALUA stands for &#8220;Asymmetric Logical Unit Access&#8221;. As Chad explains and as a google search shows it&#8217;s common for midrange arrays these days to have ALUA support. With midrange we are talking about EMC Clariion, HP EVA and others. My interpretation of ALUA is that you can see any given LUN via both storage processors as active but only one of these storage processors &#8220;owns&#8221; the LUN and because of that there will be optimized and unoptimized paths. The optimized paths are the ones with a direct path to the storage processor that owns the LUN. The unoptimized paths have a connection with the storage processor that does not own the LUN but have an indirect path to the storage processor that does own it via an interconnect bus.</p>
<p>In the past when you configured your HP EVA(Active/Active according to VMware terminology) attached VMware environment you would have had two(supported) options as pathing policies. The first option would be Fixed and the second MRU. Most people used Fixed however and tried to balance the I/O. As Frank Denneman described in his <a href="http://www.frankdenneman.nl/?p=5">article</a> this does not always lead to the expected results. This is because the path selection might not be consistent within the cluster and this could lead to path thrashing as one half of the cluster is accessing the LUN through storage processor A and the other half through storage processor B.</p>
<p>This &#8220;problem&#8221; has been solved with vSphere. VMware vSphere is aware of what the most optimal path is to the LUN. In other words VMware knows which processor owns which LUNs and sends traffic preferably directly to the owner. If the optimized path to a LUN is dead an unoptimized path will be selected and within the array the I/O will be directed via an interconnect to the owner again. The pathing policy MRU also takes optimized / unoptimized paths into account. Whenever there&#8217;s no optimized path available MRU will use an unoptimized path; when an optimized path returns MRU will switch back to the optimized path. Cool huh!?!</p>
<p>What does this mean in terms of selecting the correct PSP? Like I said you will have three options: MRU, Fixed and RR. Picking between MRU and Fixed is easy in my opinion as MRU is aware of optimized and unoptimized paths it is less static and error prone than Fixed. When using MRU however be aware of the fact that your LUNs need to be equally balanced between the storage processors, if they are not you might be overloading one storage processor while the other is doing absolutely nothing. This might be something you want to make your storage team aware off. The other option of course is Round Robin. With RR 1000 commands will be send down a path before it switches over to the next one. Although theoretically this should lead to a higher throughput I haven&#8217;t seen any data to back this &#8220;claim&#8221; up. Would I recommend using RR? Yes I would, but I would also recommend to perform benchmarks to ensure you are making the right decision.</p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/09/29/whats-that-alua-exactly/">What&#8217;s that ALUA exactly?</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2009/09/29/whats-that-alua-exactly/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>HA and Slot sizes</title>
		<link>http://www.yellow-bricks.com/2009/08/12/ha-and-slot-sizes/</link>
		<comments>http://www.yellow-bricks.com/2009/08/12/ha-and-slot-sizes/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 12:51:29 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[deepdive]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[ha]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=3656</guid>
		<description><![CDATA[<p>This has always been a hot topic, HA and Slot sizes/Admission Control. One of the most extensive (Non-VMware) articles is by Chad Sakac aka Virtual Geek, but of course since then a couple of things has changed. Chad commented on my HA Deepdive if I could address this topic, here you go Chad. Slot sizes Lets start with the basics. [...]</p><p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/08/12/ha-and-slot-sizes/">HA and Slot sizes</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></description>
			<content:encoded><![CDATA[<p>This has always been a hot topic, HA and Slot sizes/Admission Control. One of the most extensive (Non-VMware) <a href="http://virtualgeek.typepad.com/virtual_geek/2008/06/so-how-exactly.html">articles</a> is by Chad Sakac aka Virtual Geek, but of course since then a couple of things has changed. Chad commented on my HA Deepdive if I could address this topic, here you go Chad.</p>
<h3>Slot sizes</h3>
<p>Lets start with the basics.</p>
<p>What is a slot?</p>
<blockquote><p>A slot is a logical representation of the memory and CPU resources that satisfy the requirements for any powered-on virtual machine in the cluster.</p></blockquote>
<p>In other words a slot size is the worst case CPU and Memory reservation scenario in a cluster. This directly leads to the first &#8220;gotcha&#8221;:</p>
<p style="padding-left: 30px;">HA uses the highest CPU reservation of any given VM and the highest memory reservation of any given VM.</p>
<p style="padding-left: 30px;">If VM1 has 2GHZ and 1024GB reserved and VM2 has 1GHZ and 2048GB reserved the slot size for memory will be 2048MB+memory overhead and the slot size for CPU will be 2GHZ.</p>
<p>Now how does HA calculate how many slots are available per host?</p>
<p>Of course we need to know what the slot size for memory and CPU is first. Then we divide the total available CPU resources of a host by the CPU slot size and the total available Memory Resources of a host by the memory slot size. This leaves us with a slot size for both memory and CPU. The <span style="text-decoration: underline;">most restrictive number</span> is the amount of slots for this host. If you have 25 CPU slots but only 5 memory slots the amount of available slots for this host will be 5.</p>
<p>As you can see this can lead to very conservative consolidation ratios. With vSphere this is something that&#8217;s configurable. If you have just one VM with a really high reservation you can set the following advanced settings to lower the slot size being used during these calculations: das.slotCpuInMHz or das.slotMemInMB. To avoid not being able to power on the VM with high reservations these VM will take up multiple slots. Keep in mind that when you are low on resources this could mean that you are not able to power-on this high reservation VM as resources are <span style="text-decoration: underline;">fragmented</span> throughout the cluster instead of located on a single host.</p>
<h3>Host Failures?</h3>
<p>Now what happens if you set the number of allowed host failures to 1?<br />
The host with the most slots will be taken out of the equation. If you have 8 hosts with 90 slots in total but 7 hosts each have 10 slots and one host 20 this single host will not be taken into account. Worst case scenario! In other words the 7 hosts should be able to provide enough resources for the cluster when a failure of the &#8220;20 slot&#8221; host occurs.</p>
<p>And of course if you set it to 2 the next host that will be taken out of the equation is the host with the second most slots and so on.</p>
<h3>What more?</h3>
<p>One thing worth mentioning, as Chad stated with vCenter 2.5 the number of vCPUs for any given VM was also taken in to account. This led to a very conservative and restrictive admission control. This behavior has been modified with vCenter 2.5 U2, the amount of vCPUs is not taken into account.</p>
<p><div style="border: 1px solid gray; background-color:#CCCCCC;margin: 0px 0pt 0px 0px; padding: 5px;">

"<a href="http://www.yellow-bricks.com/2009/08/12/ha-and-slot-sizes/">HA and Slot sizes</a>" originally appeared on <a href="http://www.yellow-bricks.com">Yellow-Bricks.com</a>. Follow us on <a href="http://www.twitter.com/DuncanYB">Twitter</a> and <a href="http://www.facebook.com/pages/Yellow-Bricks-virtualization-blog/132292893499196">Facebook</a>.<br>
Available now: vSphere 5 Clustering Deepdive. (<a href="http://www.amazon.com/dp/1463658133/ref=as_li_qf_sp_asin_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=1463658133&adid=07SG91DX7FQT2HS66PMM"><strong>paper</strong></a> | <a href="https://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM&"><strong>e-book</strong></a>)</div><br><br></p>]]></content:encoded>
			<wfw:commentRss>http://www.yellow-bricks.com/2009/08/12/ha-and-slot-sizes/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

