<?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>inVURTED.com &#187; virtual machine</title>
	<atom:link href="http://invurted.com/tag/virtual-machine/feed/" rel="self" type="application/rss+xml" />
	<link>http://invurted.com</link>
	<description>With great virtualisation comes great responsibility!</description>
	<lastBuildDate>Thu, 09 Feb 2012 03:50:31 +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>The HA &#8220;split brain&#8221; problem</title>
		<link>http://invurted.com/the-ha-split-brain-problem/</link>
		<comments>http://invurted.com/the-ha-split-brain-problem/#comments</comments>
		<pubDate>Wed, 27 May 2009 03:28:41 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[high availability]]></category>
		<category><![CDATA[virtual machine]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=273</guid>
		<description><![CDATA[This ISN&#8217;T something that occurs frequently, but it is something that I would want to test in HA (High Availabilty) before I went to production! Sometimes when you set the DAS Isolation addresses, it fails to work, ie. when you take vswif0 offline, the virtual machines get shutdown anyway. Given this is emulating an &#8220;isolation [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>This ISN&#8217;T something that occurs frequently, but it is something that I would want to test in HA (High Availabilty) before I went to production!<span id="more-273"></span></p>
<p>Sometimes when you set the DAS Isolation addresses, it fails to work, ie. when you take vswif0 offline, the virtual machines get shutdown anyway. Given this is emulating an &#8220;isolation respone&#8221;, where the service console ONLY fails to respond to the network, the virtual machines should only shutdown if the other cards in the server fails to respond.</p>
<p>Ideally, I want my DAS Isolation addresses in a totally seperate subnet from my service console. When I set up another Service Console, it&#8217;s always a good idea to remove HA from the cluster, wait for everything to settle down and then re-enable it on the cluster (a couple of minutes work). This makes sure both service consoles are sending heartbeats.</p>
<p>We can view the heartbeats via tcpdump and monitoring port 8044 by using the following commands:</p>
<p><code># tcpdump -i vswifX port 8044<br />
# tcpdump –i vswifY port 8044<br />
</code></p>
<p>As a final check, have a look at /var/log/vmware/aam/aam_config_util.def for the isolation addresses. It should look something like:</p>
<p><code>Start Object esx5<br />
nodefd esx5 {<br />
nodeAddrs = {<br />
{<br />
sourceType = isolation<br />
source.addr =<br />
destination.addr = 172.16.0.36<br />
}<br />
{<br />
sourceType = isolation<br />
source.addr =<br />
destination.addr = 10.0.0.52<br />
}<br />
{<br />
sourceType = domain<br />
source.addr = 172.16.0.105<br />
destination.addr = 224.0.6.127<br />
}<br />
{<br />
sourceType = domain<br />
source.addr = 10.0.0.5<br />
destination.addr = 224.0.6.127<br />
}<br />
}<br />
}</p>
<p>End Object esx5 </code></p>
<p>Also, if das.usedefaultisolationaddress is not set to false the service console’s default gateway appears as an isolation address in the /var/log/vmware/aam/aam_config_util.def file in addition to any ip address configured with das.isolationaddress and das.isolationaddress2.</p>
<p>[email_link]</p>
<div class="shr-publisher-273"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Finvurted.com%2Fthe-ha-split-brain-problem%2F' data-shr_title='The+HA+%22split+brain%22+problem'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Fthe-ha-split-brain-problem%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Fthe-ha-split-brain-problem%2F' data-shr_title='The+HA+%22split+brain%22+problem'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://invurted.com/the-ha-split-brain-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vmware vSphere (ESX 4) Virtual Motherboard</title>
		<link>http://invurted.com/vmware-vsphere-esx-4-virtual-motherboard/</link>
		<comments>http://invurted.com/vmware-vsphere-esx-4-virtual-motherboard/#comments</comments>
		<pubDate>Fri, 22 May 2009 03:15:19 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[mother board]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=271</guid>
		<description><![CDATA[As we all know, it&#8217;s a 440BX based mother board being fed into our virtual machines. The advantage? It&#8217;s sooooooooo generic that every operation system should be able to recognise and use it. Has that changed in vSphere (ESX 4)? In vSphere, the mother board remains a 400BX based board, however, it has been modified. [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>As we all know, it&#8217;s a 440BX based mother board being fed into our virtual machines. The advantage? It&#8217;s sooooooooo generic that every operation system should be able to recognise and use it.</p>
<p>Has that changed in vSphere (ESX 4)?<span id="more-271"></span></p>
<p>In vSphere, the mother board remains a 400BX based board, however, it has been modified. One thing that has been added is 32 PCIe root ports, therefore I can leverage up to ten virtual network cards in a virtual machines.</p>
<p>Regrettably, any guest that can&#8217;t use PCIe will see the slots and address them as PCI-PCI bridges.</p>
<div class="shr-publisher-271"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Finvurted.com%2Fvmware-vsphere-esx-4-virtual-motherboard%2F' data-shr_title='Vmware+vSphere+%28ESX+4%29+Virtual+Motherboard'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Fvmware-vsphere-esx-4-virtual-motherboard%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Fvmware-vsphere-esx-4-virtual-motherboard%2F' data-shr_title='Vmware+vSphere+%28ESX+4%29+Virtual+Motherboard'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://invurted.com/vmware-vsphere-esx-4-virtual-motherboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[TUTORIAL] Force Virtual Machine to shutdown</title>
		<link>http://invurted.com/tutorial-force-virtual-machine-to-shutdown/</link>
		<comments>http://invurted.com/tutorial-force-virtual-machine-to-shutdown/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 03:38:52 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[virtual machine]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=182</guid>
		<description><![CDATA[Occassionally, when you try to shut down a virtual machine the progress bar will stop meaning that the process will never complete in the background. The following steps will allow you to force the shutdown of a running virtual machine. Logon to the ESX host where the virtual machine is running and become root. vmware-cmd [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Occassionally, when you try to shut down a virtual machine the progress bar will stop meaning that the process will never complete in the background. The following steps will allow you to force the shutdown of a running virtual machine.<span id="more-182"></span></p>
<ol>
<li>Logon to the ESX host where the virtual machine is running and become root.</li>
<li><code>vmware-cmd -l</code> to list all the registered virtual machines.</li>
<li><code>vmware-cmd /path/copied/from/vmware-cmd getstate</code> to get state of the target virtual machine.<br />
If the state requires an answer:</p>
<ul>
<li><code>vmware-cmd /path/copied/from/vmware-cmd answer</code></li>
</ul>
<p>If no answer is needed:</p>
<ul>
<li><code>vmware-cmd /path/copied/from/vmware-cmd stop trysoft</code></li>
</ul>
<p>If trysoft does not work use <code>vmware-cmd /path/copied/from/vmware-cmd stop hard</code></li>
<li>If the vmware-cmd does not work, the next step is to kill the master user world id.</li>
<li><code>cat /proc/vmware/vm/*/names |grep <strong>vmname</strong></code> replace <strong>vmname</strong> with the name of the virtual machine that has hung. From this list, get the VMID</li>
<li><code>less /proc/vmware/vm/<strong>vmid</strong> value/cpu/status</code> where <strong>vmid</strong> value is the number from above.</li>
<li>Scroll over to the right until you find the group field that shows vm.####. The #### numbers are the master user world id.</li>
<li><code>/usr/lib/vmware/bin/vmkload_app -k 9 <strong>####</strong></code> where <strong>####</strong> is the master user world id. If the command is successful you will get a WARNING message that a signal 9 is being sent.</li>
<li>If <code>vmkload_app </code>does not help the next thing to try is to crash the virtual machine with the <code>vm-support -X</code> command.</li>
<li><code>vm-support -x </code>to get the vmid.</li>
<li>From a directory that has ample space <code>vm-support -X <strong>####</strong></code> where <strong>####</strong> is the vmid.</li>
<li>Answer all the questions with the default answers. The entire process takes about 10 minutes and creates an archive log that can be submitted to support. It will also crash the vm</li>
</ol>
<div class="shr-publisher-182"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Finvurted.com%2Ftutorial-force-virtual-machine-to-shutdown%2F' data-shr_title='%5BTUTORIAL%5D+Force+Virtual+Machine+to+shutdown'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Ftutorial-force-virtual-machine-to-shutdown%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Ftutorial-force-virtual-machine-to-shutdown%2F' data-shr_title='%5BTUTORIAL%5D+Force+Virtual+Machine+to+shutdown'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://invurted.com/tutorial-force-virtual-machine-to-shutdown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

