Add Proxmox/CephCluster.md

This commit is contained in:
2024-06-13 05:55:45 +00:00
parent fe5e9958fa
commit f4ab149512

30
Proxmox/CephCluster.md Normal file
View File

@@ -0,0 +1,30 @@
# Ceph itself
## Install Ceph
Node01
```python
pveceph install --repository no-subscription --version reef
pveceph init --network 10.0.0.81/29
pveceph mon create --mon-address 10.0.0.81
```
Node03
```python
pveceph install --repository no-subscription --version reef
pveceph mon create --mon-address 10.0.0.82
```
Node03
```python
pveceph install --repository no-subscription --version reef
pveceph mon create --mon-address 10.0.0.83
```
## Remove Ceph completly
```python
killall -9 ceph-mon ceph-mgr ceph-mds
pveceph purge
apt purge ceph-mon ceph-osd ceph-mgr ceph-mds
rm -rf /etc/systemd/system/ceph* /var/lib/ceph/mon/ /var/lib/ceph/mgr/ /var/lib/ceph/mds/ /etc/init.d/ceph /etc/ceph
```