36
Tim Mackey – XenServer Community Manager and Evangelist Hypervisor Selection in CloudStack 4.3 Understanding the choices available Build a Cloud Day – SCALE 12x

Hypervisor Capabilities in Apache CloudStack 4.3

Embed Size (px)

DESCRIPTION

Apache CloudStack 4.3 adds support for clouds built using Microsoft Hyper-V, in addition to supporting VMware vSphere, Citrix XenServer, KVM, Oracle VM, Linux Containers and bare metal options. This deck covers the decision points impacting the design of CloudStack 4.3 clouds, and their relationship with hypervisor choices. Presented at Build a Cloud Day co-located with SCaLE 12x in February 2014.

Citation preview

  • 1. Hypervisor Selection in CloudStack 4.3 Understanding the choices availableBuild a Cloud Day SCALE 12x Tim Mackey XenServer Community Manager and Evangelist

2. Building a successful cloud What are we trying to accomplish? 3. Service Offerings Clearly define what you want to offer What types of applications Who has access, and who owns them What type of access Define how templates need to be managed Operating system support Patching requirements Define expectations around compliance and availability Who owns backup and monitoring Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 4. Define Tenancy Requirements Department data local to department Where is the application data stored Data and service isolation VM migration and host HA Network services Encryption of PII/PCI Where do keys live when data location unknown Need encryption designed for the cloud Showback to stakeholders More than just usage, compliance and audits Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 5. Virtualization Infrastructure Hypervisor defined by service offerings Dont select hypervisor based on standards Understand true costs of virtualization Multiple hypervisors are OK Bare metal can be a hypervisor To Pool resources or not Is there a real requirement for pooled resources Can the cloud management solution do better? Real cost of shared storage Primary storage defined by hypervisor Template storage defined by solution Typically low cost options like NFS Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 6. The primary choices . 7. XenServer GuestGuestDriver frontDriver frontStandard Linux Distribution (dom0) xapi patchesDriver backdriversqemuXen Project HypervisorComputeNetworking Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmyStorage 8. KVM (Linux + KVM only) GuestGuestVirtual driverVirtual driverlibvirtStandard Linux Distribution KVM Module agentComputevirtiodriversNetworking Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmyqemuStorage 9. vSphere 5.1 Managed by vCenter GuestGuestVirtual driverVirtual driverService ConsolevCentervmkernel Task SchedulervNICvSCSI vmklinuxComputeNetworking Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmydriversStorage 10. Linux Containers Namespace ContainerNamespace ContainerCgroupCgrouplibvirtStandard Linux Distribution Namesspaces CgroupsComputeNetworking Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmyKVM Module agentStorage 11. Microsoft Hyper-V GuestGuestDevicesDevicesVMBusVMBusStandard Windows Server (parent partition) WMI VMBusVirtual SPdriversHyper-V HypervisorComputeNetworking Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmyStorage 12. Defining the network 13. Flat Network Basic Layer 3 Network OptionXenServervSphereKVMLXCHyper-VSecurity GroupsYes- bridgeNoYesYesYesIPv6NoNoYesYesNoMultiple IPs per NIC YesYesYesYesYesNicira NVPYesNoYesNoNoBigSwitch VNSYesNoYesNoNoPublic Network 65.11.0.0/16Security Group 1 65.11.1.265.11.1.365.11.1.465.11.1.5DHCP, DNS Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmyCloudStack Virtual RouterGuest VM 1Guest VM 2Guest VM 3Guest VM 4 Security Group 2 14. VLANs for Private Cloud OptionXenServer vSphereKVMLXCMax VLANs80025410241024 4094IPv6NoNoYesYesNoMultiple IPs per NIC Nicira NVPYesYesYesYesYesYesNoYesNoHyper-VNoBigSwitch VNSYesNoYesNoNoNoYesNoPublic Network/Internet Public IP 65.37.14.1NoMidoKuraGuest Virtual Network 10.0.0.0/8 VLAN 100NoVPCYesYesYesNoYesNetScalerYesYesYesNoYesF5 BigIPYesYesYesNoYesJuniper SRXNoYesYesNoYesCisco VNMCNoYesNoNoNo Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmyCloudStack Virtual Router DHCP, DNS NAT Load Balancing VPNGateway 10.1.1.110.1.1.110.1.1.310.1.1.410.1.1.5Guest VM 1Guest VM 2Guest VM 3Guest VM 4 15. Beyond the VLAN Network Virtualization OptionXenServervSphereKVMLXCHyper-VOVS GRE tunnelsYesNoNoNoNoNicira STT tunnelYesYesYesNoNoMidoNetNoNoYesNoNoVXLANNoYesYesNoNoNVGRENoNoNoNoNoNexus 1000vNoYesNoNoNoJuniper ContrailYesNoNoNoNoPalo AltoYesYesYesNoNo Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 16. Virtual Private Cloud and nTier Applications Feature PVLANXenServer Yes - ovsvSphere YesKVM ovsLXC NoDC2Hyper-V NoDC1DC3VLAN 1 DC4WebS2S VPNRouterVLAN 2 AppPrivate GW VLAN 3DC5 DC6DB Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 17. Delivering specific network services KVM IPv6 Security groups Large quantity of VLANs vSphere VXLAN required vSphere Enterprise Plus Cisco Nexus 1000v and ASA 1000v require vSphere Enterprise Plus XenServer Security groups Large quantity of VLANs Juniper Contrail Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 18. Instances need a home Storage, Storage and more Storage 19. Primary Storage Options Feature Local storage NFS SMB Single path iSCSI Multipath iSCSI Direct array Shared Mount Template format SolidFire Plugin NetApp Plugin Zone wide Ceph RBD Clustered LVMXenServer Yes Yes No Yes PreSetup No No VHD Yes Yes No No NovSphere Yes Yes No Yes No VAAI No OVA Yes Yes Yes No NoKVM Yes Yes No Yes No No Yes QCOW2 Yes Yes Yes Yes YesLXC Yes Yes No No No No Yes TAR No No No No NoHyper-V Yes No SMB3 No No No No VHD No No No No No Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmyHost Host Primary StorageCluster 20. Secondary Storage Options OptionXenServervSphereKVMLXCHyper-VNFSYesYesYesYesNoSwift(1)YesYesYesYesNoS3 compatible (2)YesYesYesYesNoSMBNoNoNoNoYesHost(1) Requires NFS staging area (2) Can be region wide, but must not have NFS secondary storage in zoneHost Primary StorageCluster PodSecondary StorageZone Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 21. Core virtualization capabilities The limits and features which matter 22. CloudStack Features FeatureXenServervSphereKVMLXCHyper-VDisk IO StatisticsYesNoYesNoYesMemory OvercommitYes (4x)YesNoNoNoDedicated resourcesYesNot with HA/DRSYesNoYesDisk IO throttlingNoNoYesYesNoDisk snapshot (running)YesYesNoNoNoDisk snapshot (pluggable)PartialPartialNoNoNoDisk snapshot (Stopped)YesYesYesNoYesMemory snapshotYesYesYesNoNoZone wide primary storageNoYesYesYesNoResize diskOfflineOnline GrowOnlineNoNoHigh availabilityCloudStackNativeCloudStackNoCloudStackCPU sockets6.2 and higherYesYesHost countYesAffinity groupsYesYesYesNoYes Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 23. XenServer 6.2 Feature Source code modelOpen Source (GPLv2)Maximum VM Density650 (Linux)CloudStack VM Density500CloudStack integrationDirect XAPI callsMaximum native cluster size16Maximum pRAM1 TBLargest VM16vCPU/128GBWindows Operating SystemAll Windows supported by MicrosoftLinux Operating SystemsRHEL, CentOS, Debian, Ubuntu, SLES, OELAdvanced features supportedovs, Storage XenMotion, DMC Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 24. vSphere 5.5 ( 5.5 support added in ACS 4.3) Feature Source code modelProprietaryMaximum VM Density512CloudStack VM Density128CloudStack integrationvCenterMaximum native cluster size32Maximum pRAM4 TBLargest VM64 vCPU/1TBWindows Operating SystemsDOS, All Windows Server/ClientLinux Operating SystemsMostAdvanced features supportedHA, DRS, vDS, Storage vMotion Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 25. KVM (RHEL/CentOS 6.5 and Ubuntu 12.04) Feature Source code modelOpen Source (GPLv2)Maximum VM Density10 times the number of pCoresCloudStack VM Density50CloudStack integrationCloudStack Agent (libvirt)Maximum native cluster sizeNo native cluster supportMaximum pRAM2 TBLargest VM160 vCPU/2TBWindows Operating SystemsWindows XP and higherLinux Operating SystemsVariesAdvanced features supportedNone Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 26. Linux Containers Feature Source code modelOpen Source (GPLv2)Maximum container Density6000 (theoretical)CloudStack container Density50CloudStack integrationCloudStack Agent (libvirt), requires KVM for SVMsMaximum native cluster sizeN/AMaximum pRAM2 TBLargest container2TBWindows Operating SystemsN/ALinux Operating SystemsKernel compatible distros Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 27. Microsoft Hyper-V Feature Source code modelProprietaryMaximum VM Density1024CloudStack VM Density1024CloudStack integrationCloudStack Agent (C# calling WMI)Maximum native cluster Size64Maximum pRAM4 TBLargest VM64 vCPU/1TBWindows Operating SystemsAll Windows supported by MicrosoftLinux Operating SystemsRHEL, CentOS, Debian, Ubuntu, SLES, OELAdvanced features supportedNone Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 28. Picking the best one When to use which hypervisor 29. KVM Primary value proposition: Low cost with available vendor support Familiar administration model Broad CloudStack feature set with active development Cloud use cases: Linux centric workloads Dev/test clouds Web hosting Tenant density which dictates SDN options Weaknesses: Requires use of an installed CloudStack libvirt agent Limited native storage options No use of advanced native features Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 30. Linux Containers Primary value proposition: Low cost with available vendor support Familiar administration model Cloud use cases: Dev/test clouds Web application hosting Weaknesses: Requires use of an installed CloudStack libvirt agent Requires KVM for system VMs No use of advanced native features First introduced in CloudStack 4.2 Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 31. Microsoft Hyper-V Primary value proposition: Unlimited Windows Server VM licenses Familiar Windows management paradigm Cloud use cases: Windows and Linux workloads Dev/test clouds .Net application web hosting Desktop as a Service clouds Weaknesses: Minimal use of advanced native features First introduced with CloudStack 4.3 Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 32. vSphere Primary value proposition: Broad application and operating system support Readily available pool of vSphere administration talent Large eco-system of vendor partners Many CloudStack features are native implementations Direct feature integration via vCenter Cloud use cases: Private enterprise clouds Dev/test clouds Weaknesses: vSphere up-front license and ongoing support costs vCenter integration requires redundant designs Single data center per zone model Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 33. XenServer Primary value proposition: Low cost with available vendor support Broad CloudStack feature set with active development Large CloudStack install base Direct integration via XAPI toolstack Cloud use cases: Linux centric workloads Dev/test clouds Web hosting Desktop as a Service clouds Large VM density and secure tenant isolation Weaknesses: Minimal use of advanced native features Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 34. What About Multiple Hypervisor Support? Networking Ensure network labels match Topology is intersect of chosen hypervisors Storage For system VMs to specific hypervisor type Zone with primary storage limited Operations vSphere Datacenter can not span zones Hyper-V may not be mixed with other hypervisors HA wont migrate between hypervisors Capacity planning at the cluster/pod level more difficult Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 35. Tying it all Together 1. Define success criteria 2. Select a topology which works3. Decide on storage options 4. Define supported configurations 5. Select preferred hypervisor(s)6. Validate matrix 7. Build your Cloud Citrix 2014. More information at xenserver.org and follow me on twitter @XenServerArmy 36. Work better. Live better.