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...

There are two ways to access the admin socket:

  1. Using the Ceph daemon-name:
        $ sudo ceph daemon {daemon-name} {option} 
  1. The default location is /var/run/ceph. Using the absolute path of the socket file:
        $ sudo ceph daemon {absolute path to socket file} {option}

We will now try to access the Ceph daemon using the admin socket:

  1. List all the available admin socket commands for the OSD:
        # ceph daemon osd.0 help
  1. Similarly, list all the available socket commands for MON:
        # ceph daemon mon.ceph-node1 help
  1. Check the OSD configuration settings for osd.0:
        # ceph daemon osd.0 config show
  1. Check the MON configuration settings for mon.ceph-node1:
        # ceph daemon mon.ceph-node1 config show
The Ceph admin daemon allows you ...

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