转:Creating a Nested ESXi 5 Environment

http://tsmith.co/2011/creating-a-nested-esxi-5-environment/

http://tsmith.co/2012/vsphere-5-1-lab-nested-esxi-5-1/

vSphere 5.1 Lab – Nested ESXi 5.1

Now that I’ve got some shared storage setup for the lab environment, it’s time to get some ESXi 5.1 hosts.  Since this is a lab environment, I want to run some nested ESXi 5.1 hosts.

nested-esxi

Running nested means installing a hypervisor inside of another hypervisor.  This could be XenServer, Hyper-V, or ESXi.  Obviously, I recommend the later!  You can install and run VMs on top of the nested ESXI install, and they can be 64bit, but that depends on the CPU.

I had already blogged about running a nested setup previously, however, there are enough changes from 5.0 to 5.1 to merit a new post and instructions.

 

nested-vm-settings

The first step is to create a new VM.  When choosing an opertating system, just choose “Other 64 bit”.  We will change that later.  I gave my VMs the following:

  • 2 vCPUs
  • 16 GB RAM
  • 4 GB Hard Disk
  • 2 NICs

For our Nested ESXi server, we will need to make sure that it is hardware version 9.  When I created a VM with the Windows client, it was version 8, and I had to upgrade the VM hardware; however, with the web client, the default was hardware version 9.   If you are version 8, simply edit the VMsettings, and choose to schedule VM compatability upgrade, and choose “compatable with ESX 5.1 and later”.

upgrade-hw

At this point, we need to enable VT and EPT (or AMD-V and RVI) support on our new VM.  Your CPU may or may not support this.  In fact, ESXi 5.1 is more strict!  In ESXi5, you could run 64bit Windows on a nested ESXi box, even if you didn’t have the proper support for EPT or AMD RVI.  In 5.1, you are required to have a CPU that supports EPT or AMD RVI.

To check, browse to https://your-esxi-ip-here/mob/?moid=ha-host&doPath=capability and look for NestedHVSupported.

nestedHVsupport1

If it is false, fear not – you can still run 32bit windows on your nested ESXi hosts.

At this point, we will need to enable Hardware Virtualization in the Guest:

enablesupport

And also, change the Guest OS type to Other, ESXi 5.x. Note! Currently, this can’t be done in the vSphere Web Client, and for now will have to be changed in the Windows client. (Edit Settings)

changeOStype

 

Finally, we need to enable Promiscious Mode on our vSwitch, just like in our Nested ESXi 5.0 environment.

We need to make sure the networking is setup properly.  On each host, for your VM Network, enable promiscuous mode for the port group.

  • click Configuration
  • click Networking
  • click Properties for your vSwitch with the VM Network (assuming your haven’t renamed”
  • Click “VM Network” and choose Edit.
  • Click Security
  • Check Promiscuous Mode and choose Enable.

That’s it!  Simply mount your ESXi ISO, and install inside the VM.

In the next post in the vSphere 5.1 Lab, we will install the vCenter Server Appliance, and attach our Nested ESXi hosts to it to create clusters, etc.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值