Add Proxmox/CephCluster.md
This commit is contained in:
30
Proxmox/CephCluster.md
Normal file
30
Proxmox/CephCluster.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user