@@ -227,44 +227,45 @@ and easier to troubleshoot problems when OSDs malfunction (or other hardware
227227malfunctions) and the administrator needs access to physical hardware.
228228
229229
230- In the following example, the bucket hierarchy has a leaf bucket named ``osd ``
231- and two node buckets named ``host `` and ``rack ``:
230+ In the following example, the CRUSH hierarchy has ``osd `` leaf buckets
231+ and two node-level buckets at the ``host `` level that are in turn children
232+ of a ``rack `` bucket :
232233
233234.. ditaa ::
234235 +-----------+
235- | {o}rack |
236- | Bucket |
236+ | {o}rack11 |
237237 +-----+-----+
238238 |
239239 +---------------+---------------+
240240 | |
241241 +-----+-----+ +-----+-----+
242- | {o}host | | {o}host |
243- | Bucket | | Bucket |
242+ | {o}host1 | | {o}host2 |
244243 +-----+-----+ +-----+-----+
245244 | |
246245 +-------+-------+ +-------+-------+
247246 | | | |
248247 +-----+-----+ +-----+-----+ +-----+-----+ +-----+-----+
249- | osd | | osd | | osd | | osd |
250- | Bucket | | Bucket | | Bucket | | Bucket |
248+ | osd0 | | osd1 | | osd2 | | osd3 |
251249 +-----------+ +-----------+ +-----------+ +-----------+
252250
253- .. note :: The higher-numbered ``rack`` bucket type aggregates the
254- lower-numbered ``host `` bucket type.
251+ .. note :: The higher type-number ``rack`` bucket aggregates the
252+ lower type-number ``host `` buckets, which in turn aggregate the basal
253+ type 0 ``osd `` buckets.
255254
256255Because leaf nodes reflect storage devices that have already been declared
257256under the ``#devices `` list at the beginning of the CRUSH map, there is no need
258257to declare them as bucket instances. The second-lowest bucket type in your
259- hierarchy is typically used to aggregate the devices (that is, the
260- second-lowest bucket type is usually the computer that contains the storage
261- media and, such as ``node ``, ``computer ``, ``server ``, ``host ``, or
262- ``machine ``). In high-density environments, it is common to have multiple hosts
263- or nodes in a single chassis (for example, in the cases of blades or twins). It
264- is important to anticipate the potential consequences of chassis failure -- for
265- example, during the replacement of a chassis in case of a node failure, the
266- chassis's hosts or nodes (and their associated OSDs) will be in a ``down ``
267- state.
258+ hierarchy is typically used to aggregate the devices: usually
259+ the server that houses the storage drives.
260+ In high-density environments, it is common to have multiple hosts
261+ or nodes in a single chassis: blades or twins. It
262+ is important to anticipate the potential consequences of chassis failure. For
263+ example, during the replacement of a chassis in case of a node failure,
264+ all of the
265+ chassis's hosts and their associated OSDs will be in the ``down ``
266+ state and thus unavailable. It is important to avoid placing multiple replicas
267+ or shards of data within a single such chassis, which in this case is
268+ a _failure domain _.
268269
269270To declare a bucket instance, do the following: specify its type, give it a
270271unique name (an alphanumeric string), assign it a unique ID expressed as a
0 commit comments