First stage of conversion to Ubuntu 18.04 and Ceph Octopus

This commit is contained in:
2021-03-23 09:05:06 +10:30
parent 2fdc02686a
commit 15000a349a
3 changed files with 11 additions and 8 deletions
+3 -1
View File
@@ -49,6 +49,8 @@ ceph-deploy new $ADMIN_NODE
# Initialize cluster configuration
$OUTPUT_LOG "Initialize cluster configuration"
cat << CLUSTERCONFIG | tee -a ceph.conf
[global]
mon_inital_members = ceph-admin
public network = $PUBLIC_NETWORK
cluster network = $CLUSTER_NETWORK
@@ -69,7 +71,7 @@ done
# Deploy ceph on all nodes
$OUTPUT_LOG "Deploy ceph on all nodes"
ceph-deploy install --release luminous $NODES
ceph-deploy install --release octopus $NODES
# Create initial monitor
$OUTPUT_LOG "Create initial monitor"
+3 -3
View File
@@ -41,10 +41,10 @@ export DEBIAN_FRONTEND=noninteractive
# Make sure we have the french locale
locale-gen fr_FR.UTF-8
# Install ceph repository (luminous version)
$OUTPUT_LOG "Install ceph repository (luminous version)"
# Install ceph repository (Octopus version)
$OUTPUT_LOG "Install ceph repository (Octopus version)"
wget -q -O- 'https://download.ceph.com/keys/release.asc' | apt-key add -
echo deb https://download.ceph.com/debian-luminous/ $(lsb_release -sc) main | tee /etc/apt/sources.list.d/ceph.list
echo deb https://download.ceph.com/debian-octopus/ $(lsb_release -sc) main | tee /etc/apt/sources.list.d/ceph.list
apt-get update
# Install chrony for time synchronization, gdisk for GPT partitioning,