Loïc Dachary http://dachary.org Free Software Developer Journey
Mon, 25 Nov 2013 15:08:02 +0000 en hourly 1
http://wordpress.org/?v=3.0.4 Manage a multi-datacenter crush
map with the command line http://dachary.org/?p=2536
http://dachary.org/?p=2536#comments Thu, 21 Nov 2013 15:28:56
+0000 Loic Dachary http://dachary.org/?p=2536 Continue reading
]]> A new datacenter is added to the crush map of a Ceph
cluster:  # ceph osd crush add-bucket fsf datacenter added
bucket fsf type datacenter to crush map # ceph osd crush move
fsf root=default moved item id -13 name 'fsf' to location
{root=default} in crush map # ceph osd tree # id    weight  type
name       up/down reweight -13     0               datacenter
fsf -5      7.28            datacenter ovh -2      1.82
host bm0014 0       1.82                            osd.0   up
1  The datacenter bucket type already exists by default in the
default crush map that is provided when the cluster is created.
The fsf bucket is moved ( with crush move