doc/cephadm: osd: minor fixes in config examples

- Corrected drive counts (8 to 10) and rotational flag use (not consistent with HDD) in the "Multiple OSD specs for a single host" example
- Adjusted vendor names in "Multiple hosts with the same disk layout" for consistency of examples

Signed-off-by: Alex Handy <thinko@redhat.com>
This commit is contained in:
Alex Handy 2022-06-28 10:27:23 -07:00 committed by GitHub
parent 79a085e11a
commit 78d3b63e62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 6 deletions

View File

@ -643,6 +643,7 @@ See a full list in the DriveGroupSpecs
:members:
:exclude-members: from_json
Examples
========
@ -746,7 +747,7 @@ This can be described with two layouts.
host_pattern: '*'
spec:
data_devices:
rotational: 0
rotational: 1
db_devices:
model: MC-55-44-XZ
limit: 2 # db_slots is actually to be favoured here, but it's not implemented yet
@ -762,7 +763,7 @@ This can be described with two layouts.
vendor: VendorC
This would create the desired layout by using all HDDs as data_devices with two SSD assigned as dedicated db/wal devices.
The remaining SSDs(8) will be data_devices that have the 'VendorC' NVMEs assigned as dedicated db/wal devices.
The remaining SSDs(10) will be data_devices that have the 'VendorC' NVMEs assigned as dedicated db/wal devices.
Multiple hosts with the same disk layout
----------------------------------------
@ -782,11 +783,11 @@ Node1-5
.. code-block:: none
20 HDDs
Vendor: Intel
Vendor: VendorA
Model: SSD-123-foo
Size: 4TB
2 SSDs
Vendor: VendorA
Vendor: VendorB
Model: MC-55-44-ZX
Size: 512GB
@ -795,11 +796,11 @@ Node6-10
.. code-block:: none
5 NVMEs
Vendor: Intel
Vendor: VendorA
Model: SSD-123-foo
Size: 4TB
20 SSDs
Vendor: VendorA
Vendor: VendorB
Model: MC-55-44-ZX
Size: 512GB
@ -827,6 +828,7 @@ You can use the 'placement' key in the layout to target certain nodes.
db_devices:
model: SSD-123-foo
This applies different OSD specs to different hosts depending on the `placement` key.
See :ref:`orchestrator-cli-placement-spec`