鲲鹏社区首页
中文
注册
我要评分
文档获取效率
文档正确性
内容完整性
文档易理解
在线提单
论坛求助

Deploying MON Nodes

  • Perform operations in this section only on ceph1.
  • Complete the operations in Configuring MON Nodes.
  • When using ceph-deploy to operate the Ceph cluster, run the commands in the /root/ceph-mycluster/ directory. Otherwise, an error is reported.
  1. Initialize the monitor and collect keys.
    1
    ceph-deploy mon create-initial
    

  2. Copy ceph.client.admin.keyring to each node.
    1
    ceph-deploy --overwrite-conf admin ceph1 ceph2 ceph3 client1 client2 client3
    

  3. Check whether the configuration is successful.
    1
    ceph -s
    

    The following information is displayed:

    cluster:
    id:     0207ddea-2150-4509-860d-365e87420b3e
    health: HEALTH_OK
    
    services:
    mon: 3 daemons, quorum ceph1,ceph2,ceph3 (age 25h)

The warning "mon is allowing insecure global_id reclaim" indicates that you have enabled the insecure global ID reclamation configuration, which may cause data inconsistency. You can run the following command to disable insecure global ID reclamation to clear the warning and ensure data consistency:

ceph config set mon auth_allow_insecure_global_id_reclaim false