<?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>Dev Team Assemble &#187; hyper-v</title>
	<atom:link href="http://www.calvinirwin.net/tag/hyper-v/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.calvinirwin.net</link>
	<description>Evil beware!</description>
	<lastBuildDate>Mon, 06 Feb 2012 18:42:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setting up a Windows 2008 Hyper-V Server</title>
		<link>http://www.calvinirwin.net/2009/08/29/setting-up-a-windows-2008-hyper-v-server/</link>
		<comments>http://www.calvinirwin.net/2009/08/29/setting-up-a-windows-2008-hyper-v-server/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 23:08:54 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=191</guid>
		<description><![CDATA[Recently I acquired some server class hardware (Dell PowerEdge 2950)  and I thought, hey this is a great opportunity for me to setup a virtual environment at home so I can test out some beta products and do some tinkering with Linux.  I have VMWare Workstation installed inside of Windows Vista machine at home [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I acquired some server class hardware (Dell PowerEdge 2950)  and I thought, hey this is a great opportunity for me to setup a virtual environment at home so I can test out some beta products and do some tinkering with Linux.  I have VMWare Workstation installed inside of Windows Vista machine at home and I have ubuntu 8.10 running in it and this seems to work ok but I have come across some issues with it that annoy me.</p>
<p>I was undecided on whether to install VMWare ESXi or Windows 2008 Hyper-V server.  Based on the title of this article you can probably guess which route I took.  I didn't decide to do this simply because I think Microsoft's virtualization platform is superior...I chose it simply because I use VMWare ESXi and ESX at work and was interested in seeing the capabilities of this free product in comparison.</p>
<p>After configuring the server with RAID 0  (faster and this is test) I popped the disk in and started installing.  Truth be told the installation was a breeze...so much so in fact that I started the install, watched a soccer game and when I came back it was ready for me to login.  I was a little confiused at first because at no point did I provide a username and password for the admin account but it prompted me at the login screen.  Didn't take long to figure out it was Administrator/-blank- to login.</p>
<p>This all seemed a little too good to be true and I quickly found out that it was...after downloading and installing the Hyper-V Manager MMC into my vista machine I found I could not connect to the server.   found this odd as the very purpose of this server is too allow connections.  Turns out there were a few steps I had to do:</p>
<ol>
<li>I had to <strong>add my user account (the vista one) to the server in order to pass my creds through</strong>.  I believe that once you have connected to it you can turn this off via the Hyper-V settings panel.</li>
<li>I had to <strong>turn off the server's firewall</strong> (I know, I know this is a bad thing but its a test box that will never see the outside world so...).  You can use the following command <em><strong><span>netsh firewall set opmode disable</span></strong></em></li>
<li><span>I was able to connect to the server...BUT when I tried to create a machine I would get an error about Access Denied.  So I <strong>added myself to the Administrators</strong> group on the server.  At this point I can now use MMC to do most admin work on the server from my Vista client</span></li>
<li><span>I then started getting the following when trying to connect: Hyper-V Access Denied. Unable to establish communication between ‘SERVER’ and ‘CLIENT’ .  Funny thing is it would let me create a virtual machine but I could never seem to connect to it.  This one was quite confusing so I turned to my trusty friend Google to help me resolve this...I came across a blog post of one <a href="http://www.carbonwind.net/blog/post/2008/12/31/Hyper-V-Server-2008%28workgroup%29-managed-from-Hyper-V-MMC-Vista-x64%28workgroup-too%29-How-it-worked-for-me.aspx" target="_blank">Adrian Dimcev here</a> and it had the solution I was looking for.   <strong>Word for word heres the instructions from his site:</strong></span>
<ul>
<li> Click Start, Run, type DCOMCNFG. Click OK.</li>
<li> Expand Component Services, expand Computers. Right-click on My Computer and click on Properties.</li>
<li> Click on COM Security.</li>
<li> In the Access Permission area, click Edit Limits.</li>
<li> Select ANONYMOUS LOGON in the Group or User Name area. Then set the Permissions for ANONYMOUS LOGON to Allow for Remote Access.</li>
</ul>
</li>
<li><span>After the previous breakthrough I got the following error (oh joy)  : <em>The application encountered an error when attempting to change the state of the 'machinename'.  The hypervisor is not running</em>....WHAT????? Ummmm yes it is......<br />
Ok turns out there is a very good reason for this as explained here in this <a href="http://technet.microsoft.com/en-us/library/cc742454.aspx" target="_blank">Microsoft article</a>.  All I had to do here was <strong>enable </strong></span><strong>hardware-assisted virtualization</strong><span><strong> in the BIOS</strong>.  After doing that it I was able to create my first machine in this environment == Ubuntu 9.</span></li>
</ol>
<p>After reading a little further on the internet it seems that my setup at home (using a workgroup) is not the best way to do this and is partly to blame for some of mine and other peoples issues.  All in all the installation was a success but seems a little more confusing than installing ESXi.  Either way my environment is up and running.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/hyper-v' rel='tag' target='_self'>hyper-v</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux' rel='tag' target='_self'>Linux</a>, <a class='technorati-link' href='http://technorati.com/tag/server' rel='tag' target='_self'>server</a>, <a class='technorati-link' href='http://technorati.com/tag/virtualization' rel='tag' target='_self'>virtualization</a>, <a class='technorati-link' href='http://technorati.com/tag/Windows' rel='tag' target='_self'>Windows</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/08/29/setting-up-a-windows-2008-hyper-v-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

