ceph学习笔记 博客分类: linux linuxceph
程序员文章站
2024-03-14 10:40:52
...
环境centos6.6
安装参考
http://ceph.com/docs/master/install/install-storage-cluster/
不过yum配置要改
yum install yum-plugin-priorities
vim /etc/yum/pluginconf.d/priorities.conf
ensure your YUM ceph.repo entry includes priority=2. See Get Packages for details:
注意上面几个变量替换掉了,如果出现找不到的情况
yum install snappy leveldb gdisk python-argparse gperftools-libs
yum install ceph
安装一堆啊
安装的历史
安装参考
http://ceph.com/docs/master/install/install-storage-cluster/
不过yum配置要改
yum install yum-plugin-priorities
vim /etc/yum/pluginconf.d/priorities.conf
[main] enabled = 1
ensure your YUM ceph.repo entry includes priority=2. See Get Packages for details:
[root@host-10-6-6-4 yum.repos.d]# cat ceph.repo [ceph] name=Ceph packages for $basearch #baseurl=http://ceph.com/rpm-{ceph-release}/{distro}/$basearch baseurl=http://ceph.com/rpm-emperor/el6/$basearch enabled=1 priority=2 gpgcheck=1 type=rpm-md gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc [ceph-noarch] name=Ceph noarch packages #baseurl=http://ceph.com/rpm-{ceph-release}/{distro}/noarch baseurl=http://ceph.com/rpm-emperor/el6/noarch enabled=1 priority=2 gpgcheck=1 type=rpm-md gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc [ceph-source] name=Ceph source packages #baseurl=http://ceph.com/rpm-{ceph-release}/{distro}/SRPMS baseurl=http://ceph.com/rpm-emperor/el6/SRPMS enabled=0 priority=2 gpgcheck=1 type=rpm-md gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc [root@host-10-6-6-4 yum.repos.d]#
注意上面几个变量替换掉了,如果出现找不到的情况
yum install snappy leveldb gdisk python-argparse gperftools-libs
yum install ceph
安装一堆啊
安装的历史
1 yum update 2 vim /etc/yum.repos.d/ceph.repo 3 yum install ceph-deploy 4 ssh-keygen 5 s 6 l;s 7 ls 8 hostname admin 9 exit 10 ssh-copy-id root@mynode1_0 11 vim /etc/hosts 12 ifconfig 13 vim /etc/hosts 14 ssh-copy-id root@mynode1_0 15 ssh-copy-id root@mynode1_1 16 ssh-copy-id root@mynode1_2 17 ssh root@mynode1_0 18 ls 19 mkdir .backup 20 mv * .backup/ 21 ls 22 vim .ssh/config 23 ls 24 chmod 600 ~/.ssh/config 25 ls 26 iptables -F 27 setenforce 0 28 mkdir my-cluster 29 cd my-cluster/ 30 ls 31 ceph-deploy new mynode1_0 32 ls 33 vim ceph.conf 34 ls 35 vim ceph.conf 36 ceph-deploy install admin mynode1_0 mynode1_1 mynode1_2 37 ceph-deploy install mynode1_1 mynode1_2 38 ls 39 ceph-deploy mon create-initial 40 ls 41 ssh mynode1_1 42 ssh mynode1_2 43 ceph-deploy osd prepare mynode1_1:/var/local/osd0 mynode1_2:/var/local/osd1 44 ceph-deploy osd activate mynode1_1:/var/local/osd0 mynode1_2:/var/local/osd1 45 ls 46 ceph-deploy admin admin mynode1_0 mynode1_1 mynode1_2 47 chmod +r /etc/ceph/ceph.client.admin.keyring 48 ceph health 49 ssh mynode1_0 50 ceph-deploy osd prepare mynode1_0:/var/local/osd2 51 ceph-deploy osd activate mynode1_0:/var/local/osd2 52 ceph -w 53 ceph-deploy mds create mynode1_0 54 ceph-deploy mon create mynode1_1 mynode1_2 55 ceph quorum_status --format json-pretty 56 ls 57 history [root@admin my-cluster]#
上一篇: Java常用工具类封装——DES加密和解密的工具类
下一篇: des加密解密代码
推荐阅读
-
ceph学习笔记 博客分类: linux linuxceph
-
CEPH分布式存储中CRUSH算法来源及优点 博客分类: 存储软件学习 CEPHCRUSHCluster Map
-
jbpm开发环境准备 博客分类: jbpm学习笔记 jbpm开发环境
-
cocos2d-x学习笔记(1)—— cocos2d-x环境搭建 博客分类: cocos2d-x cocos2d-x游戏开发环境搭建
-
Oracle11g For Linux的静默安装笔记 博客分类: 数据库 oraclelinuxyum静默安装
-
HTML&CSS基础学习笔记1.18-表格的边框 博客分类: HTML border表格边框table
-
枫岚的JAVA学习笔记-前言 博客分类: 枫岚的JAVA学习笔记(JAVA150天) 新人学习笔记
-
servlet学习笔记_ServletContext 博客分类: servlet servletwebservletConfig
-
struts2学习笔记,很久以前翻出来的,存上-4 博客分类: 很久以前的笔记 strutsmyeclipse
-
Linux性能监控学习笔记 博客分类: 读书Linux linux读书