<?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>Blackforce &#187; VMware</title>
	<atom:link href="http://www.blackforce.co.uk/category/vmware/feed" rel="self" type="application/rss+xml" />
	<link>http://www.blackforce.co.uk</link>
	<description>just a few random articles and photos from my life!!</description>
	<lastBuildDate>Wed, 21 Apr 2010 09:58:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VMware Infrastructure, Blank / Black Console Screen</title>
		<link>http://www.blackforce.co.uk/2009/07/14/vmware-infrastructure-blank-black-console-screen</link>
		<comments>http://www.blackforce.co.uk/2009/07/14/vmware-infrastructure-blank-black-console-screen#comments</comments>
		<pubDate>Tue, 14 Jul 2009 10:01:39 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[black]]></category>
		<category><![CDATA[blank]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[rdp]]></category>
		<category><![CDATA[remote]]></category>

		<guid isPermaLink="false">http://www.blackforce.co.uk/?p=517</guid>
		<description><![CDATA[Its usual practice to RDP to a Virtualcenter box and then access the Console of Virtual Machines. However today I had a customer where when they went to the console screen of the VMs it just was black. No image was drawn at all.
Restarting the Virtualcenter server and the ESX servers did not resolve the [...]]]></description>
			<content:encoded><![CDATA[<p>Its usual practice to RDP to a Virtualcenter box and then access the Console of Virtual Machines. However today I had a customer where when they went to the console screen of the VMs it just was black. No image was drawn at all.</p>
<p>Restarting the Virtualcenter server and the ESX servers did not resolve the matter.</p>
<p>The solution in the end was to increase the colour depth of the RDP session. With 256 Colours the Console screen is not drawn. Never knew that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blackforce.co.uk/2009/07/14/vmware-infrastructure-blank-black-console-screen/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to forcefully kill a virtual machine in VMware ESX</title>
		<link>http://www.blackforce.co.uk/2009/04/22/how-to-forcefully-kill-a-virtual-machine-in-vmware-esx</link>
		<comments>http://www.blackforce.co.uk/2009/04/22/how-to-forcefully-kill-a-virtual-machine-in-vmware-esx#comments</comments>
		<pubDate>Wed, 22 Apr 2009 08:31:48 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.blackforce.co.uk/?p=380</guid>
		<description><![CDATA[I had an error message come up about a VM:
The redolog of xxxxx.xx.vmdk has been detected to be corrupt. The virtual machine needs to be powered on. If the problem still persists, you need to discard the redolog.
I couldn&#8217;t power off the VM and it was stuck in an endless loop prompting me to click [...]]]></description>
			<content:encoded><![CDATA[<p>I had an error message come up about a VM:</p>
<p>The redolog of xxxxx.xx.vmdk has been detected to be corrupt. The virtual machine needs to be powered on. If the problem still persists, you need to discard the redolog.</p>
<p>I couldn&#8217;t power off the VM and it was stuck in an endless loop prompting me to click okay.</p>
<p>Found a good guide on how to kill the VM without having to power cycle the host.</p>
<p><span id="more-380"></span></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-1385369004445697";
google_ad_slot = "0341002983";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>- SSH to the Host that has the VM running on it.</p>
<p>- We need to run a command to find out the VM ID for the VM having the issue.</p>
<p><code>cat /proc/vmware/vm/*/names</code></p>
<p>This will return a line for each VM running.</p>
<p><code>vmid=1251   pid=-1     cfgFile="/vmfs/volumes/48ee2ea5-0d1d15c7-0d1c-001f2955194d/example/example.vmx"  uuid="56 4d 07 c7 3f 85 f9 09-35 56 41 8c e9 e2 54 7b"  displayName="example"</code></p>
<p>So if we wanted to kill the VM called example we will need to take note of the ID, which as you can see above is 1251.</p>
<p>We now need to find out the Master World ID number.</p>
<p><code>less -s /proc/vmware/vm/1251/cpu/status</code></p>
<p>A table will then appear. If you scroll to the right you should see a value under group. It will be something like vm.1234.</p>
<p>In this example the number will be 1234.</p>
<p>Run this command to kill it.</p>
<p><code>/usr/lib/vmware/bin/vmkload_app -k 9 1234</code></p>
<p>If you got the right number you should see a line come back with </p>
<p><code>Warning: Apr 22 09:01:35.476: Sending signal '9' to world 1234</code></p>
<p>Your VM should now be off.</p>
<p>Link : <a href="http://communities.vmware.com/message/594208">VMware Forum</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blackforce.co.uk/2009/04/22/how-to-forcefully-kill-a-virtual-machine-in-vmware-esx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware ESX &#8211; Commit snapshots safely with no data loss.</title>
		<link>http://www.blackforce.co.uk/2009/03/04/vmware-esx-commit-snapshots-safely-with-no-data-loss</link>
		<comments>http://www.blackforce.co.uk/2009/03/04/vmware-esx-commit-snapshots-safely-with-no-data-loss#comments</comments>
		<pubDate>Wed, 04 Mar 2009 14:52:05 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[commit]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[safely]]></category>
		<category><![CDATA[snapshots]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[VMDK]]></category>
		<category><![CDATA[VMKFS]]></category>

		<guid isPermaLink="false">http://www.blackforce.co.uk/?p=342</guid>
		<description><![CDATA[If you have been unfortunate enough to find yourself with loads of snapshots in ESX and have snapshots with file sizes bigger than a couple of GB. Then you might be scared to commit them in case of data loss. 
You can easily get rid of all the snapshots without any data loss. Using the [...]]]></description>
			<content:encoded><![CDATA[<p>If you have been unfortunate enough to find yourself with loads of snapshots in ESX and have snapshots with file sizes bigger than a couple of GB. Then you might be scared to commit them in case of data loss. </p>
<p>You can easily get rid of all the snapshots without any data loss. Using the VMKFS tools you can clone out the hard drives in their current state including snapshots to 1 VMDK. To do this run the following when SSH&#8217;d in.</p>
<p><code>vmkfstools -i <em>harddrivename</em>-000001.vmdk /vmfs/volumes/<em>datastore</em>/<em> new foldername</em>/new_harddrivename.vmdk</code></p>
<p>Then it will clone the drive. This may take a couple of hours depending on the size of your drive. Then you just attach the new drive to a newly created VM. </p>
<p>VMware Knowledgebase : <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&#038;cmd=displayKC&#038;externalId=1002458">1002458</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blackforce.co.uk/2009/03/04/vmware-esx-commit-snapshots-safely-with-no-data-loss/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware ESX &#8211; How to find out what VM&#8217;s have snapshots / Deltas</title>
		<link>http://www.blackforce.co.uk/2009/03/04/vmware-esx-how-to-find-out-what-vms-have-snapshots-deltas</link>
		<comments>http://www.blackforce.co.uk/2009/03/04/vmware-esx-how-to-find-out-what-vms-have-snapshots-deltas#comments</comments>
		<pubDate>Wed, 04 Mar 2009 14:41:47 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[delta]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[machines]]></category>
		<category><![CDATA[snapshots]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[vms]]></category>

		<guid isPermaLink="false">http://www.blackforce.co.uk/?p=337</guid>
		<description><![CDATA[Found out a nifty command which allows you to find out what VM&#8217;s have Delta / Snapshot files. Run this when SSH&#8217;d in.
find /vmfs/volumes/ -name "*delta*" -type f -print0 &#124; xargs -0 du --human-readable --total



]]></description>
			<content:encoded><![CDATA[<p>Found out a nifty command which allows you to find out what VM&#8217;s have Delta / Snapshot files. Run this when SSH&#8217;d in.</p>
<p><code>find /vmfs/volumes/ -name "*delta*" -type f -print0 | xargs -0 du --human-readable --total</code></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-1385369004445697";
google_ad_slot = "0341002983";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blackforce.co.uk/2009/03/04/vmware-esx-how-to-find-out-what-vms-have-snapshots-deltas/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xbox 360 Streaming with Vista, VMware Workstation and Windows Media Player 11</title>
		<link>http://www.blackforce.co.uk/2009/01/27/xbox-360-streaming-with-vista-and-vmware-workstation</link>
		<comments>http://www.blackforce.co.uk/2009/01/27/xbox-360-streaming-with-vista-and-vmware-workstation#comments</comments>
		<pubDate>Tue, 27 Jan 2009 22:30:10 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[360]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[player]]></category>
		<category><![CDATA[workstation]]></category>
		<category><![CDATA[xbox]]></category>

		<guid isPermaLink="false">http://www.blackforce.co.uk/?p=278</guid>
		<description><![CDATA[I&#8217;ve been able to stream movies etc to my Xbox for a while now using Vista Home Premium and Windows Media Player 11. However the other day I decided to install VMware Workstation 6.5 on my laptop. Streaming then stopped working. Whenever I went into &#8220;configure sharing&#8221; in media player. I was presented with the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been able to stream movies etc to my Xbox for a while now using Vista Home Premium and Windows Media Player 11. However the other day I decided to install VMware Workstation 6.5 on my laptop. Streaming then stopped working. Whenever I went into &#8220;configure sharing&#8221; in media player. I was presented with the following error message :</p>
<blockquote><p>Media sharing is currently disabled, either because the sharing service is not running or your firewall settings have changed. To restart sharing, you must first confirm your sharing settings.</p></blockquote>
<p><img src="http://www.blackforce.co.uk/media/media.gif" alt="Media Player 11" /></p>
<p>I tried a couple of things to get streaming to work, all resulted in no joy. Eventually I found 2 ways of getting it to work.</p>
<p>1) In Network and Sharing Center simply change the unidentified network to private. However when you next reboot it goes back to its prior state. This is less than ideal.</p>
<p>2) Disable the 2 VMware NICs. This is the option I took. Since I only use Bridged networking in my VM&#8217;s there is no impact. If you use NAT or host then this is not an option for you.</p>
<p>If anyone know any permanent way to make the vmware network private permanently then please let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blackforce.co.uk/2009/01/27/xbox-360-streaming-with-vista-and-vmware-workstation/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
 