資源描述:
《ceph cluster installation:ceph集群安裝》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在應(yīng)用文檔-天天文庫(kù)。
1、[1'd9d'2cephdovecot]CephClusterinstallationDocumentcreatedon2013-09-17NicolasBondier[pdf][doc][htm]***Page28of28[1'd9d'2cephdovecot]Copyright?2021bySwitzernetContentsIntroduction3Prerequisites3Servers3Clustercreation3Serverinstallation3Networkconfiguration4N
2、TPtimesynchronization6Emptypartitionformatting6Cephpreflightchecklist8Firstmonitorinstallation10InstallthefirstOSD11AddasecondmonitorandOSDserver13AddathirdmonitorandOSDserver17Createthesharedfilesystem17Createablockdeviceimage17Mounttheblockdeviceontheclien
3、t19Annexes21CompilekernelwithRBDdrivers21MonitoringtheCephcluster27Links28Page28of28[1'd9d'2cephdovecot]IntroductionThisdocumentdescribestheinstallationofathreenodesCephclusterwithoneRadosBlockdeviceclient.PrerequisitesServersForthisdocument,wewillusethreeho
4、stedservers.Ourhostingproviderisovh.com.TheclusterwillbecomposedofthreeserverswithOSDdaemonsandmonitors.AccordingtotheCeph[documentation]:-OSDs:“ACephOSDDaemon(OSD)storesdata,handlesdatareplication,recovery,backfilling,rebalancing,andprovidessomemonitoringin
5、formationtoCephMonitorsbycheckingotherCephOSDDaemonsforaheartbeat.ACephStorageClusterrequiresatleasttwoCephOSDDaemonstoachieveanactive+cleanstate.”-Monitors:“ACephMonitormaintainsmapsoftheclusterstate,includingthemonitormap,theOSDmap,thePlacementGroup(PG)map
6、,andtheCRUSHmap.Cephmaintainsahistory(calledan“epoch”)ofeachstatechangeintheCephMonitors,CephOSDDaemons,andPGs.”O(jiān)neoftheseserverswillalsobeusedasadminserverforexecutingtheceph-deploycommandlinetool.ClustercreationServerinstallationForthisdocument,weusethecur
7、rentDebianstablerelease,Debian7.Partitionnodesdisksinordertohaveafreepartitionwithalotofspace.ThiswillbethestorageplacethatyourOSDdaemonswilluse.Page28of28[1'd9d'2cephdovecot]Here,weallocate≈100Goforthesystemandtherestforthestoragepartition.Donotforgettorese
8、rvesamespacefortheswapfilesystem.Wewillformattheemptyspacelater.NetworkconfigurationOncewehaveformattedallournodes,wemustconfigurehostnamestopermitCephtoworkproperly.Ournetworkconfigurationisthe