crush

zenith Crusher Machines Jaw Crusher For Highway Development And Mining Dressing

与世无争的帅哥 提交于 2020-01-22 01:51:07
In business mining ,a variety of is often employed .The crushing gear is made use of to break significant pieces of rock broken into smaller pieces .The materials is often iron ore, copper ore, limestone, quartz, granite, sandstone ,and so forth. The crushing tools has become extensively applied in metallurgical, highway construction, road developing, chemical and phosphatic sector, and so on. Crushing equipment in highway construction is of newly massive and tiny series crushing and screening tools for robust in mobility, so it may preserve a large building basalt aggregate crushing line for

运维常用的指令

假装没事ソ 提交于 2020-01-17 04:39:50
运维常用的指令:https://www.cnblogs.com/luoliyu/p/7765759.html 一、集群 1、启动一个ceph 进程 启动mon进程 service ceph start mon.node1 启动msd进程 service ceph start mds.node1 启动osd进程 service ceph start osd.0 2、查看机器的监控状态 [root@client ~]# ceph health HEALTH_OK 3、查看ceph的实时运行状态 [root@client ~]# ceph -w 4、检查信息状态信息 [root@client ~]# ceph -s 5、查看ceph存储空间 [root@client ~]# ceph df 6、删除一个节点的所有的ceph数据包 [root@node1 ~]# ceph-deploy purge node1 [root@node1 ~]# ceph-deploy purgedata node1 7、为ceph创建一个admin用户并为admin用户创建一个密钥,把密钥保存到/etc/ceph目录下: ceph auth get-or-create client.admin mds ‘allow’ osd ‘allow *’ mon ‘allow *’ > /etc/ceph/ceph

综合练习:词频统计

