Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Proxmox

You're reading from   Mastering Proxmox Master Proxmox VE to effectively implement server virtualization technology within your network

Arrow left icon
Product type Paperback
Published in Jul 2014
Publisher
ISBN-13 9781783980826
Length 310 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Wasim Ahmed Wasim Ahmed
Author Profile Icon Wasim Ahmed
Wasim Ahmed
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Dive into the Virtual World with Proxmox 2. Proxmox Under the Hood FREE CHAPTER 3. Shared Storages with Proxmox 4. A Virtual Machine for a Virtual World 5. Network of Virtual Networks 6. Proxmox HA – Zero Downtime 7. High Availability Storage for High Availability Cluster 8. Proxmox Production Level Setup 9. Proxmox Troubleshooting 10. Putting It All Together Index

Managing Ceph pools


Ceph stores data on pools assigned to a specific ruleset. A ruleset in a CRUSH map dictates which pools belong to which OSDs. By simply changing an assigned ruleset, we can use a complete set of OSDs to store existing data. In this example, we are going to create a new pool and assign the pool to the new ruleset ssd, which we created earlier. Then we will add some SSDs to the cluster.

Creating a new Ceph pool using the CLI

The following is the command format to create the Ceph pool:

# ceph osd pool create <poolname> <pg> <pgs(equal to pg)>

Before we create the pool, we need to calculate the number of PGs for the pool. We will use the same formula seen in the Placement Group (PG) section earlier in this chapter:

We have two nodes and will use two SSDs in each node. According to the formula, we need the following number of PGs:

Our new pool should have 200 PGs. So the following is our command to create a pool:

# ceph osd pool create ssd 256 256

Verifying the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image