Fun with nested ESXi

Embed Size (px)

DESCRIPTION

How to build "cloud" in your home. 3013/3/24, Shanghai

Text of Fun with nested ESXi

  • 1. Fun with nested ESXi- How to build cloud in your home - March 24,2013 Kenzo.Nagahisa@gmail.com
  • 2. 0.Introduction(1) Self introduction name: Kenzo Nagahisa( ) job: SoftBank Telecom China( ) work for: Cloud Service Provider( ) e-mail: kenzo.nagahisa@gmail.com
  • 3. 0.Introduction(2) Terminology(Not accurate :p) HV Hyper Visor VM Virtual Machine Famous Virtualization American company. VMware Consumer Products: VMware Player/Fusion HV provided by VMware. ESXi (1) Free version -stand alone- (2) Paid version - can be controlled by vCenter vCenter Server to control multiple ESXis Set of ESXis controlled by vCenter Cluster HA function is configured on each Cluster. To move VM from one ESXi to another ESXi. vMotion i.e. use for ESXi hardware maintenance High Availability. Automatic VM restart on the HA other ESXi in case of ESXi failure.
  • 4. 1.Todays topic Lets have fun with creating home cloud. AWS/VMware Player is very cheap and useful but lets try & feel physical cloud at home. But we have NO MONEY... have only one server;) Keep in your mind we live in Virtualization IT world. Can we use virtual ESXi ? YES, WE CAN! nested ESXi means ESXi(VM) on ESXi(HV). We can use vCenter to control ESXis on ESXi.
  • 5. 2.Requirements(1) Hardware At least one x86 server. CPU is key(VT-x:mandatory. EPT:optional). Sufficient Memory My case: Dell PowerEdge1950(2nd hand) Storage for HA NFS or iSCSI My case: QNAP TS-119P II + Sata disk
  • 6. 2.Requirements(2) Software Get VMware account(free) and download: Standalone ESXi HV(free) vSphere 5.1 Evaluation(60 days) vCenter Evaluation Appliance(60 days) Client OS media for test Linux, Windows
  • 7. 3.Design(1) Image RDP,ssh Physical Server vCenter ESXi ESXi Storage
  • 8. 3.Design(2) Goal: to execute VMotion & HA RDP,ssh Physical Server vCenter ESXi ESXi Storage
  • 9. 3.Design(3) RDP/ssh Client Diagram 192.168.1.100 192.168.2.201 192.168.2.202 StorageNetwork SW vCenter-1 esxi510-1 esxi510-2 192.168.1.210 192.168.1.201 192.168.1.202 Mgmt Network SW192.168.2.251 192.168.2.252 192.168.1.252 Storage X86 Server
  • 10. 4.Installation(1) Points ESXi(VM)s Machine Type: 9 (vmx-09) vhv.enable= TRUE (in case of EPT enabled) NWs on ESXi(HV) set to promiscuous mode Dedicated NW for vMotion Multiple management NWs for HA vCenter Appliance: vmware/vmware
  • 11. 4.Installation(2) Only 32bit VM
  • 12. 4.Installation(3) HV Installation
  • 13. 4.Installation(4) Storage(iSCSI)
  • 14. 4.Installation(5) NWs on HV
  • 15. 4.Installation(6) 3VMs=2ESXis & vCenter
  • 16. 4.Installation(7) vCenter Appliance
  • 17. 4.Installation(8) Datacenter=Shanghai, Cluster=Pudong
  • 18. 5.Home cloud?
  • 19. 6.At the end Cheap server is very noisy. not recommended :( CPU w/ EPT allows VHV(Virtualized HV) Hyper-V on ESXi ? Mac mini maybe work as nested ESXi Enjoy!