ceph.ceph /var/lib/ceph/mds/ceph-`hostname -s` ~]# chown -R ceph.ceph /var/lib/ceph/mds/ceph … /ceph/ceph.client.radosgw.keyring chown ceph:ceph /etc/ceph/ceph.client.radosgw.keyring ceph-authtool /etc/ceph/ceph
.testuser] key = AQBFFRheU6QwMhAA6DHO0F4wTOQ+x/r2x5dbpw== ceph auth get-or-create-key … 户的keyring /etc/ceph/keyring /etc/ceph/keyring.bin cluster-name … keyring文件中 ceph-authtool /etc/ceph/cluster-name.keyring --import
关Ceph radosgw (3)Ceph MDS (4)Ceph OSD (5)Ceph Manager (6)Ceph Monitor … 。 (1)Ceph Monitor (2)Ceph Manager (3)Ceph OSD (4)Ceph MDS (5)Ceph radosgw … -c path/path /etc/ceph/ceph.conf ~/.ceph/config ./ceph.conf 用户当
yum -y install ceph ceph-radosgw 安装ceph:--no-adjust-repos 不 … -m u:cephadm:rw /etc/ceph/ceph.client.admin.keyring' ]$ ssh … -m u:cephadm:rw /etc/ceph/ceph.client.admin.keyring' ]$ ssh
://mirrors.163.com/ceph/keys/release.asc [ceph-noarch] name=Ceph noarch packages … /data/ceph/deploy cd /data/ceph/deploy 安装ceph集群: ceph-deploy … -R ceph:ceph /var/lib/ceph/osd chown -R ceph:ceph /data/osd chown -R ceph:ceph
存储池: ceph osd pool ls detail ceph osd pool ls … _bytes <val> 例: ]$ ceph osd pool set-quota rbdpool … <pool-name> 例: ]$ ceph osd pool get-quota rbdpool
* pool=rbddata' > /etc/ceph/ceph.client.k8s.keyring 使用 … 上的操作: ceph.repo [Ceph] name=Ceph packages for $basearch baseurl … : false user: k8s keyring: /etc/ceph/ceph.client.k8s.keyring 查看
://mirrors.aliyun.com/ceph/keys/release.asc [ceph-noarch] name=Ceph noarch packages … ://mirrors.aliyun.com/ceph/keys/release.asc [ceph-source] name=Ceph source packages … 属主: chown -R ceph.ceph /var/lib/ceph/bootstrap-osd/ 像集
* pool=kube' > /etc/ceph/ceph.client.kube.keyring 将创 … 客户端: scp /etc/ceph/ceph.conf root@192.168.1 … @192.168.1.6:/etc/ceph scp ceph.conf root@192.168
.kube.keyring 将ceph集群中 /etc/ceph/ceph.client.admin.keyring … 、 ceph.client.kube.keyring 和 ceph.conf 三 … @192.168.1.133:/etc/ceph/ scp ceph.client.admin.keyring root
install -y ceph-common 将 /etc/ceph 中的 ceph.client.admin.keyring … 和 ceph.conf 复 … /ceph 中。 scp ceph.conf root@192.168.1.133:/etc/ceph/ scp ceph
radosgw服务: systemctl restart ceph-radosgw@rgw.ceph01.service 查 … port=8443s ssl_certificate=/etc/ceph/ssl/civetweb.pem" 同 … =7480+8443s ssl_certificate=/etc/ceph/ssl/civetweb.pem" 重
/dashboard/server_port 8080 # 或 ceph config set mgr mgr/dashboard … .62:8080 Prometheus监控Ceph Ceph默认已近集 … 了。 systemctl restart prometheus.service Ceph开启prometheus的数
文档: docs.ceph.org.cn Ceph的两种存储 … 个守护进程ceph-radosgw。 mon: 有状态 … 的守护进程ceph-osd。 mds: 文件系
.ceph02] host = ceph02 keyring=/etc/ceph/ceph.client.radosgw.keyring log file … @rgw.`hostname -s` systemctl restart ceph-radosgw@rgw.`hostname -s` z2 … .ceph03] host = ceph03 keyring=/etc/ceph/ceph.client.radosgw.keyring log file
地址: https://github.com/ceph/ceph-csi 参考文章 … .io/posts/kubernetes-storage-using-ceph-rbd/ www.cnblogs.com/wsjhk … github上 https://github.com/ceph/ceph-csi/blob/master/examples/kms
的示例 http://docs.ceph.org.cn/radosgw/s3/php
是否有ceph模块: modinfo ceph | grep ceph.ko 在客 … none /data fuse.ceph ceph.id=fsclient,ceph.conf=/etc/ceph/ceph.conf,_netdev,defaults … = 0x55abd1d579d0 newargc=9 ceph-fuse[3218]: starting ceph client ceph-fuse[3218]: starting
:6789 adminId: admin adminSecretName: ceph-admin-secret adminSecretNamespace: monitoring pool … /external-storage/tree/master/ceph/cephfs/deploy storageclass.yaml … :6789 adminId: admin adminSecretName: ceph-admin-secret adminSecretNamespace: cephfs claimRoot
)。 uniform、list、tree、straw、 straw2 Ceph集群在运行 … crushmap的二进制: ~]$ ceph osd getcrushmap -o /tmp/mycrushmap … 好充分测试。 ~]$ ceph osd setcrushmap -i mycrushmap-v2