红帽文档阅读
发布说明
- 通过Ansible进行安装
- OSD BLUESTORE技术预览
安装说明
在redhat上安装ceph
- 全局设置
[global]
fsid =
mon initial members = [, ]
mon host = [, ]
public network = [, ]
cluster network = [, ]
auth cluster required = cephx
auth service required = cephx
auth client required = cephx
osd journal size =
filestore xattr use omap = true
osd pool default size = # Write an object n times.
osd pool default min size = # Allow writing n copy in a
degraded state.
osd pool default pg num =
osd pool default pgp num =
osd crush chooseleaf type =
osd设置
- 创建osd默认目录
mkdir /var/lib/ceph/osd/ceph-0
- 准备作为硬盘的osd,挂载到创建的目录上.
parted /dev/sdb mklabel gpt
parted /dev/sdb mkpart primary 1 10000
parted /dev/sdb mkpart primary 10001 15000
mkfs -t xfs /dev/sdb1
mount -o noatime /dev/sdb1 /var/lib/ceph/osd/ceph-0
echo “/dev/sdb1 /var/lib/ceph/osd/ceph-0 xfs defaults,noatime
1 2” >> /etc/fstab
管理员指导手册
用户管理
[ceph_user@admin-node my-cluster] cephosddfIDWEIGHTREWEIGHTS