{"id":3251,"date":"2024-03-15T10:58:25","date_gmt":"2024-03-15T14:58:25","guid":{"rendered":"https:\/\/arielantigua.com\/weblog\/?p=3251"},"modified":"2024-04-01T11:55:55","modified_gmt":"2024-04-01T15:55:55","slug":"ceph-on-proxmox-as-storage-provider","status":"publish","type":"post","link":"https:\/\/arielantigua.com\/weblog\/2024\/03\/ceph-on-proxmox-as-storage-provider\/","title":{"rendered":"Ceph on Proxmox as Storage Provider."},"content":{"rendered":"<p>For a few months, I\u2019ve been reading about Ceph and how it works, I love distributed stuff, maybe the reason is that I can have multiple machines and the idea of clustering has always fascinated me. In Ceph, the more the better!<\/p>\n<p>If you have multiple machines with lots of SSD\/NVME the Ceph performance will be a lot different than having a 3-node cluster with only one OSD per node. This is my case, and the solution has been working well.<\/p>\n<p>Installing Ceph on Proxmox is just a few clicks away, is already documented in <a href=\"https:\/\/pve.proxmox.com\/wiki\/Deploy_Hyper-Converged_Ceph_Cluster\">https:\/\/pve.proxmox.com\/wiki\/Deploy_Hyper-Converged_Ceph_Cluster<\/a><\/p>\n<p>At first, I have two nodes and the state of Ceph was faulty.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"432\" class=\"wp-image-3252\" src=\"https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica.jpeg\" alt=\"A screenshot of a computer Description automatically generated\" srcset=\"https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica.jpeg 1280w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-300x101.jpeg 300w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-1024x346.jpeg 1024w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-768x259.jpeg 768w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-1200x405.jpeg 1200w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p>The crush_map created by Proxmox is a 3-host configuration, that adds at least one OSD to the cluster, in this picture, there were only 2 hosts with 1 OSD each.<\/p>\n<p><!--more--><\/p>\n<p>After the third node was added, it started replicating data across all OSD to meet the crush_map policy.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"689\" height=\"459\" class=\"wp-image-3253\" src=\"https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-1.jpeg\" alt=\"A screenshot of a computer Description automatically generated\" srcset=\"https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-1.jpeg 689w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-1-300x200.jpeg 300w\" sizes=\"auto, (max-width: 689px) 100vw, 689px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"398\" class=\"wp-image-3254\" src=\"https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-graph-description-automatically.jpeg\" alt=\"A screenshot of a graph Description automatically generated\" srcset=\"https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-graph-description-automatically.jpeg 1280w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-graph-description-automatically-300x93.jpeg 300w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-graph-description-automatically-1024x318.jpeg 1024w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-graph-description-automatically-768x239.jpeg 768w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-graph-description-automatically-1200x373.jpeg 1200w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"740\" height=\"515\" class=\"wp-image-3255\" src=\"https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-2.jpeg\" alt=\"A screenshot of a computer Description automatically generated\" srcset=\"https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-2.jpeg 740w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-2-300x209.jpeg 300w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/p>\n<p>Here you can see the PGs getting moved across the OSDs.<\/p>\n<p>One thing I didn\u2019t like about the storage usage on Proxmox, is the thin provision is nothing like VMware VMFS! It depends on the backend and the format of the virtual drive. I need to get used to this.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1497\" height=\"509\" class=\"wp-image-3256\" src=\"https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-1.png\" alt=\"A screenshot of a computer Description automatically generated\" srcset=\"https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-1.png 1497w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-1-300x102.png 300w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-1-1024x348.png 1024w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-1-768x261.png 768w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-1-1200x408.png 1200w\" sizes=\"auto, (max-width: 1497px) 100vw, 1497px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1494\" height=\"457\" class=\"wp-image-3257\" src=\"https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-2.png\" alt=\"A screenshot of a computer Description automatically generated\" srcset=\"https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-2.png 1494w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-2-300x92.png 300w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-2-1024x313.png 1024w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-2-768x235.png 768w, https:\/\/arielantigua.com\/weblog\/wp-content\/uploads\/2024\/03\/a-screenshot-of-a-computer-description-automatica-2-1200x367.png 1200w\" sizes=\"auto, (max-width: 1494px) 100vw, 1494px\" \/><\/p>\n<p>This is the state of the Storage side of the Proxmox Cluster. I need to move more VMs into this Storage and see how Ceph performs with more IOPs demanding VMs.<\/p>\n<p>The hardware used in this cluster is documented:<\/p>\n<p>here: <a href=\"https:\/\/arielantigua.com\/weblog\/2024\/03\/ceph-as-my-storage-provider\/\">https:\/\/arielantigua.com\/weblog\/2024\/03\/ceph-as-my-storage-provider\/<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a few months, I\u2019ve been reading about Ceph and how it works, I love distributed stuff, maybe the reason is that I can have multiple machines and the idea of clustering has always fascinated me. In Ceph, the more the better! If you have multiple machines with lots of SSD\/NVME the Ceph performance will [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,19],"tags":[153,154,155],"class_list":["post-3251","post","type-post","status-publish","format-standard","hentry","category-general","category-virtualizacion","tag-ceph","tag-proxmox","tag-vmware_alternative"],"_links":{"self":[{"href":"https:\/\/arielantigua.com\/weblog\/wp-json\/wp\/v2\/posts\/3251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arielantigua.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arielantigua.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arielantigua.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/arielantigua.com\/weblog\/wp-json\/wp\/v2\/comments?post=3251"}],"version-history":[{"count":2,"href":"https:\/\/arielantigua.com\/weblog\/wp-json\/wp\/v2\/posts\/3251\/revisions"}],"predecessor-version":[{"id":3274,"href":"https:\/\/arielantigua.com\/weblog\/wp-json\/wp\/v2\/posts\/3251\/revisions\/3274"}],"wp:attachment":[{"href":"https:\/\/arielantigua.com\/weblog\/wp-json\/wp\/v2\/media?parent=3251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arielantigua.com\/weblog\/wp-json\/wp\/v2\/categories?post=3251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arielantigua.com\/weblog\/wp-json\/wp\/v2\/tags?post=3251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}