全球旧事资料 分类

O
youradmi
odefromthedirectoryyoucreatedforholdi
gyourco
figuratio
detailsperformthefollowi
gstepsusi
gcephdeploy1、部署一个mo
itor格式:cephdeploy
ewi
itialmo
itor
odes执行cephdeploy
ewwxceph01wxceph02wxceph03Checktheoutputofcephdeploywithlsa
dcati
thecurre
tdirectoryYoushouldseeaCephco
figuratio
fileamo
itorsecretkeyri
ga
dalogfileforthe
ewclusterSeecephdeploy
ewhforadditio
aldetails2、更改副本数Cha
gethedefault
umberofreplicasi
theCephco
figuratio
filefrom3to2sothatCephca
achievea
activeclea
statewithjusttwoCephOSDsAddthefollowi
gli
eu
dertheglobalsectio
osdpooldefaultsize23、Ifyouhavemoretha
o
e
etworki
terfaceaddthepublic
etworksetti
gu
dertheglobalsectio
ofyourCephco
figuratio
fileSeetheNetworkCo
figuratio
Refere
ce(httpdocscephcomdocsmasterradosco
figuratio
etworkco
figref)fordetailspublic
etworkipaddress
etmask4、I
stallCeph格式:cephdeployi
stallceph
odeceph
ode执行:cephdeployi
stallreleasegia
twxcephadmi
wxceph01wxceph02wxceph03Thecephdeployutilitywilli
stallCepho
each
odeNOTEIfyouusecephdeploypurgeyoumustreexecutethissteptorei
stallCeph
6
fCeph087gia
t安装使用手册
5、Addthei
itialmo
itorsa
dgatherthekeys方法1:cephdeploymo
createwxceph01wxceph02wxceph03cephdeploygatherkeyswxceph01wxceph02wxceph03
O
ceyoucompletetheprocessyourlocaldirectoryshouldhavethefollowi
gkeyri
gscluster
ameclie
tadmi
keyri
gcluster
amebootstraposdkeyri
gcluster
amebootstrapmdskeyri
gcluster
amebootstraprgwkeyri
gNote:Thebootstraprgwkeyri
giso
lycreatedduri
gi
stallatio
ofclustersru
i
gHammeror
ewer
四、配置OSD(目录做OSD)
AddtwoOSDsForfastsetupthisquickstartusesadirectoryrathertha
a
e
tirediskperCephOSDDaemo
Seecephdeployosdfordetailso
usi
gseparatediskspartitio
sforOSDsa
djour
als1、用目录来做OSD(快速部署方式,生产系统必须用硬盘,详见httpdocscephcomdocsmasterradosdeployme
tcephdeployosd)Logi
totheCephNodesa
dcreateadirectoryfortheCephOSDDaemo
sshwxceph02sudomkdirvarlocalosd0exitsshwxceph03sudomkdirvarlocalosd1exit
7
fCeph087gia
t安装使用手册
2、准备OSDThe
fromyouradmi
odeusecephdeploytopreparetheOSDs格式:cephdeployosdprepareceph
odepathtodirectory执行:cephdeployosdpreparewxceph02varlocalosd0wxceph03varlocalosd13、激活OSDFi
allyactivatetheOSDs格式:cephdeployosdactivateceph
odepathtodirectory执行:cephdeployosdactivatewxceph02varlocalosd0wxceph03varlocalosd1
五、配置OSD(硬r
好听全球资料 返回顶部