|
|
楼主 |
发表于 2021-7-20 11:07:21
|
显示全部楼层
[root@compute01 deploy]# vim ceph.conf ( E- @1 ` B1 E& O* Y& `
[root@compute01 deploy]# history |grep admin: W; f# T, [1 w/ ]3 b
121 ceph-deploy admin iscsi5 N5 v+ o: n: i8 o, h8 |5 l
122 cat ceph.client.admin.keyring 4 h, r+ q/ ?6 G: }2 @# R
576 ceph-deploy admin compute0{1,2,3}2 O6 k' T* a* p) Y) \: L4 M. J
577 ceph-deploy --overwrite-conf admin compute0{1,2,3}
) x9 H* F! q4 _ 1005 history |grep admin
! S% H- ]# B; N" H. T( r. Z[root@compute01 deploy]# ceph-deploy --overwrite-conf admin compute0{1,2,3}
: Q2 E: h$ j4 W0 o[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
" @& @/ ~ [3 Q5 u* c[ceph_deploy.cli][INFO ] Invoked (2.0.1): /usr/bin/ceph-deploy --overwrite-conf admin compute01 compute02 compute03. w6 e" e: |% r x( U8 k
[ceph_deploy.cli][INFO ] ceph-deploy options:
4 d7 {3 b4 Y6 q[ceph_deploy.cli][INFO ] username : None) r7 Y6 k+ V0 ]/ f/ u) d
[ceph_deploy.cli][INFO ] verbose : False* I) x7 ]) @/ W1 g: Y* Y2 _$ O. ]3 m
[ceph_deploy.cli][INFO ] overwrite_conf : True
9 l- g3 x" _5 H0 r! t7 e3 D& C[ceph_deploy.cli][INFO ] quiet : False6 ]" i( }' s' |- h* q
[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7f9031dcc638>
3 B# l; s. N# j }* [[ceph_deploy.cli][INFO ] cluster : ceph
r$ G1 {0 n7 w) m[ceph_deploy.cli][INFO ] client : ['compute01', 'compute02', 'compute03']+ {# N% N8 c) c: r2 c
[ceph_deploy.cli][INFO ] func : <function admin at 0x7f9032664230>
, x1 v+ k$ y7 K1 K[ceph_deploy.cli][INFO ] ceph_conf : None! i% i- K2 W& W. |
[ceph_deploy.cli][INFO ] default_release : False; `2 W8 v5 l- f& C4 J% x, ]5 f
[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to compute01: H) N* N! L* Q; p K6 @ Z5 q
[compute01][DEBUG ] connected to host: compute01 * U V8 |) @4 m; R
[compute01][DEBUG ] detect platform information from remote host
7 v' o o6 w \ I[compute01][DEBUG ] detect machine type4 m3 U9 d+ j8 J' [- `+ O
[compute01][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf% |% ?. T/ T0 ^$ L
[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to compute02% } I; p3 q) t1 r3 l1 S
[compute02][DEBUG ] connected to host: compute02 5 A9 q5 |0 ~6 C: ?
[compute02][DEBUG ] detect platform information from remote host9 w2 X3 r* N+ C+ L% r" ~0 g" M. e( u
[compute02][DEBUG ] detect machine type
, \( {, F% g9 N5 A) S. ]1 C, m[compute02][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
/ H5 [8 S% ], g) E# j! J# v, u[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to compute03
5 l5 x6 ^$ }. W K3 [% ]$ O[compute03][DEBUG ] connected to host: compute03 * T P* _, q, T/ ?! W4 R2 q) m% n
[compute03][DEBUG ] detect platform information from remote host' v4 m+ O" x Z' ~' l" j; A
[compute03][DEBUG ] detect machine type
+ [, t$ v5 P Z" G7 x- M! n' Z[compute03][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf! ~' W! }; N, w/ K& L
[root@compute01 deploy]# systemctl restart ceph-mon.target |
|