<?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>VCritical &#187; installation</title>
	<atom:link href="http://www.vcritical.com/tag/installation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vcritical.com</link>
	<description>Informed Virtualization Criticism</description>
	<lastBuildDate>Wed, 19 Oct 2011 22:08:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>VMware ESXi 5 Scripted Install to USB Flash</title>
		<link>http://www.vcritical.com/2011/08/vmware-esxi-5-scripted-install-to-usb-flash/</link>
		<comments>http://www.vcritical.com/2011/08/vmware-esxi-5-scripted-install-to-usb-flash/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 04:48:40 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[PXE]]></category>
		<category><![CDATA[USB flash]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=3876</guid>
		<description><![CDATA[VMware vSphere 5 adds the ability to perform a scripted installation of VMware ESXi 5 to a USB flash drive or SD card.  Hyper-V?  Not so much.]]></description>
			<content:encoded><![CDATA[<p>One of the great features of VMware vSphere is the capability to <a href="http://www.vcritical.com/tag/usb-flash/">boot VMware ESXi from USB flash</a> &#8212; eliminating local storage and array controllers can reduce the acquisition and operational costs for hypervisor hosts.</p>
<p>Now with VMware ESXi 5, it is possible to perform an <a href="http://www.virtuallyghetto.com/2011/07/automating-esxi-5x-kickstart-tips.html" target="_blank">automated installation</a> to USB storage.  Simply specify <strong>usb-storage</strong> as part of the install command in an automated install script.  For example:</p>
<pre>install --firstdisk=usb-storage --overwritevmfs</pre>
<p>For more flexibility in a single script, multiple disk types can be specified; they will be tried in order.  Below is an example install command from a script for HP servers.  If USB flash is not installed, the on-board SAS disks will be used.  If neither are present &#8212; such as when <a href="http://www.vcritical.com/2011/07/vmware-vsphere-can-virtualize-itself/">installing virtual ESXi systems</a> &#8212; generic local storage is the last resort.</p>
<pre>install --firstdisk=usb-storage,hpsa,local --overwritevmfs</pre>
<p>Perhaps not one of the <em>major</em> new feature of VMware vSphere 5, but handy.</p>
<h2>Boot Hyper-V From Flash?</h2>
<p>You might not know this, but Microsoft Hyper-V has had the ability to boot from flash as well &#8212; <a href="http://www.vcritical.com/2009/08/a-very-flashy-hypervisor-hyper-v-server-r2/">announced two years ago</a>, but yet to be acknowledged in an actual production deployment.  Of course, this bleeding-edge configuration option is only supported if installed by OEMs, not end-users.  Anyone considering Hyper-V for virtualization is highly encouraged to <a href="http://technet.microsoft.com/en-us/library/ee731893%28WS.10%29.aspx">give it a try</a>; it&#8217;s a great opportunity to learn a lot about Windows registry manipulation and command line tools such as imagex and diskpart.</p>
<p>But seriously, VMware vSphere 5 will be here soon, and you&#8217;re going to love it.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/08/create-esxi-4-usb-flash-drives-with-workstation/' rel='bookmark' title='Create ESXi 4 USB flash drives with Workstation'>Create ESXi 4 USB flash drives with Workstation</a></li>
<li><a href='http://www.vcritical.com/2010/01/vmware-esxi-4-sd-flash-in-bl460c-g6/' rel='bookmark' title='VMware ESXi 4: SD Flash in BL460c G6'>VMware ESXi 4: SD Flash in BL460c G6</a></li>
<li><a href='http://www.vcritical.com/2009/08/the-vmware-esxi-4-64mb-hypervisor-challenge/' rel='bookmark' title='The VMware ESXi 4 64MB Hypervisor Challenge'>The VMware ESXi 4 64MB Hypervisor Challenge</a></li>
<li><a href='http://www.vcritical.com/2009/08/a-very-flashy-hypervisor-hyper-v-server-r2/' rel='bookmark' title='A very flashy hypervisor: Hyper-V Server R2'>A very flashy hypervisor: Hyper-V Server R2</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2011/08/vmware-esxi-5-scripted-install-to-usb-flash/#respond">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/hyper-v/" rel="tag">Hyper-V</a>, <a href="http://www.vcritical.com/tag/installation/" rel="tag">installation</a>, <a href="http://www.vcritical.com/tag/pxe/" rel="tag">PXE</a>, <a href="http://www.vcritical.com/tag/usb-flash/" rel="tag">USB flash</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2011/08/vmware-esxi-5-scripted-install-to-usb-flash/">VMware ESXi 5 Scripted Install to USB Flash</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2011 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2011/08/vmware-esxi-5-scripted-install-to-usb-flash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VMware ESXi 5 Interactive PXE Installation Improvements</title>
		<link>http://www.vcritical.com/2011/07/vmware-esxi-5-interactive-pxe-installation-improvements/</link>
		<comments>http://www.vcritical.com/2011/07/vmware-esxi-5-interactive-pxe-installation-improvements/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 22:22:38 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[PXE]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=3848</guid>
		<description><![CDATA[VMware ESXi 5 media can be used for interactive PXE installs without creating the image.tgz file that ESXi 4.1 required.  A "prefix" directive for boot.cfg also makes it easier to organize various versions of the install media into subdirectories.]]></description>
			<content:encoded><![CDATA[<p>A flexible PXE infrastructure can be a real force multiplier in your technology arsenal.  Fully-automated installs are great time-savers, but there is also value in being able to perform an interactive (manual) install of VMware ESXi, Linux, or Windows over the network.  Physical installation media is becoming less and less viable in this day of lights-out datacenters, and virtual media capabilities provided with remote consoles, such as iLO, are best reserved for punishing junior members of the team.  It&#8217;s easy enough to have a <a href="http://www.vcritical.com/2011/06/peaceful-coexistence-wds-and-linux-pxe-servers/">Linux-based PXE server coexist with Windows Deployment Services</a> &#8212; useful for environments that need to deploy various operating systems on a single VLAN.</p>
<p>William Lam is the de-facto authority on <a href="http://www.virtuallyghetto.com/2011/07/automating-esxi-5x-kickstart-tips.html" target="_blank">fully-automated ESXi deployments</a>, and others have provided <a href="http://www.jayakumar.org/esx/pxe-boot-vmware-esxi-4-1-and-manual-install/" target="_blank">recipes</a> for configuring VMware ESXi 4.1 installation media for interactive PXE installation.</p>
<p>The good news is that with VMware ESXi 5 it is <strong>no longer necessary to create the image.tgz file</strong> to accommodate a manual PXE installation, and another handy enhancement to boot.cfg makes it slightly cleaner to organize multiple installation sources on a PXE/TFTP server.</p>
<p>Take a look at the following procedures to learn more:</p>
<h2>Prepare the VMware ESXi 5 Installation Media</h2>
<p>On your TFTP server, simply extract the contents of the installation ISO into a new directory.</p>
<pre># mkdir esxi50
# mount -o loop VMware-VMvisor-Installer-5.0.0-nnnnnn.x86_64.iso tmp/
# rsync -a tmp/ esxi50/
# chmod +w esxi50/*</pre>
<p>That&#8217;s it.  No need to create any additional files with ESXi 5.</p>
<h2>Modify the ESXi boot.cfg Configuration File</h2>
<p>In order to reflect the fact that the installation source is not in the root of the TFTP server, two tweaks are needed.</p>
<ol>
<li>Remove all of the slashes (/) from the boot.cfg file so relative paths will be used (vi :%s#/##g)</li>
<li>Add a &#8220;prefix&#8221; directive to the boot.cfg file to specify the proper subdirectory, from the perspective of the TFTP root</li>
</ol>
<p>End result will look something like this:</p>
<p><img class="alignnone size-full wp-image-3855" title="boot-cfg-prefix" src="http://www.vcritical.com/wp-content/uploads/2011/07/boot-cfg-prefix-1.png" alt="" width="590" height="387" /></p>
<p>This is much cleaner that repeating the full path dozens of times throughout the file.</p>
<h2>Add a PXE Menu Entry</h2>
<p>Typically the PXE menu is pxelinux.cfg/default; add the following section and you&#8217;ll be set:</p>
<pre>LABEL esxi50
 KERNEL /esxi50/mboot.c32
 APPEND -c /esxi50/boot.cfg
 MENU LABEL ESXi-5.0.0</pre>
<h2>Ready for interactive installation</h2>
<p>Now you are ready to boot your physical or virtual machines for an interactive installation of VMware ESXi 5.  It&#8217;s very easy to <a href="http://www.vcritical.com/2011/07/vmware-vsphere-can-virtualize-itself/">run ESXi 5 inside a VM</a>, now with 64-bit nested guest capabilities!</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2011/06/peaceful-coexistence-wds-and-linux-pxe-servers/' rel='bookmark' title='Peaceful Coexistence: WDS and Linux PXE Servers'>Peaceful Coexistence: WDS and Linux PXE Servers</a></li>
<li><a href='http://www.vcritical.com/2008/10/vmware-esxi-and-hyper-v-installation-comparison/' rel='bookmark' title='VMware ESXi and Hyper-V installation comparison'>VMware ESXi and Hyper-V installation comparison</a></li>
<li><a href='http://www.vcritical.com/2009/08/create-esxi-4-usb-flash-drives-with-workstation/' rel='bookmark' title='Create ESXi 4 USB flash drives with Workstation'>Create ESXi 4 USB flash drives with Workstation</a></li>
<li><a href='http://www.vcritical.com/2010/01/vmware-esxi-4-sd-flash-in-bl460c-g6/' rel='bookmark' title='VMware ESXi 4: SD Flash in BL460c G6'>VMware ESXi 4: SD Flash in BL460c G6</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2011/07/vmware-esxi-5-interactive-pxe-installation-improvements/#respond">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/esxi/" rel="tag">ESXi</a>, <a href="http://www.vcritical.com/tag/installation/" rel="tag">installation</a>, <a href="http://www.vcritical.com/tag/pxe/" rel="tag">PXE</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2011/07/vmware-esxi-5-interactive-pxe-installation-improvements/">VMware ESXi 5 Interactive PXE Installation Improvements</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2011 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2011/07/vmware-esxi-5-interactive-pxe-installation-improvements/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>VMware vSphere can virtualize itself + 64-bit nested guests</title>
		<link>http://www.vcritical.com/2011/07/vmware-vsphere-can-virtualize-itself/</link>
		<comments>http://www.vcritical.com/2011/07/vmware-vsphere-can-virtualize-itself/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 16:18:43 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=3811</guid>
		<description><![CDATA[VMware vSphere 5 makes it even easier to virtualize ESXi, and can now run nested 64-bit guests.]]></description>
			<content:encoded><![CDATA[<p><img style=' float: left; padding: 4px; margin: 0 7px 2px 0;'  class="alignleft size-full wp-image-3767" title="VMware vSphere 5 has a new guest OS setting..." src="http://www.vcritical.com/wp-content/uploads/2011/06/gos-esxi5.png" alt="" width="164" height="148" />Running VMware ESXi inside a virtual machine is a great way to experiment  with different configurations and features without building out a whole  lab full of hardware and storage.  Virtualization enthusiasts everywhere have benefited from the ability to <a href="http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/">run ESXi on ESXi</a>, first introduced with the vSphere 4 release.</p>
<p>VMware vSphere 5 makes it easier than ever to virtualize hypervisor hosts.  With new capabilities to <strong>run nested 64-bit guests</strong> and <strong>take snapshots of virtual ESXi VMs</strong>, the sky is the limit for your cloud infrastructure development lab.  Heck, you can even run <a href="http://www.vcritical.com/tag/hyper-v">Hyper-V</a> on top of vSphere 5 &#8212; not that you&#8217;d want to.</p>
<h2>Physical Host Setup</h2>
<p>The physical host running VMware ESXi 5 requires just a few configuration changes; here is a guide:</p>
<ul>
<li>Install VMware ESXi 5 on a physical host and configure networking, storage, and other aspects as needed</li>
<li>Configure a vSwitch and/or Port Group to have <strong>Promiscuous Mode</strong> enabled</li>
<li>Create a second Port Group named &#8220;Trunk&#8221; with VLAN ID <strong>All (4095)</strong> if you want to use VLANs on virtual hypervisors</li>
<li>Log in to Tech Support Mode (iLO or ssh) and make the following tweak to enable nested 64-bit guests
<pre>echo 'vhv.allow = "TRUE"' &gt;&gt; /etc/vmware/config</pre>
</li>
</ul>
<h2>Virtual VMware ESXi Machine (vESXi) Creation</h2>
<p>For various reasons, it&#8217;s not feasible to clone virtual ESXi VMs.  As an alternative, create a fully-configured shell VM to use as a template &#8212; it <em>can</em> be cloned before ESXi is installed.</p>
<p>Create a new VM with the following guidance:</p>
<ul>
<li>Guest OS: Linux / Red Hat Enterprise Linux 5 (64-bit)</li>
<li>2 virtual sockets, 2+ GB RAM</li>
<li>4 NICs &#8212; connect NIC 1 to the management network and the rest to the &#8220;Trunk&#8221; network:<img class="alignnone size-full wp-image-3763" title="Create networks for virtual VMware ESXi VMs" src="http://www.vcritical.com/wp-content/uploads/2011/06/vesxi-create-networks.png" alt="" width="528" height="246" /></li>
<li>Thin provisioned virtual disks work fine</li>
<li>Finish creating the VM, then edit the following settings
<ul>
<li>Options/General Options: change Guest Operating System to Other &#8211; VMware ESXi 5.x</li>
<li>CPU/MMU Virtualization: Use Intel VT &#8230; EPT&#8230; ( bottom radio button)</li>
</ul>
</li>
<li>Don&#8217;t power this VM on &#8212; keep it to act as a template</li>
<li>Clone and install VMware ESXi via ISO image or PXE boot</li>
<li>Add to vCenter and configure virtual ESXi hosts for action</li>
</ul>
<h2>Nested 64-bit Guests</h2>
<p>With the release of VMware vSphere 5, nested guests can be 64-bit operating systems.  Just be sure to make the change to /etc/vmware/config on the physical host as indicated above.</p>
<p>Nested guests can be migrated with vMotion between virtual or physical VMware ESXi hosts; this requires a vMotion network and shared storage.<span id="more-3811"></span></p>
<h2>Nested Hyper-V Virtual Machines</h2>
<p>It is possible to run other hypervisors as vSphere virtual machines, and even power on nested VMs.  Here you can see Hyper-V running a CentOS virtual machine &#8212; all on VMware ESXi.  Talk about disrupting the space-time continuum!</p>
<p><img class="alignnone size-full wp-image-3774" title="Hyper-V running in a VM on vSphere 5" src="http://www.vcritical.com/wp-content/uploads/2011/06/esxi-hyperv-centos.png" alt="" width="595" height="482" /></p>
<p>A couple of extra tweaks are needed to enable this, and performance is not great.  Nevertheless, an amazing feat of engineering from VMware!</p>
<p>Do the following to enable Hyper-V on VMware ESXi:</p>
<ul>
<li>Add<strong> hypervisor.cpuid.v0 = FALSE</strong> to the VM configuration</li>
</ul>
<p><img class="alignnone size-full wp-image-3833" title="Setting VM config parameters: hypervisor-cpuid-v0-false" src="http://www.vcritical.com/wp-content/uploads/2011/07/hypervisor-cpuid-v0-false.png" alt="" width="600" height="70" /></p>
<ul>
<li>Add <strong>&#8212;-:&#8212;-:&#8212;-:&#8212;-:&#8212;-:&#8212;-:&#8211;h-:&#8212;-</strong> to the CPU mask for Level 1 ECX (Intel)</li>
</ul>
<p><img class="alignnone size-full wp-image-3834" title="Setting VM CPU mask for level1-ecx" src="http://www.vcritical.com/wp-content/uploads/2011/07/level1-ecx.png" alt="" width="600" height="117" /></p>
<p>For another take, check out <a href="http://www.virtuallyghetto.com/2011/07/how-to-enable-support-for-nested-64bit.html" target="_blank">William Lam&#8217;s post on this topic</a>.</p>
<h2>Parting Thoughts</h2>
<p>Given the right hardware, it is possible to create a fully-functional VMware test lab that is completely virtual.  Go ahead and experiment with the Distributed Virtual Switch, vShield, vCloud Director, and everything else without deploying a ton of servers and storage.</p>
<p><strong>How are you taking advantage of a virtual vSphere environment?</strong></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/' rel='bookmark' title='VMware ESX 4 can even virtualize itself'>VMware ESX 4 can even virtualize itself</a></li>
<li><a href='http://www.vcritical.com/2009/02/new-vmware-esxi-management-kit/' rel='bookmark' title='New VMware ESXi Management Kit'>New VMware ESXi Management Kit</a></li>
<li><a href='http://www.vcritical.com/2010/02/taking-snapshots-of-vmware-esx-4-running-in-a-vm/' rel='bookmark' title='Taking snapshots of VMware ESX 4 running in a VM'>Taking snapshots of VMware ESX 4 running in a VM</a></li>
<li><a href='http://www.vcritical.com/2009/10/powershell-prevents-datastore-emergencies/' rel='bookmark' title='PowerShell Prevents Datastore Emergencies'>PowerShell Prevents Datastore Emergencies</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2011/07/vmware-vsphere-can-virtualize-itself/#respond">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/esxi/" rel="tag">ESXi</a>, <a href="http://www.vcritical.com/tag/installation/" rel="tag">installation</a>, <a href="http://www.vcritical.com/tag/technical/" rel="tag">Technical</a>, <a href="http://www.vcritical.com/tag/vsphere/" rel="tag">vSphere</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2011/07/vmware-vsphere-can-virtualize-itself/">VMware vSphere can virtualize itself + 64-bit nested guests</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2011 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2011/07/vmware-vsphere-can-virtualize-itself/feed/</wfw:commentRss>
		<slash:comments>76</slash:comments>
		</item>
		<item>
		<title>Peaceful Coexistence: WDS and Linux PXE Servers</title>
		<link>http://www.vcritical.com/2011/06/peaceful-coexistence-wds-and-linux-pxe-servers/</link>
		<comments>http://www.vcritical.com/2011/06/peaceful-coexistence-wds-and-linux-pxe-servers/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 12:15:30 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PXE]]></category>
		<category><![CDATA[WDS]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=3715</guid>
		<description><![CDATA[PXE is arguably the best way to install VMware ESXi or Linux and it also enables various Linux-based utilities.  See how to configure Windows Deployment Services to coexist with a Linux PXE server.]]></description>
			<content:encoded><![CDATA[<p>PXE is a fast and easy way to install operating systems over the network; <em>especially </em>attractive compared to the painfully slow alternative of something like iLO remote media.  Microsoft offers a PXE installation solution called Windows Deployment Services (WDS) and <a href="http://syslinux.zytor.com/wiki/index.php/PXELINUX" target="_blank">PXELINUX</a> is an excellent utility for network installs of Linux or VMware ESXi, Firmware Maintenance DVDs, rescue CDs, and pretty much anything else.</p>
<p>What to do in a heterogeneous environment?  This can be a challenge for PXE because it requires DHCP &#8212; it is difficult to have more than one PXE server on a network. While it is possible to <a href="http://syslinux.zytor.com/wiki/index.php/WDSLINUX" target="_blank">configure a WDS server to install non-Windows operating systems</a>, NFS support can be an issue.  Besides that, do you really want to install Linux via IIS?</p>
<p>Deploying a Linux system configured with DHCP, TFTP, HTTP, and NFS on a separate VLAN is certainly one approach.  But wouldn&#8217;t it be convenient if the WDS and Linux PXE servers could coexist peacefully on the same network?</p>
<h2>There is a way&#8230;</h2>
<p>As it turns out, thanks to the lesser-known <strong>pxechain</strong> utility, it <em>is</em> possible to seamlessly jump from one PXE host to another.  With a few tweaks to your WDS server, you can continue to use it for Windows OS installs and bounce over to a Linux host for Linux, ESXi, or rescue-CD purposes.</p>
<p><span id="more-3715"></span></p>
<h2>Windows Deployment Server Modifications</h2>
<p>To make this possible, alter WDS to serve up a PXELinux menu with options to either proceed with WDS or jump over to a Linux PXE server:</p>
<ul>
<li><a href="http://www.kernel.org/pub/linux/utils/boot/syslinux/3.xx/syslinux-3.86.zip">Download Syslinux 3.86</a> and extract to a temporary location</li>
<li>Copy the following three files directly to your WDS x64 boot directory, e.g., D:\RemoteInstall\Boot\x64\
<ul>
<li>core\pxelinux.0</li>
<li>modules\pxechain.com</li>
<li>com32\menu\menu.c32</li>
</ul>
</li>
<li>Make duplicate copies of these existing WDS files (should already be present in directory above); they need to have &#8220;zero&#8221; as the extension
<ul>
<li>pxeboot.n12 -&gt; pxeboot.0</li>
<li>abortpxe.com -&gt; abortpxe.0</li>
</ul>
</li>
<li>Create a directory in x64 named &#8220;pxelinux.cfg&#8221;</li>
<li>Create a new text file: x64\pxelinux.cfg\default with the following as a guide:</li>
</ul>
<pre>DEFAULT menu.c32
MENU TITLE WDS PXE Server

LABEL wds
MENU DEFAULT
MENU LABEL Windows Deployment Services
KERNEL pxeboot.0

LABEL abort
MENU LABEL Abort PXE
Kernel	abortpxe.0

LABEL linuxpxe
  MENU LABEL Linux PXE server...
  KERNEL pxechain.com
  APPEND 192.168.4.33::pxelinux.0
  #IP address above is Linux PXE host</pre>
<p>To activate, run these two commands from a command prompt on the WDS server:</p>
<pre>wdsutil /set-server /bootprogram:boot\x64\pxelinux.0 /architecture:x64
wdsutil /set-server /N12bootprogram:boot\x64\pxelinux.0 /architecture:x64</pre>
<h2>Action!</h2>
<p>Boot a machine from the network and you should get a PXELinux menu that offers a choice:</p>
<p><img class="alignnone size-full wp-image-3716" title="pxelinux menu served from WDS" src="http://www.vcritical.com/wp-content/uploads/2011/06/pxelinux-on-wds-host.png" alt="" width="560" height="231" /></p>
<p>One other note: the Linux PXE server doesn&#8217;t actually need to be on the same network, it just needs to be reachable from the client.</p>
<p><strong>What&#8217;s your preferred PXE deployment scenario?</strong></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2011/07/vmware-esxi-5-interactive-pxe-installation-improvements/' rel='bookmark' title='VMware ESXi 5 Interactive PXE Installation Improvements'>VMware ESXi 5 Interactive PXE Installation Improvements</a></li>
<li><a href='http://www.vcritical.com/2009/01/which-guest-operating-systems-can-be-customized-by-scvmm/' rel='bookmark' title='Which guest operating systems can be customized by SCVMM?'>Which guest operating systems can be customized by SCVMM?</a></li>
<li><a href='http://www.vcritical.com/2009/02/installing-vcenter-on-linux-technical-preview/' rel='bookmark' title='Installing vCenter on Linux Technical Preview'>Installing vCenter on Linux Technical Preview</a></li>
<li><a href='http://www.vcritical.com/2010/10/getting-eth0-back-in-a-sles-for-vmware-clone/' rel='bookmark' title='Getting eth0 back in a SLES for VMware clone'>Getting eth0 back in a SLES for VMware clone</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2011/06/peaceful-coexistence-wds-and-linux-pxe-servers/#respond">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/installation/" rel="tag">installation</a>, <a href="http://www.vcritical.com/tag/linux/" rel="tag">Linux</a>, <a href="http://www.vcritical.com/tag/pxe/" rel="tag">PXE</a>, <a href="http://www.vcritical.com/tag/wds/" rel="tag">WDS</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2011/06/peaceful-coexistence-wds-and-linux-pxe-servers/">Peaceful Coexistence: WDS and Linux PXE Servers</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2011 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2011/06/peaceful-coexistence-wds-and-linux-pxe-servers/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Taking snapshots of VMware ESX 4 running in a VM</title>
		<link>http://www.vcritical.com/2010/02/taking-snapshots-of-vmware-esx-4-running-in-a-vm/</link>
		<comments>http://www.vcritical.com/2010/02/taking-snapshots-of-vmware-esx-4-running-in-a-vm/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 19:08:38 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[snapshots]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=2377</guid>
		<description><![CDATA[VMware ESX 4 can virtualize itself, and by using a special undocumented configuration setting it is now possible to take snapshots of virtual VMware ESX 4 systems.]]></description>
			<content:encoded><![CDATA[<p>Clearly, the capability introduced with VMware vSphere 4 <a href="http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/">that allows VMware ESX 4 to virtualize itself</a> is a real crowd-pleaser.</p>
<p>However, one limitation that some have discovered while using this lab-testing technique is the lack of ability to use snapshots with virtual ESX systems.  In fact, after taking a snapshot of a virtual ESX VM, you will see the system boot into the recovery shell like so:</p>
<p><img class="alignnone size-full wp-image-2380" title="Virtual VMware ESX 4 system fails to boot after taking snapshot" src="http://www.vcritical.com/wp-content/uploads/2010/02/recovery-shell-when-snapshot.png" alt="" width="589" height="246" /></p>
<p>Ouch.</p>
<h2>Can we fix it?</h2>
<p>I asked some super-smart engineers inside VMware about the issue, and of course they know all about it and how to make it work.</p>
<p>The solution is to enable an undocumented advanced configuration option on the <strong>physical ESX host</strong> like so:</p>
<p><img class="alignnone size-full wp-image-2379" title="Changing advanced configuration option on physical VMware ESX 4 host" src="http://www.vcritical.com/wp-content/uploads/2010/02/putty-esxcfg-permitvmfs.png" alt="" width="528" height="142" /></p>
<p><span id="more-2377"></span>In other words:</p>
<ul>
<li>Log into the console of the <strong>physical</strong> VMware ESX 4 host</li>
<li>Run the following command: esxcfg-advcfg -s 1  /COW/PermitVmfsOnRedoHierarchy</li>
<li>Verify the setting with the &#8220;get&#8221; flag: esxcfg-advcfg -g /COW/PermitVmfsOnRedoHierarchy</li>
</ul>
<p><em>Do I even need to say that this stuff is not supported by VMware Global Support Services (GSS)?  Well, I just did.</em></p>
<h2>Yes we can!</h2>
<p>After executing that one command on your <strong>physical </strong>machine, take a snapshot and boot up your virtual ESX:</p>
<p><img class="alignnone size-full wp-image-2381" title="Virtual VMware ESX 4 booted with snapshot in place" src="http://www.vcritical.com/wp-content/uploads/2010/02/virtual-esx-booted-with-snapshot.png" alt="" width="582" height="425" /></p>
<p>Everything works just like you need it to now &#8212; you can even create a snapshot hierarchy:</p>
<p><img class="alignnone size-full wp-image-2378" title="Snapshot tree for virtual VMware ESX 4 system" src="http://www.vcritical.com/wp-content/uploads/2010/02/multiple-snapshots.png" alt="" width="459" height="234" /></p>
<h2>Now what?</h2>
<p>Were you constrained by the lack of virtual ESX snapshots?  <strong>What interesting things will you use this for?</strong></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2008/12/half-the-vm-reboots-on-patch-tuesday/' rel='bookmark' title='Half the VM reboots on Patch Tuesday'>Half the VM reboots on Patch Tuesday</a></li>
<li><a href='http://www.vcritical.com/2009/06/vmware-vsphere-4-has-a-snapshot-alarm/' rel='bookmark' title='VMware vSphere 4 has a Snapshot Alarm'>VMware vSphere 4 has a Snapshot Alarm</a></li>
<li><a href='http://www.vcritical.com/2009/04/hyper-v-snapshots-not-for-production/' rel='bookmark' title='Hyper-V snapshots: not for production'>Hyper-V snapshots: not for production</a></li>
<li><a href='http://www.vcritical.com/2009/01/igt-part-5-hyper-v-snapshots-are-not-gone-until-the-vm-is-powered-off/' rel='bookmark' title='IGT Part 5:  Hyper-V snapshots are not gone until the VM is powered off'>IGT Part 5:  Hyper-V snapshots are not gone until the VM is powered off</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2010/02/taking-snapshots-of-vmware-esx-4-running-in-a-vm/#respond">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/esx/" rel="tag">ESX</a>, <a href="http://www.vcritical.com/tag/installation/" rel="tag">installation</a>, <a href="http://www.vcritical.com/tag/pass/" rel="tag">PASS</a>, <a href="http://www.vcritical.com/tag/snapshots/" rel="tag">snapshots</a>, <a href="http://www.vcritical.com/tag/technical/" rel="tag">Technical</a>, <a href="http://www.vcritical.com/tag/vsphere/" rel="tag">vSphere</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2010/02/taking-snapshots-of-vmware-esx-4-running-in-a-vm/">Taking snapshots of VMware ESX 4 running in a VM</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2010 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2010/02/taking-snapshots-of-vmware-esx-4-running-in-a-vm/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>VMware vCenter CapacityIQ 1.0.1 for vSphere</title>
		<link>http://www.vcritical.com/2009/12/vmware-vcenter-capacityiq-1-0-1-for-vsphere/</link>
		<comments>http://www.vcritical.com/2009/12/vmware-vcenter-capacityiq-1-0-1-for-vsphere/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 18:18:52 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[CapacityIQ]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1976</guid>
		<description><![CDATA[VMware vCenter CapacityIQ 1.0.1 is now fully integrated with VMware vSphere.  The product deploys quickly as an OVF virtual appliance and the user interface is a vSphere Client plugin.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vmware.com/products/vcenter-capacityiq/"><img style=' float: left; padding: 4px; margin: 0 7px 2px 0;'  class="alignleft size-full wp-image-1980" title="VMware vCenter CapacityIQ" src="http://www.vcritical.com/wp-content/uploads/2009/12/ciq-icon.png" alt="VMware vCenter CapacityIQ" width="78" height="69" /></a>Today VMware released <a href="http://www.vmware.com/support/ciq100/doc/releasenotes_ciq101.html" target="_blank">vCenter CapacityIQ 1.0.1</a> &#8212; an update to support VMware vSphere 4.  Like vSphere, CapacityIQ is offered with a <a href="https://www.vmware.com/tryvmware/?p=vcenter-capacityiq&amp;lp=1" target="_blank">60-day trial</a>.</p>
<p>If you are not familiar with CapacityIQ (a.k.a. CapIQ or CIQ), it is an add-on management product for vCenter Server that assists in planning and managing virtualization resources.</p>
<p>CapIQ is very easy to deploy since it ships as a virtual appliance in OVF format &#8212; just load it onto an ESX host and perform a few simple configuration steps. It&#8217;s also simple to use since the user interface is a vSphere Client plug-in.  That means no additional web interfaces or user accounts to deal with &#8212; just a single pane of glass.</p>
<p>To learn more, check out the <a href="http://www.vmware.com/resources/techresources/10072" target="_blank">Evaluator&#8217;s Guide</a> and <a href="http://www.vmware.com/support/pubs/ciq_pubs.html" target="_blank">other documentation</a>.<span id="more-1976"></span></p>
<h2>Installation Experience</h2>
<p>For those curious about the installation experience, here is an overview of the very simple procedure.</p>
<h3>Upload the CapacityIQ VM using vSphere Client</h3>
<p><img class="alignnone size-full wp-image-1986" title="Deploy OVF" src="http://www.vcritical.com/wp-content/uploads/2009/12/deploy-ovf-menu.png" alt="Deploy OVF" width="235" height="186" /></p>
<h3>Configure Credentials</h3>
<p>The CapacityIQ appliance has two user accounts: root and ciqadmin.  When you first power on the VM, you will be prompted to enter passwords for those accounts.  Unlike some VM appliances, there are no default passwords involved.</p>
<p><img class="alignnone size-full wp-image-1985" title="Configure root and ciqadmin passwords" src="http://www.vcritical.com/wp-content/uploads/2009/12/configure-ciq-passwords.png" alt="Configure root and ciqadmin passwords" width="493" height="120" /></p>
<h3>Connect CapacityIQ to vCenter Server</h3>
<p>After the appliance is finished booting, a URL will be shown on the console.  Open that with your browser and log in using the ciqadmin account.</p>
<p><img class="alignnone size-full wp-image-1979" title="CapacityIQ Admin Portal" src="http://www.vcritical.com/wp-content/uploads/2009/12/ciq-admin-portal-login.png" alt="CapacityIQ Admin Portal" width="499" height="241" /></p>
<p>Enter the address and credentials needed to connect to your vCenter Server:</p>
<p><img class="alignnone size-full wp-image-1982" title="Register vCenter Server with CapIQ" src="http://www.vcritical.com/wp-content/uploads/2009/12/ciq-register-vcenter.png" alt="Register vCenter Server with CapIQ" width="504" height="341" /></p>
<h3>vSphere Client Interface</h3>
<p>After CapacityIQ is registered with your vCenter Server, restart your vSphere Client.  Verify that the plug-in has been installed automatically.</p>
<p><img class="alignnone size-full wp-image-1981" title="CapIQ vSphere Client plugin" src="http://www.vcritical.com/wp-content/uploads/2009/12/ciq-plugin-installed.png" alt="CapIQ vSphere Client plugin" width="504" height="198" /></p>
<p>If everything is in order, you&#8217;ll find a new icon on the vSphere Client Home screen:</p>
<p><img class="alignnone size-full wp-image-1988" title="vSphere Client Home with CapIQ" src="http://www.vcritical.com/wp-content/uploads/2009/12/vsphere-client-home-with-ciq1.png" alt="vSphere Client Home with CapIQ" width="224" height="244" /></p>
<h3>Views and Reports</h3>
<p>CapacityIQ comes with a number of preconfigured views and reports, as seen here:</p>
<p><img class="alignnone size-full wp-image-1984" title="CapIQ Views" src="http://www.vcritical.com/wp-content/uploads/2009/12/ciq-views.png" alt="CapIQ Views" width="410" height="643" /></p>
<p><img class="alignnone size-full wp-image-1983" title="CapIQ Reports" src="http://www.vcritical.com/wp-content/uploads/2009/12/ciq-reports.png" alt="CapIQ Reports" width="410" height="693" /></p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/04/vmware-vcenter-server-40-installation-video/' rel='bookmark' title='VMware vCenter Server 4.0 installation video'>VMware vCenter Server 4.0 installation video</a></li>
<li><a href='http://www.vcritical.com/2011/08/vmware-vcenter-server-appliance-and-vram-reporting/' rel='bookmark' title='VMware vCenter Server Appliance and vRAM Reporting'>VMware vCenter Server Appliance and vRAM Reporting</a></li>
<li><a href='http://www.vcritical.com/2009/02/installing-vcenter-on-linux-technical-preview/' rel='bookmark' title='Installing vCenter on Linux Technical Preview'>Installing vCenter on Linux Technical Preview</a></li>
<li><a href='http://www.vcritical.com/2010/04/red-hat-enterprise-linux-is-not-enterprise-virtualization/' rel='bookmark' title='Red Hat Enterprise Linux is not Enterprise Virtualization'>Red Hat Enterprise Linux is not Enterprise Virtualization</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2009/12/vmware-vcenter-capacityiq-1-0-1-for-vsphere/#respond">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/capacityiq/" rel="tag">CapacityIQ</a>, <a href="http://www.vcritical.com/tag/installation/" rel="tag">installation</a>, <a href="http://www.vcritical.com/tag/pass/" rel="tag">PASS</a>, <a href="http://www.vcritical.com/tag/technical/" rel="tag">Technical</a>, <a href="http://www.vcritical.com/tag/vsphere/" rel="tag">vSphere</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/12/vmware-vcenter-capacityiq-1-0-1-for-vsphere/">VMware vCenter CapacityIQ 1.0.1 for vSphere</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2009 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2009/12/vmware-vcenter-capacityiq-1-0-1-for-vsphere/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>VMware ESX 4 can even virtualize itself</title>
		<link>http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/</link>
		<comments>http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/#comments</comments>
		<pubDate>Tue, 19 May 2009 03:25:45 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1091</guid>
		<description><![CDATA[VMware ESX 4 can run multiple virtual instances of ESX 4 on a single physical server and even allows powering on and VMotion of nested VMs inside virtual ESX (vESX).  Perfect for a small VMware vSphere test lab!]]></description>
			<content:encoded><![CDATA[<p><img style=' float: left; padding: 4px; margin: 0 7px 2px 0;'  class="alignleft size-full wp-image-1103" title="ESX on ESX" src="http://www.vcritical.com/wp-content/uploads/2009/05/esxonesx-200.png" alt="ESX on ESX" width="200" height="205" /></p>
<p><strong>NEW</strong>: <a href="http://www.vcritical.com/2011/07/vmware-vsphere-can-virtualize-itself/">VMware vSphere 5 makes this even easier and supports nested 64-bit guests.</a></p>
<p>Running VMware ESX inside a virtual machine is a great way to experiment with different configurations and features without building out a whole lab full of hardware and storage.  It is pretty common to do this on VMware Workstation nowadays &#8212; the first public documentation of this process that I know of was published by <a href="http://xtravirt.com/" target="_blank">Xtravirt</a> a couple of years ago.</p>
<p>But what if you prefer to run ESX on ESX instead of Workstation?</p>
<p>You may be pleased to know that the GA build of ESX 4 allows installing ESX 4 as a virtual machine as well as powering on nested virtual machines &#8212; VMs running on the virtual ESX host.  You can even <a href="http://www.vcritical.com/2009/05/vmotion-from-physical-esx-4-to-virtual-esx-4/">VMotion a running virtual machine from the physical ESX to a virtual ESX</a> &#8212; on the same physical server!</p>
<p style="padding-left: 30px;"><strong>VMware vSphere 4.1 UPDATE:</strong> VMware ESX<strong>i</strong> 4.1 has a keyboard issue when virtualized on an ESX 4.0 host.  In order to virtualize ESX<strong>i</strong> 4.1, the underlying host must be 4.1.  However, ESX 4.1 <span style="text-decoration: underline;">classic</span> will work on ESX 4.0.</p>
<p>The extra tweaks to make it all work are minimal, and I will show you how without even opening up a text editor.</p>
<p>After installing ESX 4 onto your real hardware, configure as desired and enable promiscuous mode on a vSwitch:</p>
<p><img class="alignnone size-full wp-image-1093" title="vswitch0 promiscuous mode" src="http://www.vcritical.com/wp-content/uploads/2009/05/vswitch0_promisc.png" alt="vswitch0 promisc" width="456" height="231" /></p>
<p>Create a new VM with the following guidance (choose &#8220;Custom&#8221;):</p>
<ul>
<li>Virtual Machine Version 7</li>
<li> Guest OS: Linux / Red Hat Enterprise Linux 5 (64-bit)</li>
<li> 2 VCPUs, 2GB RAM</li>
<li> 2 NICs &#8211; e1000</li>
<li> LSI Logic Parallel</li>
<li> New disk &#8211; reasonable size <strong>greater than 10GB for ESX classic</strong></li>
</ul>
<p>After you have the VM ready, simply attach a VMware ESX 4 ISO image, power on, and install ESX as a guest OS.</p>
<p><img class="alignnone size-full wp-image-1096" title="Virtual ESX 4" src="http://www.vcritical.com/wp-content/uploads/2009/05/esx_booted_in_vm.png" alt="Virtual ESX 4" width="474" height="397" /></p>
<p>After installation, add the new virtual ESX to vCenter 4 and create a new VM.</p>
<p><a href="http://www.vcritical.com/wp-content/uploads/2009/05/vsphere_client_virtual_esx.png"><img class="size-medium wp-image-1097 alignnone" title="vSphere Client with virtual ESX" src="http://www.vcritical.com/wp-content/uploads/2009/05/vsphere_client_virtual_esx-300x225.png" alt="vSphere Client with virtual ESX" width="300" height="225" /></a></p>
<p>If you do not need to run VMs on your virtual ESX, you can stop there.  However, if you try to power on that nested VM, you will see the following error:</p>
<p><img class="alignnone size-full wp-image-1094" title="You maynot power on a virtual machine inside a VM." src="http://www.vcritical.com/wp-content/uploads/2009/05/you_may_not.png" alt="You maynot power on a virtual machine inside a VM." width="362" height="126" /></p>
<p>To prevent this, just one tweak is needed:</p>
<ul>
<li>Shut down the virtual ESX VM</li>
<li> Click Edit Settings</li>
<li> Click the Options tab</li>
<li> Click Advanced / General / Configuration Parameters&#8230;</li>
<li> Click Add Row</li>
<li> For the Name/Value enter: <strong>monitor_control.restrict_backdoor / TRUE</strong></li>
</ul>
<p><a href="http://www.vcritical.com/wp-content/uploads/2009/05/monitor_control.png"><img class="alignnone size-medium wp-image-1095" title="Editing VM configuration." src="http://www.vcritical.com/wp-content/uploads/2009/05/monitor_control-300x265.png" alt="Editing VM configuration." width="300" height="265" /></a></p>
<p><em>The above procedure is just an alternative to hand-editing the .vmx file &#8212; if you prefer to do it that way, feel free.</em></p>
<p>Now you are ready to power your virtual ESX VM back on, as well as the nested VMs.  This capability should come in handy as you start investigating the new features of vSphere 4.</p>
<p><strong>UPDATE</strong>:  In order to <a href="http://www.vcritical.com/2010/02/taking-snapshots-of-vmware-esx-4-running-in-a-vm/">take snapshots of a VM running ESX</a>, a quick configuration change is necessary on the <strong>physical host</strong> .</p>
<p>You may be interested in this related post where a <a href="http://www.vcritical.com/2009/05/vmotion-from-physical-esx-4-to-virtual-esx-4/">VM is migrated between the physical and virtual ESX hosts</a>.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2011/07/vmware-vsphere-can-virtualize-itself/' rel='bookmark' title='VMware vSphere can virtualize itself + 64-bit nested guests'>VMware vSphere can virtualize itself + 64-bit nested guests</a></li>
<li><a href='http://www.vcritical.com/2009/05/vmotion-from-physical-esx-4-to-virtual-esx-4/' rel='bookmark' title='VMotion from physical ESX 4 to virtual ESX 4'>VMotion from physical ESX 4 to virtual ESX 4</a></li>
<li><a href='http://www.vcritical.com/2010/02/taking-snapshots-of-vmware-esx-4-running-in-a-vm/' rel='bookmark' title='Taking snapshots of VMware ESX 4 running in a VM'>Taking snapshots of VMware ESX 4 running in a VM</a></li>
<li><a href='http://www.vcritical.com/2009/08/if-vmware-esxi-4-is-so-small-why-is-it-so-big/' rel='bookmark' title='If VMware ESXi 4 is so small, why is it so big?'>If VMware ESXi 4 is so small, why is it so big?</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/#respond">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/esx/" rel="tag">ESX</a>, <a href="http://www.vcritical.com/tag/installation/" rel="tag">installation</a>, <a href="http://www.vcritical.com/tag/technical/" rel="tag">Technical</a>, <a href="http://www.vcritical.com/tag/vsphere/" rel="tag">vSphere</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/">VMware ESX 4 can even virtualize itself</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2009 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/feed/</wfw:commentRss>
		<slash:comments>154</slash:comments>
		</item>
	</channel>
</rss>

