You are on page 1of 53

How to setup VMware vSphere Lab in VMware Workstation ?

This e-book is destined to every VMware fan and/or IT professional and enthousiast. This Free E-book describes the setup of Portable Lab to run nested ESXi 5 servers with nested VMs, shared storage, virtual networking etc This is no mean to be a perfect, without errors, guide. But its a guide which is available for Free, as is. This is a detailed, step-by-step guide. There arent many around. Ill try to update this e-book as the products will evolve. Almost everyone has one powerful machine, PC, at home to work with, but not everyone can afford to buy 2 whiteboxes or small servers PLUS a NAS box which does shared hosting. And then you still need 4th box to access all this. You can see an XP virtual machine being protected by Fault Tolerance. This VM is running inside of a virtualized (nested) ESXi 5 host. Youll be able to test vMotion and High Availability as well. Those are the entreprise class features of VMware vSphere. While people run mostly their physical labs at home with whiteboxes, real servers, real NAS and/or SAN boxes, there is still place for a lab designed to run in VMware Workstation. An ultimate VMware vSphere lab running in VMware Workstation with nested ESXi servers and few cloned VMs. Thats quite a challenge to design it and built it. Sure, physical lab gets better performance, but portable lab is portable. You can take it with you while traveling, while on the boat, or train.. -. There are several possibilities for the design, especially for shared storage where the nested VMs live (the second level nested VMs). I will try to save as much on the storage space here. There are many different ways on how to design that part also. To make it easier to build, not many guides are available which walks you step-by-step, especially when it comes to the network design and also to get the best available tweaks to save every single gigabit of storage, since this solution must obviously run on SSD storage. This SSDs are still expensive so we will need to save every Megabyte on that.

Chapter: How to setup VMware vSphere Lab in VMware Workstation ?

What do you need to get started?


Not much, a PC (or laptop) with minimum 8 gigs of RAM. Its the bare minimum, and its not a big deal, even for laptop users now, since 8 Gb kit costs around 40. I upgraded my new portable working gear recently with 8gigs of RAM recently New Working (blogging) gear has arrived. And Im using this laptop to write down this setup in this little e-book. Usually the laptop comes with Windows 7 as a system, which is fine. I highly recommend using a SSD drive where the VMs will be stored. If you have a laptop with classic 2.5 5400 RPM drive, youll need to upgrade that to a SSD otherwise it will be slow, very slow you wont regret. Since the SSDs are still pricey, Ill try to guide you with setups which consume least space possible on the SSD. As a second youll need VMware Workstation 8 software. If youre not vExpert or VCP (those people get this software usually Free of charge) you can download free trial or buy it from VMware Website here. Believe me, you wont regret of this investment. The latest Workstation 8 has completely changed the way of working, since the new features permits to use sharing of VMs across your LAN, direct connection to ESX/ESXi hosts and many more. You can have a look at my article on the latest new features of VMware Workstation here - VMware Workstation 8 new features detailed 30 Days Trial Vmware Workstation 8 . You might be interested in Academic discounts. VMware Workstation 8.0.1 Academic For Faculty Staff, Students and Teachers. Or you might want to check out my website where regularly I post the Discount Codes on Workstation and Fusion (MAC). You can find it at www.vladan.fr/coupons or a full category with latest blog posts www.vladan.fr/category/promo .

Youll need to download the latest vSphere 5 ISOs and also youll need Microsofts 2008R2SP1 ISO. Some client OS as well, XP or Win 7.. I suppose that you would use the VMware 60 days trial, since there is no VMware Tech Subscription Available. Not yet at this moment. Chapter: What do you need to get started? I suppose that you know your way, but for this guide is for everyone the newbies included so here are the URLs: VMware: VMware Trials 60 days trial on VMwares website. Microsoft: Microsoft Trials there are 180 days trials there available for download. Sometimes you can find some coupon codes for MSDN subscription on http://blogs.msdn.com/ I will walks you through all the necessary steps in order to prepare your virtual network environment, your VMs in VMware Workstation, The shared storage..so youll be able to test the enterprise features provided by VMware vSphere 5. Features like vMotion, High Availability (which permits automatic restart of VMs in case of physical host failure), Fault tolerance or DRS all this is possible to configure run on this system.

