ceph 单节点部署
程序员文章站
2022-07-13 09:01:30
...
以node1为例,在这个节点上面安装mon和osd两种角色
<!-- lang: shell -->
ceph-deploy install node1
ceph-deploy new node1
echo "osd crush chooseleaf type = 0" >> ceph.conf
echo "osd pool default size = 1" >> ceph.conf
ceph-deploy mon create-initial node1
ceph-deploy disk zap node1:/dev/sdb node1:/dev/sdc node1:/dev/sdd
ceph-deploy osd prepare node1:/dev/sdb node1:/dev/sdc node1:/dev/sdd
转载于:https://my.oschina.net/diluga/blog/391645
上一篇: Java:CompletableFuture一文搞定
下一篇: Hadoop单节点部署