Lab


My lab Setup.

Since I’ve done several articles through my blog, and those are all over my website, I thought that it’s better idea to do a page to group them all together.

Last year I had only one physical host running VMware Workstation and some nested ESXi hosts. This setup was great, since I could use the box for something else that a VMware Lab, but I could not test all the features that vSphere permits. The limitations were these:

- I could not run 64bit nested VMs.
- I could not run VMs with fault tolerance

Also the speed of nested VMs is not the same as in normal, virtual environment.

So this year I was able to make the lab evolve a little bit, add some more hardware and achieve a setup of my lab which is composed :

  • 2 physical ESX(i) hosts with 18Gigs of RAM each.
  • 1 physical shared storage. (Nas box running Intel Atom Double core CPU).
  • 1 switch running VLANs and have a routing in between those VLANs.

VMware vSphere Homelab Vladan.fr

Let’s start with the hosts setup.

Both of my ESXi hosts are whiteboxes running on non server hardware. It’s basically a PC with a lot’s of RAM (18 Gigs) each. Both boxes are running VMware ESXi hypervizors, which are installed onto USB Flash 2 gigs each. You say why 2 Gigs if ESXi don’t even needs 2 gigs of space? Actually, when I was building the lab, there were no more USB sticks with less capacity available on the market.

Both boxes runs on Intel Nehalem CPU architecture. The CPU are not the same, since the first box is the one I had last year already, and I just added one more box. But the CPU which I bought last year were not available as a new anymore. I could have probbabloy find those as a second hand, but I did not bother. So one of those boxes has Intel i7 920 and the other i7 960 (since there were no more the 920 available).

In case you’re searching to build a whitebox, you can check non official HCL for hardware compatible like motherboards, NICs, CPUs etc… through this website: http://www.vm-help.com/

Here is my list of pieces with are present in those 2 ESXi boxes:

Kingston DataTraveler G3 – 2 Go – USB stick to install the VMware ESXi hypervizors
Antec HCG – 400W – Power Supplies
Intel PRO/1000 GT Desktop (OEM) – NICs
Asus Sabertooth X58 – Motherboard
Intel Core i7 950 – CPU
G.Skill Kit Extreme3 3 x 4 Go PC10600 Ripjaws CAS 9 – DDR3 RAM kit
Case Thermaltake V3 black

And the box which I made last year (only the :

Asus P6T SE – Last year’s motherboard in my 1st box.
Intel i7 920 CPU

You can see below that the box is almost empty. Just one of the whiteboxes has got a local storage – a one 500 Gigs SATA  drive, where I store some ISOs and few VMs…. and othewise there is no local storage.

My VMware vSphere Homelab setup

The 2 physical boxes with the Antec power supply make almost no noise. I must say that I took a special attention to pick this particular model of Antec, since the fan in those models is 135 mm large and the efficiency is 82%. The max. power of those power supplies are 400W, which is more than enough, since both systems does not have any CD/DVD drives or even Graphic cards….

Antec HCG 400W power supplyThe silence of those powersupplies is just ….. awesome !

The Whiteboxes are just right next to me. Also, I must say that the original Intel CPU Fans were replaced by more silent models. I think that everyone confirms, that those original Intel Fans are quite noisy.

I also I digged in bios of both systems to find an option where on can setup “quiet mode” for CPU fan. Once activated, the RPM went down… and the nose level too.. I might loosed some performance there, but that’s not a problem.

So that’s the White box pat of my lab. Now let’s move on with other parts.

My Network setup.

What’s in my home network or how I designed the network for VMware vSphere lab?

Recently I bought a Cisco switch which is a Layer 3 switch. It comes as a Layer 2 switch, but if you go to the CLI (command line) you can change mode for L3 and benefit of Inter routing VLAN functionnality. The setup was a bit tricky, you can read quite detailed article about how I configured the switch and how I make those VLANs working.

There are 2 detailed articles – a real story – which in detail shows you my homelab networking experience:

A Cisco L3 capable switch with 10 Gigabit ports

My switch: Cisco SG 300-10

My final network layout as you can see it through the VMware vSphere Client:

Network design lab vladan - ESX Virtualization The final network design with 3 physical NICs.

You could only use two, or even one NIC, of course, but the Intel Destop NIC models aren’t so expensive and since inside the white boxes is plenty of PCI or PCI Express slots, I populated 3 NICs in each box.

As for the VLANs, I created like 7-8 VLANs to start with, but you can have up to 25 VLAN interfaces with assigned IP addresses configured on the Cisco SG 300.

The switch is fanless so no noise at all….. -:)

There is a GUI on this model, since it’s a model destined for the SMB market. You can configure the whole switch with yoiur favourite browser. (except for the initial Layer 3 configuration) .

