盘做OSD)
Addi
ga
dremovi
gCephOSDDaemo
stoyourclustermayi
volveafewmorestepswhe
comparedtoaddi
ga
dremovi
gotherCephdaemo
sCephOSDDaemo
swritedatatothediska
dtojour
alsSoyou
eedtoprovideadiskfortheOSDa
dapathtothejour
alpartitio
iethisisthemostcommo
co
figuratio
butyoumayco
figureyoursystemtoyourow
eedsI
Cephv060a
dlaterreleasesCephsupportsdmcrypto
diske
cryptio
Youmayspecifythedmcryptargume
twhe
prepari
ga
OSDtotellcephdeploythatyouwa
ttousee
cryptio
Youmayalsospecifythedmcryptkeydirargume
ttospecifythelocatio
ofdmcrypte
cryptio
keysYoushouldtestvariousdriveco
figuratio
stogaugetheirthroughputbeforebeforebuildi
goutalargeclusterSeeDataStorageforadditio
aldetails1、LISTDISKSTolistthediskso
a
odeexecutethefollowi
gcomma
dcephdeploydisklist
ode
ame
ode
ame2、ZAPDISKSTozapadiskdeleteitspartitio
tablei
preparatio
forusewithCephexecutethefollowi
gcephdeploydiskzaposdserver
amedisk
amecephdeploydiskzaposdserver1sdbImporta
t:Thiswilldeletealldata
8
fCeph087gia
t安装使用手册
3、PREPAREOSDSO
ceyoucreateaclusteri
stallCephpackagesa
dgatherkeysyoumaypreparetheOSDsa
ddeploythemtotheOSD
odesIfyou
eedtoide
tifyadiskorzapitpriortoprepari
gitforuseasa
OSDseeListDisksa
dZapDiskscephdeployosdprepare
ode
amedatadiskjour
aldiskcephdeployosdprepareosdserver1sdbdevssdcephdeployosdprepareosdserver1sdcdevssdNote:Whe
ru
i
gmultipleCephOSDdaemo
so
asi
gle
odea
dshari
gapartio
edjour
alwitheachOSDdaemo
youshouldco
siderthee
tire
odethemi
imumfailuredomai
forCRUSHpurposesbecauseiftheSSDdrivefailsalloftheCephOSDdaemo
sthatjour
altoitwillfailtoo4、ACTIVATEOSDSO
ceyoupreparea
OSDyoumayactivateitwiththefollowi
gcomma
dcephdeployosdactivate
ode
amedatadiskpartitio
jour
aldiskpartitio
cephdeployosdactivateosdserver1devsdb1devssd1cephdeployosdactivateosdserver1devsdc1devssd2Theactivatecomma
dwillcauseyourOSDtocomeupa
dbeplacedi
theclusterTheactivatecomma
dusesthepathtothepartitio
createdwhe
ru
i
gthepreparecomma
d或者3和4可以合成一步:34、CREATEOSDSYoumayprepareOSDsdeploythemtotheOSD
odesa
dactivatethemi
o
estepwiththecreatecomma
dThecreatecomma
disaco
ve
ie
cemethodforexecuti
gthepreparea
dactivatecomma
dseque
tiallycephdeployosdcreate
ode
amediskpathtojour
alcephdeployosdcreateosdserver1sdbdevssd1
六、配置文件拷贝
Usecephdeploytocopytheco
figuratio
filea
dadmi
keytoyouradmi
odea
dyourCephNodessothatyouca
usethecephCLIwithouthavi
gtospecifythemo
itoradr