# Opennebula 5.0 cluster

**URL:** <https://forum.opennebula.io/t/opennebula-5-0-cluster/2426>\
**Category:** Product Support\
**Created:** [June 21, 2016, 8:05am UTC](https://forum.opennebula.io/t/opennebula-5-0-cluster/2426 "2016-06-21T08:05:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vijay\_MP](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/vijay_mp/32/4516_2.png) [@Vijay\_MP](https://forum.opennebula.io/u/Vijay_MP)\
**Post date:** [June 21, 2016, 8:05am UTC](https://forum.opennebula.io/t/opennebula-5-0-cluster/2426/1 "2016-06-21T08:05:27Z")

</div>

Hi ,  
I have an issue while creating vm,

No system datastore meets capacity and SCHED\_DS\_REQUIREMENTS: “CLUSTERS/ID” = 100 & ( CLUSTER\_ID=“100” )

I have created two clusters node1 and node2.  
i use different vnet, host and system datastore for each cluster,  
but use same cephdatastore for both cluster

onecluster show node1  
CLUSTER 100 INFORMATION  
ID : 100  
NAME : node1

CLUSTER TEMPLATE  
RESERVED\_CPU="0.5"  
RESERVED\_MEM=“0.5”

HOSTS  
3

VNETS  
0

DATASTORES  
0  
104 cephds

onecluster show node2  
CLUSTER 101 INFORMATION  
ID : 101  
NAME : node2

CLUSTER TEMPLATE  
RESERVED\_CPU="“  
RESERVED\_MEM=”"

HOSTS  
5

VNETS  
4

DATASTORES  
104 cephds  
107 system\_ds

In my template i use cluster as below

SCHED\_DS\_REQUIREMENTS = "CLUSTER\_ID="100""  
SCHED\_REQUIREMENTS = "CLUSTER\_ID=“100"”

( or )

SCHED\_DS\_REQUIREMENTS = "CLUSTER\_ID="101""  
SCHED\_REQUIREMENTS = "CLUSTER\_ID=“101"”

Thanks in advance

---

<div class="post-metadata">

**Author:** ![cmartin](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/cmartin/32/4278_2.png) [@cmartin](https://forum.opennebula.io/u/cmartin)\
**Post date:** [June 21, 2016, 8:46am UTC](https://forum.opennebula.io/t/opennebula-5-0-cluster/2426/2 "2016-06-21T08:46:50Z")

</div>

Hi,

> [@Vijay\_MP](#):
>
> SCHED\_DS\_REQUIREMENTS = “CLUSTER\_ID="100"”  
> SCHED\_REQUIREMENTS = “CLUSTER\_ID="100"”

CLUSTER\_ID will not work inside SCHED\_DS\_REQUIREMENTS. Did you copy that from our documentation? If so let me know and I’ll fix it.

In any case, the requirements will be set automatically. If the VM uses the vnet from one of the clusters, it will be deployed there because of the automatic SCHED\_\*REQUIREMENTS. In case of ambiguity, setting the SCHED\_REQUIREMENTS (for hosts) will force the VM to be deployed in a specific cluster. In here you can use CLUSTER\_ID.

---

<div class="post-metadata">

**Author:** ![Vijay\_MP](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/vijay_mp/32/4516_2.png) [@Vijay\_MP](https://forum.opennebula.io/u/Vijay_MP)\
**Post date:** [June 21, 2016, 9:34am UTC](https://forum.opennebula.io/t/opennebula-5-0-cluster/2426/3 "2016-06-21T09:34:38Z")

</div>

Hi cmartin,

you are right SCHED\_DS\_REQUIREMENTS is not referred in documents. I met an issue when i use two clusters in Opennebula 4.14.2

No system datastore meets capacity and SCHED\_DS\_REQUIREMENTS: “CLUSTER\_ID” = 100 & ( CLUSTER\_ID=“100” ) & “CLUSTER\_ID= 101” because of the automatic SCHED\_\*REQUIREMENTS

thats why i tried like that on Opennebula 4.14.2. so manually added the field.

i didn’t met any issue because of this field (SCHED\_DS\_REQUIREMENTS = "CLUSTER\_ID=“100"”) on 4.14.2

in 5.0 after removed SCHED\_DS\_REQUIREMENTS field it works well  
Thank you so much,
