《OpenStack 入门概述》由会员分享,可在线阅读,更多相关《OpenStack 入门概述(49页珍藏版)》请在金锄头文库上搜索。
1、OpenStackOpensourcesoftwaretobuildpublicandprivateclouds.WhatisOpenStack?+CommunityCommunity+CommunityTechnologycreatingopensourcesoftwaretobuildpublicandprivateclouds创造开源软件去建设共有和私有云Softwaretoprovisionvirtualmachinesonstandardhardwareatmassivescale在标准的硬件上大规模地提供虚拟机Softwaretoreliablystorebillionsofobj
2、ectsdistributedacrossstandardhardware在标准硬件上可靠地存储数以十亿计的对象OpenStackComputeOpenStackObjectStoragecreatingopensourcesoftwaretobuildpublicandprivatecloudsOpenStackMission“Toproducetheubiquitousopensourcecloudcomputingplatformthatwillmeettheneedsofpublicandprivatecloudprovidersregardlessofsize,bybeingsimp
3、letoimplementandmassivelyscalable.”生产一个无处不在的开源云计算平台,满足与大小无关的共有云和私有云服务提供商的需求,简单实现,规模使用WhyisOpenStackimportant?Openeliminatesvendorlock-in开发消除厂家的自我闭锁Workingtogether,weallgofaster一起努力,我们将走的更快Freedomtofederate,ormovebetweenclouds自由联盟,云间漫游OpenStackFoundingPrinciplesApache2.0license(OSI),nopaidenterprisev
4、ersionOpendesignprocess,2xyearpublicDesignSummitsPubliclyavailablesourcecoderepositoryAllcommunityprocessesdocumentedandtransparentCommitmenttodriveandadoptopenstandardsModulardesignfordeploymentflexibilityviaAPIsArchitectforin-houseRe-ArchitectforserviceproviderArchitectonceDeployanywhereNoStandard
5、sWithOpenStackOpenStackHistoryRackspaceDecidestoOpenSourceCloudSoftwareMarchNASAOpenSourcesNebulaPlatformMayJuneJulyOpenStackformedb/wRackspaceandNASAInauguralDesignSummitinAustin20102005RackspaceClouddevelopedOpenStackHistoryOpenStacklauncheswith25+partnersJulyFirstAustincodereleasewith35+partnersO
6、ctoberNovemberFebruaryFirstpublicDesignSummitinSanAntonioSecondBexarcodereleaseplanned2011Openstack的结构But do we really have to choose?NASANASAFoundersoperateatmassivescaleOpenStackCommunityTodayHOWTO:TurnRacksofStandardHardwareIntoaCloudwithOpenStackStartwithanopen,scalableplatformOpenStackComputeOp
7、enStackObjectStorageCLOUDOSOpenStackImageServiceUserControlPanelTicketingSystemNetworkManagementMonitoringSystemsHostServerManagementECOSYSTEMOpenStackComputeOpenStackObjectStorageCLOUDOSOpenStackImageServiceAdd3rdpartytoolsfromtheecosystemUserControlPanelTicketingSystemNetworkManagementMonitoringSy
8、stemsHostServerManagementAccountBillingAdminCLIToolsLiveChatSupportAccountManagementECOSYSTEMPUBLICCLOUDOpenStackComputeOpenStackObjectStorageCLOUDOSOpenStackImageServiceUserControlPanelTicketingSystemNetworkManagementMonitoringSystemsHostServerManagementECOSYSTEMAdminControlPanelDept.AccountingChar
9、gebackUserManagementEnterpriseSoftwareIntegrationSystemsPRIVATECLOUDOpenStackComputeOpenStackObjectStorageCLOUDOSOpenStackImageServiceIntegratewithexistingenterprisesystemsOpenStackComputeDetailsSoftwaretoprovisionvirtualmachinesonstandardhardwareatmassivescale.Asynchronouseventuallyconsistentcommun
10、icationREST-basedAPIHorizontallyandmassivelyscalableHypervisoragnostic:supportforXen,XenServer,Hyper-V,KVM,UMLandESXiscomingHardwareagnostic:standardhardware,RAIDnotrequiredOpenStackComputeKeyFeaturesAPI:ReceivesHTTPrequests,convertscommandsto/fromAPIformat,andsendsrequeststocloudcontrollerCloudCont
11、roller:Globalstateofsystem,talkstoLDAP,OpenStackObjectStorage,andnode/storageworkersthroughaqueueUserManager用户管理ATAoE/iSCSIHostMachines:workersthatspawninstancesGlance:HTTP+OpenStackObjectStorageforserverimagesOpenStackComputeServerGroups1GigEConnectivityDualQuadCoreRAID10DrivesPublicNetworkPrivateN
12、etwork(intradatacenter)ManagementExampleOpenStackComputeHardware(othermodelspossible)OpenStackObjectStorageDetailsSoftwaretoreliablystorebillionsofobjectsdistributedacrossstandardhardwareREST-basedAPIDatadistributedevenlythroughoutsystemHardwareagnostic:standardhardware,RAIDnotrequiredOpenStackObjec
13、tStorageKeyFeaturesNocentraldatabaseScalabletomultiplepetabytes,billionsofobjectsAccount/Container/Objectstructure(notfilesystem,nonesting)plusReplication(Ncopiesofaccounts,containers,objects)SystemComponentsTheRing:Mappingofnamestoentities(accounts,containers,objects)ondisk.Storesdatabasedonzones,d
14、evices,partitions,andreplicasWeightscanbeusedtobalancethedistributionofpartitionsUsedbytheProxyServerformanybackgroundprocessesProxyServer:Requestrouting,exposesthepublicAPIObjectServer:Blobstorageserver,usesxattrs,usesbinaryformatRecommendedtorunonXFSObjectlocationbasedonpathfromnamehash×tampS
15、ystemComponents(Cont.)ContainerServer:Handleslistingofobjects,storesasSQLiteDBAccountServer:Handleslistingofcontainers,storesasSQLiteDBReplication:Keepthesystemconsistent,handlefailuresUpdaters:ProcessfailedorqueuedupdatesAuditors:Verifyintegrityofobjects,containers,andaccountsSoftwareDependenciesOb
16、jectStorage(Swift)developmentcurrentlytargetsUbuntuServer10.04,butshouldworkonmostLinuxplatformswiththefollowingsoftware:Python2.6rsync3.0Andthefollowingpythonlibraries:Eventlet0.9.8WebOb0.9.8SetuptoolsSimplejsonXattrNoseSphinxExampleNetworkDeploymentEvolutionofObjectStorageArchitectureVersion1:Cent
17、ralDB(Rackspace2008)Version2:FullyDistributed(OpenStackObjectStorage2010)5Zones2Proxiesper25StorageNodes10GigEtoProxies1GigEtoStorageNodes24x2TBDrivesperStorageNodePublicInternetExampleOpenStackObjectStorageHardwareLoadBalancers(SW)ExampleonlymanyconfigurationspossiblePlanninganOpenStackDeploymentRe
18、quirements&TechnologyChoicesHardwareSelectionOpenStackisdesignedtorunonindustrystandardhardwarewithflexibleconfigurationsComputeX86ServerStorageflexible(Local,SAN,NAS)ObjectStorageX86Server(otherarchitecturespossible)DonotdeploywithRAID(canusecontrollerforcase)PhysicalHardwareRemoteManagementHostNet
19、workingHostSeedOSInstallHostOSInstallPostOSConfigurationRackCableDellDRACHPiLOIPMIDHCPBOOTP/TFTPGPXEPreseedKickstartYASTPuppetChefCFEngineStaticBootstrappingYourPhysicalServerNodes123456ServerVendorSupportFindouthowmuchconfigurationyourhardwarecanprovideBasicNeedsBIOSsettingsNetworkbootIPonIPMIcardA
20、dvancedSupportHostOSinstallationStillgetmanagementnetworkIPviaDHCPBuildinamannerthatrequiresminimalchangeLayoutaddressinginablock-basedmodelGotoLayer3fromthetopofrackuplinkKeepconfigurationsimpleMorebandwidthisbetterthanadvancedQoSLetthecomputehostmachinescreatelogicalzonesNetworkDeviceConfiguration
21、HostNetworkingDHCPforthemanagementnetworkInfiniteleasesBaseDNSonIPEx.nh-pod-a-10-241-61-8.example.orgOpenStackComputehandlesIPprovisioningforallguestinstancesClouddeploymenttoolsonlyneedtosetupmanagementIpsHostOSSeedInstallationChoosingaMethodBOOTP/TFTPSimpletoconfigureSecuritymustbehandledoutsideof
22、TFTPHostnodemustbeabletoreachmanagementsystemviabroadcastrequestTopofrackroutercanbeconfiguredtoforwardGPXENotallhardwaresupportsBetterconcurrentinstallcapabilitythanTFTPOptionstoAutomateHostOSInstallationBuildingaconfigurationbasedonascriptedinstallationisbetterthanamonolithic“goldenimage”KickPrese
23、edforUbuntu/DebianhostsstartforFedora/CentOS/RHELhostsYaSTforSUS/SLEShostsScriptedconfigurationallowsforincrementalupdateswithlesseffortPostOSConfigurationChooseaconfigurationmanagementsolutionPuppet/Chef/CfengineCreaterolestoscaleoutcontrollerinfrastructureQueueDatabaseControllerAutomateregistratio
24、nofnewhostmachinesBasetheconfigurationtorunonmanagementnetIPOpenStackReleaseProcess:FourPhasesDesign*DevelopmentQAReleaseReleaseDesignSummitFeatureFreezeFinalFreeze*DesignphaseandDesignSummitoccureveryotherrelease,2xperyearOpenStackReleasesCactus:April2011Bexar:February2011Austin:October2010OpenStac
25、kObjectStorageproduction-readyOpenStackComputedeveloperpreview,readyfortestingandproofsofconceptOpenStackComputereadyforenterpriseprivateclouddeploymentsandmid-sizeserviceproviderdeploymentsEnhanceddocumentationEasiertoinstallanddeployOpenStackComputereadyforlargeserviceproviderscaledeploymentsOpenS
26、tackComputeAustinReleaseFeaturesMulti-hypervisorsupport:KVM,QEMU,User-ModeLinux,XenandXenServerIntroducesofficialOpenStackAPI,whilemaintainingEC2APIoptionNewimageregistryanddeliveryservice,calledtheGlanceprojectSupportfortwonetworkmodelsoncomputenodes:VLANswithDHCPandflatwitheitherstaticIPpoolsorDHC
27、PAdditionofbaseschedulingserviceImplementsWSGItocreateastandardAPIlayerwithreusablecomponentsSupportforuser-friendlynamingRefactoredORMandnetworkingcodeforsimplercodethatiseasiertounderstandAdditionofSQLAlchemyDatabasetoolkitsouserscanleverageexistingSQLinfrastructureObjectStorageAustinReleaseFeatur
28、esAdditionofastatssystemthatproducesper-accounthourlysummariesofsystemusageAbilityforuserstosetACLsandgrantpublicaccesstocontainersSupportforAPIaccesstoaccountandcontainermetadataRatelimitingwasextendedtoallowrequeststobesloweddownandsupportstairsteppedratelimitsbasedoncontainersizeWSGIsupportwasimprovedandpulledintomiddlewareJoinUsTeam:Markopenstack.orgJimopenstack.orgBretopenstack.orgJonathanopenstack.org-contactus!GeneralInformation:http:/openstack.orgDevelopers&Testershttp:/