Tag Archives: lab

VMware home lab rebuilt

You know what would be great, if VMware had their Hands On Labs (HOL) available online – yea I’m talking to you!!!  Since I don’t have an account yet and I would like to start working on my VCAP-DCD I had to dust off the lab and start getting it ready.  It sat dormant since early October when I passed my VCP-DV so I decided to rebuild from scratch.  My gear:

  • 2 Dell Precision workstations with dual dual-core Xeon 1.6GHz processors and 4GB or RAM each, 160GB local disk and 3 1Gbps NICs.  I know not a ton but enough to run a couple of VMs for Active Directory, vCenter and a few test machines.
  • Shared NFS storage with a used Buffalo NAS from eBay for < $100 (had no drives) – just wanted something to toy around with versus using FreeNAS or similar sharing the local disk in the host.

Had a weird battle with adding one of the hosts to vCenter.  VMware KB suggested it was bad DNS or IP or an SSL timeout problem but could connect directly to the host and they sit on the same switch.  Just reset the ESXi config and re-addressed and worked like a champ.  Next steps are to setup syslog, thinking I will give Splunk a try this time.  I have used Alienvault in the past since it also included monitoring but want to see something different.  Once I have syslog setup will finally do a 5.0 to 5.1 upgrade and possibly install vCD.

Notes from a Nested ESXi 5 Setup

Guest Post by Kanji B.

These are some notes from my nested lab setup on a Dell OptiPlex 790 from (4x i5-2400 @ 3.10GHz, w/16GBs, and it supports VT!), I hope that these can help others in the VMware community doing the same.

I ran into my first gotcha quite early thanks to Dell’s love for bleeding edge NICs.  It’s one of the few things that drives me nuts about Dell hardware, and I facepalmed as soon as ESXi threw up it’s “No network adapters detected” error so off I went to research how – or even if! – I could inject drivers into the ESXi install, and fortunately stumbled on someone who had already done so on the OptiPlex 790:- http://bohemiangrove.co.uk/esxi-5-0-the-free-one/

A short while later, I had a fresh ESXi install and began installing my nested ESXi, when I ran into the SAME problem! WTF?! The host ESXi had networking, so why wouldn’t the guests?  Turns out that the default Adapter type for RHEL 6 (the Guest type which a few of the nesting guides suggest you base your ESXi guest on) is vmxnet3, and there’s no vmxnet3 driver in ESXi 5.0 and installing VMware Tools to get it wasn’t going to happen.

Poking around, I managed to fix it by using an E1000 adapter instead, and then noticed that virtuallyGhetto touched on this last month (http://www.virtuallyghetto.com/2012/09/nested-esxi-51-supports-vmxnet3-network.html) as they noticed that 5.1 fixes this very issue.  That solved, I took another stab at installing a nested ESXi, only to hit another showstopper when the installer didn’t detect any local or remote drives to install on.  Poking around some more, I noticed that the SCSI Controller Type was set to VMware Paravirtual (not recommended for this guest OS), ugh, bitten by RHEL 6 defaults again…  For reference, if you set it to LSI Logic Parallel, ESXi sees the provisioned drive as local; or remote if set to LSI Logic SAS.

Ironically, if I had just gone with Windows 2008 R2 x64 (the default Guest type), I wouldn’t have run into either issue, as VMware defaulted to a supported Adapter and SCSI Controller!

Efficient Virtual Networking Designs for vSphere Home Lab Servers