Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Ceph Cookbook

You're reading from   Ceph Cookbook Practical recipes to design, implement, operate, and manage Ceph storage systems

Arrow left icon
Product type Paperback
Published in Nov 2017
Publisher Packt
ISBN-13 9781788391061
Length 466 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Authors (3):
Arrow left icon
Karan Singh Karan Singh
Author Profile Icon Karan Singh
Karan Singh
 Hackett Hackett
Author Profile Icon Hackett
Hackett
 Umrao Umrao
Author Profile Icon Umrao
Umrao
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Title Page
Credits
Disclaimer
Foreword
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Ceph – Introduction and Beyond FREE CHAPTER 2. Working with Ceph Block Device 3. Working with Ceph and OpenStack 4. Working with Ceph Object Storage 5. Working with Ceph Object Storage Multi-Site v2 6. Working with the Ceph Filesystem 7. Monitoring Ceph Clusters 8. Operating and Managing a Ceph Cluster 9. Ceph under the Hood 10. Production Planning and Performance Tuning for Ceph 11. The Virtual Storage Manager for Ceph 12. More on Ceph 13. An Introduction to Troubleshooting Ceph 14. Upgrading Your Ceph Cluster from Hammer to Jewel

Baseline network performance


In this recipe, we will perform tests to discover the baseline performance of the network between the Ceph OSD nodes. For this, we will be using the iperf utility. Make sure that the iperf package is installed on the Ceph nodes. iperf is a simple, point-to-point network bandwidth tester that works on the client-server model.

To start network benchmarking, execute iperf with the server option on the first Ceph node and with the client option on the second Ceph node.

How to do it...

Using iperf, let's get a baseline for our clusters' network performance:

  1. Install iperf on the ceph-node1 and ceph-node2:

        # sudo yum install iperf -y
  1. On ceph-node1, execute iperf with -s for the server, and -p to listen on a specific port:
        # iperf -s -p 6900

Note

You can skip the -p option if the TPC port 5201 is open, or you can choose any other port that is open and not in use.

  1. On ceph-node2, execute iperf with the client option, -c:
        # iperf -c ceph-node1 -p 6900

Note

You...

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 $15.99/month. Cancel anytime
Visually different images