<?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; tutorial</title>
	<atom:link href="http://invurted.com/tag/tutorial/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>[TUTORIAL] Windows 2008 testing environment using Vmware Player part 3</title>
		<link>http://invurted.com/tutorial-windows-2008-vmware-player-3/</link>
		<comments>http://invurted.com/tutorial-windows-2008-vmware-player-3/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 03:25:55 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[windows 2008]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=498</guid>
		<description><![CDATA[In Part 1 and Part 2 we looked at deploying the start of an Active Directory using Vmware Player for testing purposes. In Part 3 we&#8217;ll look at deploying additional virtual machines and promoting them to domain members. At the completion of Part 2, we should have one &#8220;template&#8221; virtual machine that will be copied [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>In <a href="http://invurted.com/tutorial-windows-2008-testing-environment-using-vmware-player">Part 1</a> and <a href="http://invurted.com/tutorial-windows-2008-testing-environment-using-vmware-player-part-2">Part 2</a> we looked at deploying the start of an Active Directory using Vmware Player for testing purposes. In Part 3 we&#8217;ll look at deploying additional virtual machines and promoting them to domain members.<span id="more-498"></span></p>
<p>At the completion of Part 2, we should have one &#8220;template&#8221; virtual machine that will be copied each time we need a new VM and one deployed domain controller for the domain of our choice (invurted.local).</p>
<p>Building on this we want an additional member server for the domain. This server will use the Active Directory to authenticate users.</p>
<p>As in Part 2, there are two options for deploying a virtual machine<br />
a) Build it from scratch, or;<br />
b) Copy an existing virtual machine and copy it.</p>
<p>For ease of deployment, we are going to copy the <em>_TMPL-inv-dc01</em> virtual machine.</p>
<p>Right click and select <em>Copy</em> on the directory of <em>_TMPL-inv-dc01</em>. In the same directory, right click and select <em>Paste</em> or use the Edit menu in Windows Explorer to paste. This may take a couple of minutes to copy. The virtual machine that we built takes up 6.50 GB (6,983,880,704 bytes) on my hard drive.</p>
<p><a href="http://invurted.com/wp-content/uploads/tutorial0301.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0301-300x184.jpg" alt="vmware player windows 2008 tutorial" title="vmware player windows 2008 tutorial" width="300" height="184" class="alignnone size-medium wp-image-500" /></a></p>
<p>Once the copy is complete, we can rename the new copy to something more meaningful than <em>_TMPL-inv-dc01 &#8211; Copy</em>. Right click on the folder that has been created, select rename and call it <em>inv-srv01</em>.</p>
<p>Now the virtual machine is ready to start up. At this point, be aware that there are some Windows 2008 configuration changes needed before we can make the server a domain member. The IP address and machine name, at the least, will need to be changed.</p>
<p>Because the files for the machine are a direct copy of the &#8220;template&#8221;, the following should happen.</p>
<p><a href="http://invurted.com/wp-content/uploads/tutorial0302.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0302-300x180.jpg" alt="vmware player windows 2008 tutorial" title="vmware player windows 2008 tutorial" width="300" height="180" class="alignnone size-medium wp-image-502" /></a></p>
<p>As you can see, the directory is called <em>inv-srv01</em> and the Vmware virtual machine configuration (.vmx extension) still has the <em>inv-dc01</em> name. This is not a major problem and can be fixed by right clicking the file, selecting Rename and changing the name to <em>inv-srv01</em>. <B>DO NOT</b> change the contents of the file as it contains configuration information that points to other files in the directory. Improperly edits can result in non-bootable virtual machines.</p>
<p>Once the file is renamed, open it using Vmware Player and the wait for the virtual machine to boot. Hopefully you get the following dialogue box.</p>
<p><a href="http://invurted.com/wp-content/uploads/tutorial0303.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0303-300x138.jpg" alt="vmware player windows 2008 tutorial" title="vmware player windows 2008 tutorial" width="300" height="138" class="alignnone size-medium wp-image-504" /></a></p>
<p>Select the &#8220;I copied it&#8221; option and press OK.</p>
<p><a href="http://invurted.com/wp-content/uploads/tutorial0304.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0304-300x263.jpg" alt="vmware player windows 2008 tutorial" title="vmware player windows 2008 tutorial" width="300" height="263" class="alignnone size-medium wp-image-505" /></a></p>
<p>We are immediately prompted to install Vmware Tools in the new virtual machine. The template that we made was post-operating system installation, but pre-install of Vmware Tools. Choose to either install now or be reminded later.</p>
<p>When we run an ipconfig in the virtual machine, the IP address is allocated from a DHCP pool that is managed by Vmware Player. This IP address won&#8217;t be able to communicate with the domain that we created and, therefore, won&#8217;t be able to join the domain.</p>
<p>Setting the IP address can be done any number of ways, the previous tutorial used the netsh command:<br />
The interface that we are interested in is <em>Local Area Connection</em>.</p>
<pre>netsh interface ip set address name="Local Area Connection" static 192.168.0.20 255.255.255.0 192.168.0.1 1</pre>
<p>and, most importantly, set the DNS IP address. This is required to join the domain successfully. Again, at the command prompt:</p>
<pre>netsh interface ip set dns "Local Area Connection" static 192.168.0.10</pre>
<p>Now we can join the domain. There are multiple ways to joing the domain, but we&#8217;re doing so much at the command line, we may as well keep going.</p>
<p>From a DOS prompt, type <em>hostname</em> and press enter.<br />
<a href="http://invurted.com/wp-content/uploads/tutorial0305.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0305-300x239.jpg" alt="vmware player windows 2008 tutorial" title="vmware player windows 2008 tutorial" width="300" height="239" class="alignnone size-medium wp-image-507" /></a></p>
<p>The hostname is the randomly generated when we created the virtual machine and installed the Windows 2008 operating system. Renaming the computer will be done using the command line and the command <em>NETDOM</em>. We are still not part of the domain. so the command syntax is pretty straight forward:</p>
<p><a href="http://invurted.com/wp-content/uploads/tutorial0306.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0306-300x239.jpg" alt="vmware player windows 2008 tutorial" title="vmware player windows 2008 tutorial" width="300" height="239" class="alignnone size-medium wp-image-508" /></a></p>
<pre>netsh renamecomputer win-agimt9cb3rv /newname inv-srv01</pre>
<p>The <em>renamecomputer win-agimt9cb3rv</em> will change to whatever your hostname is.</p>
<p>This command will require a reboot to apply the new name. Once rebooted, login and open a command prompt again.</p>
<p>Test connectivity to the network, <em>ping invurted.local</em>. Any response from the network is considered successful. Again, from the command line:</p>
<pre>netdom join inv-srv01 /domain:invurted.local /userd:administrator /passwordd:P@ssw0rd</pre>
<p>This command requires a reboot when successful. If it fails, check your IP address and, especially, DNS address to make sure they are right.</p>
<p>Once rebooted, login as username <em>invurted\administrator</em> with the password word <em>P@ssw0rd</em> and now we have one domain joined Windows 2008 server!</p>
<p>That’s Part 3 complete. Any suggestions where to go from here? Please email me (contactme [at] invurted dot com).</p>
<div class="shr-publisher-498"></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-windows-2008-vmware-player-3%2F' data-shr_title='%5BTUTORIAL%5D+Windows+2008+testing+environment+using+Vmware+Player+part+3'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Ftutorial-windows-2008-vmware-player-3%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Ftutorial-windows-2008-vmware-player-3%2F' data-shr_title='%5BTUTORIAL%5D+Windows+2008+testing+environment+using+Vmware+Player+part+3'></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-windows-2008-vmware-player-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[TUTORIAL] Windows 2008 testing environment using Vmware Player part 2</title>
		<link>http://invurted.com/tutorial-windows-2008-testing-environment-using-vmware-player-part-2/</link>
		<comments>http://invurted.com/tutorial-windows-2008-testing-environment-using-vmware-player-part-2/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 03:33:43 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[windows 2008]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=425</guid>
		<description><![CDATA[In Part 1 we installed Vmware Player and installed Windows 2008 R2 Enterprise into a virtual machine. In this second part, we&#8217;ll look at setting up another virtual machine and deploying our first domain controller for the testing environment. We could definitely go back and setup another virtual machine using the the same process as [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>In <a href="http://invurted.com/tutorial-windows-2008-testing-environment-using-vmware-player/">Part 1</a> we installed Vmware Player and installed Windows 2008 R2 Enterprise into a virtual machine. In this second part, we&#8217;ll look at setting up another virtual machine and deploying our first domain controller for the testing environment.<span id="more-425"></span></p>
<p>We could definitely go back and setup another virtual machine using the <a href="http://invurted.com/tutorial-windows-2008-testing-environment-using-vmware-player/">the same process as before</a>. However, this takes too long; the least of which we have to wait for Windows 2008 R2 to re-install.</p>
<p>An easier option is to copy the existing virtual machine files to a new directory and paste it as a new virtual machine. </p>
<ol>
<li>Right click on our perviously built virtual machine (inv-dc01), select <em>Copy</em> and then right click and <em>Paste</em> into the same directory. This will create two copies of the virtual machine, <em>inv-dc01</em> (the original) and <em>inv-dc01 &#8211; Copy</em>. This process can be repeated as many times as we like until the local drive is full.</p>
<p><a href="http://invurted.com/wp-content/uploads/tutorial0201.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0201-279x300.jpg" alt="vmware player windows 2008 tutorial" title="vmware player windows 2008 tutorial" width="279" height="300" class="alignnone size-medium wp-image-428" /></a></p>
<p>For the moment, all that is required is the two copies of the virtual machine.</li>
<li>Rename <em>inv-dc01 &#8211; Copy</em> to <em>_TMPL-inv-dc01</em>. Now we have a TEMPLATE version of a virtual machine with Windows 2008 R2 installed and can continue to take copies of it as needed.</li>
</ol>
<p>Onto setting up our domain controller.</p>
<ol>
<li>Open the <em>Vmware virtual machine configuration</em> file by double clicking or right click and open the <em>Vmware virtual machine configuration</em> file with Vmware Player.<br />
<a href="http://invurted.com/wp-content/uploads/tutorial0202.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0202-300x109.jpg" alt="vmware player windows 2008 tutorial" title="vmware player windows 2008 tutorial" width="300" height="109" class="alignnone size-medium wp-image-430" /></a></li>
<li>Once the operating system has started, use <em>CTRL+ALT+INSERT</em> to get to the login screen.<br />
<a href="http://invurted.com/wp-content/uploads/tutorial0203.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0203-300x263.jpg" alt="vmware player windows 2008 tutorial" title="vmware player windows 2008 tutorial" width="300" height="263" class="alignnone size-medium wp-image-431" /></a><br />
At this point login as the user we created or login as Administrator. If you login as Administrator, Windows will prompt you to change the password. The Administrator password will also have to meet complexity requirements ie. uppercase, lowercase, letter, number and special characters.</li>
<li>Next up is the all important Vmware Tools. VMware Tools package adds drivers and utilities to improve the graphical performance for different guest operating systems, including mouse tracking. The package also enables some integration between the guest and host systems, including shared folders, plug-and-play devices, clock synchronisation, and cutting-and-pasting across environments.<br />
<a href="http://invurted.com/wp-content/uploads/tutorial0204.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0204-300x263.jpg" alt="vmware player windows 2008 tutorial" title="vmware player windows 2008 tutorial" width="300" height="263" class="alignnone size-medium wp-image-432" /></a><br />
Click &#8220;Install Tools&#8221; in the bottom bar of the window to start the install process.
</li>
<li>You may want to close this window for the moment to allow the Vmware Tools installer to run.<a href="http://invurted.com/wp-content/uploads/tutorial0205.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0205-300x263.jpg" alt="vmware player windows 2008 tutorial" title="vmware player windows 2008 tutorial" width="300" height="263" class="alignnone size-medium wp-image-433" /></a>
</li>
<li>If this dialog fails to appear, open Windows Explorer, browse to the CD drive of the virtual machine and run <em>setup.exe</em> manually.<br />
<a href="http://invurted.com/wp-content/uploads/tutorial0206.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0206-300x263.jpg" alt="vmware player windows 2008 tutorial" title="vmware player windows 2008 tutorial" width="300" height="263" class="alignnone size-medium wp-image-434" /></a><br />
Install Vmware Tools using the default settings; there is no real benefit to be gained from changing the default options in our scenario.<br />
<a href="http://invurted.com/wp-content/uploads/tutorial0207.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0207-300x243.jpg" alt="vmware player windows 2008 tutorial" title="vmware player windows 2008 tutorial" width="300" height="243" class="alignnone size-medium wp-image-435" /></a><br />
Once the installer has completed, reboot the virtual machine and then log back in when it has restarted.</li>
</ol>
<p>Once the desktop is initialised, there are a couple of configurations required before we can create the domain controller. Primarily, the IP address and the Windows machine name.</p>
<ol>
<li>The domain controller ABSOLUTLEY has to have a statically assigned IP address, and the easiest (and most fun!) way to do this is set it via the command line:</p>
<pre>netsh interface ip show config</pre>
<p><a href="http://invurted.com/wp-content/uploads/tutorial0208.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0208-300x239.jpg" alt="vmware player windows 2008 tutorial" title="vmware player windows 2008 tutorial" width="300" height="239" class="alignnone size-medium wp-image-450" /></a><br />
This will show all the adapters currently available to the virtual machine. The interface that we are interested in is <em>Local Area Connection</em>. Once we have establised that it is available and has an IP address allocated from DHCP, it needs to be changed to a static IP address.</p>
<pre>netsh interface ip set address name="Local Area Connection" static 192.168.0.10 255.255.255.0 192.168.0.1 1</pre>
<p>This set the static IP of 192.168.0.10, subnet mask of 255.255.255.0 and default gateway (which we don&#8217;t need for the moment) of 192.168.0.1. For the purposes of completeness, it&#8217;s best to put the gateway in.<br />
DNS is still required, but configuring the domain controller will automatically install this service on the domain controller.<br />
Running <code>ipconfig</code> from the command line should verify the configuration has been applied.</li>
<li>Finally we&#8217;re at the point of installing the domain controller! From the command prompt, run <code>dcpromo</code> to start the install.<br />
<a href="http://invurted.com/wp-content/uploads/tutorial0209.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0209-300x239.jpg" alt="vmware player windows 2008 tutorial" title="vmware player windows 2008 tutorial" width="300" height="239" class="alignnone size-medium wp-image-452" /></a></li>
<li>From here it is a simple matter of following the prompts.
<ul>
<li>At the <code>Active Directory Domain Services Installation Wizard</code> make sure <em>Use advanced mode installation</em> is NOT selected and press <em>Next</em>.</li>
<li>The next window is a warning about incompatibilites with Windows NT 4.0. Just press <em>Next</em>.</li>
<li><code>Choose a Deployment Configuration</code> &#8211; Check the <em>Create a new domain in a new forest</em> and press <em>Next</em>.</li>
<li><code>Name the Forest Root Domain</code> &#8211; In the <em>FQDN of the forest root domain</em> enter the name of your network. For our purposes, any name will do. <em>invurted.local</em> is acceptable. Press <em>Next</em>.</li>
<li><code>Set forest functional level</code> &#8211; Select <em>Windows 2008 R2</em> from the drop down list. This will mean that all domain controllers have to have at least Windows 2008 R2 as their operating systems. Press <em>Next</em>.</li>
<li><code>Additional Domain Controllers</code> &#8211; Make sure the <em>DNS Server</em> option is ticked and press <em>Next</em>. Select <em>Yes</em> for any dialog boxes that appear.</li>
<li><code>Location for Database, Log Files and SYSLOG</code> &#8211; Accept the default locations and press <em>Next</em>.</li>
<li><code>Directory Services Restore Mode Password</code> &#8211; Enter the password of P@ssw0rd in both fields and press <em>Next</em>.</li>
<li><code>Summary</code> &#8211; Verify your settings and press <em>Next</em>.</li>
<li><code>Active Directory Domain Services Installation Wizard</code>Active Directory will now start installing. At the completion, reboot the virtual machine. If everything is successful, upon reboot, your domain controller setup is complete.</li>
</ul>
</li>
</ol>
<p>Upon successful restart and login using the Administrator username and password, we want to look at our new domain. From the start menu, select Administrative Tools and launch the Active Directory Users and Computer program. This will allow us to create any users, groups and Organisation Units that are required.</p>
<p>I almost forgot! We need to rename our domain controller. In previous versions of Windows this was painful, especially as the virtual machine is a domain controller. In Windows 2008 there is more tolerance to name changes. It&#8217;s not the sort of thing that I would want to do regularly, but is possible.<br />
In the start menu, right click on Computer and select Properties.<br />
<a href="http://invurted.com/wp-content/uploads/tutorial0210.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0210-300x239.jpg" alt="" title="tutorial0210" width="300" height="239" class="alignnone size-medium wp-image-458" /></a><br />
Chose Change settings and accept any warnings that appear on screen.</p>
<p>In the Sytem Properties, select Change and, again, accept any warning that appear.<br />
<a href="http://invurted.com/wp-content/uploads/tutorial0211.jpg"><img src="http://invurted.com/wp-content/uploads/tutorial0211-300x239.jpg" alt="" title="tutorial0211" width="300" height="239" class="alignnone size-medium wp-image-459" /></a><br />
In the computer name field enter the new name for the computer. For our purposes, inv-dc01 will do fine. Press OK twice and then close the system properties. At this point, it is a good idea to restart the machine again.</p>
<p>That’s Part 2 complete. In Part 3 we’ll look at configuring the virtual machine as a domain member server.</p>
<p>As ever, if you have any questions, please email me (contactme [at] invurted dot com).</p>
<div class="shr-publisher-425"></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-windows-2008-testing-environment-using-vmware-player-part-2%2F' data-shr_title='%5BTUTORIAL%5D+Windows+2008+testing+environment+using+Vmware+Player+part+2'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Ftutorial-windows-2008-testing-environment-using-vmware-player-part-2%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Ftutorial-windows-2008-testing-environment-using-vmware-player-part-2%2F' data-shr_title='%5BTUTORIAL%5D+Windows+2008+testing+environment+using+Vmware+Player+part+2'></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-windows-2008-testing-environment-using-vmware-player-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[TUTORIAL] Windows 2008 testing environment using Vmware Player part 1</title>
		<link>http://invurted.com/tutorial-windows-2008-testing-environment-using-vmware-player/</link>
		<comments>http://invurted.com/tutorial-windows-2008-testing-environment-using-vmware-player/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 01:22:47 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[windows 2008]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=401</guid>
		<description><![CDATA[Following a number of requests, I have written a tutorial on setting up a Windows 2008 testing environment. Part 1 looks at installing Vmware Player and setting up the first virtual machine ASSUMPTIONS: A supported operating system is used. Vmware Player supports most Microsoft operating systems as well as a number of Linux distributions. For [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Following a number of requests, I have written a tutorial on setting up a Windows 2008 testing environment. Part 1 looks at installing Vmware Player and setting up the first virtual machine<span id="more-401"></span><br />
ASSUMPTIONS: </p>
<ul>
<li>A supported operating system is used. Vmware Player supports most Microsoft operating systems as well as a number of Linux distributions. For the purposes of this tutorial, Windows 7 is the operating system used as the base.</li>
<li>The account on the Windows 7 base operating system is either a member of the Local Administrators group or can elevate priveledges as required.</li>
<li>At least 50 &#8211; 100 GB of storage space is available for all the virtual machines. It&#8217;s better to err on the side of caution.</li>
<li>Vmware Player is the chosen hypervisor. Vmware Workstation could as easily be used if available. We use Vmware Player as the hypervisor due to it&#8217;s cross platform compatibility and its free licensing.</li>
<li>We are only doing the setup of the first virtual machine. Further configuration will be done in subsequent tutorials.</li>
</ul>
<p>On to the fun bits! As with most hypervisor technologies, the result of what we are doing here is allowing me to run two (or more) instances of operating systems on the one hardware platform. Vmware Player is our chosen hypervisor because it removes a lot of the guess work from deploying virtual machines. Vmware Workstation definitely gives us more granular control over the final conifguration. For our purposes, the default RAM, CPU and storage configurations are more than acceptable.</p>
<ol>
<li>Install Vmware player following all the default configuration options. There is little need to change the installation path etc. unless absolutley necessary.</li>
<li>Once installed, run the program and select &#8220;Create new Virtual Machines&#8221;.<br />
<a href="http://invurted.com/wp-content/uploads/inv01.jpg" target="_blank"><img src="http://invurted.com/wp-content/uploads/inv01-300x182.jpg" alt="vmware player tutorial windows 2008" title="vmware player tutorial windows 2008" width="300" height="182" class="alignnone size-medium wp-image-403" /></a><br />
This will start the wizard driven configuration of the new virtual machine that we will use as the basis for the testing environment.</li>
<li>One of the first configuration options is the installation media. We&#8217;re focussing on the first two options; providing either a CDROM or an ISO file to install from. It&#8217;s possible to network boot a virtual machine, but that&#8217;s something for later.<a href="http://invurted.com/wp-content/uploads/inv02.jpg" target="_blank"><img src="http://invurted.com/wp-content/uploads/inv02-300x255.jpg" alt="vmware player tutorial windows 2008" title="vmware player tutorial windows 2008" width="300" height="255" class="alignnone size-medium wp-image-405" /></a><br />
If we load a CDROM into the drive, Vmware Player should recognise the operating system. Similarly with an ISO file.<br />
<a href="http://invurted.com/wp-content/uploads/inv03.jpg" target="_blank"><img src="http://invurted.com/wp-content/uploads/inv03-300x272.jpg" alt="vmware player tutorial windows 2008" title="vmware player tutorial windows 2008" width="300" height="272" class="alignnone size-medium wp-image-406" /></a></li>
<li>Next up, the all important licence key. Windows 2008 R2, Enterprise will install without a key being provided. It will install in Evaluation Mode giving us sixty days to activate with a valid licence. Again, for purely testing purposes, we can ignore the licence key and come back to it later if we need to. The only configuration to be aware of is the version of Windows 2008 to install. The CDROM (or ISO file, in this case) has a number of different versions available. Make sure <em>Windows 2008 R2 Enterprise</em> is the selected option.<br />
<a href="http://invurted.com/wp-content/uploads/inv04.jpg" target="_blank"><img src="http://invurted.com/wp-content/uploads/inv04-300x272.jpg" alt="vmware player tutorial windows 2008" title="vmware player tutorial windows 2008" width="300" height="272" class="alignnone size-medium wp-image-407" /></a><br />
The only other piece of information needed is the first user who is installed. The username can be Administrator, but Vmware Player will throw back a warning. Windows 2008 doesn&#8217;t treat the Administrator account the same as previous operating systems. To perform most administrative functions, we still have to elevate the credentials. The user name is <em>invurted</em> and a password of <em>P@ssw0rd</em> to meet complexity requirements.</li>
<li>Now we apply the name and location of the virtual machine. This is where the space requirement comes in. By default, Vmware Player saves the virtual machine files to the current user&#8217;s directory. Both the name and the save location can be changed at this point. A recommendation would be make sure the volume that you are saving the virtual machines to has enough space for all the hard disks that will be created.<br />
<a href="http://invurted.com/wp-content/uploads/inv05.jpg" target="_blank"><img src="http://invurted.com/wp-content/uploads/inv05-300x272.jpg" alt="vmware player tutorial windows 2008" title="vmware player tutorial windows 2008" width="300" height="272" class="alignnone size-medium wp-image-408" /></a></li>
<li>The next step is to configure the virtual hard disk. In the physical world this would be the hard disk used as an installation target for Windows. It&#8217;s exactly the same in the virtual machine. The main difference is that the size represents the maximum size that the &#8220;physical&#8221; hard drive will be reported as to the Windows operating system.<br />
<a href="http://invurted.com/wp-content/uploads/inv06.jpg" target="_blank"><img src="http://invurted.com/wp-content/uploads/inv06-300x272.jpg" alt="vmware player tutorial windows 2008" title="vmware player tutorial windows 2008" width="300" height="272" class="alignnone size-medium wp-image-409" /></a><br />
As this server will only provide domain controller and networking services for the lab environment, it&#8217;s been configured as a 20GB hard drive. In the real world, we would attach a second virtual hard drive of larger size that would store all of the application data, leaving the operating system with a volume all to itself.</li>
<li>Almost there!<br />
<a href="http://invurted.com/wp-content/uploads/inv07.jpg" target="_blank"><img src="http://invurted.com/wp-content/uploads/inv07-300x272.jpg" alt="vmware player tutorial windows 2008" title="vmware player tutorial windows 2008" width="300" height="272" class="alignnone size-medium wp-image-410" /></a><br />
We have our final configuration ready to go. Before powering on the virtual machine for the first time, we need to customise the virtual machine.<br />
	<a href="http://invurted.com/wp-content/uploads/inv08.jpg" target="_blank"><img src="http://invurted.com/wp-content/uploads/inv08-300x255.jpg" alt="vmware player tutorial windows 2008" title="vmware player tutorial windows 2008" width="300" height="255" class="alignnone size-medium wp-image-411" /></a><br />
The networking configuration is the one major limitation of Vmware Player. Vmware Workstation has a lot more configuration options available.<br />
The three options are:</p>
<ul>
<li>Bridged &#8211; the virtual machine will use an available physical adapter for the virtual machine. This will appear on the network as a separate device from the host operating system. As out virtual machine will be a domain controller, we don&#8217;t want to expose it to the real, potentially production, nework.<br />
<strong>DO NOT use a bridged adapter unless you are absolutley certain it is required.</strong></li>
<li>NAT &#8211; the virtual machine will use the same IP address assigned to a physical adapter. Both the virtual machine and the host OS will appear on the network as the &#8220;same&#8221; device.<br />
<strong>DO NOT use a bridged adapter unless you are absolutley certain it is required.</strong></li>
<li>Host only &#8211; This will create a software based virtual switch that virtual machines will be plugged into. The virtual machine will have no network connectivity unless a virutal routing device is created. This is the safest option as it removes the ability for our test lab to interfere with the real, production network.</li>
</ul>
</li>
</li>
<li><a href="http://invurted.com/wp-content/uploads/inv09.jpg" target="_blank"><img src="http://invurted.com/wp-content/uploads/inv09-300x249.jpg" alt="vmware player tutorial windows 2008" title="vmware player tutorial windows 2008" width="300" height="249" class="alignnone size-medium wp-image-412" /></a>As the machine powers up for the first time, we should see the familiar Windows starting screen. If at this point you don&#8217;t see it, check that the CDROM or ISO file is properly mounted.<br />
<a href="http://invurted.com/wp-content/uploads/inv11.jpg" target="_blank"><img src="http://invurted.com/wp-content/uploads/inv11-300x194.jpg" alt="" title="inv11" width="300" height="194" class="alignnone size-medium wp-image-418" /></a><br />
We need to mount the CDROM or ISO file through this interface.<br />
<a href="http://invurted.com/wp-content/uploads/inv12.jpg" target="_blank"><img src="http://invurted.com/wp-content/uploads/inv12-300x243.jpg" alt="" title="inv12" width="300" height="243" class="alignnone size-medium wp-image-419" /></a><br />
Once this is done, press <strong>CTRL+ALT+INSERT</strong> to force a reset of the virtual machine. If you hit <strong>CTRL+ALT+DELETE</strong>, this will open up the option to get to the task manager of the host operating system.</li>
<li>Go and get a cup of tea, sit back and relax because Windows 2008 is installing and there&#8217;s very little required at this point.<br />
<a href="http://invurted.com/wp-content/uploads/inv10.jpg" target="_blank"><img src="http://invurted.com/wp-content/uploads/inv10-300x243.jpg" alt="vmware player tutorial windows 2008" title="vmware player tutorial windows 2008" width="300" height="243" class="alignnone size-medium wp-image-413" /></a><br />
Once Windows has finished installing, we should be presented with this screen. From this point on, there is no difference between the virual machine and a real version of Windows 2008.<br />
Power off the virtual machine and move onto Part 2!
</li>
</ol>
<p>That&#8217;s Part 1 complete. In <a href="http://invurted.com/tutorial-windows-2008-testing-environment-using-vmware-player-part-2/">Part 2</a> we&#8217;ll look at configuring the virtual machine as a domain controller and deploying additional servers for the rest of the lab.</p>
<p>As ever, if you have any questions, please email me (contactme [at] invurted dot com).</p>
<div class="shr-publisher-401"></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-windows-2008-testing-environment-using-vmware-player%2F' data-shr_title='%5BTUTORIAL%5D+Windows+2008+testing+environment+using+Vmware+Player+part+1'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Ftutorial-windows-2008-testing-environment-using-vmware-player%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Ftutorial-windows-2008-testing-environment-using-vmware-player%2F' data-shr_title='%5BTUTORIAL%5D+Windows+2008+testing+environment+using+Vmware+Player+part+1'></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-windows-2008-testing-environment-using-vmware-player/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>
		<item>
		<title>[TUTORIAL] Releasing Virtual Machine Files</title>
		<link>http://invurted.com/tutorial-releasing-files/</link>
		<comments>http://invurted.com/tutorial-releasing-files/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 03:42:55 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[machine]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[virtual]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=149</guid>
		<description><![CDATA[Sometimes a file or set of files in a VMFS become locked and any attempts to edit them or delete will give a device or resource busy error, even though the virtual machine associated with the files is not running. If the virtual machine is running then you would need to stop the virtual machine [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Sometimes a file or set of files in a VMFS become locked and any attempts to edit them or delete will give a device or resource busy error, even though the virtual machine associated with the files is not running.  If the virtual machine is running then you would need to stop the virtual machine to manipulate the files.  If you know that the virtual machine is stopped then you need to find the ESX server that has the files locked and then stop the process that is locking the file(s). <span id="more-149"></span></p>
<ol>
<li> Logon to the ESX host where the virtual machine was last known to be running.</li>
<li>vmkfstools -D /vmfs/volumes/path/to/file to dump information on the file into /var/log/vmkernel</li>
<li>less /var/log/vmkernel and scroll to the bottom, you will see output like below:<br />
<code><br />
Nov 29 15:49:17 vm22 vmkernel: 2:00:15:18.435 cpu6:1038)FS3: 130: &lt; START vmware-16.log &gt;<br />
Nov 29 15:49:17 vm22 vmkernel: 2:00:15:18.435 cpu6:1038)Lock [type 10c00001 offset 30439424 v 21, hb offset 4154368Nov 29 15:49:17 vm22 vmkernel: gen 66493, mode 1, owner 46c60a7c-94813bcf-4273-0017a44c7727 mtime 8781867]<br />
Nov 29 15:49:17 vm22 vmkernel: 2:00:15:18.435 cpu6:1038)Addr &lt;4, 588, 7&gt;, gen 20, links 1, type reg, flags 0x0, uid 0, gid 0, mode 644<br />
Nov 29 15:49:17 vm22 vmkernel: 2:00:15:18.435 cpu6:1038)len 23973, nb 1 tbz 0, zla 2, bs 65536<br />
Nov 29 15:49:17 vm22 vmkernel: 2:00:15:18.435 cpu6:1038)FS3: 132: &lt; END vmware-16.log &gt;<br />
</code></li>
<li>The owner of the lock is on the third line, the last part is all you need, in this case 0017a44c7727</li>
<li>esxcfg-info | grep -i &#8216;system uuid&#8217; | awk -F &#8216;-&#8217; &#8216;{print $NF}&#8217; will display the system uuid of the esx server.  You need to run the esxcfg-info command on each esx server in the cluster to discover the owner.</li>
<li>When you find the ESX server that matches the uuid owner, logon to that ESX server and run the command: ps -elf|grep vmname where vmname is the problem virtual machine.  Example output below:<br />
<code>4 S root      7570     1  0  65 -10    -   435 schedu Nov27 ?        00:00:02 /usr/lib/vmware/bin/vmkload_app /usr/lib/vmware/bin/vmware-vmx -ssched.group=host/user/pool2 -@ pipe=/tmp/vmhsdaemon-0/vmxf7fb85ef5d8b3522;vm=f7fb85ef5d8b3522 /vmfs/volumes/470e25b6-37016b37-a2b3-001b78bedd4c/iu-lsps-vstest/iu-lsps-vstest.vmx0</code></li>
<li> Since there is a process running, pid 7570 in the example, you need to kill it by following steps 5-12 on Stopping a Virtual Machine.</li>
<li>Once the kill is complete the files should be released.</li>
</ol>
<div class="shr-publisher-149"></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-releasing-files%2F' data-shr_title='%5BTUTORIAL%5D+Releasing+Virtual+Machine+Files'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Ftutorial-releasing-files%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Ftutorial-releasing-files%2F' data-shr_title='%5BTUTORIAL%5D+Releasing+Virtual+Machine+Files'></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-releasing-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[TUTORIAL] Show hidden devices after P2V</title>
		<link>http://invurted.com/show-hidden-devices-after-p2v/</link>
		<comments>http://invurted.com/show-hidden-devices-after-p2v/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 22:41:04 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[hidden devices]]></category>
		<category><![CDATA[p2v]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=111</guid>
		<description><![CDATA[After performing a P2V always remove the hidden physical hardware from the OS. This is particularly important for network cards that have the original IP address(es) that you want to assisgn to the new VM. 1. Click Start &#124; Run &#124; cmd 2. At a command prompt, type the following command , and then press [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>After performing a P2V always remove the hidden physical hardware from the OS. This is particularly important for network cards that have the original IP address(es) that you want to assisgn to the new VM.<span id="more-111"></span></p>
<p>1. Click Start | Run | cmd</p>
<p>2. At a command prompt, type the following command , and then press ENTER:</p>
<p><span style="font-family: courier new;">set devmgr_show_nonpresent_devices=1</span></p>
<p>3. Type the following command in the same command prompt window, and then press ENTER:</p>
<p><span style="font-family: courier new;">start devmgmt.msc</span></p>
<p>4. Click Show hidden devices on the View menu in Device Managers before you can see devices that are not connected to the computer.</p>
<div class="shr-publisher-111"></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%2Fshow-hidden-devices-after-p2v%2F' data-shr_title='%5BTUTORIAL%5D+Show+hidden+devices+after+P2V+'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Fshow-hidden-devices-after-p2v%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Fshow-hidden-devices-after-p2v%2F' data-shr_title='%5BTUTORIAL%5D+Show+hidden+devices+after+P2V+'></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/show-hidden-devices-after-p2v/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[TUTORIAL] Migrating Virtual Machines without Vmotion</title>
		<link>http://invurted.com/migrating-virtual-machines-without-vmotion/</link>
		<comments>http://invurted.com/migrating-virtual-machines-without-vmotion/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 06:50:03 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[vmotion]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=103</guid>
		<description><![CDATA[Guys are hard at work with the labs at the moment here in sunny Hobart, and so I begin trawling the blogs (as is my want). I discovered this brilliant little gem from Mike DiPetrill&#8217;s blog. This post demonstates the awesome power of the Vmware API and the ease of use we get from the [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Guys are hard at work with the labs at the moment here in sunny Hobart, and so I begin trawling the blogs (as is my want). I discovered this brilliant little gem from Mike DiPetrill&#8217;s blog.</p>
<p><span id="more-103"></span></p>
<p>This post demonstates the awesome power of the Vmware API and the ease of use we get from the VI Toolkit for Windows! The script will <a href="http://mikedatl.typepad.com/mikedvirtualization/2008/10/quick-migration.html">move a VM from one ESX host to another</a>, without making use of VMware VMotion. The drawback is that the VM becomes unresponsive for a period of time (usually a few seconds). This is roughly functionally equivalent to Microsoft&#8217;s Quick Migration feature, except that this was done in 130 lines of script.</p>
<div class="shr-publisher-103"></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%2Fmigrating-virtual-machines-without-vmotion%2F' data-shr_title='%5BTUTORIAL%5D+Migrating+Virtual+Machines+without+Vmotion'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Fmigrating-virtual-machines-without-vmotion%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Fmigrating-virtual-machines-without-vmotion%2F' data-shr_title='%5BTUTORIAL%5D+Migrating+Virtual+Machines+without+Vmotion'></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/migrating-virtual-machines-without-vmotion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[TUTORIAL] Virtual Center Cluster using MSCS</title>
		<link>http://invurted.com/virtual-center-cluster-using-mscs/</link>
		<comments>http://invurted.com/virtual-center-cluster-using-mscs/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 03:55:36 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://invurted.com/2008/07/virtual-center-cluster-using-mscs/</guid>
		<description><![CDATA[The constant question with Vmware is, &#8220;Can I cluster using Microsoft Clustering Services?&#8221; The answer now, thankfully, is yes you can. And just to stretch it out a bit more there&#8217;s this! Chris Skinner who works for Vmware as a Technical Trainer has put together another awesome white paper. This time he&#8217;s proving that you [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>The constant question with Vmware is, &#8220;Can I cluster using Microsoft Clustering Services?&#8221;</p>
<p>The answer now, thankfully, is yes you can. And just to stretch it out a bit more there&#8217;s this!</p>
<p><span id="more-88"></span></p>
<p>Chris Skinner who works for Vmware as a Technical Trainer has put together another awesome white paper. This time he&#8217;s proving that you can virtualise Virtual Center AND put it into a Microsoft Cluster.</p>
<p>Like all his previous papers, this one is distributed freely but without warranty or guarantee. So, it&#8217;s a case of reader beware! However, after reading it and testing, it looks the goods!</p>
<p><a href="http://invurted.com/wp-content/uploads/2008/07/clusteringvc25.pdf" target="_self">ClusteringVC25.pdf</a></p>
<div class="shr-publisher-88"></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%2Fvirtual-center-cluster-using-mscs%2F' data-shr_title='%5BTUTORIAL%5D+Virtual+Center+Cluster+using+MSCS'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Fvirtual-center-cluster-using-mscs%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Fvirtual-center-cluster-using-mscs%2F' data-shr_title='%5BTUTORIAL%5D+Virtual+Center+Cluster+using+MSCS'></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/virtual-center-cluster-using-mscs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[TUTORIAL] Change service console IP in Vmware ESX 3.5</title>
		<link>http://invurted.com/change-service-console-ip-in-vmware-esx-35/</link>
		<comments>http://invurted.com/change-service-console-ip-in-vmware-esx-35/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 05:57:25 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=85</guid>
		<description><![CDATA[There are a number of different options for changing the IP address of the service console in Vmware ESX 3.5. Following is another example using the CLI and the esxnet command. It&#8217;s actually a big cheat and nowhere near as hardcore as linking and relinking a NIC to the Service Console but &#8230; If you [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>There are a number of different options for changing the IP address of the service console in Vmware ESX 3.5. Following is another example using the CLI and the esxnet command.<br />
<span id="more-85"></span><br />
  <P>It&#8217;s actually a big cheat and nowhere near as hardcore as linking and relinking a NIC to the Service Console but &#8230;</p>
<p>If you did not configure the vswif0 interface properly, for example, the wrong ip address for the Service Console, use the command <br /> <code>esxnet-support rebuild</code><br /> and it will guide you through the new IP address configuration.  Not only that, but it will also update all the necessary file and the new NIC that you link the Service Console too!</p>
<div class="shr-publisher-85"></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%2Fchange-service-console-ip-in-vmware-esx-35%2F' data-shr_title='%5BTUTORIAL%5D+Change+service+console+IP+in+Vmware+ESX+3.5'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Fchange-service-console-ip-in-vmware-esx-35%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Fchange-service-console-ip-in-vmware-esx-35%2F' data-shr_title='%5BTUTORIAL%5D+Change+service+console+IP+in+Vmware+ESX+3.5'></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/change-service-console-ip-in-vmware-esx-35/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[TUTORIAL] Vmware Workstation 6 Microsoft Clustering</title>
		<link>http://invurted.com/vmware-and-windows-2003-clustering-post-version-4/</link>
		<comments>http://invurted.com/vmware-and-windows-2003-clustering-post-version-4/#comments</comments>
		<pubDate>Tue, 27 May 2008 20:15:04 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=8</guid>
		<description><![CDATA[Another request via email: I am trying to create a windows 2000 server cluster in vmware workstation 6.0 and I am having some issues with the scsi disks (not working). I have ressurected Windows 2000! Oh dear, I am a teeny bit rusty. However, fear not, gentle reader, for I did prevail! After some nashing [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p class="MsoNormal">Another request via email:</p>
<blockquote><p>I am trying to create a windows 2000 server cluster in vmware workstation 6.0 and I am having some issues with the scsi disks (not working).</p></blockquote>
<p><span id="more-7"></span><br />
I have ressurected Windows 2000! Oh dear, I am a teeny bit rusty.</p>
<p>However, fear not, gentle reader, for I did prevail! After some nashing of teeth and cursing of computers, it&#8217;s working!!</p>
<p>The builds are all Windows 2000 Advanced Server (Service Pack 4). Fairly standard domain and three member servers.</p>
<p>The cluster only has two nodes in it (that&#8217;s all it will allow!) and both have shared storage: a 500MB quorum and a 4GB data drive.</p>
<p>And now what you&#8217;re really here for; the .vmx files. The relevant parts are posted below. This will define two SCSI HDD&#8217;s set them so that they&#8217;re unaffected by snapshots and they&#8217;re plugged into a shared bus.<br />
<code>config.version = "8"<br />
virtualHW.version = "6"<br />
scsi0.present = "TRUE"<br />
memsize = "384"<br />
scsi0:0.present = "TRUE"<br />
scsi0:0.fileName = "Windows 2000 Advanced Server-cl2.vmdk"<br />
ide1:0.present = "TRUE"<br />
ide1:0.fileName = ""<br />
ide1:0.deviceType = "cdrom-image"<br />
floppy0.autodetect = "TRUE"<br />
ethernet0.present = "TRUE"<br />
ethernet0.wakeOnPcktRcv = "FALSE"<br />
usb.present = "TRUE"<br />
ehci.present = "TRUE"<br />
sound.present = "TRUE"<br />
sound.fileName = "-1"<br />
sound.autodetect = "TRUE"<br />
svga.autodetect = "TRUE"<br />
pciBridge0.present = "TRUE"<br />
mks.keyboardFilter = "allow"<br />
displayName = "cluster-node-c"<br />
guestOS = "win2000advserv"<br />
nvram = "cluster-node-c.nvram"<br />
deploymentPlatform = "windows"<br />
virtualHW.productCompatibility = "hosted"<br />
tools.upgrade.policy = "useGlobal"</p>
<p>ide1:0.autodetect = "TRUE"<br />
floppy0.fileName = "A:"<br />
extendedConfigFile = "cluster-node-c.vmxf"</p>
<p>ethernet0.connectionType = "custom"<br />
ethernet0.vnet = "VMnet1"</p>
<p>floppy0.startConnected = "FALSE"<br />
ethernet1.present = "TRUE"<br />
ethernet1.connectionType = "custom"<br />
ethernet1.vnet = "VMNet2"<br />
ethernet1.wakeOnPcktRcv = "FALSE"</p>
<p>uuid.bios = "56 4d f4 a7 ff 17 53 5f-b5 e0 34 e8 20 48 49 2c"</p>
<p>inVMTeam = "FALSE"</p>
<p>ethernet0.addressType = "generated"<br />
ethernet1.addressType = "generated"<br />
uuid.location = "56 4d f4 a7 ff 17 53 5f-b5 e0 34 e8 20 48 49 2c"<br />
scsi0:0.redo = ""<br />
pciBridge0.pciSlotNumber = "17"<br />
scsi0.pciSlotNumber = "16"<br />
ethernet0.pciSlotNumber = "32"<br />
ethernet1.pciSlotNumber = "33"<br />
sound.pciSlotNumber = "34"<br />
ehci.pciSlotNumber = "35"<br />
ethernet0.generatedAddress = "00:0c:29:48:49:2c"<br />
ethernet0.generatedAddressOffset = "0"<br />
ethernet1.generatedAddress = "00:0c:29:48:49:36"<br />
ethernet1.generatedAddressOffset = "10"</p>
<p>ide1:0.startConnected = "TRUE"<br />
tools.syncTime = "FALSE"</p>
<p>scsi1.present = "TRUE"<br />
scsi1:1.present = "TRUE"<br />
scsi1:1.fileName = "D:\My Virtual Machines\cluster-shared\quorum.vmdk"<br />
scsi1:1.mode = "independent-persistent"<br />
scsi1:2.present = "TRUE"<br />
scsi1:2.fileName = "D:\My Virtual Machines\cluster-shared\data.vmdk"<br />
scsi1:2.mode = "independent-persistent"<br />
scsi1.sharedbus ="Virtual"<br />
disk.locking = "false"<br />
diskLib.dataCacheMaxSize = "0"<br />
diskLib.dataCacheMaxReadAheadSize = "0"<br />
diskLib.dataCacheMinReadAheadSize = "0"<br />
diskLib.dataCachePageSize ="4096"<br />
diskLib.maxUnsyncedWrites = "0"</p>
<p>scsi1:1.redo = ""<br />
scsi1:2.redo = ""<br />
scsi1.pciSlotNumber = "36"</code></p>
<p>For SQL Cluster coonfiguration: <a href="http://blogs.techrepublic.com.com/datacenter/?p=191" target="_new">http://blogs.techrepublic.com.com/datacenter/?p=191</a><br />
The two articles I worked from: <a href="http://cs.thefoleyhouse.co.uk/blogs/karl/archive/2005/04/27/447.aspx" target="_new">http://cs.thefoleyhouse.co.uk/blogs/karl/archive/2005/04/27/447.aspx</a><br />
<a href="http://crosbysite.blogspot.com/2007/10/clustering-in-vmware-workstation-6.html">http://crosbysite.blogspot.com/2007/10/clustering-in-vmware-workstation-6.html</a></p>
<p>Stuff to pay attention to:</p>
<blockquote><p>I used VMware Workstation 6 (I don&#8217;t recall the build number at the time I did it). I also got the &#8220;clustering is not supported&#8221; message, but it still works. Basically, it&#8217;s just VMware telling you that you are on your own.</p></blockquote>
<p>The actual &#8220;official&#8221; Vmware response: <a href="http://www.vmware.com/community/thread.jspa?forumID=26&amp;threadID=11160&amp;messageID=141313" target="_new">http://www.vmware.com/community/thread.jspa?forumID=26&amp;threadID=11160&amp;messageID=141313</a></p>
<p>This is so much easier to do in Windows 2003!</p>
<div class="shr-publisher-7"></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-and-windows-2003-clustering-post-version-4%2F' data-shr_title='%5BTUTORIAL%5D+Vmware+Workstation+6+Microsoft+Clustering'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Fvmware-and-windows-2003-clustering-post-version-4%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Fvmware-and-windows-2003-clustering-post-version-4%2F' data-shr_title='%5BTUTORIAL%5D+Vmware+Workstation+6+Microsoft+Clustering'></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-and-windows-2003-clustering-post-version-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