In order to be able to simulate this with nested hypervisors, a network design must be done in VMware workstation to permit this. The second challenge will be the storage space, since the SSDs are expensive and dont provide enough storage. I will leverage the linked clones feature of VMware Workstation. This feature will allows us to create one base image and each new VM will be created as a linked clone from this base image. Like this only the delta of the base image will be used for the creation of those VMs.

The network design of vSphere lab in VMware Workstation.


One of the biggest challenges for newcomers is the network design. In fact its not that difficult but when dealing with nested ESXi host, you must deal with nested networks as well. In this guide you will be able to learn step by steps to setup all the networks necessary to activate and run the different VMware vSphere enterprise class features (vMotion, FT, HA) To start the network design well be using the Virtual Network editor which is bundled with the VMware Workstation software. You can also use the trial of VMware Workstation, and then when the trial expires you can stick with VMware Player, which is free. Like this you can keep access to the Virtual Network Editor after the expiration. If you install just the VMware player, the Virtual network editor is not bundled. The shortcut to the small exe file is the through the following path: "C:\Program Files (x86)\VMware\VMware Workstation\vmnetcfg.exe" or there is also an icon in the start menu. After starting the Virtual Network Editor, the default networks are present there. I know from my own experience, that it can be confusing when you just starting with virtualization and you start to find your way through the different layers. If you want to write down on a piece of paper the default networks, you can. So lets add some networks. Click the ADD Network button and Add VMnet2 as a network. Setup the options as on the screenshot below.

