<?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; bsod</title>
	<atom:link href="http://www.yellow-bricks.com/tag/bsod/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>Virtual Machine High Availability</title>
		<link>http://www.yellow-bricks.com/2008/01/03/todo-virtual-machine-high-availability/</link>
		<comments>http://www.yellow-bricks.com/2008/01/03/todo-virtual-machine-high-availability/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 08:06:04 +0000</pubDate>
		<dc:creator>Duncan Epping</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[3.5]]></category>
		<category><![CDATA[bsod]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[ha]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.yellow-bricks.com/2008/01/03/todo-virtual-machine-high-availability/</guid>
		<description><![CDATA[<p>I&#8217;ve been testing with the experimental feature Virtual Machine High Availability(aka VM Failure Monitoring) for a couple of days now. I must say it just does what VMware claims in the PDF, resetting a VM within the configured time when a the heartbeat is lost. But one thing that struck me is that there&#8217;s hardly any evidence that HA did [...]</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/2008/01/03/todo-virtual-machine-high-availability/">Virtual Machine High Availability</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 testing with the experimental feature Virtual Machine High Availability(<a href="http://www.vmware.com/pdf/vi3_35_25_vmha.pdf" target="_blank">aka VM Failure Monitoring</a>) for a couple of days now. I must say it just does what VMware claims in the PDF, resetting a VM within the configured time when a the heartbeat is lost. But one thing that struck me is that there&#8217;s hardly any evidence that HA did it&#8217;s job, in other words no events logged in VirtualCenter as far as I can see. <span id="more-26"></span>Well there was an error indicating something was wrong &#8220;Remote console on w2k3-001 disconnected&#8221;. I checked several log files but could not find any decent errors until I checked the file /var/log/vmware/hostd.log. I know the PDF about this feature states &#8220;In this experimental version of Virtual Machine Failure Monitoring, no explicit notification is sent to the administrator.&#8221;, but I would at least expect some sort of error.</p>
<p>The following lines in the log /var/log/vmware/hostd.log indicated that VMware initiated the reset of the VM:</p>
<ul>
<li>Task Created : haTask-112-vim.VirtualMachine.reset-1098</li>
<li>Event 61 : w2k3-001 on  ESX02.esxdemo.local in ha-datacenter is reset</li>
<li>State Transition (VM_STATE_ON -&gt; VM_STATE_RESETTING)</li>
<li>w2k3-001 on  ESX02.esxdemo.local in ha-datacenter is powered on</li>
<li>State Transition (VM_STATE_RESETTING -&gt; VM_STATE_ON)</li>
<li>Task Completed : haTask-112-vim.VirtualMachine.reset-1098</li>
</ul>
<p>VM HA was configured with the following parameters:</p>
<ul>
<li>das.FailureInterval = 30 (If there&#8217;s no heartbeat received withing 30 seconds initiate restart)</li>
<li>das.minUptime = 120 (VM has to be up for at least 120 seconds before HA kicks in, don&#8217;t set it to short cause it needs this time to stabilize the heartbeat)</li>
<li>das.maxFailures = 40 (Maximum amount of resets within the das.maxFailureWindow, normally I would never set this above 3 but for testing I&#8217;ve set this to 40 )</li>
<li>das.maxFailureWindow = 86400 ( 86400 Seconds is 1 day, see das.maxFailures)</li>
<li>das.vmFailoverEnabled = true (Enable VM HA)</li>
</ul>
<p>By the way I used the following Microsoft &#8220;hidden feature&#8221; to force a BSOD:<br />
To enable this feature, add the following value to the registry key HKLM\System\CurrentControlSet\Services\i8042prt\Parameters</p>
<ul>
<li>Name: CrashOnCtrlScroll<br />
Data Type: REG_DWORD<br />
Value: 1</li>
</ul>
<p>Exit Registry Editor, and then restart the computer. When holding down the right ctrl and pressing the scroll lock twice at the same time Windows will generate a BSOD and if you have setup VM HA correctly the VM will be reset within the das.FailureInterval time.</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/2008/01/03/todo-virtual-machine-high-availability/">Virtual Machine High Availability</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/2008/01/03/todo-virtual-machine-high-availability/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

