このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
Tag Cloud
このページへのアクセス
今日: 17 / 昨日: 1
総計: 808
- Dokuwiki.fl8.jp(2327)
- 13 CentOS6メール設定(58)
- FreeBSD カーネル再構築(52)
- 75 Proftpd(52)
最近の更新
このページへのアクセス
今日: 17 / 昨日: 1
総計: 808
ceph-deploy mon add ceph-mon02
ceph-deploy mon destroy ceph-mon01
追加後は、cpeh.confを同期してあげる。
ceph-deploy --overwrite-conf config push ceph001 ceph002 ceph003 ceph005 ceph006 ceph007
追加後すぐは、Prometheusに追加monの情報が入ってないので、停止・起動してあげる
ceph mgr module disable prometheus ceph mgr module enable prometheus
[ceph-mon02][INFO ] Running command: systemctl enable ceph.target
[ceph-mon02][INFO ] Running command: systemctl enable ceph-mon@ceph-mon02
[ceph-mon02][INFO ] Running command: systemctl start ceph-mon@ceph-mon02
[ceph-mon02][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-mon02.asok mon_status
[ceph-mon02][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[ceph-mon02][WARNIN] monitor ceph-mon02 does not exist in monmap
[ceph-mon02][WARNIN] neither `public_addr` nor `public_network` keys are defined for monitors
[ceph-mon02][WARNIN] monitors may not be able to form quorum
[ceph-mon02][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-mon02.asok mon_status
[ceph-mon02][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[ceph-mon02][WARNIN] monitor: mon.ceph-mon02, might not be running yet
「public_network」を追加してあげると解決
[global]
fsid = XXXXXXXX-XXXX-XXX-XXXX-XXXXXXXXXXX
mon_initial_members = ceph001, ceph004, ceph005, ceph-mon02
mon_host = 10.10.0.101,10.10.0.104,10.10.0.105, 10.10.10.12
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
↓
[global]
fsid = XXXXXXXX-XXXX-XXX-XXXX-XXXXXXXXXXX
mon_initial_members = ceph001, ceph004, ceph005, ceph-mon02
mon_host = 10.10.0.101,10.10.0.104,10.10.0.105, 10.10.10.12
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
public_network = 10.10.0.0/16