关于ceph:调整ceph集群镜像源

26次阅读

共计 613 个字符,预计需要花费 2 分钟才能阅读完成。

Ceph 在阿里云镜像源地址
https://mirrors.aliyun.com/ceph/

有时候从 ceph 默认下载时下载较慢,能够替换成阿里云镜像源
yum 源
初始化筹备
建设 ceph.repo 文件将扭转镜像源并且不会主动切回默认镜像地址
须要在所有节点上配置好阿里云的镜像源
具体位置在 /etc/yum.repos.d/ 下新建一个 ceph.repo

[Ceph]
name=Ceph packages for $basearch
baseurl=https://mirrors.aliyun.com/ce…$basearch
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://mirrors.aliyun.com/ce…

[Ceph-noarch]
name=Ceph noarch packages
baseurl=https://mirrors.aliyun.com/ce…
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://mirrors.aliyun.com/ce…

[ceph-source]
name=Ceph source packages
baseurl=http://mirrors.aliyun.com/cep…
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://mirrors.aliyun.com/ce…

正文完
 0