ceph

ceph crush map自定义

2017-10-23  本文已影响9人  think_lonely

1. 从任意一个monitor节点提取crush map并反编译它

# ceph osd getcrushmap -o crushmap-extract

# crushtool -d crushmap-extract -o crushmap-decompiled

2. 编辑器编辑默认的crush map文件

# vi crushmap-decompiled

3. 编译crush文件注入回cephalexin集群

# crushtool -c crushmap-decompiled  -o crushmap-compiled

# ceph osd setcrushmap -i crushmap-compiled

上一篇 下一篇

猜你喜欢

热点阅读