# Ceph Datastore Setup

**URL:** <https://forum.opennebula.io/t/ceph-datastore-setup/3906>\
**Category:** Product Support\
**Created:** [March 3, 2017, 9:38am UTC](https://forum.opennebula.io/t/ceph-datastore-setup/3906 "2017-03-03T09:38:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![surya](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/surya/32/5097_2.png) [@surya](https://forum.opennebula.io/u/surya)\
**Post date:** [March 3, 2017, 9:38am UTC](https://forum.opennebula.io/t/ceph-datastore-setup/3906/1 "2017-03-03T09:38:04Z")

</div>

Hi,

We are trying to setup ceph for the datastore. We were following the opennnebula documentation  
[https://docs.opennebula.org/5.2/deployment/open\_cloud\_storage\_setup/ceph\_ds.html](https://docs.opennebula.org/5.2/deployment/open_cloud_storage_setup/ceph_ds.html)

In the Node Setup section:

“The ceph client tools must be available in the node”

For the above line do we need to install anything on the Host Node ?

"The mon daemon must be defined in the ceph.conf for all the node"  
In the Front End Node we have the ceph.conf file. Do we need to modify this file and copy it to the Host Nodes?

Thanks,  
Surya

---

<div class="post-metadata">

**Author:** ![vynt-kenshiro](https://avatars.discourse-cdn.com/v4/letter/v/5fc32e/32.png) [@vynt-kenshiro](https://forum.opennebula.io/u/vynt-kenshiro)\
**Post date:** [March 3, 2017, 2:09pm UTC](https://forum.opennebula.io/t/ceph-datastore-setup/3906/2 "2017-03-03T14:09:11Z")

</div>

Make sure Ceph work before you add Ceph into OpenNebula. You should read the link [http://www.virtualtothecore.com/en/adventures-with-ceph-storage-part-5-install-ceph-in-the-lab/](http://www.virtualtothecore.com/en/adventures-with-ceph-storage-part-5-install-ceph-in-the-lab/)

---

<div class="post-metadata">

**Author:** ![VURoland](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/vuroland/32/7682_2.png) [@VURoland](https://forum.opennebula.io/u/VURoland)\
**Post date:** [March 3, 2017, 6:01pm UTC](https://forum.opennebula.io/t/ceph-datastore-setup/3906/3 "2017-03-03T18:01:54Z")

</div>

> [@surya](#):
>
> “The ceph client tools must be available in the node”

This means that the virtualization nodes must be able to connect to ceph, using a ceph-key.

> [@](#):
>
> “The mon daemon must be defined in the ceph.conf for all the nodes”

This means that ceph.conf, which is used by all ceph-osd-servers and ceph-mons has to have a piece defining the ceph mon addresses. You also need this data when you add ceph as a datastore in opennebula.

basically, like vynt says, make sure you get a working ceph cluster with health OK first.  
Then install the ceph client tools on your opennebula-hosts, I installed it on all opennebula-hosts.  
When you create the ceph datastore, add all opennebula-hosts with the ceph client installed to your bridge\_list, as ceph\_host we added all ceph monitor addresses, plus the port. (i.e. mon01.ceph.local:6789)