The solution is designed to use isolated networks. So all the VMs (the nested ESXi hypervizors, the vCenter VM and the DC VM will run in a Sandbox. This is because I dont want to interfere with other VMs or

Chapter: The network design of vSphere lab in VMware Workstation.

services if my laptop is plugged-in to the LAN. You can easily override that by using the Bridged option. In that case all the VMs will be visible outside of your PC or Laptop

The networks in Excel spreadsheet.

There are several possibilities to design a network for ESXi hosts. The limitation of VMware Workstation is 10 vNICs, but dont worry, we will not use all this as a NICs.. Well use 6 NICs, but that does not mean that this is the only possible design. There are designs for each different situations, so its really depends. I choose this setup to show you the major features of vSphere with least possible hardware.. Now, before we go further with the network setup, you might want to have a look at the chapter called Installation of Nested ESXi hosts. And then come back here. Go and select the ESXi host where you want to add more NICs > Edit Virtual Machine settings.

Chapter: The network design of vSphere lab in VMware Workstation.

Configure 6 NICs for that VM. Add one by one those virtual NIC cards to the nested ESXi host. Those virtual NIC cards configured here will appear in the t

Do that for both ESXi hosts. Then you can boot them up. In the next chapter we will create and install vCenter VM, create cluster and add both hosts into that cluster. Only then we can finalize the network configuration for those nested ESXi hosts. Here is the recap: Those are the virtual networks adapters added in VMware Workstation associated to VMnic virtual network cards in Nested ESXi hosts.

Chapter: The network design of vSphere lab in VMware Workstation.

Preparation of Windows templates


First when I usually install VMware Workstation on a new computer, I define the working directory. You can have several drives in your desktop/laptop PS and one of them is usually used to store the VMDK files which are the Virtual Disks files. In my laptop I do have only one SSD drive and I will specify the c:\VMs directory as my working directory.

This helps us save some time, since every time youll start an assistant and would like to create new VM, the default location for your VMs will be defined as is and not in My Document\MyVms as e default location. Now well start to create a template for Windows 2008R2SP1. I downloaded the iso of Win 2008R2 with the SP1 already slipstreamed in it.

In the radio button selection choose custom

On the next screen navigate to the Windows ISO image which you have downloaded from Microsofts website.

Chapter: Preparation of Windows templates

Choose to install the OS later, since well need to personalize the virtual hardware of this VM first.

Note: When choosing between those different OSes, it permits afterwards to install the correct version of VMware Tools. The correct ISO will get mounted when the installation of VMware tools will be invoked. We choose Microsoft Windows and as a family the Windows Server 2008R2 x64.

Name it some convenient way Chapter: Preparation of Windows templates

Choose one CPU, you can change that later when working with linked clones.

The same for memory. I accepted the default value. If you get a warning, just click cancel.

Concerning the network, choose not to connect for now, since well be able to choose the network Afterwards when well be working with linked clones.

Default accepted..

iSCSI is the default value. Its also the more performant, since IDE was usually used for older systems, like WinXP

Chapter: Preparation of Windows templates

Concerning the disk capacity, we can stick with the default value. The thin provisioning will be used, with single file creation. The Allocate all disk space now option will not be selected. This option will use thin provisioned disk and so even when the Operating system will see 40 Gigs, the real size of the VMDK file will be just a little over 7 Gigs but wait to see it by your own. Single file, otherwise we will have multiple files with 2 gigs in size.

The disk file name has the name of the VM by default. No reason to change that. The default location is in

the same folder as the other files which are used by this VM. Now, click on the customize hardware button to have the possibility to personalize this Template.

Chapter: Preparation of Windows templates

Here we can take off all this hardware, its not necessary for our purpose. Make this VM as light as possible.

Add a network adapter and connect it to VMnet5, which is our network which is isolated network. You should end up with non-running VM with this hardware:

1 0

Chapter: Preparation of Windows templates

Before you power ON the VM, dont forget to go and verify that the ISO image of the Windows 2008R2SP1 is connected to the VM otherwise the installation process wont start. (youll see that the VM will try to boot from network..

Next, you can power-On this VM by clicking the green triangle in the Top left corner. You should see the VM booting and showing you the Windows server 2008 default installation screen.

You can go ahead and choose a language, keyboard language and Time and currency format.

Click on the Install Now button and choose the Windows Server 2008 R2 Standard (full installation). If you choose the Datacenter or Enterprise, it will work. You might have more features present in your VM, but the image might be larger than the Standard version. And our goal is to design this solution to run it on modest SSD drive which is often only with like 40 Gigs of space Chapter: Preparation of Windows templates

Next, accept the license of Microsoft and go ahead click next

1 1

Choose the Custom (Advanced) installation.

Here you go have a coffee now, because it will take some time to decompress and install the system.

1 2

Chapter: Preparation of Windows templates

When installation is finished, at first prompt youll be asked to change your default password. Pick a strong password with at least one capital letter and some numbers. Then, if you mouse get stuck inside of the VMs window use CRTL + Alt as a shortcut to get out of the window and free your mouse Install VMware Tools and reboot the VM.

Note: You can launch the VMware tools installation process from the menu

1 3

Chapter: Preparation of Windows templates

The installation of VMware Tools is necessary step since it will install all the necessary drivers for your VM (Display, network, hard drive. Etc.)

Take the Typical option and reboot the VM after the VMware tools complete.

1 4

Chapter: Preparation of Windows templates

You can disconnect the ISO of Windows Server 2008R2 now. We will not need it any more. After the VM restarts, well install some additional role components But first, well deactivate some annoying Internet Explorer Features

And then we can proceed with adding .NET component which well be using later..

Take only the sub component .NET Framework 3.5.1, since if you choose the whole feature youll get prompted to install IIS. Well, we dont really need IIS and remember, we saving as much space as possible

1 5

Chapter: Preparation of Windows templates

If we dont install the latest updates from Microsoft, we can keep the base image with about 7 Gigs of size.

1 6

Chapter: Preparation of Windows templates

Stop the VM and look at the size of the VMDK files..

This is pretty good, since from now on well use only delta files which will use as a base this VMDK file image. Now we only need to sysprep the VM and Turn it into Template.

Do a sysprep and shut down the VM.

1 7

Chapter: Preparation of Windows templates

By doing a sysprep, the next time we will do a linked clone and start the clone, the VM get its new identifier, new nebtios name, etc etc.. and well not have a trouble with dealing with double SIDs. Unique
SIDs are required for domain controllers anyway. Now when the sysprep operation has finished, the vm has been automatically stopped. We need to create a template.

To make this template a real Template you need to check in the VM properties the Enable Template Mode

The template is now secured with a special protection. You cant for example delete the VM by going to the menu VM > Manage > Delete from disk.

1 8

Chapter: Preparation of Windows templates

Name the template to fit your needs. You can put the date of creation and your own comments if you need to

Creating of Domain Controler VM


This VM will be not only our domain controller, but will also do a DNS resolution for our small virtual labDNS resolution is a necessary.

1 9

Chapter: Creating of Domain Controler VM

2 0

Chapter: Creating of Domain Controler VM

Then, if you know your way on how to properly create a first AD server, just skip to another chapter. For anybody else just read on We need to rename this machine and start the dcpromo. First lets rename this machine to DC. Right click on Computer > Properties > Advanced system settings > Advanced TAB

After reboot well go and give to our VM Fixed IP first We put our VM onto isolated network Vmnet5. Give that VM the IP adress 10.10.2.4/24 (mask: 255.255.255.0). If not already the case, just go to the menu, choose VM > properties > select the network adapter and from the drop down menu choose VMnet2.

2 1

Chapter: Creating of Domain Controler VM

Like this the VM wont go outside of the isolated network and wont interfere with any real servers on the LAN. The next step would be to promote this VM to do our domain controller, DNS and DHCP server.

The AD config is straightforward. Im not commenting much those steps since you certainly done that thousand times. -

2 2

Chapter: Creating of Domain Controler VM

2 3

Chapter: Creating of Domain Controler VM

Look at the size of the size of the linked-clone VM.. - 746Mb only thats the power of linked clones. It uses the base image and creates only the deltas which are different. The deltas represent all the configuration changes and AD, DNS, DHCP roles that we added. I think that I dont have to mention that this configuration is completely unsupported to run in production environments. If something goes wrong to the base template image, all your linked-clones will dies.because there .. linked -.

Installation of Nested ESXi hosts


The installation of nested ESXi hosts inside of VMware Workstation is a snap now. The evolution of VMware Workstation since the version 7 does magic. There is no more necessary to modify the VMX files (config files). The option of installing ESX/ESXi host came out directly when starting the new VM assistant. The model of VM is already there. You can watch a quick video I created: http://www.vladan.fr/installation-of-vmware-esxi-5-inside-ofvmware-workstation-8/

A virtual lab is also very flexible and can be easily be suspended while running in VMware Workstation. The only condition is to have speedy hard drive. And while were here, if youre planning to run some lab on a desktop, no need to setup the SSD drive as a bootable drive, since the OS files consumes quite a lot of space. I would recommend placing the SSD drive as a secondary drive. So lets go ahead and lets get started with the installation. When choosing the new VM, select the Hardware 8 version, one single hard drive (default 40 gigs is fine it will be thin provisioned). Accept the default SCSI controller, and before powering On the VM configure the virtual hardware as on the screenshot below. Add 2 virtual NIC cards with the VMnet5 network as a connection. As for the number of CPUs, it depends on your CPU type. If your CPU has 2 or 4 cores, youll configure this setting accordingly.

2 4

Chapter: Installation of Nested ESXi hosts

Then run the ESXi 5 installer. Youll be presented with screenshots like this one.

The Virtual Hard disk drive..

2 5

Chapter: Installation of Nested ESXi hosts

Then, choose the keyboard, root password

Hit the Enter to kick the installation process

The installation is fast. In few minuts youll have the confirmation screenHit Enter to reboot.

After the reboot, hit F2 and log into the console. Youll see screen like this.

2 6

Chapter: Installation of Nested ESXi hosts

We need to configure the IP address, hostname, DNS settings here

You can attach the first 2 NIC cards..

Lets configure the DNS information too

2 7

Chapter: Installation of Nested ESXi hosts

Restart the management network. Hit Yes.

As I said, the installation and configuration of ESXi host is really fast -. Now, you can do the second one. ESXi5-02. When finished, power down both VMs and go to the hardware configuration and Add some more NICs. Well need it in the chapter called Network Design of Nested ESXi servers

The vCenter VM
The vCenter VM will run several services. We must grant more memory to this VM. I think that 2 gigs will be good to start with as the bare minimum, but well see if its enough or not. Note: You have another option for the Windows VMs. There is still the possibility to build the vCenter VM on a Windows 2003 x64 VM which consumes less ressources.. We will use this VM not only for vCenter services but this VM will also assure other services that we will need, like: vCenter SQL express database service (we could also deploy SQL server, but it means another VM which needs storage and memory to run). Since well only run 2 ESXi hosts, and few VMs. the shared storage service. We will use this vCenter server VM as an iSCSI target where we will run our VMs. Like this we dont need another VM which will consume memory and storage space on our SSD drive which is very limited in space.

2 8

Chapter: The vCenter VM

Ok, lets move on with the setup of this VM. First, well do another linked clone, this time for vCenter.

Go to menu VM > Manage > Clone > Existing Snapshot > and choose linked clone

Choose a convenient name. In my case = vCenter The clone process is fast....- Its because its not full copy, but the VM is linked to the master template image. Configure the vCenter VM with fixed IP address as seen in the screenshot. IP address: 10.10.2.3/24 This VM will be joined to the Active Directory lab.local as Member Server. Im not detailing the steps here since I suppose that you know how to do it. Go to the menu VM > Settings > and attach the vCenter Installation ISO which you downloaded from VMware Website as a 60 days trial together with the ESXi Installation ISOs.

2 9

Chapter: The vCenter VM

You can now start the installation process of vCenter. The vCenter installation will install a SQL express 2008 as a database. As I outlined before, a small installations can use the SQL express Database server from Microsoft. The database is limited to 4 gigs of data and so VMware recommends using this DB with maximum of 5 physical hosts. This is sufficient for our small lab and for many SMB installations too. VMware vSphere Essentials and Essentials Plus kits they provide special licensing for vCenter. Its the vCenter Edition oriented for SMBs and its also called vCenter Server Essentials which can manage up to 3 physical hosts. Start the autorun.exe if it does not start automatically and choose the vCenter from the menu

Hit the install button to start the installation process.

3 0

Chapter: The vCenter VM

Accept the certificate warning and

Here you go. You just installed vCenter.

3 1

Chapter: The vCenter VM

Do a right click and create New Datacenter.

Then create New Cluster

3 2

Chapter: The vCenter VM

Add new host

Then accept the certificate warning

Do the same for the second host You should ping both hosts by FQDN as well, not only by IP address. Chapter: The vCenter VM If you experiencing problems here make sure that you have both forward and reverse zones properly created on your DNS server and in both zones you got the records populated as well. If not, create those records.

3 3

Shared Storage
In order to implement most of the cool features from VMware vSphere, like vMotion, HA, the VMs must live on shared storage. If youre new to virtualization I should explain a bit. Shared storage is basically datastore visible from every host of your cluster. When you install a new VM, the destination space of that VM is that shared storage. The VMs hard disk VMDK files are stored there, together with VMX (conf files) and Swap files as well. Every single host must see that shared storage in order to implement vMotion or HA. To implement shared storage in a small lab like the one Im describing, there is several choices. You can download and configure Openfiler or FreeNAS, which both provides Virtual Appliances and are quite lightweight, but this, would Add another VM which consume memory and disk space in my small virtual infrastructure. So the option Im taking is that I will implement the shared storage by my vCenter VM (yes thats another role). We will use the vCenter VM as an iSCSI target with free edition of Starwind iSCSI SAN. You can download it from Starwindsoftware.com: http://www.starwindsoftware.com/starwind-free Its very easy to install and setup to implement the shared storage. Ill first add a second virtual hard drive and another vNIC for storage network, to my vCenter VM. Like this, I keep the number of VMs relatively low because my 8Gigs of RAM in my laptop will get consumed very fast. Ok, Lets move on. First, power down the vCenter VM and Add second vNIC which will be configured with VMnet2 (our iSCSI network). The vCenter VM should have 2 vNICs. Chapter: Shared Storage

First, we will add additional disk drive to this VM.

3 4

Right click the vCenter VM, you go to the settings > add new hard drive. Choose 10 gigs, but this time choose allocate the disk space now. We might be able to get better performance with thick disk.

Start the VM. The newly added disk must be initialized and formatted in the storage snap-in.

3 5

Chapter: Shared Storage

Thats it concerning the volume. Now well need to add another NIC card to the vCenter VM. This vNIC will be used for the storage network. Configure this network card with this IP address: 10.10.3.1/24 (mask: 255.255.255.0)

Next, install Starwind iSCSI SAN, do a full installation.

Connect to your host via your IP address or via FQDN. And install the free license which you got when you downloaded the product.

3 6

Chapter: Shared Storage

Add new starwind Server

Then connect to the server by double clicking the vCenter.lab.local

3 7

Chapter: Shared Storage

Add new device..

Dont forget to check the Allow multiple concurrent iSCSI connections (clustering), otherwise youll be able to connect only with One single ESX/ESXi host. -. Name the target alias.

If you do have more space, you would probably want to add more space. The 10 Gigs is bare minimum though since if you want to test VMs running FT, youll have to use eagezerothick disks to do so in VMware vSphere. And so the disk is obviously not thin provisioned. The VMDK file which will lay on that shared datastore will

3 8

Chapter: Shared Storage

When I look at the space we have on the drive, I can see that the maximum img file I can create is 9.9Gigs, because in VMware Workstation I chose to only add 10Giga hard drive.

take the entire place that the VM will require multiplied by 2, since when VM is protected by FT, there are actually 2 VMs running. One principal and one secondary VM following the principal one with the vLockstep technology But I think you can find plenty of information about FT all around the Internet. I have also done a blog post about it if you want to look here: http://www.vladan.fr/troubleshooting-fault-tolerance-in-vsphere/ http://www.vladan.fr/fault-tolerance-vmware-and-marathontechnologies/

And thats what I choosed here.

Thats is it for Starwind. The target is now running.

3 9

Chapter: Shared Storage

Start both vESXi 5 servers now (if not already running), open your vSphere client and connect to vCenter. Go to the storage adapters and Add software iSCSI adapter (in vSphere 5 its not present by default).

Youll see the vmhba33 appear as on the image below

Now, right click the iSCSI software adapter and choose properties. Add an iSCSI server address.

For now do not rescan, if prompted. First well add our 2 new network adapters to the iSCSI VMkernel port. Go and select one of the hosts in vSphere, and then select Configuration > Networking > add networking > VMkernel The next step you should Add new VMkernel port group which will be used for the iSCSI storage. Chapter: Shared Storage

4 0

Select the radio button and check both checkboxes to Add 2 NICs at the same time when creating new vSwitch with the iSCSI vmkernel port group.

Put a name for this Port Group. For example iSCSI1.

Configure the IP address as this (dont change the VMkernel default gateway):

4 1

Chapter: Shared Storage

Now add a second VMkernel ISCSI2, configure 10.10.3.12 as an IP address. As for the second ESXi host, Ill use the 10.10.3.21 for ISCSI1 and 10.10.2.22 for ISCSI2.

You should end up with the vSwith1 configured like this:

Now, click on the vSwitch properties and double click iSCSI1 port group and configure the NICs as on the image below.

Then, do the same (the other way around) for the iSCSI2. You should end up with the ISCSI2 being setup as on the image below.

4 2

Chapter: Shared Storage

Go to the configuration > iSCSI > Add > and choose one NIC card present in the list.

Then, one after another add both NICs vmnic2 and vmnic3

4 3

Chapter: Shared Storage

Like this both vNICs are binded to the VMkernel port group. Validate, and rescan. Next youll have to check if the firewall ports are opened for the iSCSI connection. Go to Configuration > Security profile > Properties

Then, check the checkbox for software iSCSI client.

4 4

Chapter: Shared Storage

Then, rescan the iSCSI adapter. You should see the paths to the iSCSI target like this one

Now, go to storage > add storage to add and create VMFS volume.

4 5

Chapter: Shared Storage

Choose the fiesystem name and format the datastore

And here you goes we have a shared storage..--. New Datastore.

4 6

Chapter: Shared Storage

Network design of nested ESXi hosts part 2


There might be certainly different network design, for 4,6, 8 or 16 NICs!!!!! But in our case well stick what we already did. First, well remove the VM network. Choose one esxi host. In my case I took the ESXi5-02.lab.local as a host.

And add VMkernel port which well use for vMotion.

4 7

Chapter: Network design of nested ESXi hosts part 2

Assign this IP address to this VMkernel Port.

Now, you should see this as a network configuration. Go ahead and click properties.

Then click on the properties > and Management Network > Edit > NIC Teaming TAB. Check the override switch failover order and move VMNic1 as Standby.

Do the same for vMotion VMkernel portgroup, but in the NIC teaming tab move the VMNiC0 as standby this time. Next, lets create a FT network. Create a new vSphere Standard switch and Add vmnic4 as physical NIC.

4 8

Chapter: Network design of nested ESXi hosts part 2

Check the Fault Tolerance checkbox and put a network label

Again, assign an IP address to the VMkernel iP stack here. Since Im configuring the ESXi-02.lab.local host, I put 10.10.4.1 as an IP address.

Now, to be able to use Fault Tolerance in this Nested and totally unsupported environment, well have to set some advanced configuration parameters. You will have to do it at the VM level. It means that if you have created an XP VM then youll have to go to the advanced settings and add row and add those values. replay.allowBTOnly = true replay.allowFT = true replay.supported = true

4 9

Chapter: Network design of nested ESXi hosts part 2

One last step is to add VM network. A separate network VM where we can put our VMs.

So the final picture should look like this:

5 0

Chapter: Network design of nested ESXi hosts part 2

Put a network label.

This ends up our setup of nested ESXi 5 hypervisor inside of VMware Workstation.

A bonus chapter ? How to run Microsoft Hyper-V with nested VMs inside of VMware Workstation 8.
As you probably know, it's possible to virtualize ESXi 4/5 within VMware Workstation and run 3 levels deep "inception" infrastructure. And now you can also test other hypervisors... Like Hyper-V.. -:). And run VM in VM....

5 1

Chapter: A bonus chapter ?

In the image below you can see that I'm running Hyper-V and inside I'm running W7 system. How it's done...?

I installed Win Server 2008 Standard and added the Hyper-V role. You have to modify the settings in the Hyper-V VM, in order to create and install a VM inside of Hyper-V. VM > Settings > Processors - check the "Virtualize Intel VT-x/EPT or AMD-V/RVI" .

And also by modifying the VMX configuration file of the Hyper-V VM by adding this line: hypervisor.cpuid.v0 = "FALSE"

5 2

Chapter: How to run Microsoft Hyper-V with nested VMs inside of VMware Workstation 8.

This is just for testing purposes...

Independent Consultant and blogger. Vladan runs his website at www.vladan.fr , which at first started as a simple bookmarking site, but very fast found itself many readers and supporters. The website is updated daily so you can always be sure to read the latest news and how-tos articles and tips. Vladan is a VCP4, VCP 5, vExpert 2009-2011. Read more about Vladan here: www.vladan.fr/about www.vladan.fr/twitter - @vladan www.vladan.fr/feed - stay tuned via RSS www.vladan.fr/subscribe- weekly E-mail with latest news. www.vladan.fr/linkedin - connect via Linked IN

5 3

Chapter: How to run Microsoft Hyper-V with nested VMs inside of VMware Workstation 8.

You might also like