Ceph 修改运行时配置参数
修改OSD恢复优先级:
# ceph tell osd.* config set osd_recovery_op_priority 3
osd.0: Set osd_recovery_op_priority to 3
osd.1: Set osd_recovery_op_priority to 3
osd.2: Set osd_recovery_op_priority to 3
osd.3: Set osd_recovery_op_priority to 3
osd.4: Set osd_recovery_op_priority to 3
osd.5: Set osd_recovery_op_priority to 3
osd.6: Set osd_recovery_op_priority to 3
osd.7: Set osd_recovery_op_priority to 3
osd.8: Set osd_recovery_op_priority to 3
查看OSD恢复优先级:
# ceph tell osd.* config get osd_recovery_op_priority
osd.0: 3
osd.1: 3
osd.2: 3
osd.3: 3
osd.4: 3
osd.5: 3
osd.6: 3
osd.7: 3
osd.8: 3
运行时配置管理命令说明:
config get <key> # 在运行时获取配置选项
config set <key> <value> # 在运行时(不持久)设置配置选项
config unset <key> # 在运行时解开配置选项(不持久)