<?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>HYPERVIZOR &#187; vesx</title>
	<atom:link href="http://www.hypervizor.com/tag/vesx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hypervizor.com</link>
	<description>From The Core To The Cloud</description>
	<lastBuildDate>Fri, 25 Nov 2011 02:07:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>vSphere In A Box: Part(2): Putting the pieces all together</title>
		<link>http://www.hypervizor.com/2009/07/vsphere-in-a-box-part2-putting-the-pieces-all-together/</link>
		<comments>http://www.hypervizor.com/2009/07/vsphere-in-a-box-part2-putting-the-pieces-all-together/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 16:15:35 +0000</pubDate>
		<dc:creator>Hany Michael</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[vesx]]></category>
		<category><![CDATA[x3650]]></category>

		<guid isPermaLink="false">http://www.hypervizor.com/?p=546</guid>
		<description><![CDATA[The response to my previous post has been unreal! The amount of tweets, ping backs, hits, linking, emails was quite amazing. I have to admit, I didn&#8217;t expect to see that much of interest in the subject, but thanks to everyone who participated in promoting this idea on twitter and the blogosphere. In the second [...]]]></description>
			<content:encoded><![CDATA[<p>The response to <a href="http://www.hypervizor.com/2009/07/vsphere-in-a-box-a-virtual-private-cloud-blueprint/">my previous post</a> has been unreal! The amount of tweets, ping backs, hits, linking, emails was quite amazing. I have to admit, I didn&#8217;t expect to see that much of interest in the subject, but thanks to everyone who participated in promoting this idea on twitter and the blogosphere.</p>
<p>In the second part of this series we will spice things up a bit and explore through the following video many aspects of the idea we&#8217;ve talked about. Following to that an important screenshots and some considerations you should be aware of before and after implementing this in your lab.</p>
<p><strong>What you&#8217;ll see in this video:<br />
</strong>1- Deploy a thin-provisioned vESX(i) VM from a template.<br />
2- Check the required configuration parameter on the vESX to run nested VMs.<br />
3- Customizing the new vESX server (assign password, set a static IP, put the DNS config ..etc)<br />
4- Add the vESX to an existing HA Cluster.<br />
5- Test the vMotion within the same cluster and across deferent clusters in the datacenter.<br />
6- Add the required configuration parameter on the nested VM for enabling the FT.<br />
7- Enable the FT and test the failover across deferent vESX servers.</p>
<p><center><a href="http://www.hypervizor.com/videos/vs4-in-a-box/index.html"><img src="http://www.hypervizor.com/wp-content/uploads/2009/07/vsphere4-inabox-video-thumb.jpg" border="0" alt="" /></a></center></p>
<p> </p>
<p><strong>A Quick note on the hardware used:<br />
</strong>Technically speaking, only one server can be used in this whole setup. What is deferent in my setup (as you saw <a href="http://www.hypervizor.com/diags/HyperViZor-Diags-vSphere-in-a-box-v1-1.pdf">in the diagram</a>) is that I use an external iSCSI array (the CLARiiON AX4) for hosting the vESX VMs. I just needed the flexibility to have them on an external storage to share them later on with other servers, but it is not a requirement. You can simply use the internal storage of the pESX server to host your vESX and you will still have everything you see in the video. As far as the shared storage for the vESX servers is concerned, you can use the Celerra VSA. In my case I use the Celerra only for the SRM labs to do the replication trick. Other than that, I use the OpenFiler as my shared storage for the nested VMs.</p>
<p> </p>
<p><strong>Two things to be set on the pESX hosts:</strong><br />
1 &#8211; Increase the number of ports on your pESX vSwitch to accommodate the increased number of connections required by your vESX VMs.<br />
<img src="http://www.hypervizor.com/wp-content/uploads/2009/07/pesx-ports.png" alt="" /><br />
2 &#8211; Enable the &#8220;Promiscuous Mode&#8221; on the vSpwitch<br />
<img src="http://www.hypervizor.com/wp-content/uploads/2009/07/071109-1609-vsphereinab3.png" alt="" /></p>
<p> </p>
<p><strong>The configuration parameters on the Virtual Machines are as follows:<br />
1 – The virtual ESX (vESX) host: monitor_control.restrict_backdoor = TRUE<br />
<img src="http://www.hypervizor.com/wp-content/uploads/2009/07/071109-1609-vsphereinab4.png" alt="" /><br />
</strong></p>
<p><strong>2 – The nested VM: replay.allowBTOnly = TRUE<br />
<img src="http://www.hypervizor.com/wp-content/uploads/2009/07/071109-1609-vsphereinab5.png" alt="" /><br />
</strong></p>
<p> </p>
<p><strong>The iSCSI vSwitch on the pESX host bound to vmnic1 (phisical NIC 2) and connected to the EMC CLARiiON AX4 iSCSI array<br />
<img src="http://www.hypervizor.com/wp-content/uploads/2009/07/071109-1609-vsphereinab6.png" alt="" /></strong></p>
<p> </p>
<p><strong>The vMotion internal vSwitch on the pESX host<br />
<img src="http://www.hypervizor.com/wp-content/uploads/2009/07/071109-1609-vsphereinab7.png" alt="" /></strong></p>
<p><strong>The Fault Tolerance internal vSwitch on the pESX host<br />
<img src="http://www.hypervizor.com/wp-content/uploads/2009/07/071109-1609-vsphereinab8.png" alt="" /><br />
</strong></p>
<p><strong>The thin-provisioned ESX(i) size on disk (475MB) + the memory swap:<br />
<img src="http://www.hypervizor.com/wp-content/uploads/2009/07/071109-1609-vsphereinab9.gif" alt="" /><br />
</strong></p>
<p><strong>The thin-provisioned ESX(i) size on disk(3.5GB) + the memory swap:<br />
<img src="http://www.hypervizor.com/wp-content/uploads/2009/07/071109-1609-vsphereinab10.gif" alt="" /></strong><br />
<strong><br />
</strong></p>
<p><strong>Other considerations and GOTCHAs:<br />
</strong>1 &#8211; When enabling the FT, make sure you have your VMs powered off, even if they have eager zeroed disks, I used to get some errors when the VMs were powered on while enabling FT.</p>
<p>2 &#8211; Sometimes the network card order and numbering could be confusing. For example, in the vESX VM, you will have the NICs order starting from 1 to 10, but in the actual vESX network configuration tab, you will find the NICs starting from 0 and counting towards 9. This could be confusing when mapping your vnics to the pESX host vSwitches, like the VMotion internal switch, the FT internal switch and so forth. Just make sure you count the nics order accurately.</p>
<p>3 &#8211; Deploying vESX from templates may be cool and fast, but it could a bit challenging sometime in troubleshooting the network related issues. The reason behind that is the fact that all the network cards will have the same MAC address, or worst, the Port Groups like (VMotion) could have the same MAC address even if you completely remove the vnics and created brand new ones. The work around for that is to create the vESX template, and then remove all the NICs form it. When you deploy a new vESX, you can just add the new nics as you like, and by that you&#8217;ll have a new MAC addresses. Beside that, you may need to add a new VMkernel network for the VMotion, and then remove the old one. Of course you may be thinking that deploying a brand new vESX would be easier, you are right, but with the scripting everything could be automated. I will try to write a PS script to automate this network changes/settings and post it here later on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervizor.com/2009/07/vsphere-in-a-box-part2-putting-the-pieces-all-together/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>vSphere in a Box: A “Virtual Private Cloud” Blueprint</title>
		<link>http://www.hypervizor.com/2009/07/vsphere-in-a-box-a-virtual-private-cloud-blueprint/</link>
		<comments>http://www.hypervizor.com/2009/07/vsphere-in-a-box-a-virtual-private-cloud-blueprint/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 11:35:44 +0000</pubDate>
		<dc:creator>Hany Michael</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[vesx]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.hypervizor.com/?p=521</guid>
		<description><![CDATA[If you are a busy techie like myself, and do not have the time to scratch your head, you can have a quick glance on the following diagram and wait for the next blog post. But if you read on, I promise that this article will inspire you in a way or another. First off, [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a busy techie like myself, and do not have the time to scratch your head, you can have a quick glance on the following diagram and wait for the next blog post. But if you read on, I promise that this article will inspire you in a way or another.</p>
<p><center><a href="http://www.hypervizor.com/diags/HyperViZor-Diags-vSphere-in-a-box-v1-1.pdf"><img src="http://www.hypervizor.com/imgs/vCenterLab-thumbv11.gif" border="0" alt="" /></a></center></p>
<p>First off, I take no credit for the basic technical information of running an ESX inside itself. This information has been floating around on the V12n blogosphere and VMTN forums for quite some time now, but no one, as far as I know, has gathered them in one place to put together the missing pieces, and most importantly, illustrated why you should consider doing this at the first place. My main objective from this article(s) is to open your eyes for some cool ideas that you can try in your labs instead of using the traditional physical ESX hosts, or even ESX in VMware WorkStation.</p>
<p><strong>A quick background:</strong><br />
The idea of running virtual ESX servers on top of a physical ESX host has been consuming a lot of my time and research lately. Unfortunately I was doing all these tests and trials on ESX 3.5, and later on I came to know that a special build needed to be used in order to do that. The time passed, and the vSphere came out with all its mind-blowing features and capabilities, but a few of us paid a close attention to the fact that ESX 4.0 came packed and ready to be virtualized inside itself. Eric Gray from VMware broke the news with his <a href="http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/">great article</a> on VCritical.com, and a week later another cool guy named Itzik Reich, on Chad Sakac&#8217;s <a href="http://virtualgeek.typepad.com/virtual_geek/2009/05/using-vsphere-and-hw-offload-for-improved-celerra-vsa-performance.html">blog</a>, described how FT can be enabled on a virtual ESX (vESX). Great Stuff!</p>
<p><strong>Think out of the box!<br />
</strong>Every single time I ask someone about virtualizing ESX inside itself, I always get the same exact question: &#8220;Why would you want to do something crazy like that?!&#8221; I even remember during my VMware VI3 class I asked the instructor about it, and his answer was: &#8220;it&#8217;s so unsupported&#8221;, who&#8217;s talking about support now, and why should I bother if I will never, ever, run something like that in production?! That being said, let&#8217;s think out of the box for a minute.</p>
<p>Ask yourself the following:</p>
<ul>
<li>How long it takes to deploy a classic ESX on a physical host using the traditional way?</li>
<li>Do I have enough server recourses for building a VMware lab?</li>
<li>Are my servers up-to-date with the latest CPU technologies in order to test things like FT?</li>
<li>Do I have enough network resources (switch ports, cables ..etc) to allocate 10 network connections for each ESX servers? Is there any blade server that can have 10 Ethernet ports at the first place?</li>
<li>Do I have the required storage for building, let&#8217;s say, 10 classic ESX servers to boot them from the SAN?</li>
<li>Am I willing to do an aggressive power off for my physical ESX servers just to test the HA mechanism, and its advanced options, to simulate a real life server failure?</li>
</ul>
<p>If you found the above a bit challenging, you are in the right place. If you don&#8217;t, you are still in the right place. I told you, think out of the box.</p>
<p>I consider myself lucky enough to have all the resources available for me in my current work environment. When I ask for hardware resources or software licenses I simply get them. Right now I have more than 10 dedicated blades in my lab running deferent ESX flavors and versions. In fact, in our new hardware refresh I will have a brand new set of high specs blades and storage dedicated specifically for the VMware R&amp;D.</p>
<p>What is the deal then?</p>
<p><strong>I need to build a complete private cloud!</strong> I need to have everything starting from ESX clusters to dvSwitches, Cisco NX1Vs, virtual appliances, VMsafe based solutions, and last but not least, a working SRM installation between two virtual DCs. I need to have the complete feel of this so-called &#8220;private cloud&#8221; before I even start an actual PoC, which will be way complicated &amp; a bit challenging in the physical world. I need to go to the management with diagrams and videos and tell them why we need to be 100% virtualized, and why we should start planning for that. Show them where we are headed, and how our IT environment and <strong>datacenters</strong> will look like one year from now.</p>
<p><img src="http://www.hypervizor.com/wp-content/uploads/2009/07/070609-0444-vsphereinab22.gif" alt="" /></p>
<p> </p>
<p><strong>Put your ideas back in &#8220;the box&#8221;<br />
</strong>Enough dreaming, the reality is actually one step away. Believe it or not, all what you need is a single server with a reasonable memory and that&#8217;s all. But I won&#8217;t go into the technical details today, let&#8217;s see what ideas we may think of now:</p>
<ol>
<li><strong>Thin-provision your ESX hosts</strong>! Yes, all my fat classic ESX hosts are now thin-provisioned, this means I can deploy a 40GB HDD for the ESX, but actually consume less than 3.5GB only!</li>
<li><strong>1 Minute fast deployment!</strong> I can now deploy new ESX servers in a matter of seconds from pre-built templates (with special considerations we&#8217;ll talk about later).</li>
<li><strong>No network limitations!</strong> A 10 NICs on an ESX server is not something you can test every day.</li>
<li><strong>SRM in a Box!</strong> Now with the coming SRM 2.0 and the ESX 4.0 memory restrictions, it&#8217;s going to be extremely hard to maintain the bare minimum of two ESX hosts, nested VM and two VSAs replication on a laptop with 4GB.</li>
<li><strong>I&#8217;m online 24/7, and still mobile!</strong> Yes, I&#8217;m no longer running my virtual ESX servers on a laptop, I have them online and under my mouse clicks whenever required. VPN into your Lab or even use your BlackBerry/vCMA on the GO! No more shutdowns, memory restrictions or space issues.</li>
<li><strong>Migrate your labs or even share them! </strong>One of the very painful situations I went through lately was shifting my physical ESX lab from one of our datacenters to another. If I had my vESX hosts at that time all what I needed to do is to take them on an external USB disk, or even copy them over the WAN and I&#8217;m done.<strong><br />
</strong></li>
<li><strong>VMware (YES, THE COMPANY): </strong>I still see a great potential of implementing the idea that I proposed sometime back (<a href="http://www.hypervizor.com/2009/05/vmware-on-demand-and-online-labs-pocs-you-wish/">the on-demand labs</a>). You see here that with this simple setup we can test almost everything in vSphere like HA, DRS, VMotion and even FT &amp; SRM! I really hope that VMware is already working on something like that or at least someone will take the initiative to put this idea in action someday.<strong><br />
</strong></li>
</ol>
<p><strong>What&#8217;s next?<br />
</strong>So let&#8217;s say we&#8217;ve built this &#8220;virtual private cloud&#8221;, will that be it? The answer is No. It is actually the beginning in my opinion. There are so many other cool ideas that I can&#8217;t get off my head. For example, I can build another/deferent private cloud and start exploring this whole &#8220;cloud computing&#8221; thing. I can test and develop new approaches for VMotion&#8217;ing workloads across two deferent sites. Remember, you have a huge flexibility and control over your &#8220;clouds&#8221;, and most importantly, you are not afraid to screw up anything since you can rebuild your elements quite easily, and almost instantly (snapshots/backups/templates and so forth)<strong><br />
</strong></p>
<p>In the next blog post I will get more technical and list the details of my current setup which I illustrated in the diagram above. In the addition to that, I will explore the planned developments for building the complete &#8220;VPC&#8221;. May be also we can start thinking of automating and managing individual labs using the new and long awaited Lab Manager 4.0, expected sometime this month.</p>
<p><a href="http://www.hypervizor.com/imgs/vCenterLab.gif"><img src="http://www.hypervizor.com/wp-content/uploads/2009/07/070609-0444-vsphereinab32.gif" border="0" alt="" /></a><br />
<span style="font-size:7pt"><strong>Teaser: A vCenter screenshot showing the 10 NICs and their configuration on one of the vESX servers.</strong></span></p>
<p><strong>Note:</strong> If you are as much excited about this idea as I am, and can&#8217;t wait for my next post (maybe I will close the blog and change my career, who knows?) you can visit these links to get you up to speed with the setup:</p>
<ul>
<li>Eric Gray&#8217;s <a href="http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/">post</a> that unleashed the beast of the vESX.</li>
<li>Itzik Reich&#8217;s <a href="http://virtualgeek.typepad.com/virtual_geek/2009/05/using-vsphere-and-hw-offload-for-improved-celerra-vsa-performance.html?cid=6a00e552e53bd2883301156fb86c38970c">reply</a> in Chad&#8217;s blog, containing the FT configuration parameter on the nested VM.</li>
<li>Maish Saidel-Keesing has two excellent posts <a href="http://technodrone.blogspot.com/2009/06/esx-40-running-vsphere-lab-part-1.html">Part 1</a> &amp; <a href="http://technodrone.blogspot.com/2009/06/esx-40-running-vsphere-lab-part-2.html">2</a> for a similar lab setup.</li>
</ul>
<p><BR></p>
<blockquote><p> <br />
<strong><a href="http://www.mikedipetrillo.com/" target="_blank">Mike DiPetrillo</a>&#8216;s response (in case you missed it in the replies below)</strong></p>
<p>Actually, VMware has been doing a lot of this. Why do you think all of the stuff was put into the builds to run nested ESX in the first place? VMware SEs have been running nested VMs for a long time on their laptops using Workstation or VMware Fusion.</p>
<p>VMware also has an internal environment called vSEL that runs nearly all of the products in a nested environment. vSEL (the virtual SE Lab) let’s our tech resources in the field deploy and learn our applications as well as do demos and training with customers and partners. This “cloud” services over 1,200 tech people today inside of VMware. This is being expanded to let our development teams use it for development.</p>
<p>VMware is now working with several service providers around the world to let people request and run ESX environments virtually in the cloud &#8211; either for doing trials of the software or for doing actual deployments.</p>
<p>Lastly, there’s a new cloud service being built that will run nested VMware products to service all of the hands on labs for VMworld. Make sure to make it out to VMworld to get some hands on experience with VMware’s implementation of this environment.</p>
<p>Definitely a good picture and thanks for getting the word out. Just wanted to let you know that VMware has been doing this for years and has several different clouds built with this already.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervizor.com/2009/07/vsphere-in-a-box-a-virtual-private-cloud-blueprint/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

