One of my biggest pet peeve when it comes to deploying the VCSA (vCenter Server Appliance) and other OVF/OVA directly onto an ESXi host is the lack of OVF property support. If you have deployed the VCSA before, you are probably aware of the different user experience when deploying to a vCenter Server versus deploying directly to an ESXi host. For those of you who are not familiar, the difference is when you deploy an OVF/OVA that contains custom OVF properties such as the VCSA, you have the ability to provide input to these parameters when deploying to a vCenter Server as seen in the screenshot below.
Do I need additional licenses for Nested ESXi?
The topic of licensing is usually something I try to stay far away from because I have no interest in it and it is usually complex, which ends up hurting my brain. Having said that, one question that I receive every so often from customers who run large number of Nested ESXi instances in their environment is whether or not they need an additional license for a Nested ESXi instance?
The answer to that question can be found in a VMware KB 2009916 that was published last year, here is a quick excerpt:
Customers running nested ESXi/ESX will need to obtain additional licenses for the nested ESXi/ESX. This includes, but is not limited to:
- VMware ESXi/ESX running in VMware Workstation or VMware Fusion
- VMware ESXi/ESX running in VMware ESXi/ESX
- VMware ESXi/ESX running in other third-party hypervisor solutions
I know this might be a bit disappointing to hear, but you should remember that Nested Virtualization and specifically Nested ESXi is not officially supported by VMware. As such, from a EULA point of view, this is just seen as another instance of ESXi being deployed which will require a license. For customers who have an ELA (Enterprise Licensing Agreement) with VMware with an "all you can eat" license agreement, this is not an issue, but for others who do not have such an agreement, here are a couple of tips that may help.
Disclaimer: The information listed below are those of my own personal opinion. For any concerns or clarifications regarding licensing, please reach out to your local VMware account team.
- Run ESXi in evaluation mode - Depending on your use case, you may only need your Nested ESXi instance for a short period of time and you can always re-install using the 60 day evaluation
- Configure Nested ESXi with single vCPU - Since ESXi is licensed on a per socket basis, you can assign a single vCPU with 2-cores to minimize the licensing impact. For customers who are using vCloud Director and is not on the latest VCD 5.5 release, you may want to import your Nested ESXi VM through vCenter Server as VCD does not support per core allocation in previous releases
If you feel that Nested ESXi should be supported or that there should be a specific SKU or licensed feature for Nested ESXi, be sure to provide this feedback to your local account team with your use cases so it can be fed back to product management.
How to run Nested ESXi on the vCloud Hybrid Service?
Today I was granted access to VMware's vCloud Hybrid Service and the first order of business for me of course, was to provision a Nested ESXi VM! After going through the vCHS UI (which is very slick and easy to use by the way) and the vCloud Director UI, I realized the ESXi guestOS type has not been enabled on the backend of the vCloud Director Database. This totally makes sense, as vCHS is a production ready service and they definitely would not want to run anything that is not officially supported.
Having said that, I can see the benefits to customers who would like build out a Nested ESXi environment on vCHS for lab purposes instead of having to manage their own. Some customers even leverage Nested ESXi as part of their development and testing of software and it can be challenging at times to quickly spin up a brand new environment. Instead, they go to vCHS and with just a couple of of clicks in the UI or automatically using the vCloud APIs, provision a couple of Nested ESXi instances for testing. You can easily discard the resources once you are done or keep them running a bit longer.
Having worked with vCloud Director in the past, I knew that you could import an OVF/OVA and I thought maybe I could just import the Nested ESXi OVF templates that I built and potentially workaround vCHS "limitation" 🙂
Disclaimer: Nested ESXi and Nested Virtualization is not officially supported by VMware nor is it supported on vCHS
I tried to upload one of the OVF templates that I built, but it turns out vCloud Director does not supported the Dynamic Disks feature, so I had to perform two additional steps.
Step 1 - Download one of the following Nested ESXi OVF templates
- Single Nested ESXi VM Template
- 3-Node VSAN Nested ESXi VM Template
- 32-Node VSAN Nested ESXi VM Template
Step 2 - Import the OVF template in an existing vSphere environment and ensure you are doing so using the vSphere Web Client, as some of the properties may not be imported properly
Step 3 - Once deployed, go ahead and re-export the image to an OVF/OVA (I choose OVA as it is a single file) and this will generate the empty VMDKs for you so the image should still be very small (< 1MB)
Step 4 - Login into to your vCHS account and click on your Virtual Datacenter. Select Virtual Machines and then click on Manage in vCloud Director. Import the OVF/OVA that you have just exported
Step 5 - Once the import has been completed, you now have a Virtual Machine that has been configured with the correct guestOS type which should be VMware ESXi 5.x as seen in the screenshot below
Step 6 - At this point, you can either mount an ESXi ISO over your browser or upload it into the vCloud Director Catalog so you can mount it locally and begin your installation of ESXi. Below is a screenshot of 3 Nested ESXi VMs running on vCHS
Note: It looks like some of the advanced VM settings that are part of my OVF template are ignored as part of the vCloud Director import. This means that if you would like to run a Nested VSAN environment on vCHS, you will not be able to rely on the SSD emulation setting but instead, you will need to run through the ESXCLI claim rules to mark particular disks as "SSD" devices. It would have been really nice if vCloud Director would preserve all the advanced VM settings but at least you can still run a Nested VSAN environment.
So there you have it, Nested ESXi running on vCHS! I am kind of curious if this is the first instance of a Nested ESXi VM running on vCHS without having admin access on the backend system?
Note: One limitation to be aware of is that since the backend of vCloud Director is not properly enabled for Nested Virtualization support, this means you will NOT be able to run Nested VMs on top of the Nested ESXi instances. This is due to the lack of having Network Pool which has both Promiscuous & Forge Transmits enabled which is a requirement for proper Nested VMs connectivity. I wonder if vCHS should provide Nested Virtualization capabilities? I know I definitely would like to see it, what do you think? Leave a comment if you have some thoughts on this topic.
UPDATE (05/4/14) - If you wish to run a Nested VSAN environment on vCHS, you will need to take a look at this blog post here on how to "fake" an SSD on one of the devices by using ESXCLI claim rules. The rason for this is that you will not be able to leverage the other method of emulating an SSD device via advanced setting as that requires access to the underlying vSphere environment which you will not have in vCHS.
- « Previous Page
- 1
- …
- 45
- 46
- 47
- 48
- 49
- …
- 60
- Next Page »