五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

4-安裝cephadm

2023-06-12 21:11 作者:itcooking  | 我要投稿

視頻鏈接:安裝cephadm

1. 安裝cephadm,O版開始就不再支持ceph-deploy工具
> [cephadm安裝](https://docs.ceph.com/en/latest/cephadm/install/#install-cephadm)
> cephadm安裝前提
- Python3
- Systemd
- Podman or Docker
- Chrony or NTP
- LVM2
```shell
## 在ceph所有點(diǎn)上執(zhí)行
# CEPH_RELEASE=17.2.6 # replace this with the active release
# curl --silent --remote-name --location https://download.ceph.com/rpm-${CEPH_RELEASE}/el9/noarch/cephadm
# chmod +x cephadm
# mv cephadm /usr/sbin/
## 執(zhí)行cephadm install 會在當(dāng)前節(jié)點(diǎn)上安裝cephadm依賴相關(guān)的軟件包,版本較低,所以不建議執(zhí)行
# cephadm install
ERROR: Distro openeuler version 22.03 not supported
## 修改 /usr/sbin/cephadm ,在
# vi /usr/sbin/cephadm
## DISTRO_NAMES 這個(gè)字典中增加 openeuler
? 7654 ? ? DISTRO_NAMES = {
? 7655 ? ? ? ? 'centos': ('centos', 'el'),
? 7656 ? ? ? ? 'rhel': ('centos', 'el'),
? 7657 ? ? ? ? 'scientific': ('centos', 'el'),
? 7658 ? ? ? ? 'rocky': ('centos', 'el'),
? 7659 ? ? ? ? 'openeuler': ('centos', 'el'),
? 7660 ? ? ? ? 'almalinux': ('centos', 'el'),
? 7661 ? ? ? ? 'ol': ('centos', 'el'),
? 7662 ? ? ? ? 'fedora': ('fedora', 'fc'),
? 7663 ? ? ? ? 'mariner': ('mariner', 'cm'),
? 7664 ? ? }
? 7665 ?
## 將 cephadm 文件拷貝到其他節(jié)點(diǎn)上 ?
# for i in {2..5};do scp -rp /usr/sbin/cephadm ceph0$i:/usr/sbin/;done
```
> 如果是Centos8,可直接yum源安裝
````shell
# yum download cephadm
# rpm -ivh cephadm-17.2.6-0.el8.noarch.rpm
# rpm -ql cephadm-17.2.6-0.el8
/usr/sbin/cephadm
/usr/share/man/man8/cephadm.8.gz
/var/lib/cephadm
/var/lib/cephadm/.ssh
/var/lib/cephadm/.ssh/authorized_keys
````
2. 檢查ceph各節(jié)點(diǎn)是否滿足安裝ceph集群,該命令需要在當(dāng)前節(jié)點(diǎn)執(zhí)行,比如要判斷ceph02是否支持安裝ceph集群,則在ceph02上執(zhí)行
```shell
# cephadm check-host --expect-hostname ceph02
docker (/usr/bin/docker) is present
systemctl is present
lvcreate is present
Unit chronyd.service is enabled and running
Hostname "ceph02" matches what is expected.
Host looks OK

## 也可以使用以下命令檢查
# cephadm check-host --expect-hostname `hostname`
```

4-安裝cephadm的評論 (共 條)

分享到微博請遵守國家法律
桐柏县| 奇台县| 永胜县| 元朗区| 万宁市| 彩票| 南陵县| 旅游| 土默特左旗| 南宫市| 滨州市| 陇南市| 隆林| 昌黎县| 泗阳县| 恩平市| 呈贡县| 三原县| 贡山| 阜平县| 嘉祥县| 济阳县| 淮滨县| 望城县| 湛江市| 玉溪市| 贡嘎县| 开阳县| 临湘市| 广昌县| 南安市| 抚顺市| 罗城| 崇文区| 嘉义市| 禄丰县| 襄樊市| 东台市| 富川| 康乐县| 石渠县|