|
|
楼主 |
发表于 2021-7-20 11:07:21
|
显示全部楼层
[root@compute01 deploy]# vim ceph.conf
6 t4 R/ J$ G0 F7 Q' l2 C$ H+ q[root@compute01 deploy]# history |grep admin. P3 R6 N. {9 L& Y/ w8 K( v3 ?% D) R
121 ceph-deploy admin iscsi
/ [$ @$ F$ g [2 x- G ?: @ 122 cat ceph.client.admin.keyring 0 {. {! }% B) U+ Q! P9 }. E7 c5 R
576 ceph-deploy admin compute0{1,2,3}$ b, y6 i: `( |" D& K `- U, M
577 ceph-deploy --overwrite-conf admin compute0{1,2,3}/ T) i" f; j' J. @/ z
1005 history |grep admin
% j" N0 o- V4 y) f[root@compute01 deploy]# ceph-deploy --overwrite-conf admin compute0{1,2,3}
( }3 O2 V% D" W* e* U. k" o[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf6 {0 @# ~# p! _) ]2 _/ u' y$ X
[ceph_deploy.cli][INFO ] Invoked (2.0.1): /usr/bin/ceph-deploy --overwrite-conf admin compute01 compute02 compute03+ [5 k9 b% c4 k- k5 r# I
[ceph_deploy.cli][INFO ] ceph-deploy options:# M* P; V! J. y
[ceph_deploy.cli][INFO ] username : None. ~/ E- H& Y6 t* {+ S' q9 D) p& ^' W
[ceph_deploy.cli][INFO ] verbose : False
, z* I) U' l5 h: `8 r7 T* ~[ceph_deploy.cli][INFO ] overwrite_conf : True
4 [! l* Y9 y; n: e* s[ceph_deploy.cli][INFO ] quiet : False
% S/ ~ v3 p' i4 I/ I[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7f9031dcc638>! W3 T: ] a2 D* n! s- V& n
[ceph_deploy.cli][INFO ] cluster : ceph
4 X' h) @# i9 o! ~# `' x* ]& D! U[ceph_deploy.cli][INFO ] client : ['compute01', 'compute02', 'compute03']
! b& `* R! c# {" @[ceph_deploy.cli][INFO ] func : <function admin at 0x7f9032664230>8 ]1 ^( @/ _) Z' p4 e' e. ~: O% c
[ceph_deploy.cli][INFO ] ceph_conf : None9 Q7 ` D: K" L# X; U0 `; Y
[ceph_deploy.cli][INFO ] default_release : False$ g. p, p; P L; k g' C
[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to compute01: n3 R O2 t2 y: c9 X, Y1 @/ a
[compute01][DEBUG ] connected to host: compute01
1 X+ R I& ^- A8 P[compute01][DEBUG ] detect platform information from remote host K/ j! K. z9 `& i1 F1 E
[compute01][DEBUG ] detect machine type
`* {/ _ f8 a+ s) \9 a[compute01][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
) C3 d" U, E% Z: d V/ K9 y[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to compute02
6 y6 O5 W- @- U8 g[compute02][DEBUG ] connected to host: compute02
, O8 U4 w/ u8 N# _2 ?; R& J7 D[compute02][DEBUG ] detect platform information from remote host
/ Y9 w' [& i/ U7 f1 ^4 y[compute02][DEBUG ] detect machine type
" \0 p- |6 m" q[compute02][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf: S& w9 E- p8 _
[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to compute03
" N T; K# e* c! P[compute03][DEBUG ] connected to host: compute03
8 T" ^7 M6 m% F+ |. d! [' z[compute03][DEBUG ] detect platform information from remote host
! ~" N* z' o1 B. F+ P[compute03][DEBUG ] detect machine type$ Z8 v' z M4 F3 t6 j t
[compute03][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf( M! V) E) I* a( Q0 i7 Z" m. N
[root@compute01 deploy]# systemctl restart ceph-mon.target |
|