[Ceph] Modify CRUSH map for changes to existing deployments
This adds the ability for the ceph-osd osd-directory.sh script to handle existing deployments that place data in hosts via CRUSH and modify those deployments to place data in racks instead. The existing data remains intact but is redistributed across the new rack-level failure domains by updating the CRUSH map and assigning new rules to existing pools. Change-Id: Ida79f876d0cae3d99e796e4de1aac55a7978986c
This commit is contained in:
parent
eefcf33f61
commit
810026f342
@ -100,6 +100,7 @@ for OSD_ID in $(ls /var/lib/ceph/osd | sed 's/.*-//'); do
|
||||
chown -R ceph. ${OSD_PATH};
|
||||
fi
|
||||
|
||||
crush_location
|
||||
echo "${CLUSTER}-${OSD_ID}: /usr/bin/ceph-osd --cluster ${CLUSTER} -f -i ${OSD_ID} --osd-journal ${OSD_JOURNAL} -k ${OSD_KEYRING}" | tee -a /etc/forego/"${CLUSTER}"/Procfile
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user