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IHlvdSB3b3VsZG7igJl0 IHdhbnQgYSBWTSByZXNpZGluZyBvbiBIb3N0MSB0aGF0IGFjY2Vzc2VzIGl0cyBkaXNrIG9uIEhv c3QzLiBNdWx0aXBsZSB0aGF0IGJ5IGh1bmRyZWRzIG9mIFZN4oCZcyBhbmQgaXQgd291bGQgY3Jl YXRlIGEgdG9uIG9mIHVubmVjZXNzYXJ5IG5ldHdvcmsgY29uZ2VzdGlvbi4NCg0K --_000_SN1PR08MB1389E9AA24246B61EE308341A6730SN1PR08MB1389namp_ Content-Type: text/html; charset="utf-8" Content-ID: <7766EE5FA0193D41AFCE783FA42221BE@sct-15-1-485-2-msonline-outlook-1173a.templateTenant> Content-Transfer-Encoding: base64 PGh0bWwgeG1sbnM6bz0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6b2ZmaWNlIiB4 bWxuczp3PSJ1cm46c2NoZW1hcy1taWNyb3NvZnQtY29tOm9mZmljZTp3b3JkIiB4bWxuczptPSJo dHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL29mZmljZS8yMDA0LzEyL29tbWwiIHhtbG5zPSJo dHRwOi8vd3d3LnczLm9yZy9UUi9SRUMtaHRtbDQwIj4NCjxoZWFkPg0KPG1ldGEgaHR0cC1lcXVp dj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiPg0KPG1l dGEgbmFtZT0iR2VuZXJhdG9yIiBjb250ZW50PSJNaWNyb3NvZnQgV29yZCAxNSAoZmlsdGVyZWQg bWVkaXVtKSI+DQo8c3R5bGU+PCEtLQ0KLyogRm9udCBEZWZpbml0aW9ucyAqLw0KQGZvbnQtZmFj ZQ0KCXtmb250LWZhbWlseToiQ2FtYnJpYSBNYXRoIjsNCglwYW5vc2UtMToyIDQgNSAzIDUgNCA2 IDMgMiA0O30NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6Q2FsaWJyaTsNCglwYW5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aWx5OiZxdW90O1RpbWVzIE5ldyBSb21hbiZxdW90OyxzZXJpZiI+SSBo YXZlIG5vdCBiZWVuIGFibGUgdG8gZmluZCBhbnl0aGluZyBvbiB0aGUgaW50ZXJuZXQgb3IgaW4g dGhlIGRvY3VtZW50YXRpb24gdGhhdCBzcGVjaWZpZXMgaG93IHRoaXMgcHJvY2VzcyB3b3Jrcy4g SWRlYWxseSwgeW91IHdvdWxkbuKAmXQgd2FudCBhIFZNIHJlc2lkaW5nIG9uIEhvc3QxIHRoYXQN CiBhY2Nlc3NlcyBpdHMgZGlzayBvbiBIb3N0My4gTXVsdGlwbGUgdGhhdCBieSBodW5kcmVkcyBv ZiBWTeKAmXMgYW5kIGl0IHdvdWxkIGNyZWF0ZSBhIHRvbiBvZiB1bm5lY2Vzc2FyeSBuZXR3b3Jr IGNvbmdlc3Rpb24uPC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7 PC9vOnA+PC9wPg0KPC9kaXY+DQo8L2JvZHk+DQo8L2h0bWw+DQo= --_000_SN1PR08MB1389E9AA24246B61EE308341A6730SN1PR08MB1389namp_--

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.

This is a multi-part message in MIME format. --------------050708010909020807020403 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit On 05/12/2016 05:35 AM, Bill Bill wrote:
Hello,
Lets 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 its 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 wouldnt want a VM residing on Host1 that accesses its disk on Host3. Multiple that by hundreds of VMs and it would create a ton of unnecessary network congestion.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------050708010909020807020403 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> <br> <br> <div class="moz-cite-prefix">On 05/12/2016 05:35 AM, Bill Bill wrote:<br> </div> <blockquote cite="mid:SN1PR08MB1389E9AA24246B61EE308341A6730@SN1PR08MB1389.namprd08.prod.outlook.com" type="cite"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="Generator" content="Microsoft Word 15 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:#954F72; text-decoration:underline;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style> <div class="WordSection1"> <p class="MsoNormal">Hello,</p> <p class="MsoNormal"> </p> <p class="MsoNormal">Lets say I have a 5 node converged cluster of oVirt & glusterFS with a replica count of 3.</p> <p class="MsoNormal"> </p> <p class="MsoNormal">Host1 - replica</p> <p class="MsoNormal">Host2 - replica</p> <p class="MsoNormal">Host3 - replica</p> <p class="MsoNormal">Host4</p> <p class="MsoNormal">Host5</p> <p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> </span></p> <p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">If I spin a VM up on Host1 does the first replica get created local to that server?</span></p> <p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> </span></p> <p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">In the event I move the VM to another host, does the replica of the disk follow the VM so essentially its writing to a local copy first or does it always write across the network.</span></p> </div> </blockquote> <br> 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. <br> <br> 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.<br> <br> <blockquote cite="mid:SN1PR08MB1389E9AA24246B61EE308341A6730@SN1PR08MB1389.namprd08.prod.outlook.com" type="cite"> <div class="WordSection1"> <p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> </span></p> <p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">For example, with VMware, the disk will follow the VM to the hypervisor you move it to so that the writes are essentially local. </span></p> <p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> </span></p> <p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">I have not been able to find anything on the internet or in the documentation that specifies how this process works. Ideally, you wouldnt want a VM residing on Host1 that accesses its disk on Host3. Multiple that by hundreds of VMs and it would create a ton of unnecessary network congestion.</span></p> <p class="MsoNormal"><o:p> </o:p></p> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> </body> </html> --------------050708010909020807020403--
participants (3)
-
Alexander Wels
-
Bill Bill
-
Sahina Bose