<?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>Fri, 10 Sep 2010 17:31:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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='Permanent Link: 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='Permanent Link: 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='Permanent Link: 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='Permanent Link: 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>]]></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>15</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 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='Permanent Link: VMware vCenter Server 4.0 installation video'>VMware vCenter Server 4.0 installation video</a></li>
<li><a href='http://www.vcritical.com/2009/02/installing-vcenter-on-linux-technical-preview/' rel='bookmark' title='Permanent Link: 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='Permanent Link: Red Hat Enterprise Linux is not Enterprise Virtualization'>Red Hat Enterprise Linux is not Enterprise Virtualization</a></li>
<li><a href='http://www.vcritical.com/2009/04/vmware-vcenter-server-4-task-and-event-retention/' rel='bookmark' title='Permanent Link: VMware vCenter Server 4 task and event retention'>VMware vCenter Server 4 task and event retention</a></li>
</ol></p>]]></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 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" />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/2009/05/vmotion-from-physical-esx-4-to-virtual-esx-4/' rel='bookmark' title='Permanent Link: 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='Permanent Link: 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/2010/05/idle-rhev-hypervisors-save-power/' rel='bookmark' title='Permanent Link: Idle RHEV Hypervisors save power?'>Idle RHEV Hypervisors save power?</a></li>
<li><a href='http://www.vcritical.com/2009/05/pentacore-cpus-in-vmware-esx-4/' rel='bookmark' title='Permanent Link: Pentacore CPUs in VMware ESX 4'>Pentacore CPUs in VMware ESX 4</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/feed/</wfw:commentRss>
		<slash:comments>102</slash:comments>
		</item>
	</channel>
</rss>
