随笔分类 -  ceph

摘要:systemctl restart ceph-mon@mon-node3 systemctl stop ceph-mon@mon-node3 systemctl start ceph-mon@mon-node3 阅读全文
posted @ 2018-07-10 10:17 划得戳 阅读(1010) 评论(0) 推荐(0)
摘要:ceph osd pool ls #查看rdb 列出存储池 ceph osd pool create k8spool 1024 #创建存储池 ceph auth add client.terry mon 'allow rwx' osd 'allow rwx' #新增用户 ceph auth get 阅读全文
posted @ 2018-06-25 13:06 划得戳 阅读(354) 评论(0) 推荐(0)
摘要:1、在不同节点安装ceph时,出现以下异常: 参考这里 ceph deploy RuntimeError: NoSectionError: No section: 'ceph' 解决方法: 在报错的机器上尝试: yum remove ceph-release rm /etc/yum.repos.d/ 阅读全文
posted @ 2018-01-16 18:14 划得戳 阅读(4521) 评论(0) 推荐(0)
摘要:安装dns工具包yum -y install bind-utils 安装dns软件 yum install -y dnsmasq 配置dnsmasq的配置文件:/etc/dnsmasq.conf 编辑添加泛域名解析: 重启dnsmasq: systemctl restart dnsmasq ngin 阅读全文
posted @ 2018-01-16 15:23 划得戳 阅读(599) 评论(0) 推荐(0)
摘要:下载v2的SDK开发包http://pear.amazonwebservices.com/get/sdk-latest.zip 解压到目录下: unzip sdk-latest.zip && cd sdk-latest 编辑sdk.class.php vim sdk.class.php 编写一个测试 阅读全文
posted @ 2018-01-12 14:08 划得戳 阅读(555) 评论(0) 推荐(0)
摘要:COSBench安装 Cosbench是Intel的开源云存储性能测试软件,COSBench目前已经广泛使用与云存储测试,并作为云存储的基准测试工具使用 1 环境 1.1 操作系统 COSBench可在windows和linux两种系统中运行,而为了更好的发挥硬件和系统的能力,建议在使用COSBen 阅读全文
posted @ 2018-01-10 17:25 划得戳 阅读(3593) 评论(0) 推荐(0)
摘要:常用操作: 生成一新用户: 在两个集群当中都创建相同的管理用户 这里为了测试方便使用了简单密码 此时admin还仅仅是普通的权限,需要通过cap添加user的capabilities,例如: $ radosgw-admin user create --display-name="johnny rot 阅读全文
posted @ 2018-01-10 11:56 划得戳 阅读(15250) 评论(0) 推荐(0)
摘要:S3 client 访问ceph rgw 安装: 验证安装是否成功: 在ceph管理主机上创建S3用户: sudo radosgw-admin user create --uid="test" --display-name="zhangsan" 查看用户: sudo radosgw-admin us 阅读全文
posted @ 2018-01-10 11:13 划得戳 阅读(2908) 评论(0) 推荐(0)
摘要:nginx.conf proxy_set_header Host $host; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Host $server_name; proxy_set_heade 阅读全文
posted @ 2018-01-09 14:58 划得戳 阅读(2065) 评论(0) 推荐(0)
摘要:安装依赖: yum install -y yum-utils && yum-config-manager --add-repo https://dl.fedoraproject.org/pub/epel/7/x86_64/ && yum install --nogpgcheck -y epel-re 阅读全文
posted @ 2018-01-08 18:15 划得戳 阅读(650) 评论(0) 推荐(0)
摘要:优化: PG Number PG和PGP数量一定要根据OSD的数量进行调整,计算公式如下,但是最后算出的结果一定要接近或者等于一个2的指数。调整PGP不会引起PG内的对象的分裂,但是会引起PG的分布的变动三、总结PG是指定存储池存储对象的目录有多少个,PGP是存储池PG的OSD分布组合个数PG的增加 阅读全文
posted @ 2018-01-06 15:42 划得戳 阅读(12061) 评论(0) 推荐(1)
摘要:我在物理机上创建了5台虚拟机,搭建了一个ceph集群,结构如图: 具体的安装步骤参考文档:http://docs.ceph.org.cn/start/ http://www.centoscn.com/CentosServer/test/2015/0521/5489.html 一、磁盘读写性能 1. 阅读全文
posted @ 2018-01-05 10:13 划得戳 阅读(7328) 评论(0) 推荐(0)