# Sharing CEPH between clusters/datastores?

**URL:** <https://forum.opennebula.io/t/sharing-ceph-between-clusters-datastores/1985>\
**Category:** Product Support\
**Created:** [March 23, 2016, 2:42pm UTC](https://forum.opennebula.io/t/sharing-ceph-between-clusters-datastores/1985 "2016-03-23T14:42:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yenya](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/yenya/32/4624_2.png) [@Yenya](https://forum.opennebula.io/u/Yenya)\
**Post date:** [March 23, 2016, 2:42pm UTC](https://forum.opennebula.io/t/sharing-ceph-between-clusters-datastores/1985/1 "2016-03-23T14:42:57Z")

</div>

I have a Ceph RBD pool used as an OpenNebula datastore. Can it be shared between clusters in OpenNebula? Can I, for example, attach the same datastore to more than one cluster? I would like to avoid having to copy all the installation CDROM images to more datastores. When I attach the Ceph datastore to some cluster in Sunstone, it gets detached from the cluster it has been previously attached to.

Thanks!

---

<div class="post-metadata">

**Author:** ![ruben](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ruben/32/19_2.png) [@ruben](https://forum.opennebula.io/u/ruben)\
**Post date:** [March 23, 2016, 6:00pm UTC](https://forum.opennebula.io/t/sharing-ceph-between-clusters-datastores/1985/2 "2016-03-23T18:00:29Z")

</div>

This is already implemented in master for 5.0 (share datastore across  
clusters), there is no straightforward workaround for the 4.x series ☹

---

<div class="post-metadata">

**Author:** ![Yenya](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/yenya/32/4624_2.png) [@Yenya](https://forum.opennebula.io/u/Yenya)\
**Post date:** [March 23, 2016, 9:17pm UTC](https://forum.opennebula.io/t/sharing-ceph-between-clusters-datastores/1985/3 "2016-03-23T21:17:06Z")

</div>

OK, thanks. I don’t strictly need multiple clusters - the other alternative for me is to be able to have hosts with multiple VN\_MADs. I have a few VLANs which are connected to the infrastructure outside the OpenNebula system, which I need to use as dot1q VLANs (so probably with onehost -n ebtables), and then I want to use OpenNebula-only private networks, which should probably be implemented using VXLANs.

Is it possible to have a host with both -n ebtables and -n vxlan?

---

<div class="post-metadata">

**Author:** ![ruben](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ruben/32/19_2.png) [@ruben](https://forum.opennebula.io/u/ruben)\
**Post date:** [March 27, 2016, 5:50pm UTC](https://forum.opennebula.io/t/sharing-ceph-between-clusters-datastores/1985/4 "2016-03-27T17:50:51Z")

</div>

Again this is for 5.0, we are working now on the merge…  
[http://dev.opennebula.org/issues/3848](http://dev.opennebula.org/issues/3848) ☹

---

<div class="post-metadata">

**Author:** ![Yenya](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/yenya/32/4624_2.png) [@Yenya](https://forum.opennebula.io/u/Yenya)\
**Post date:** [March 29, 2016, 7:55am UTC](https://forum.opennebula.io/t/sharing-ceph-between-clusters-datastores/1985/5 "2016-03-29T07:55:13Z")

</div>

OK, thanks!
