WIP: single node Ceph on bm-5 #157

Draft
raito wants to merge 2 commits from single-node-ceph into main
Owner

This provisions a single node Ceph on bm-5 with a RGW gateway.

Most of this PR is automation and storage architecture design, that is:

  • 3 partitions per NVMe device: 2 partitions for 2 OSDs on which various indexes and metadata will be put for the RGW.
  • 1 disk per HDD: 1 disk par OSD on which the bulk data will be put for the RGW.
  • HTTPS frontends with NGINX caching which spills on the 3rd NVMe partition.

Sizing is still yet-to-be decided, but this should allow multi-tiering for the caches. Open to debate the design, this is a first proposal.

I plan to have copies=2 for cache data and copies=3 for FOD information.

This provisions a single node Ceph on bm-5 with a RGW gateway. Most of this PR is automation and storage architecture design, that is: - 3 partitions per NVMe device: 2 partitions for 2 OSDs on which various indexes and metadata will be put for the RGW. - 1 disk per HDD: 1 disk par OSD on which the bulk data will be put for the RGW. - HTTPS frontends with NGINX caching which spills on the 3rd NVMe partition. Sizing is still yet-to-be decided, but this should allow multi-tiering for the caches. Open to debate the design, this is a first proposal. I plan to have copies=2 for cache data and copies=3 for FOD information.
This initialize our Ceph cluster module.

This relies on nixpkgs work
.
This takes inspiration from
https://gist.github.com/nh2/13425a1f18b4c1ce82edb63c10b163c9
for some of the convergence logic.

Finally, it implements a quite ambitious workload-specific module for
our needs.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
Commenting is not possible because the repository is archived.
No reviewers
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: the-distro/infra#157
No description provided.