• No products in the cart.

VMware Lab Setup

VMware lab setup tutorial is intended to help setup a small lab environment consisting of 3x ESXi hosts, one of the host from three will host vCenter and thus needs to have more resources compared to other 2 hosts. The host which will have vCenter, needs minimum 12 GB RAM (10 GB for vCenter and 2GB on ESXi for other virtual machines) and 6x vCPUs. Each ESXi host will have four network interfaces, management, storage, vmotion and data (refer to downloadable diagram below), each ESXi will be able to connect to network based storage targets (iSCSi and NFS shares). This VMware lab setup is available for rent on testclue hardware, for booking a session please click here.

ESXI Host Setup (more instructions in Useful Links Section):

  1. On each ESXi host interface vmnic0 is for mgmt, vmnic1 for storage, vmnic2 for vmotion and vmnic3 for data network.
  2. ESXi hosts are already up and running.
  3. First you will connect to Windows management PC (login – labuser/Labroot12!@)
  4. From PC connect to each ESXi host via browser (FQDNs provided on this page below) (login – root/Labroot12!@)
  5. IP addressing for network interfaces is available in downloadable diagram.

vCenter Setup :

  1. Download vCenter here (60 days free trial, a copy of vCenter installer is already saved on lab PC)
  2. Above download has to be made on Windows management PC
  3. Download the ISO image, open it as CD, and find folder named vcsa-ui-installer
  4. Start installation by launching installer.exe from win32 folder.
  5. Follow the guided step-by-step installation process, ESXi server could be used as NTP source as well or any NTP source of your choice.
  6. IP addresses needed are available in attached diagram
  7. This setup will be in 2 phases, and needs right information otherwise it will fail, setup takes time.
  8. DNS server IP to be used is 192.168.100.5
  9. Use thin disk allocation to avoid reserving all available disk space.

Storage Connection :

  1. iSCSI and NFS Share targets are on server – 10.1.2.5
  2. You will need to add to targets using HBA connections (in storage configuration of ESXi or vCenter)
  3. Each ESXi host must have VMK interface created (as per diagram on this page), and assigned 10.1.2.x IP and uplinked to vmnic2 for accessing storage.

Child VM Setup :

  1. Install 1x VM on each ESXI host
  2. IP addressing available in attached diagram
  3. ISO images for child VMs could be downloaded from here, along with other useful software.
  4. The image to be used is : turnkey-wordpress-14.2-jessie-amd64.iso
  5. Allocate 256 MB RAM and 1x vCPU to this VM
  6. On successful installation, you will be able to access website home page via Windows mgmt PC

Lab Information and Instructions :

If you have booked server time already please login to Lab Console below, credentials delivered via email used during booking. For booking new time slot, click here.
  1. connect via above link, login with emailed user/pass
  2. second level of authentication, as sent via email
  3. list of devices will be displayed to connect – windows, esxi, vcenter
  4. connect to Windows 7 pc from listed connections, connect as – labuser / Labroot12!@
  5. ESXI login details – root / Labroot12!@
  6. vCenter login -root, administrator@testclue.local / Labroot12!@
  7. please user root or administrator as users and Labroot12!@ for any other vmware devices you deploy
  8. lab will be auto-destroyed after 10 minutes from end of session

Device FQDNs (all available from Windows 7 Lab PC):

  • ESXI-1 –  https://ESXI-1.testclue.local
  • ESXI-2 – https://ESXI-2.testclue.local
  • ESXI-3 – https://ESXI-3.testclue.local
  • vCenter –  https://vcsa.testclue.local
  • IP Addressing for VMs is available in network diagram
  • DNS Server – win2k12.testclue.local (192.168.100.5)

Suggested Lab Workflow (you can use your own guide):

  • Install vCenter on ESXI-1 (only this host has 12 GB RAM, other 2 ESXI hosts are each with 4GB)
  • Associate all ESXI hosts to vCenter server
  • Create Datacenter and cluster on vCenter
  • Create a new vSwitch on each host and VMK port for vMotion (Creating new vSwitch)
  • Create another vSwitch on each host and VMK for iSCSI / NFS storage (Creating NFS based Datastore)
  • Create iSCSI and NFS shares using HBA adapters, storage target – 10.1.2.5 (server is pre-configured and will accept connection only from 10.1.2.x IPs of Hosts) (Creating iSCSI based Storage)
  • Create another vSwitch and port group on it, uplink this one with DATA interface (as shown in diagram)
  • Deploy 2 VMs, one on each ESXI host and assign IP addresses from data subnet
  • Try vMotion of VMs between 3 ESXi hosts
  • Delete the VMs and re-create them on NFS or iSCSi volumes
  • Try vMotion again, this time it will be faster as files are on network storage
  • If you used the provided image for VM, you can even install wordpress website on those VMs
  • While trying the vMotion keep ping on, you will notice that there is no drop, may be increased latency during migration
  • You can try HA, Fault tolerance within cluster
  • For advanced practice, try to create a distributed switch and migrate all vSwitch connections to the distributed switch
  • Check and Enable SSH on vCenter and ESXI hosts, use CLI commands for advanced troubleshooting, tcpdump

Useful Links :

For Troubleshooting and technical discussion please use this forum :

Issues During Lab Session

  • Please use live chat option on bottom right of this page. (In case no response within 5 mins, please use option below)
  • Red “Technical Support” button on top right hand corner of page is provided to open tickets and advance support.

Upcoming Webinars

© Copyright 2013 - 2020 Testclue, All Rights Reserved, Terms and Conditions of use Privacy Policy Could be found here. Refund Policy is available here. Disclaimer : F5, Cisco, VMware, pfsense, VyOS are trademarks and logos of respective companies  holding them, Testclue is not official partner or provider of vendor specific courses and material.