我要评分
获取效率
正确性
完整性
易理解

Deploying MGR Nodes

Perform the following operations on ceph1 to deploy Manager (MGR) nodes.

  1. Deploy MGR nodes.
    1
    ceph-deploy mgr create ceph1 ceph2 ceph3
    

    ‏‏The command is successfully executed if the following information is displayed:

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    [ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
    [ceph_deploy.cli][INFO  ] Invoked (2.0.1): /usr/bin/ceph-deploy mgr create ceph1 ceph2 ceph3
    [ceph_deploy.cli][INFO  ] ceph-deploy options:
    [ceph_deploy.cli][INFO  ]  username                      : None
    [ceph_deploy.cli][INFO  ]  verbose                       : False
    [ceph_deploy.cli][INFO  ]  mgr                           : [('ceph1', 'ceph1'), ('ceph2', 'ceph2'), ('ceph3', 'ceph3')]
    [ceph_deploy.cli][INFO  ]  overwrite_conf                : False
    [ceph_deploy.cli][INFO  ]  subcommand                    : create
    [ceph_deploy.cli][INFO  ]  quiet                         : False
    [ceph_deploy.cli][INFO  ]  cd_conf                       : <ceph_deploy.conf.cephdeploy.Conf instance at 0xffff41bc7280>
    [ceph_deploy.cli][INFO  ]  cluster                       : ceph
    [ceph_deploy.cli][INFO  ]  func                          : <function mgr at 0xffff41c57bd0>
    [ceph_deploy.cli][INFO  ]  ceph_conf                     : None
    [ceph_deploy.cli][INFO  ]  default_release               : False
    [ceph_deploy.mgr][DEBUG ] Deploying mgr, cluster ceph hosts ceph1:ceph1 ceph2:ceph2 ceph3:ceph3
    [ceph1][DEBUG ] connected to host: ceph1
    [ceph1][DEBUG ] detect platform information from remote host
    [ceph1][DEBUG ] detect machine type
    [ceph_deploy.mgr][INFO  ] Distro info: openEuler 20.03 LTS-SP1
    [ceph_deploy.mgr][DEBUG ] remote host will use systemd
    [ceph_deploy.mgr][DEBUG ] deploying mgr bootstrap to ceph1
    [ceph1][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
    
  2. Check whether the MGR nodes are successfully deployed.
    1
    ceph -s
    
    ‏‏The configuration is successful if the following information is displayed:
    1
    2
    3
    4
    5
    6
    7
    cluster:
    id:     f6b3c38c-7241-44b3-b433-52e276dd53c6
    health: HEALTH_OK
    
    services:
    mon: 3 daemons, quorum ceph1,ceph2,ceph3 (age 25h)
    mgr: ceph1(active, since 2d), standbys: ceph2, ceph3