Nested ESXi

1. check whether your ESXi support nested ESXi or not
open browser and go to
check whether nestedHVSupported is True or False.
If True that mean supported. If False that mean our ESXi only support 32bit vm OS only
PARENT
2. Create TRUNK port for Nested ESXi
Image
3. Install Child ESXi with this configuration
-Choose Custom Configuration at the beginning, type a name for the machine (e.g. vESXi) and select a datastore for it
-Select Virtual Machine Version: 8
-For the Guest Operating System choose Other, in the Version dropdown select Other (64-bit), then enter ESX02
-For the CPUs select a configuration that results in at least 2 virtual cores (this can be either 1 socket and 2 cores per socket or 2 sockets and 1 core per socket)
-Memory: ESXi 5.5 requires a minimum of 4 GB
-Network: ESXi will work fine with just 1 NIC, but there are certain scenarios where you get warnings about missing redundancy. So, I usually use 2 NICs. Depending on the test scenarios that you are targeting you might also use more than 2
-Pick the default SCSI Controller LSI Logic Parallel
-If you want to have a local persistent scratch partition on the same disk then you need to configure a size of at least 5.5 GB. Even bigger sizes will result in a VMFS datastore being automatically created on the remainder of the disk
-After the VM has been created edit its General Options and change the Other (64-bit) to VMware ESXi 5.x in the Guest Operating System version dropdown. This is not possible in the New VM wizard, but now after the VM has been created (because running ESXi in ESXi is officially unsupported)
-remove the Floppy drive from the virtual hardware
-in Advanced Options / Boot Options raise the Power On Boot Delay to 5000 ms (or higher). After powering on the VM and opening its console this will give you some time to press ESC for the boot menu or F2 for the BIOS setup before the installed OS starts booting 4. Upgrade Child ESXi Hardware Version
if your physical host runs ESXi 5.5 then upgrading the VM this way will result in hardware version 10, and you will no longer be able to edit the VM’s configuration using the vSphere Client! In this case to upgrade to version 9 only we need to open an ESXi shell (see this KB article if you need instructions for doing this) and run the following commands
#vim-cmd vmsvc/getallvms
This will list all VMs that are registered on the host. Find the nested ESXi VM that you just created and note its vmid. Then run
#vim-cmd vmsvc/upgrade vmx-09
This will upgrade the VM with the id vmid to hardware version 9
PARENT & CHILD ESXi
5. Install latest patches
# esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-5.5 | grep 2015

ESXi-5.5.0-20150104001-no-tools   VMware, Inc.  PartnerSupported ESXi-5.5.0-20150204001-standard   VMware, Inc.  PartnerSupported ESXi-5.5.0-20150101001s-no-tools  VMware, Inc.  PartnerSupported ESXi-5.5.0-20150204001-no-tools   VMware, Inc.  PartnerSupported ESXi-5.5.0-20150104001-standard   VMware, Inc.  PartnerSupported ESXi-5.5.0-20150101001s-standard  VMware, Inc.  PartnerSupported

#esxcli software profile install -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-5.5.0-20150204001-standard
CHILD ESXi
6. Open its firewall for outgoing http-requests
#esxcli network firewall ruleset set -e true -r httpClient
7. Install VMWare Tools special for nested ESXi
#reboot
#esxcli system settings advanced set -o /Net/FollowHardwareMac -i 1
#sed -i “/\/system\/uuid/d” /etc/vmware/esx.conf
#/sbin/auto-backup.sh
8. Export this vm as OVA
Click ESX02 vm
Click menu File/Export OVF Template
Choose Format: Folder of files (OVF)
NOTE:
I got this error when import as OVA
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s