Files
Sankofa/docs/ceph/QUICK_START.md

73 lines
1.2 KiB
Markdown
Raw Normal View History

# Quick Start: Ceph Setup on Fresh Proxmox Install
## Run These Commands
### On ML110-01 (192.168.11.10)
```bash
# 1. Install Ceph
apt-get update
apt-get install -y ceph ceph-common ceph-base
# 2. Initialize cluster
pveceph init --network 192.168.11.0/24 --cluster-network 192.168.11.0/24
# 3. Create monitor
pveceph mon create
# 4. Verify
ceph quorum_status
```
### On R630-01 (192.168.11.11)
```bash
# 1. Install Ceph
apt-get update
apt-get install -y ceph ceph-common ceph-base
# 2. Create monitor
pveceph mon create
# 3. Verify quorum
sleep 10
ceph quorum_status
```
### Create OSDs on R630-01
```bash
# Create OSDs on 6x 250GB drives
for disk in sdc sdd sde sdf sdg sdh; do
ceph-volume lvm create --data /dev/$disk
sleep 2
done
# Verify
ceph osd tree
ceph -s
```
### Create Storage Pools
```bash
# RBD pool for VM disks
ceph osd pool create rbd 32 32
ceph osd pool application enable rbd rbd
rbd pool init rbd
# CephFS for shared storage
ceph osd pool create cephfs_data 32 32
ceph osd pool create cephfs_metadata 16 16
ceph fs new ceph-fs cephfs_metadata cephfs_data
```
## Verify Everything
```bash
ceph -s
ceph osd tree
ceph health detail
```