Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Proxmox Cookbook

You're reading from   Proxmox Cookbook Over 60 hands-on recipes to perform server virtualization and manage virtualized server solutions with Proxmox

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781783980901
Length 318 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 (13) Chapters Close

Preface 1. Installing Proxmox FREE CHAPTER 2. Getting to Know the Proxmox GUI 3. Cluster and VM Management 4. Network Configurations 5. Firewall Configurations 6. Storage Configurations 7. Backup and Restore 8. Updating and Upgrading Proxmox 9. Monitoring Proxmox 10. Advanced Configurations for VMs 11. The CLI Command Reference Index

Ceph commands


In this section, we will look at commands for performing various tasks for a Ceph cluster in Proxmox.

How to do it…

The following steps demonstrate the commands used to perform certain tasks for a Ceph cluster:

  1. Use the following command to check the Ceph cluster's health summary:

    # ceph –s
    

    The following screenshot shows our example Ceph cluster with a warning:

  2. Use the following command to check the Ceph cluster's health details with errors:

    # ceph health detail
    

    The following screenshot shows the warning details that tell us whether or not one of the OSDs is experiencing any problems:

  3. Use the following command to see an OSD map:

    # ceph osd tree
    

    The preceding command shows a list of all the member nodes of the Ceph cluster, and the OSDs in each node. This is a quick way to see which OSD is located in a particular node and the ID of each OSD.

    The following screenshot shows the OSD tree of our example cluster:

  4. Use the following command to prevent unnecessary rebalancing during node maintenance...

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 €18.99/month. Cancel anytime