资源描述:
《ceph cluster installation:ceph集群安装》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
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.”Oneoftheseserverswillalsobeusedasadminserverforexecutingtheceph-deploycommandlinetool.ClustercreationServerinstallationForthisdocument,weusethecur
7、rentDebianstablerelease,Debian7.Partitionnodesdisksinordertohaveafreepartitionwithalotofspace.ThiswillbethestorageplacethatyourOSDdaemonswilluse.Page28of28[1'd9d'2cephdovecot]Here,weallocate≈100Goforthesystemandtherestforthestoragepartition.Donotforgettorese
8、rvesamespacefortheswapfilesystem.Wewillformattheemptyspacelater.NetworkconfigurationOncewehaveformattedallournodes,wemustconfigurehostnamestopermitCephtoworkproperly.Ournetworkconfigurationisthe