January 2019
Intermediate to advanced
606 pages
15h 1m
English
To understand this better, let's find out the acting set for a PG from our Ceph cluster:
# rados put -p rbd hosts /etc/hosts
# ceph osd map rbd hosts

If you observe the output, Placement Group (0.e) has an up set [2,4,3] and an acting set [2,4,3]. So, here osd.2 is the primary OSD, and osd.4 and osd.3 are secondary and tertiary OSDs. The primary OSD is the only OSD that entertains write operations from clients. When it comes to read, by default it also comes from the primary OSD; however, we can change this behavior by setting up read ...
Read now
Unlock full access