Ceph: Difference between revisions
imported>C4lliope Clean up. |
imported>Nh2 nixpkgs Ceph has had current versions for a while; soften SeaweedFS plug |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
The | The below wiki instructions still have some troubles; read ahead to see some of the remaining issues this guide should address. Please make a Wiki account and add your experiences. | ||
Another distributed filesystem alternative you may evaluate is [https://github.com/seaweedfs/seaweedfs SeaweedFS]. | |||
---- | ---- | ||
Here is a quick collection of commands I used on a 3-node Ceph mesh. | Here is a quick collection of commands I used on a 3-node Ceph mesh. | ||
The examples have been reduced to a single node, `mesh-a`, for simplicity. | |||
Describe your ceph user, alongside your normal login user: | Describe your ceph user, alongside your normal login user: | ||
Line 29: | Line 32: | ||
enable = false; | enable = false; | ||
extraConfig = { | extraConfig = { | ||
"mon initial members" = "mesh-a | "mon initial members" = "mesh-a"; | ||
"mon host" = "10.0.0.11 | "mon host" = "10.0.0.11"; | ||
}; | }; | ||
}; | }; | ||
Line 147: | Line 150: | ||
Many users aspire to run Ceph on NixOS, and recommend varying approaches in different forums online. | Many users aspire to run Ceph on NixOS, and recommend varying approaches in different forums online. | ||
Here is a collection of links that can lead you along, though please consider; these experiences come from older versions of Ceph, such as v10, while (as of 2023-12) Ceph is on | Here is a collection of links that can lead you along, though please consider; these experiences come from older versions of Ceph, such as v10, while (as of 2023-12) Ceph is on v18. | ||
* https://d.moonfire.us/blog/2022/12/10/ceph-and-nixos/ | * https://d.moonfire.us/blog/2022/12/10/ceph-and-nixos/ | ||
* https://github.com/NixOS/nixpkgs/issues/147801 | * https://github.com/NixOS/nixpkgs/issues/147801 | ||
* https://www.reddit.com/r/ceph/comments/14otjyo/ceph_on_nixos/ | * https://www.reddit.com/r/ceph/comments/14otjyo/ceph_on_nixos/ |