Yes, you can do:

Cluster A: Host_A0, Host_A1...  + VNET_A0, VNET_A1...
Cluster B: HostB0, HostB1... + VNET_B0, VNET_B1...
Cluster Default: DS, DS_System

Then a VM that uses VNET_A0 + DS would be scheduled to Cluster A. Note
that using VNET_A0 constrain resources from Cluster A + Cluster
Default.

Cheers

Ruben

On Fri, Feb 13, 2015 at 10:42 PM, Steven C Timm <t...@fnal.gov> wrote:
> I know if I just take the vnet and the datastore out of the cluster, and have 
> no clusters at all,  then everything
> will work.. I was hoping to have a cluster structure of (host,vnet) pairings 
> that could
> all share a common data store.  However from the documentation, it looks like 
> if
> your template requests any resource that is part of a cluster (vnet or image 
> from datastore)
> then the scheduler will constrain you to resources that are part of that same 
> cluster.
>
> Is that correct?
>
> Steve Timm
>
> ________________________________________
> From: Ruben S. Montero [rsmont...@opennebula.org]
> Sent: Friday, February 13, 2015 3:11 PM
> To: Steven C Timm
> Cc: users@lists.opennebula.org
> Subject: Re: [one-users] clusters in 4.8
>
> Hi
>
> If both clusters has access to the same datastores, just move them out
> of the first cluster. When a datastore or network is not assigned to
> any cluster (cluster default) OpenNebula assumes it can be used with
> any host (no matter in which cluster is set).
>
> BTW, although you do not needed for your use case, 4.12 will come with
> extended VDC support to create complex provision scenarios. Basically
> you can define generic "resource providers" that aggregate any
> resource (cluster, host, network, datastores)  more here
> http://opennebula.org/4-12-features-virtual-data-center-redesign/
>
> Cheers
>
> On Fri, Feb 13, 2015 at 6:37 PM, Steven Timm <t...@fnal.gov> wrote:
>>
>> I have had my one4.8 host up for a while with a single cluster
>> that has 150 hosts, one vnet, and a system and image datastore.
>>
>> I am now adding hosts from a different vnet.
>> want to make second host + vnet cluster but still use
>> the same system and image data stores.
>>
>> What's the right way to do that.. just remove the datastores
>> from the first cluster... they can't be in more than one
>> cluster at a time, can they?
>>
>>
>> Thanks for any suggestions.
>>
>> Steve Timm
>>
>>
>> ------------------------------------------------------------------
>> Steven C. Timm, Ph.D  (630) 840-8525
>> t...@fnal.gov  http://home.fnal.gov/~timm/
>> Office:  Wilson Hall room 804
>> Fermilab Scientific Computing Division,
>> Scientific Computing Facilities Quadrant.,
>> Experimental Computing Facilities Dept.,
>> Project Lead for Virtual Facility Project.
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to