The GUI is nice and clean, looks more “professional” compare to the Linksys SRW2008 (from the article…. My switch adventures).

That’s in brief my network part. Now I’ll show you how I made my home made NAS box and which parts I used for that…

A shared storage.

In order to benefit vMotion, and so DRS/DPM or FT (fault tolerance), you need to have a shared storage in your lab. The shared storage is accessible from all of your ESXi hosts and the VM’s files lives there. The VMDK, VMX and other files are physically stored there.

Homemade NAS box build by vladan.frMy nas device is a home made NAS box powered by Intel Atom Double core CPU. I have done a series of articles explaining the different parts and how I build it. Since such a NAS device can be installed with several systems (not in once of course), I have tested several like Openfiler, Nexenta or FreeNAS.

I don’t know If I’ll keep the current FreeNAS 8, but the interface is really cool….

At the moment I stick with FreeNAS 8.0.2 since the community behind the system is quite active and the interface permits the configuration to be done in like 10-15 minutes.  I installed the FreeNAS to USB Flash drive to save one SATA port.

Homelab nas series Vladan - ESX Virtualization

Even if I could possibly afford to buy a commercial NAS box  from QNAP or Synology I didn’t do it in purpose. I wanted to live a real life experience by building it myself and after all, at the end, my NAS box has not only RAID 5 spindle with 4 SATA drives, but the 2 SATA slots which stayed free, were populated with my 2 SSD drives (with capacities of 64Gigs and 128 Gigs). So I have created 2 more datastores my shared storage where I can put quite a few VMs which needs more IOPS. -:)

Lab vladan Shared storage - ESX Virtualization

So at the end my solution is more flexible and cheaper, since I’m using 6 SATA slots. The commercial solutions from QNAP or Synology with 6 SATA slots are out of reach of simple individual since the’re over €1000 …..so way too expensive. My NAS box (without SATA drives) did cost me a bit over €300).

  1. How to build a low cost NAS for VMware Lab - introduction
  2. How to build low cost shared storage for vSphere lab - assembling the parts
  3. VMware Home Lab: building NAS at home to keep the costs down - installing FreeNAS
  4. Performance tests with FreeNAS 7.2 with my homelab
  5. Installation Openfiler 2.99 and configuring NFS share
  6. Installing FreeNAS 8 and taking it for a spin
  7. My homelab – The Network design with Cisco SG 300 - a Layer 3 switch for €199.
  8. Lab (This post)
  9. Video of my VMware vSphere HomeLAB
  10. How to configure FreeNAS 8 for iSCSI and connect to ESX(i)
  • marlon

    Hi,

    just need to ask if x58 sabertooth support intel vt-d and RAID ?

    Thanks

  • http://Cleriston.com.br Cleriston

    Great guy! Congrats for your LabHome, I’m starting my lab environment and I bought a Intel DP67BG motherboard with NIC Intel 82579v, it doesn’t work with ESXi 5. I’ll buy a RealTek Giga PCI, could you know if RealTek offboard work with VMWare?
    Tnks

  • http://myblog.furnissathome.co.uk Steve Furniss

    Hi Vladan, can you tell me what you did with regards the graphics for the Sabertooth X58 board? I noticed that it does not have onboard GFX so just wondered what you have done and what card you used.
    Regards
    Steve

    • http://www.vladan.fr Vladan SEGET

      Steve,

      In fact, I just used a simple graphic card, PCI-express, to configure the box. Then, once done, it’s been removed. The same for CD/DVD player. To consume as less as possible…

      best
      Vladan

  • http://vdestination.com Greg Stuart

    Great post Vladan!  You’ve got a nice little lab.  I’m just starting to tinker with my lab, it’s not the easiest thing to create, but you learn a lot by tinkering.  

    Keep up the good work on the blog, 
    Greg

  • Jb Castillo

    Hi Vladan, I admire your site especially how you explain everything. Question, can I used an Intel dual core proc with typical asus mobo for my NAS, because I can’t find any asus board with built-in processor here in my country.? What is the difference?

    • http://www.vladan.fr Vladan SEGET

      To see if the mobo is compatible with “dual core cpu” you must look at the technical details of that particular board. There you can see WHICH CPUs are compatible with that board… I used this Asus board only because of Low consumption and small size (to fit it in my box).

  • Bcorneau

    Hi ou Bonjour

    I will like to know is you config to vt-d.
    I check your cpu and i am not sure it does.
    Do you thing if i will be able to use a i7-2600 with your motherboard and be able to do
    vt-d and ft etc.

    thank
    merci

  • Gabriel Cavaller

    Excellent read.

    How are you getting on with the cisco switch and are you using the layer 3 functionality?

    I am trying to decide which switch I am going to use, and this has come up as one of the main contenders, as well as the GSM7324 and the HP1910-16G

    Would you choose the cisco again?