




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
1、OpenStack in Sina新浪云計算實踐AgendaOpenStack OverviewArchitecture AnalysisIntegration ChangesSina ContributionsAWS模式的巨大成功構(gòu)建了完整的云計算生態(tài)系統(tǒng)通過Web Service(API)管理一切服務(wù)*完全面向服務(wù)架構(gòu)SOA(Service-Oriented Architecture)*事實上的IaaS 標(biāo)準(zhǔn)成功的商業(yè)模式*https:/112678702228711889851/posts/eVeouesvaVX*/articles/5701.htmlMore Detail: http:
2、/products/OpenStack橫空出世目標(biāo):AWS開源實現(xiàn)Rackspace & NASA聯(lián)合成立SwiftNovaOpenStack CompaniesMore detail: /community/companies/來源:OpenStack, OpenNebula,Eucalyptus,CloudStack社區(qū)活躍度比較/?p=1856Open Source Apache 2.0 license, NO enterprise version Open Design Open Design Summit Open Development Anyone can involve dev
3、elopment process Open development management via Launchpad & Github Open Community OpenStack Foundation in 2012 OpenStack MissionTo produce the ubiquitous Open Source cloud computing platform that will meet the needs of public and private cloud providers regardless of size, by being simple to implem
4、ent and massively scalable.OpenStack ProjectsCore ProjectsOpenStack Compute(Nova)OpenStack Object Storage(Swift)Image Service (Glance)Identity (Keystone)Dashboard (Horizon)Network Connectivity (Quantum)Community ProjectsMelangeAltas-LBCrowbarJujuRedDwarfBurrowAWSOpenStackEC2novaS3swiftEBSnova-volume
5、ELBAtlas-LBSQSBurrowConsoleDashboardIAMKeystoneVPCQuantumRDSRedDwarfArchitecture OverviewDetail OverviewWhere to Get Started?Ubuntu 12.04 server 集成OpenStackT申請測試賬號devstack.sh一鍵安裝OpenStack DevelopmentBug trackingAuthorization(group membership)Feature planning(Blueprints)Hosting code &formal docsMaili
6、ng listsUser support(Answers)WikiContinuousintegrationInformal docsNova Key FeaturesReST-base APIAsynchronous communicationHorizontally scalableShared nothing architecture*Distribute everythingTest everything100% Python Based* http:/wiki/Shared_nothing_architecture* /BasicDesignTenetsOpenStack Compu
7、te: Novanova-apiCompute API ServerOpenStack API, EC2 compatibility APInova-computeCompute workerManage compute host and VMsLibvirt(QEMU,KVM,LXR), XenServer and XCP, ESX(i)*nova-networkNetwork controllerManage network resources: IPAM, VLAN, NAT*/HypervisorSupportMatrixOpenStack Compute: Nova(cont.)no
8、va-schedulerDetermines the placement of new resourcesnova-volumeBlock storage, remote attach a LVM volume using iSCISI protocolLike Amazon EBS, but far way from matureRabbitMQMessage QueueCast and RPC Call for services Keystone: ConceptUser/TenantAuthentication/AuthorizationTokenService/EndpointRole
9、Keystone: User CaseNova NetworkL2FLAT, FLATDHCP, VLANL3IPAM(IP Address Management)Fixed IP, Floating IPGateway, NAT, VPNQuantumQuantum BasicsNova: virtual serverQuantum: virtual networkQuantum :Expose a API for creating virtual networks and attaching instances(e.g.,novaservers) to those networksMana
10、ge switches(virtual or physical) in the data center to implement connectivity described via APIProvide a“plugin” architecture to leverage support using different back-end technologiesQuantum: available pluginsOpen vSwitch - Builds isolated networks with OVS and L2-in-L3 tunnelCisco UCS - Isolation b
11、ased on VLAN and net-profiles applied to Cisco UCS converged network adaptersLinux Bridge - Build isolated networks with VLAN interfaces and linux bridges - Works with every Linux DistroNTT-Data Ryu - Acts as a proxy for the NTT Ryu platformNicira NVP - Acts as a proxy for the Nicira NVP platformSwi
12、ft: Storage TypesTypesProtocolApplicationBlock StorageSATA, SCISI, iSCISISAN, NAS, EBSFile StorageExt3/4, XFS, NTFSPC, Servers, NFSObject StorageHTTP, RESTAmazon S3, Google Cloud Storage, Rackspace Cloud FilesSpecific StorageSpecific protocol based on tcpMySQL, MongoDB, HDFSWe want a Object Storage
13、like Amazon S3.Swift vs Amazon S3FeaturesSwiftAmazon S3object/bucket CRUDaccount/bucket/object ACL object metadatelarge objectrate limitexpiring objectstatic webREST APIAccount supportXAccount metadataXBucket metadataXBucket sync across clusterXObject versioningXLog to bucketXNotificationXReduced Re
14、dundancy StorageXSOAP APIXServer Side EncryptionXBitTorrent protocolXSwift EvaluationExtremely Durable and Highly AvailableSuperior ScalabilityLinear Growth of PerformanceSymmetric Architecture No Single-failureSimple & ReliableSwift ComponentsThe Ring: Mapping of names to entities (accounts,contain
15、ers, objects) on disk.Stores data based on zones, devices, partitions, and replicasWeights can be used to balance the distribution of partitionsUsed by the Proxy Server for many background processesProxy Server: Request routing, exposes the public APIReplication: Keep the system consistent, handle f
16、ailuresUpdaters: Process failed or queued updatesAuditors: Verify integrity of objects, containers, and accountSwift ArchitectureLoad BalancerProxy ServerObject ServerContainer ServerAccount ServerZone1Proxy ServerObject ServerContainer ServerAccount ServerZone2Proxy ServerObject ServerContainer Ser
17、verAccount ServerZone3Proxy ServerObject ServerContainer ServerAccount ServerZone4Proxy ServerObject ServerContainer ServerAccount ServerZone5PUT abc.pngGET abc.png1 Zone = 1 Physical Server with 12x2T diskWrite/Read applies quorum protocol31Swift InstallationPhysical Deploymentdisk1disk2disk3disk4s
18、dasdbsdcdisk5sdddisk12sdkStorage NodesOS installationSwift packagesProxy ServerAccount ServerContainer ServerObject Serverraid 1Conclusion核心功能基本可用,但穩(wěn)定性需要加強云服務(wù)(web service)比較豐富起步雖晚,但發(fā)展飛快,OpenStack生態(tài)系統(tǒng)正在形成邏輯結(jié)構(gòu)清晰、文檔豐富、源碼規(guī)范易懂,便于二次開發(fā)Open Source | Desgin | Development | CommunityIntegration ChallengesBest
19、 Network TopologySecurity EnhancementLoad BalancerCDN ServicesMetering & BillingInfrastructure & PlatformPhysical ServersTraditional OperationVirtualization Platform(IaaS)VM Management System(VMMS) Sina Web Service(SWS)VMMS is private solution developed in-houseSWS is based on OpenStackApplication P
20、latform(PaaS)Virtual Host Sina App Engine(SAE)SAE provides both Public and Private Service.Proved to be Efficient and Robust新浪云計算Nova NetworkNetworking is the biggest challenges for IaaSNetwork Topology: VLANFlatDHCPFlatDHCP & MultihostNetwork Topology (VLAN)Drawback:Pre-allocate network for future
21、projectsHard-limit of vlan 4096Traffic bottleneck in the gateway/NATCapability:Accessibility of VMs within one tenantIsolation of VMs from different tenantsVM is able to access public networkVM can be accessible from public networkIsolation between virtual network and internal networkNetwork Topolog
22、y(Flat)Capability:Accessibility of all VMs in the fixed IP rangeVM is able to access public networkVM can be accessible from public networkFull isolation between virtual network and internal networkBonus:Do not need pre-allocate for new projectsEliminating bottleneck between tenantsDrawback:Tenant i
23、solation has goneTraffic bottleneck still exists in NATNetwork Topology(Flat & Multihost)Capability:Accessibility of all VMs in the fixed IP rangeVM is able to access public networkVM can be accessible from public networkBonus:Totally distributed architecture avoid single-point failure.Multiple gate
24、way eliminates NAT bottleneckHigh speed between OS regionsDrawback:Tenant isolation lessensNeed security facility(SWS-filter) to protect intranetIf security problems were solved, this would be our best choice!Security in OpenStackStatic filters - L2 FilterMAC, IP, and ARP spoofing protectionNot conf
25、igurableDefined in /etc/libvirt/nwfilter/*.xmlImplemented by ebtablesebtables -t nat -listSecurity Group - L3 FilterRole-based firewallOne security group is a RoleIngress filteringTarget is the instanceSource can be CIDR or another groupImplemented by iptablesSee details: iptables -t filter -n -LWhi
26、telist mechanism(ACCEPT rules)Security EnhancementSWS Filter Prevent Intranet PenetrationIntranet is the internal network outside of OpenStackEgress filteringTarget is internal networkSource is instances in OpenStackImplementationWhitelist mechanism(ACCEPT rules)On the top of nova-filter-top Forward
27、 ChainRationalSWS filter is managed by cloud manager Only explicit authorized packets can reach Internal network C Packet should be controlled within Compute NodeSecurity EnhancementSecurity Group VS SWS Filter Load BalancerGoalsLoad Balance Dispatch requestSupport multiple routing algorithmHealth c
28、heckAccelerationReality: narrow bandwidth between ISPsBuilding fiber channels from ISPs to pivotGiven the same endpoint within users ISPIPv4 ShortageReality: dozens of public IPs support hundreds of VMsIPv4 has been exhaustedIPv6 is not realistic yet in ChinaUnicomOthers ISPMobileTelecomPivotSmart DNSDNS
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五年度民辦學(xué)校教職工校企合作與產(chǎn)學(xué)研用合同
- 冷庫租賃與冷鏈物流信息化管理服務(wù)協(xié)議2025
- 二零二五年度個人委托代付款安全無憂服務(wù)合同
- 2025年西安貨運從業(yè)資格考試題目大全及答案
- 2025年巴彥淖爾貨運從業(yè)資格證模擬考試題
- 如何堅守誠信發(fā)言稿
- 后勤學(xué)院辦公樓保潔協(xié)議
- 小紅書品牌賬號年度運營規(guī)劃與服務(wù)合同
- 孔雀東南飛民間故事解讀:初中語文課程教案
- 農(nóng)業(yè)生產(chǎn)三農(nóng)村公共空間設(shè)計與治理
- 大數(shù)據(jù)在金融領(lǐng)域的應(yīng)用方案
- 錨桿(索)檢驗批質(zhì)量驗收記錄
- 建筑裝飾設(shè)計收費標(biāo)準(zhǔn)
- 智能中臺數(shù)據(jù)底座解決方案
- 《財政與金融》課程教學(xué)大綱
- 《國際稅收》教案
- 傳統(tǒng)體育養(yǎng)生概論
- 電力建設(shè)工程預(yù)算定額2006版
- DLT5216-2005 35kV~220kV城市地下變電站設(shè)計規(guī)定
- 公益性崗位保潔員保證書
- 行政許可執(zhí)法案卷自評表
評論
0/150
提交評論