浪尽此生 提交于 2020-01-10 09:53:33
综合练习 词频统计预处理 下载一首英文的歌词或文章 将所有,.?!’:等分隔符全部替换为空格 str = '''Passion is sweet Love makes weak You said you cherised freedom so You refused to let it go Follow your faith Love and hate never failed to seize the day Don't give yourself away Oh when the night falls And your all alone In your deepest sleep What are you dreeeming of My skin's still burning from your touch Oh I just can't get enough I said I wouldn't ask for much But your eyes are dangerous So the tought keeps spinning in my head Can we drop this masquerade I can't predict where it ends If you're the rock I'll crush against Trapped in a

ceph 部署单机&&集群

霸气de小男生 提交于 2019-12-15 09:14:50
文章目录 ceph-deploy部署集群 ceph-deploy 部署单机 ceph-deploy 创建osd ceph osd创建资源池 ceph创建rbd块设备 ceph创建fs文件系统 本文档主要参考 ceph官方命令 进行部署,使用的时侯ceph-deploy原生命令方式进行集群各个组件的创建,删除,后续会增加扩容相关的命令。 ceph-deploy部署集群 修改hosts文件,增加想要创建的集群节点名称和对应ip的映射关系 hosts文件可以加快域名解析,同时方便局域网用户来为服务器创建容易记住的名字(node1,node2,node3…) vim /etc/hosts 增加如下ip到主机名称的映射关系: 10.192.55.95 node1 10.192.55.6 node2 10.192.55.100 node3 表示三结点的集群,同时需要将该文件拷贝到每个节点上 scp /etc/hosts 10.192.55.6:/etc 修改hostname ,即对应hosts文件中的域名,在进行节点通信的时候主机间能够进行映射 在每个ip上执行如右命令 hostname node1 ,同时为了重启后生效应执行 echo node1 >/etc/hostname 或者直接编辑文件 vim /etc/sysconfig/network ,在其中增加 HOSTNAME=node1

Deploy Ceph and start using it: Troubleshooting

一世执手 提交于 2019-12-06 21:08:05
( Part 1/3 – Installation - Part 3/3 – librados client ) It is quite common that after the initial installation, the Ceph cluster reports health warnings. Before using the cluster for storage (e.g., allow clients to access it), a HEALTH_OK state should be reached: cluster-admin@ceph-mon0:~/ceph-cluster$ ceph health HEALTH_OK This part of the tutorial provides some troubleshooting hints that I collected during the setup of my deployments. Other helpful resources are the Ceph IRC channel and mailing lists. Useful diagnostic commands A collection of diagnostic commands to check the status of the

Ceph 调整crush map

梦想与她 提交于 2019-12-06 13:20:51
目录 Ceph 调整crush map 1、前言 2、示例 1、创建新的replicated 2、修改当前pool的rule Ceph 调整crush map 1、前言 本文章适用于ceph n版 2、示例 1、创建新的replicated ####命令模板###### ceph osd crush rule create-replicated <rule-name> <root> <failure-domain> <class> ###################示例##### ceph osd crush rule create-replicated ssd-rule default host ssd 2、修改当前pool的rule #####命令模板####### ceph osd pool set <pool-name> crush_rule <rule-name> ####示例######## ceph osd pool set ssd-pool crush_rule ssd-rule 来源: https://www.cnblogs.com/yanling-coder/p/11986810.html

centos7 安装配置ceph

旧时模样 提交于 2019-12-06 08:16:39
前期准备: 规划:8台机器 IP hostname role 192.168.2.20 mon mon.mon 192.168.2.21 osd1 osd.0,mon.osd1 192.168.2.22 osd2 osd.1,mds.b(standby) 192.168.2.23 osd3 osd.2 192.168.2.24 osd4 osd.3 192.168.2.27 client mds.a,mon.client 192.168.2.28 osd5 osd.4 192.168.2.29 osd6 osd.5 关闭 SELINUX [root @admin ceph]# sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config [root @admin ceph]# setenforce 0 打开 Ceph 需要的端口 [root @admin ceph]# firewall-cmd --zone=public --add-port=6789/tcp --permanent [root @admin ceph]# firewall-cmd --zone=public --add-port=6800-7100/tcp --permanent [root @admin ceph]# firewall

关于ceph tier的一些想法

无人久伴 提交于 2019-12-05 12:05:38
ceph的实验环境在公司内部用了一段时间,主要是利用rbd提供的块设备创建虚拟机、为虚拟机分配块,还是很稳定的。但现在的环境大部分配置还是ceph的默认值,只是将journal分离出来写到了一个单独的分区。后面打算利用ceph tier和ssd做一些优化: 1. 将journal写入一块单独的ssd磁盘。 2. 利用ssd配置一个ssd pool,将这个pool作为其它pool的cache,这就需要ceph tier。 网上搜索了一下,目前还没有这么实践的文章以及这么做后性能到底会提升多少。所以此方案实施后会进行相关测试: 1. 默认安装ceph。 2. 将journal分离到单独的普通硬盘分区。 3. 将journal分离到单独的ssd盘。 4. 加入ssd pool后。 crush的设置可以看这篇文章: http://www.sebastien-han.fr/blog/2012/12/07/ceph-2-speed-storage-with-crush/ I. Use case Roughly say your infrastructure could be based on several type of servers: storage nodes full of SSDs disks storage nodes full of SAS disks storage

Ceph的架构(一)

穿精又带淫゛_ 提交于 2019-12-05 12:05:27
The Ceph storage cluster Ceph的集群由两种类型的守护进程组(daemon)成(通常是一个host一个daemon): Ceph Monitor & Ceph OSD Daemon 一个ceph的monitor维护了整个cluster map,多个monitor组成的集群可以避免一个Monitor崩溃的单点失效问题。存储集群的用户可以从monitor处拷贝一份cluster map作为缓存。 一个Ceph OSD Daemon检查它自己以及其他OSD的状态并且报告给monitor。 存储集群的Client和每个Ceph OSD Daemon使用crush算法来高效地计算关于数据位置的信息,而不是通过一个巨大的中心化的搜索表。 1. 存储数据 Ceph从Ceph client处获取数据——无论这些数据是从Ceph块设备(Ceph Block Device),Ceph对象存储(Ceph Object Storage),Ceph文件系统(Ceph Filesystem)还是一个你使用librados创建的自定义存储方式——并且将它们作为对象存储起来。每个对象对应着文件系统中的一个文件,这些文件存储在Ceph存储设备(OSD)中。Ceph OSD守护进程负责处理在磁盘上的读写操作。 Ceph OSD Daemon将所有的数据作为对象存储在一个平坦的空间内

ceph crush 策略配置

微笑、不失礼 提交于 2019-12-03 10:59:03
0.问题 一个同事搭建了两个主机的集群。ceph -s 后,集群一直会出现 recovery 32402/195672 objects degraded objects degraded 警告。 原因在于,默认3份副本。crush select策略是从host 选择3副本。所以需要修改crush rules. 1. 获取crushmap二进制文件 # ceph osd getcrushmap -o a.map 2.将二进制文件转成文本文件 # crushtool -d a.map -o b 3.修改rules # vi b rule replicated_ruleset { ruleset 0 type replicated min_size 1 max_size 10 step take default step chooseleaf firstn 0 type osd ### step emit } 4.将文本文件转成二进制文件 # crushtool -c b -o b.map 5.设置crushmap # ceph osd setcrushmap -i b.map 来源: oschina 链接: https://my.oschina.net/u/2407124/blog/497413