http://docs.ceph.com/docs/master/rados/deployment/ceph-deploy-purge/ PURGE DATA To remove all data from /var/lib/ceph (but leave Ceph packages intact), execute the purgedata command. ceph-deploy purge…
Leave a Comment分类: 计算机
Springboot 健康监控 rabbitmq监控监控 redis监控监控
Leave a Comment创建docker-compose工作目录 mkdir -p oracle/datacd oracletouch docker-compose.yml 配置docker-compose.yml version: ‘2’ services: oracle: image: sath89/oracle-xe-11g container_name: oracle ports: – 1521:1521 vol…
Leave a Comment我们在使用jpa的时候,可能某些字段希望存一些比如map的数据类型。 我您可以使用JPA转换器将您的实体映射到数据库。 只需在字段中添加与此类似的注释: 然后创建一个转换类(这会转换一个通用的Object,你可能会更具具体场景来定制化这个类): 这样,就可以使用此类将任何对象序列化为表中的json字段。 参考:https://stackoverflow.com/questions/25738569…
Leave a Comment使用本文教程,应该按照前面教程搭建好了 swarm集群 ,ceph集群,配置了 swarm集群客户端。 如何创建存储卷? docker volume create –driver=rexray/rbd:latest –name=vbox2 –opt=size=2 vbox2 这个size的单位是GB。 Additional, valid options for the -o|–o…
Leave a Comment该脚本需要在每个节点上执行,ceph版本对应了上一篇文章ceph的版本,如果有需要自行变更yum的版本配置。默认使用pool为docker1,需要自行创建。 /etc/ceph/ceph.client.admin.keyring及/etc/ceph/ceph.conf的内容需要从ceph集群的master节点上拷贝到该配置脚本里面,更新对应内容。 # create ceph config dire…
Leave a Comment机器情况大概说明下: 3台CentOS Linux release 7.5.1804 (Core),最小安装。 IP分别为 10.255.255.141(ceph-1),10.255.255.142(ceph-1), 10.255.255.143(ceph-1)。 10.255.255.141机器为主部署节点。 部署之前,先把三台机器主机名 手动改好: ceph-1#hostnamectl set…
Leave a Comment背景 由于docker的Ceph插件rexray对Ceph版本有一定的要求,当Ceph版本为hammer (0.94.10)时,rexray无法成功创建rbd设备。CentOS 7及以上版本,默认安装的就是hammer版本,因此,我们需要安装更高的jewel版本。Ceph的版本可参见。 安装 为了安装速度,我们可以选用国内源。通常大家使用的国内源包括: 网易 http://mirrors.…
Leave a Comment在前面文章(基于docker部署ceph)的基础之上,我们可以搭建一个可以让swarm集群来使用ceph存储了。 本文配置在你已经有一个swarm集群的基础上进行 大概需要的步骤如下: – 安装Ceph相关组件(The ceph and rbd binary executables must be installed on the host) – 安装rex-ray htt…
Leave a Comment