|
|
@ -212,14 +212,14 @@ cd /etc ; git add . ; git commit -a -m 'Install Ceph'
|
|
|
|
|
|
|
|
|
|
|
|
# All nodes, enable rbd kernel module:
|
|
|
|
# All nodes, enable rbd kernel module:
|
|
|
|
echo rbd >> /etc/modules
|
|
|
|
echo rbd >> /etc/modules
|
|
|
|
|
|
|
|
modprobe rbd
|
|
|
|
cd /etc ; git commit -m 'Use rbd kernel module' /etc/modules
|
|
|
|
cd /etc ; git commit -m 'Use rbd kernel module' /etc/modules
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Run this on just sf-001
|
|
|
|
# Run this on just sf-001
|
|
|
|
# Doesn't need to be run again:
|
|
|
|
# Doesn't need to be run again:
|
|
|
|
# pveceph init --network 10.99.99.0/24
|
|
|
|
# pveceph init --network 10.99.99.0/24
|
|
|
|
cd /etc ; git add . ; git commit -m 'Ceph init' ceph/ pve/ceph.conf
|
|
|
|
# cd /etc ; git add . ; git commit -m 'Ceph init' ceph/ pve/ceph.conf
|
|
|
|
|
|
|
|
|
|
|
|
# With new nodes, I think rest can be done via web gui XXX
|
|
|
|
# With new nodes, I think rest can be done via web gui XXX
|
|
|
|
# XXX It doesn't appear to set up Ceph symbolic links when adding
|
|
|
|
# XXX It doesn't appear to set up Ceph symbolic links when adding
|
|
|
@ -229,6 +229,7 @@ cd /etc/ceph/
|
|
|
|
ln -s /etc/pve/ceph.conf ceph.conf
|
|
|
|
ln -s /etc/pve/ceph.conf ceph.conf
|
|
|
|
# It also needs a key file, copy onto new nodes, sf-005 and newer:
|
|
|
|
# It also needs a key file, copy onto new nodes, sf-005 and newer:
|
|
|
|
scp -p sf-001:/etc/ceph/ceph.client.admin.keyring .
|
|
|
|
scp -p sf-001:/etc/ceph/ceph.client.admin.keyring .
|
|
|
|
|
|
|
|
cd /etc ; git commit -a -m 'Add ceph config'
|
|
|
|
# Reboot...
|
|
|
|
# Reboot...
|
|
|
|
|
|
|
|
|
|
|
|
# on sf-002 sf-003 sf-004 sf-005 sf-006 sf-007
|
|
|
|
# on sf-002 sf-003 sf-004 sf-005 sf-006 sf-007
|
|
|
@ -287,6 +288,9 @@ gdisk /dev/sdd
|
|
|
|
gdisk /dev/sde
|
|
|
|
gdisk /dev/sde
|
|
|
|
gdisk /dev/sdf
|
|
|
|
gdisk /dev/sdf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# sf-006, sf-007
|
|
|
|
|
|
|
|
# Added via web interface
|
|
|
|
|
|
|
|
|
|
|
|
# Add OSDs
|
|
|
|
# Add OSDs
|
|
|
|
# Do this via web, not command line.
|
|
|
|
# Do this via web, not command line.
|
|
|
|
cd /etc ; git add . ; git commit -m 'Add Ceph OSDs via web gui'
|
|
|
|
cd /etc ; git add . ; git commit -m 'Add Ceph OSDs via web gui'
|
|
|
|