Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Fun with nested ESXi

1,304 views

Published on

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

Published in: Technology
  • Be the first to comment

Fun with nested ESXi

  1. 1. 上海 会@ 学习Fun with “nested ESXi”- How to build “cloud” in your home - March 24,2013 Kenzo.Nagahisa@gmail.com
  2. 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. 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. 4. 1.Today’s topic• Let’s 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 “ESXi”s on ESXi.
  5. 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. 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. 7. 3.Design(1)• Image RDP,ssh Physical Server vCenter ESXi ESXi Storage
  8. 8. 3.Design(2)• Goal: to execute VMotion & HA RDP,ssh Physical Server vCenter ESXi ESXi Storage
  9. 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. 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. 11. 4.Installation(2) Only 32bit VM
  12. 12. 4.Installation(3)• HV Installation
  13. 13. 4.Installation(4)• Storage(iSCSI)
  14. 14. 4.Installation(5)• NWs on HV
  15. 15. 4.Installation(6)• 3VMs=2ESXis & vCenter
  16. 16. 4.Installation(7)• vCenter   Appliance
  17. 17. 4.Installation(8)• Datacenter=Shanghai, Cluster=Pudong
  18. 18. 5.Home cloud?
  19. 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!

×