- 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>
:members:
:exclude-members: from_json
+
Examples
========
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
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
----------------------------------------
.. 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
.. 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
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`