ceph修改public_network

获取mon map 1 ceph mon getmap -o monmap 查看mon map: 1 2 3 4 5 6 7 8 9 10 root@xjcc-1-80:~/piglet/mon# monmaptool --print monmap monmaptool: monmap file monmap epoch 3 fsid 977b0814-6472-45ec-9d89-914c6cf0daf7 last_changed 2020-11-19T15:10:24.859843+0800 created 2020-11-19T02:34:26.993044+0800 m

Read More

ceph缓存分层

缓存分类 writeback(热数据) WRITEBACK模式是最复杂也是最有实用价值的模式,其具体实现会按照请求类型、cache状态综合判断,并复用前三种模式下的一些处理细节进行综合处理。处于这种模式下的cache tier存储池,其处理流程如下: 判断cache tier存储池的状态是否已满,如果已满,则对于读请求直接调用do_proxy_read,对于写请求直接将OP加入到waiting_for_cache_not_full队列,并在下一次有新的请求达到时重新放入OP队列处理。 在cache tier未满的情况下,先判断是否必须进行promote,如果需要就调用promote_obj

Read More

Kdump、watchdog、BMC配置

Kdump配置 配置 配置文件(/etc/default/grub.conf) 执行: 1 2 3 grub2-mkconfig -o /boot/grub2/grub.cfg reboot 重启后手动触发crash检测Kdump是否正常: 1 2 echo 1 > /proc/sys/kernel/sysrq echo c > /proc/sysrq-trigger 检测是否产生crash: 运行vmcore 1、安装kernel-lt-4.4.13-1.el7.elrepo.x86_64.rpm,kernel-lt-devel-4.4.13-1.el7.e

Read More

存储策略部署文档

部署Cluster Map map的系统层级(树形结构,从root开始) 1 2 3 4 5 6 7 8 9 10 11 12 # types type 0 osd type 1 host type 2 chassis type 3 rack type 4 row type 5 pdu type 6 pod type 7 room type 8 datacenter type 9 region type 10 root 树形结构(例如room): 1 2 3 4 5 6 7 8 9 10 11 rule-----root_rule |------room1 |

Read More

对象文件查询接口

* 修改历史 日期版本描述作者2020-03-06V1.0对象文件查询接口piglet目录 [TOC] 一、文件查询 ** 请求url**:http://ip:8888/api/voss/obj_query ** 请求类型 **:GET ** 请求参数 **: {“tenant”:string,”user_account”:string,”bucket_name”:string,”object_name”:string} ** 请求参数示例 **: 1 2 3 4 5 6 { "tenant":"test", "user_account":"test01",

Read More

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick Start Create a new post 1 $ hexo new "My New Post" More info: Writing Run server 1 $ hexo s

Read More