Re: [ovirt-users] oVirt & gluster - which copy is written to?

2016-05-17 Thread Sahina Bose



On 05/12/2016 05:35 AM, Bill Bill wrote:


Hello,

Let’s say I have a 5 node converged cluster of oVirt & glusterFS with 
a replica count of “3”.


Host1 - replica

Host2 - replica

Host3 - replica

Host4

Host5

If I spin a VM up on Host1 – does the first replica get created local 
to that server?


In the event I move the VM to another host, does the replica of the 
disk follow the VM so essentially it’s writing to a local copy first 
or does it “always” write across the network.




Any writes are written to all 3 hosts that form the replica 3 gluster 
volume. Replica 3 - indicates that there is a 3-way copy of data, and 
the same data resides on Host1, Host2 and Host3.


Reads however are from local host. So for a VM running on Host1, it will 
access the data (i.e. read) from the brick on Host1.


For example, with VMware, the disk will follow the VM to the 
hypervisor you move it to so that the writes are essentially “local”.


I have not been able to find anything on the internet or in the 
documentation that specifies how this process works. Ideally, you 
wouldn’t want a VM residing on Host1 that accesses its disk on Host3. 
Multiple that by hundreds of VM’s and it would create a ton of 
unnecessary network congestion.




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt & gluster - which copy is written to?

2016-05-16 Thread Alexander Wels
On Thursday, May 12, 2016 12:05:22 AM Bill Bill wrote:
> Hello,
> 
> Let’s say I have a 5 node converged cluster of oVirt & glusterFS with a
> replica count of “3”.
 
> Host1 - replica
> Host2 - replica
> Host3 - replica
> Host4
> Host5
> 
> If I spin a VM up on Host1 – does the first replica get created local to
> that server?
 
> In the event I move the VM to another host, does the replica of the disk
> follow the VM so essentially it’s writing to a local copy first or does it
> “always” write across the network.
 
> For example, with VMware, the disk will follow the VM to the hypervisor you
> move it to so that the writes are essentially “local”.
 
> I have not been able to find anything on the internet or in the
> documentation that specifies how this process works. Ideally, you wouldn’t
> want a VM residing on Host1 that accesses its disk on Host3. Multiple that
> by hundreds of VM’s and it would create a ton of unnecessary network
> congestion.
 
While I cannot answer your actual question as I don't know enough about the 
internal implementation of how oVirt interacts with gluster. I just want to 
point out major difference between oVirt and VMWare. In oVirt storage domains 
are attached to data centers, not hosts. So there is no does the disk move 
from host1 to host2. The disk is on the storage domain and host1 and host2 and 
every other host in the data center has access to the storage domain.


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users