Libro sobre Proxmox maestria
Command ceph osd pool create <name> <pg> <pgs> ceph osd pool delete <name> [<name> --yes-i-really-really- mean-it]
ceph osd pool get <name> pg_num ceph osd pool set <name> crush_ ruleset <value> ceph osd get crushmap -o <name> crushtool -d <name> -i <name.txt> crushtool -c <name.txt> -o <name> ceph osd set crushmap -i <name> ceph-fuse -k <keyring> -m <mon:port>/<folder> -o nonempty Fusermount -u /<folder>
Get the number of PG of pool Set pool CRUSH ruleset
Get CRUSH map Decompile CRUSH map Compile CRUSH map Inject CRUSH map Mount Ceph FS
Unmount Ceph FS
In this chapter, we learned to install a Ceph cluster from the ground up and connected it to our Proxmox cluster. Treat this chapter as an introduction to Ceph. There is a lot more to Ceph than what has been covered here. Read the Ceph official documentation to learn about Ceph in greater detail.
Ceph is an excellent choice for a shared storage system for Proxmox due to its stability, performance, and significant lower cost. No matter the workload, a Ceph cluster can expand to meet the demand. Whether it is a single-tier or multitier storage environment, Ceph can handle them with ease. With Proxmox Version 3.2, managing Ceph just got better.
In the next chapter, we are going to get a glimpse of an enterprise-sized virtual environment, hardware requirements, and what keeps a cluster going month after month without downtime.
Exercise:
Consider a Ceph cluster has five nodes, 120 OSDs, three replicas, and four pools. Based on this information, we need to find the following values:
• What is the PG value per pool?
• How many PGs per OSD for each replica?
What is the total PGs per OSD for all pools and replicas?