|
|
楼主 |
发表于 2021-7-20 11:07:21
|
显示全部楼层
[root@compute01 deploy]# vim ceph.conf - |0 T: L M. V' Y y7 S/ G5 R- H, W/ B
[root@compute01 deploy]# history |grep admin
: v2 e0 J8 a) w* v1 D; l A 121 ceph-deploy admin iscsi3 c% I0 V3 D: a: n+ L% w! i
122 cat ceph.client.admin.keyring
1 Z9 o; h7 @( ~3 v 576 ceph-deploy admin compute0{1,2,3}
- J+ B3 j! B$ h6 g1 N 577 ceph-deploy --overwrite-conf admin compute0{1,2,3}7 J6 g$ x4 v$ u3 F# c+ K8 g
1005 history |grep admin
# }" U' F' ]8 M4 Z[root@compute01 deploy]# ceph-deploy --overwrite-conf admin compute0{1,2,3}
* G, `* v/ H3 U& j r8 c. K$ A+ _: v[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf& ~. z# A1 {5 T
[ceph_deploy.cli][INFO ] Invoked (2.0.1): /usr/bin/ceph-deploy --overwrite-conf admin compute01 compute02 compute03
7 x% g! P$ L; w5 k- a[ceph_deploy.cli][INFO ] ceph-deploy options:
& Q4 n7 T9 x* H6 e& r# B[ceph_deploy.cli][INFO ] username : None% Z* `/ q3 Q2 P
[ceph_deploy.cli][INFO ] verbose : False
' e: x; B4 z- L x[ceph_deploy.cli][INFO ] overwrite_conf : True# O a) M$ @' q. l+ Y# A7 d
[ceph_deploy.cli][INFO ] quiet : False% b* _) q- M* V) P7 R% _ K
[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7f9031dcc638>; @* |) t% d; v9 V
[ceph_deploy.cli][INFO ] cluster : ceph
. L9 I, t1 [- ][ceph_deploy.cli][INFO ] client : ['compute01', 'compute02', 'compute03']
' t9 J; [% L; v6 ~7 L+ O. r ?[ceph_deploy.cli][INFO ] func : <function admin at 0x7f9032664230>
! J6 K9 K8 Y! [% @7 p[ceph_deploy.cli][INFO ] ceph_conf : None
5 b3 A2 C6 E6 v[ceph_deploy.cli][INFO ] default_release : False
* w6 G9 A7 M- Y$ W$ o! d[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to compute017 D1 E- L$ X' z5 g/ v8 M
[compute01][DEBUG ] connected to host: compute01 2 l* F3 q% c, i
[compute01][DEBUG ] detect platform information from remote host: f( Y- a) [3 |
[compute01][DEBUG ] detect machine type- B, j3 c1 V+ F9 e8 J5 o# `) |
[compute01][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf- ^' `/ ~5 P9 x( n' W' q
[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to compute02
* M2 ]/ ?$ H) |& r" L5 e5 i[compute02][DEBUG ] connected to host: compute02
* m5 s% Z9 z( ?1 [[compute02][DEBUG ] detect platform information from remote host' d: N7 U* c' Z
[compute02][DEBUG ] detect machine type' z6 R' F1 j+ ^3 E: Y" T: ~) i
[compute02][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf' C5 B7 `* F6 q, e
[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to compute03
, T4 L9 |% K( e7 ? X8 h0 P* b[compute03][DEBUG ] connected to host: compute03
5 F; U2 e- u4 k9 E2 p* S2 W9 d[compute03][DEBUG ] detect platform information from remote host1 W$ F/ N; M$ O* K6 [9 T) R7 m* G
[compute03][DEBUG ] detect machine type
& V; V# X3 l4 `1 f9 m[compute03][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf4 I/ ~. ^8 V; K+ X w
[root@compute01 deploy]# systemctl restart ceph-mon.target |
|