全球旧事资料 分类
点在admi
节点上执行:suceph2、执行sshkeyge
,一路回车。
3、CopythekeytoeachCephNodereplaci
guser
amewiththeuser
ameyoucreatedwithCreateaCephUser格式:sshcopyiduser
ame
ode1sshcopyiduser
ame
ode2sshcopyiduser
ame
ode3执行:sshcopyidcephwxceph01sshcopyidcephwxceph02sshcopyidcephwxceph03
3
fCeph087gia
t安装使用手册
验证是否可以免密码登录:
4、Recomme
dedModifythesshco
figfileofyourcephdeployadmi
odesothatcephdeployca
logi
toCeph
odesastheuseryoucreatedwithoutrequiri
gyoutospecifyuser
ameuser
ameeachtimeyouexecutecephdeployThishastheaddedbe
efitofstreamli
i
gssha
dscpusageReplaceuser
amewiththeuser
ameyoucreatedHost
ode1Host
ame
ode1Useruser
ameHost
ode2Host
ame
ode2Useruser
ameHost
ode3Host
ame
ode3Useruser
ame执行:在admi
节点:sudovisshco
figHostwxceph01Host
amewxceph01UsercephHostwxceph02Host
amewxceph02UsercephHostwxceph03
4
fCeph087gia
t安装使用手册
Host
amewxceph03Userceph
七、一些注意事项
1、为了安装的便利,要确保防火墙开启ceph需要用到的端口,为了简单,建议将防火墙全部禁用掉。2、在redhat和ce
tos下,需要关闭seli
ux
第二部分:安装
安装之前,要确保第一部分的环境准备已经完成,以下的步骤通过在admi
节点上来进行快速的ceph集群安装部署。(Ifyouhave
’tcompletedyourPreflightChecklistdothatfirstThisQuickStartsetsupaCephStorageClusterusi
gcephdeployo
youradmi
odeCreateathreeCephNodeclustersoyouca
exploreCephfu
ctio
ality)
一、在wxcephadmi
节点上创建目录
说明:Forbestresultscreateadirectoryo
youradmi
odeformai
tai
i
gtheco
figuratio
filesa
dkeysthatcephdeployge
eratesforyourcluster执行:mkdirmyclustercdmycluster说明:Thecephdeployutilitywilloutputfilestothecurre
tdirectoryE
sureyouarei
thisdirectorywhe
executi
gcephdeployImporta
t:Do
otcallcephdeploywithsudoorru
itasrootifyouareloggedi
asadiffere
tuserbecauseitwill
otissuesudocomma
ds
eededo
theremotehost
二、清空配置purgeco
figuratio
Ifata
ypoi
tyouru
i
totroublea
dyouwa
ttostartoverexecutethefollowi
gtopurgetheco
figuratio
TopurgetheCephpackagesyoumayalsoexecute格式:cephdeploypurgeceph
odeceph
ode执行cephdeploypurgewxcephadmi
wxceph01wxceph02wxceph03格式:
5
fCeph087gia
t安装使用手册
cephdeploypurgedataceph
odeceph
ode执行:cephdeploypurgedatawxcephadmi
wxceph01wxceph02wxceph03cephdeployforgetkeysIfyouexecutepurgeyoumustrei
stallCeph如果执行了以上purge指令,ceph需要重新安装。
三、安r
好听全球资料 返回顶部