Now to study for the VCP exam! (And maybe build myself an ESX Server lab machine at home to help me revise)
Here are my notes on the topics we've been through today.
Resource Management
- VMotion network can be used as a secondary heartbeat network for HA
- The final thing the VMkernel does after a VMotion is a Reverse ARP, ensuring the switch knows the Virtual Machine's MAC address is accessible via the 2nd ESX Host
- The time between VMotion and scheduling instructions on the 2nd ESX Host's CPU is typically between 50 and 200ms.
- For VMotion to work there must be a virtual switch and port group with an identical name (case sensitive) on the 2nd ESX Host.
- As CPU affinity can cause incompatibility with VMotion only use in a lab/testing environment.
Resource Monitoring
- HEC = Hardware Execution Context. An HEC is typically a CPU core (today), but also a HT CPU.
- vmmemctl = Balloon Driver. Takes RAM from guest machines when physical RAM in host is scarce, causing Guests to Page/Swap more.
- By default the Balloon Driver will not expand beyond 65% of the VM configured memory.
- Use iometer to generate artificial disk load for testing purposes
Data and Availability Protection
- Service Console backups are in reality limited to a small amount of configuration settings, 3rd party software/agents, and logs in /var/log partition.
- ESX Host restore can be scripted using anaconda kick-start files, using a finish script to recreate Virtual Switch settings etc.
- VMware HA does not increase availability, it decreases downtime.
- VMware HA restarts virtual machines when physical machines fail.
- VMware HA network ports:
- Incoming - TCP/UDP 8042-8045
- Outgoing - TCP/UDP 2050-2250
- VMware HA best practices: http://kb.vmware.com/kb/1002080