O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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
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
You can also use the -p option with the iperf command to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required