「Install Ceph 15.2.8 on Debian 10.7」修訂間的差異
跳至導覽
跳至搜尋
行 48: | 行 48: | ||
已完成 [[Debian Post Install Steps|Debian 安裝後步驟]] |
已完成 [[Debian Post Install Steps|Debian 安裝後步驟]] |
||
− | * 部署套件會使用 SSH 所以 |
+ | * 部署套件會使用 SSH 所以安裝 sshd |
− | * 安裝叢集需要時間同步 |
+ | * 安裝叢集需要時間同步 所以安裝 [[Chrony Introduction|Chrony]] |
+ | |||
+ | == 安裝 Podman == |
||
+ | |||
+ | 用 cephadm 部署會在容器運行 我們選擇 Podman |
||
+ | |||
+ | echo 'deb http://deb.debian.org/debian buster-backports main' >> /etc/apt/sources.list |
||
+ | echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list |
||
+ | curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/Release.key | apt-key add - |
||
+ | apt-get update |
||
+ | apt-get -y -t buster-backports install libseccomp2 |
||
+ | apt-get -y install podman |
||
== 安裝套件 == |
== 安裝套件 == |
||
+ | |||
+ | curl --silent --remote-name --location https://github.com/ceph/ceph/raw/octopus/src/cephadm/cephadm |
||
+ | chmod +x cephadm |
||
+ | wget -q -O- 'https://download.ceph.com/keys/release.asc' | apt-key add - |
||
+ | echo deb https://download.ceph.com/debian-octopus/ $(lsb_release -sc) main | tee /etc/apt/sources.list.d/ceph.list |
||
+ | apt-get update |
||
+ | ./cephadm install cephadm ceph-common |
||
+ | mkdir -p /etc/ceph |
於 2021年1月4日 (一) 20:24 的修訂
安裝 Ceph 15.2.8 在 Debian 10.7
安裝時間: 2020-12-31
安裝說明
- Debian 10.7
- Podman 2.2.1
- Ceph 15.2.8
- 部署套件 Cephadm
叢集規劃
192.168.231.71 mon1 192.168.231.72 mon2 192.168.231.73 mon3 192.168.231.74 mon4 192.168.31.75 mon5 192.168.31.76 mds1 192.168.31.77 mds2 192.168.31.78 mds3 192.168.31.79 mds4 192.168.31.80 mds5 192.168.31.81 osd11 192.168.31.82 osd12 192.168.31.83 osd13 192.168.31.84 osd14 192.168.31.85 osd21 192.168.31.86 osd22 192.168.31.87 osd23 192.168.31.88 osd24 192.168.31.89 osd25 192.168.31.90 osd26 192.168.31.91 rgw1 192.168.31.92 rgw2 192.168.31.93 rgw3 192.168.31.94 cephfs1 192.168.31.95 cephfs2 192.168.31.96 cephfs3 192.168.31.97 rbd1 192.168.31.98 rbd2 192.168.31.99 rbd3
先決條件
已完成 Debian 安裝後步驟
- 部署套件會使用 SSH 所以安裝 sshd
- 安裝叢集需要時間同步 所以安裝 Chrony
安裝 Podman
用 cephadm 部署會在容器運行 我們選擇 Podman
echo 'deb http://deb.debian.org/debian buster-backports main' >> /etc/apt/sources.list echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/Release.key | apt-key add - apt-get update apt-get -y -t buster-backports install libseccomp2 apt-get -y install podman
安裝套件
curl --silent --remote-name --location https://github.com/ceph/ceph/raw/octopus/src/cephadm/cephadm chmod +x cephadm wget -q -O- 'https://download.ceph.com/keys/release.asc' | apt-key add - echo deb https://download.ceph.com/debian-octopus/ $(lsb_release -sc) main | tee /etc/apt/sources.list.d/ceph.list apt-get update ./cephadm install cephadm ceph-common mkdir -p /etc/ceph