©2014VMwareInc.保留所有权利VSAN技术要点与最佳实践18980496822张海JordanZhang@vmware.com©2014VMwareInc.Allrightsreserved.Agenda1技术要点2最佳实践3Q&ACONFIDENTIAL2©2014VMwareInc.Allrightsreserved.VMwareVirtualSAN概述SAN/NASVVOLVMware软件定义的存储4为存储带来计算的运营模式•抽象化与池化•基础架构集成•新的存储层•以虚拟机为中心的数据服务•第三方服务集成•基于通用策略的自动化和编排LUNLUNLUNLUNLUNLUNSAN/NAS池虚拟数据板x86服务器聚合了虚拟化管理程序的存储池对象存储池云对象存储虚拟数据服务数据保护移动能力性能策略驱动的控制板VirtualSAN无超额配置资源减少,时间也相应减少易于改变今天5.从预分配的容器中取用4.选择适当的容器3.公开预分配的容器2.预分配静态容器1.预定义存储的配置1.定义存储策略2.在虚拟机创建时应用策略VSANVSAN共享数据存储资源和数据服务自动进行调配和维护✖超额配置(防患于未然!)✖浪费资源,浪费时间✖频繁的数据迁移VirtualSAN让应用做主通过以应用为中心的方法实现更简单的自动存储管理5基于存储策略的管理VSAN共享数据存储可简化并自动执行存储管理6从单个自调节的数据存储满足每虚拟机的存储服务级别要求容量性能可用性按虚拟机设置的存储策略基于应用需求的策略集vSphere+VSANSLA软件自动控制服务级别不再需要LUN!VSANIsUniquelyPositionedInTheStorageLandscapeCONFIDENTIAL7HighPerformance(IOPS)LowPerformance(IOPS)HighCost($/GB)LowCost($/GB)AllFlashHighEndSAN/NASMid-RangeSAN/NASLow-EndSAN/NASScale-outFileVSANVMwareVirtualSAN概述VirtualSANScaleOutesxi-01esxi-02esxi-03SDD1DiskGroup1HDD1esxi-01esxi-02esxi-03SDD1HDD1esxi-04DiskGroup1esxi-01esxi-02esxi-03SDD1DiskGroup1HDD1esxi-01esxi-02esxi-03SDD1HDD1HDD2HDD3HDD4HDD5HDD6DiskGroup1HDD7VirtualSANScaleUp-CapacityVirtualSANEnabledvSphereClusterScaledUpandOut3HostsVirtualSANEnabledvSphereClusterScaledUpandOut8HostsVirtualSANEnabledvSphereClusterScaledUpandOut16Hosts2.2Petabytes1MIOPSVirtualSANEnabledvSphereClusterScaledUpandOut32Hosts4.4Petabytes2MIOPS硬件要求15基于VMware的任意服务器兼容性指南•至少3台ESXi5.5主机,最多主机数“我将在稍后告诉您...”1GB/10GB网卡SAS/SATA控制器(RAID控制器必须在“直通”或“RAID0”模式下工作)SAS/SATA/PCIe固态磁盘SAS/NL-SAS/SATA硬盘每个服务器至少1个4GB至8GBUSB、SD卡、SATADOMBootDevicesWhatinstallationdevicetouse:–Dependsonamountofhostmemory–Upto512GB–UseSD/USBdevicesastheinstallationmedia.–512GBorgreater–Useaseparatemagneticdiskorsolidstateddiskastheinstallationdevice16FlashBasedDevicesInVirtualSANALLreadandwriteoperationsalwaysgodirectlytotheFlashtier.FlashbaseddevicesservetwopurposesinVirtualSAN1.Non-volatileWriteBuffer(30%)–WritesareacknowledgedwhentheyenterpreparestageonSSD.–Reduceslatencyforwrites2.ReadCache(70%)–Cachehitsreducesreadlatency–Cachemiss–retrievedatafromHDDChoiceofhardwareisthe#1performancedifferentiatorbetweenVirtualSANconfigurations.17FlashBasedDevicesVMwareSSDPerformanceClasses–ClassA:2,500-5,000writespersecond–ClassB:5,000-10,000writespersecond–ClassC:10,000-20,000writespersecond–ClassD:20,000-30,000writespersecond–ClassE:30,000+writespersecondExamples–Intel400GB910PCIeSSD~38000writespersecond–Toshiba200GBSASSSDMK2001GRZB~16000writespersecondWorkloadDefinition–QueueDepth:16orless–TransferLength:4KB–Operations:write–Pattern:100%random–Latency:lessthan5msEndurance–10DriveWritesperDay(DWPD),and–Randomwriteenduranceupto3.5PBon8KBtransfersizeperNANDmodule,or2.5PBon4KBtransfersizeperNANDmodule18MagneticDisks(HDD)•SAS/NL-SAS/SATAHDDssupported–7200RPMforcapacity–10000RPMforperformance–15000RPMforadditionalperformance•NLSASwillprovidehigherHDDcontrollerqueuedepthatsamedriverotationalspeedandsimilarpricepoint–NLSASrecommendedifchoosingbetweenSATAandNLSAS•DifferentiateperformancebetweenclusterswithSSDselection,andSSD:HDDratio.Ruleofthumbguidelineis10%ofanticipatedcapacityusage19StorageControllers•SAS/SATAStorageControllers–Pass-throughor“RAID0”modesupported•PerformanceusingRAID0modeiscontrollerdependent–CheckwithyourvendorforSSDperformancebehindaRAID-controller•StorageControllerQueueDepthmatters–Higherstoragecontrollerqueuedepthwillincreaseperformance–Greaterthan256Queuedepthrequired•Validatenumberofdrivessupportedforeachcontroller20StorageControllers–RAID0Mode•ConfigurealldisksinRAID0mode–Flashbaseddevices(SSD)–Magneticdisks(HDD)•Disablethestoragecontrollercache–AllowsbetterperformanceascacheiscontrolledbyVirtualSAN•DisksDevicecachesupport–Flashbaseddevicesleveragewritethroughcaching•ESXimaynotbeabletodifferentiateflashbaseddevicesfrommagneticdevices.–UseESXCLItomanuallyflagthedevicesasSSD21网络•支持1GB/10GB–带确保服务质量的NIOC的10GB共享网络将支持大多数环境–如果是1GB网络,则建议对VirtualSAN使用专用链路•巨型帧将提供标称的性能提升–针对全新部署启用•VirtualSAN同时支持VSS和VDS–NIOC需要使用VDS–Nexus1000v–应该能用,但尚未进行全面测试•网络带宽性能对主机撤出、重建时间的影响高于对工作负载性能的影响22Firewalls•VirtualSANVendorProvider(VSANVP)–Inboundandoutbound-TCP8080•ClusterMonitoring,Membership,andMonitoringServices(CMMDS)–InboundandoutboundUDP12345-23451•ReliableDatagramTransport(RDT)–InboundandoutboundTCP223323VSANHCL•=vsanCONFIDENTIAL24多级单元固态磁盘或(最好是)PCIe固态磁盘SAS/NL-SAS硬盘选择SATA硬盘vSphere硬件兼容性列表上的任何服务器*注意:有关其他详细信息,请参阅“VirtualSANVMware兼容性指南”页面6GB企业级HBA/RAID控制器12构建您自己的节点VSAN就绪的节点...正式发布时将提供由多家第三方供应商组成的10种不同选项能够使用VSAN的预配置服务器......使用VSAN兼容性指南*选择各个组件...两种构建VirtualSAN节点的方法聚合了虚拟化管理程序的极其简单的存储VirtualSAN实施要求•VirtualSAN需要:–采用集群配置,至少3台主机–3台主机都必须提供存储•vSphere5.5U1或更高版本–本地连接的磁盘•磁盘(硬盘)•基于闪存的设备(固态磁盘)–网络连接•1GB以太网•10GB以太网(首选)26esxi-01本地存储本地存储本地存储vSphere5.5U1集群esxi-02esxi-03集群HDDHDDHDDVirtualSAN构造和项目全新的VirtualSAN构造、项目和术语:•磁盘组•VSAN数据存储•对象•组件•VirtualSAN网络27VirtualSAN磁盘组•VirtualSAN使用磁盘组这一概念将闪存设备和磁盘池化为一个管理构造。•磁盘组至少包含1个闪存设备和1个磁盘。–闪存设备用于提供性能(读缓存+写缓冲区)。–磁盘用于提供存储容量。–不能在没有闪存设备的情况下创建磁盘组。28磁盘组磁盘组磁盘组磁盘组每台主机:最多5个磁盘组。每个磁盘组:1个SSD+1至