|
|
楼主 |
发表于 2021-7-20 11:07:21
|
显示全部楼层
[root@compute01 deploy]# vim ceph.conf F R% d% K( @7 C6 _" p
[root@compute01 deploy]# history |grep admin8 b% x; q& }* J! N, x. T! E! z$ p
121 ceph-deploy admin iscsi' v; J( f) i- ^
122 cat ceph.client.admin.keyring # d: {. X: h+ Q% v
576 ceph-deploy admin compute0{1,2,3}
8 r* |3 e. N. Z9 h 577 ceph-deploy --overwrite-conf admin compute0{1,2,3}
( V. E9 j z' H7 ?; Y 1005 history |grep admin
e1 ^4 y8 s' P1 D: Q2 g[root@compute01 deploy]# ceph-deploy --overwrite-conf admin compute0{1,2,3}
6 Y$ B$ h4 Z1 a5 C3 y: d[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf. T6 s. w g9 w
[ceph_deploy.cli][INFO ] Invoked (2.0.1): /usr/bin/ceph-deploy --overwrite-conf admin compute01 compute02 compute03
1 P0 K: j( ~- F& t) [+ m# |[ceph_deploy.cli][INFO ] ceph-deploy options:+ @/ ^& ^; @, Q# m& `6 v
[ceph_deploy.cli][INFO ] username : None
, y$ C0 L: L, ]& B" V1 A' n[ceph_deploy.cli][INFO ] verbose : False6 p6 @* W9 b* d/ l, v) A
[ceph_deploy.cli][INFO ] overwrite_conf : True n3 T- m9 D ]' U5 b
[ceph_deploy.cli][INFO ] quiet : False
- Q5 i9 ~4 [' I( g& K6 \! W[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7f9031dcc638>
% E O# V/ e, U. t. z: ~6 e0 q( c[ceph_deploy.cli][INFO ] cluster : ceph
) L A+ a! U4 V1 ?: l# S[ceph_deploy.cli][INFO ] client : ['compute01', 'compute02', 'compute03']
& p4 p2 D* i Y6 o. q; R. s[ceph_deploy.cli][INFO ] func : <function admin at 0x7f9032664230>, E' o; {/ B P, q
[ceph_deploy.cli][INFO ] ceph_conf : None
1 m P% Q0 D4 L" O& g' ~, g[ceph_deploy.cli][INFO ] default_release : False! r+ i3 @# R+ S: U* }) y+ S* c
[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to compute010 J! ]& n8 F" k: g* |) o) |' S$ m
[compute01][DEBUG ] connected to host: compute01 ' a6 I" g2 g' u2 D" c3 Y0 |+ g: M
[compute01][DEBUG ] detect platform information from remote host
, ?6 \/ F4 z6 J1 c[compute01][DEBUG ] detect machine type
0 V0 L- [& {2 \( A, V% t* R, b$ A[compute01][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf, z2 Y$ q# V4 h" d
[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to compute02& a# y! [- u% F2 M1 o
[compute02][DEBUG ] connected to host: compute02 , ^ S# ?6 E7 H4 e# r( t
[compute02][DEBUG ] detect platform information from remote host( Z" L0 ~: T w& y( d3 [+ d
[compute02][DEBUG ] detect machine type
" n9 ^$ i& D* ^. Z# [6 q _) H& A[compute02][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
m- C( t) X; h8 w! y* P+ L[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to compute03. M4 g9 V1 Z* ^% ?# B/ u
[compute03][DEBUG ] connected to host: compute03 ' L% J5 _5 I o# Y, X
[compute03][DEBUG ] detect platform information from remote host8 Z4 p, a. m2 a
[compute03][DEBUG ] detect machine type. a& O/ l0 F. T
[compute03][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf2 r/ l8 L$ U+ V; t3 B
[root@compute01 deploy]# systemctl restart ceph-mon.target |
|