2.4. 启用 Red Hat Ceph Storage Repositories
您必须先选择安装方法,然后才能安装 Red Hat Ceph Storage。Red Hat Ceph Storage 支持两种安装方法:
内容交付网络 (CDN)
对于带有可以直接连接到互联网的 Ceph 节点的 Ceph 存储集群,请使用红帽订阅管理器来启用所需的 Ceph 存储库。
本地存储库
对于安全措施使节点无法访问互联网的 Ceph 存储集群,请从作为 ISO 镜像提供的单个软件构建中安装 Red Hat Ceph Storage 3.3,这将允许您安装本地存储库。
访问 RHCS 软件存储库需要在 红帽客户门户网站 中有一个有效的红帽登录和密码。
重要
请联系您的客户经理以获取 https://rhcs.download.redhat.com 的凭据。
先决条件
- 有效的客户订阅。
- 对于 CDN 安装,RHCS 节点必须能够连接到互联网。
流程
对于 CDN 安装:
在 Ansible 管理节点上,启用 Red Hat Ceph Storage 3 Tools 存储库:
sudo bash -c 'umask 0077; echo deb https://customername:customerpasswd@rhcs.download.redhat.com/3-updates/Tools $(lsb_release -sc) main | tee /etc/apt/sources.list.d/Tools.list' sudo bash -c 'wget -O - https://www.redhat.com/security/fd431d51.txt | apt-key add -' sudo apt-get update
$ sudo bash -c 'umask 0077; echo deb https://customername:customerpasswd@rhcs.download.redhat.com/3-updates/Tools $(lsb_release -sc) main | tee /etc/apt/sources.list.d/Tools.list'
$ sudo bash -c 'wget -O - https://www.redhat.com/security/fd431d51.txt | apt-key add -'
$ sudo apt-get update
对于 ISO 安装:
- 登录红帽客户门户。
- 点 Downloads 访问 Software & Download Center。
- 在 Red Hat Ceph Storage 区域中,单击 Download Software 以下载最新版本的软件。
其它资源
- Red Hat Enterprise Linux 系统管理员指南中的注册和管理订阅章节。