<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 23/10/14 03:32, Lindsay Mathieson
wrote:<br>
</div>
<blockquote
cite="mid:CAEMkAmEzU8j80rk6L2P0ighRJ1Lemixhmd-12AeyZtgJ=7ADHg@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">
<div>I'm playing around with GlusterFS and have a few questions.
Have got a test setup running on a 2 node cluster (using
external USB Drives!) that works surprisingly well :) and I
must say it was very easy to setup.<br>
<br>
<br>
</div>
1. I wanted to implement a distributed/replicated file system.
Is GlusterFS the best choice for a 2 node system? Would it be
easy to add a third node later?<br>
<br>
<br clear="all">
<div>
<div>2. When launching a VM off Node 1 or Node 2, is it
accessing the local hard disk directly, or does it all go
through a network share? Our network is only 1GB and it
would be nice to take some of the load off it.<br>
<br>
</div>
<div><br>
Should I be asking these question on the forum rather than
the list?<br>
<br>
<br>
Thanks,<br>
</div>
<div>-- <br>
Lindsay
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
pve-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a>
<a class="moz-txt-link-freetext" href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a>
</pre>
</blockquote>
I'm using successfully Proxmox with GlusterFS. Each proxmox node is
also a gluster node, and now I have two nodes (using a third proxmox
node on vmware for proxmox quorum). I must say it works pretty nice,
I even provide Windows VDIs with this system. Adding a third (with a
fourth -it's a replica, you know-) and more nodes, it's pretty
straight forward. Just prepare them, add to the gluster and the data
will be rebalanced, with a 10Gb network, the data will be rebalanced
hugely faster than with a 1Gb network.<br>
<br>
I also suggest to you to use a better network because glusterfs
writes are <span id="result_box" class="short_text" lang="en"><span
class="hps">synchronous. The benefit of this is that if one node
comes down, all the information is in the other node, so there
are chances that the VMs even didn't notice when a node comes
down.</span></span><br>
<br>
When you write on gluster, even you have mounted it using the IP of
one of them, the writes are "randomly" (not really random) send to
any node, and then, replicated amongst them, it's the internal
operation.<br>
<br>
You could set up a georeplica instead a replica, designed to
replicate two gluster clusters amongst remote offices, and then you
could use your 1Gb network to make a<span id="result_box"
class="short_text" lang="en"><span class="hps">synchronous</span></span>
writes. The cons I see are you don't have *exactly* the same data on
the both clusters at each time, and in case of a node comes down,
you should reconfigure all VMs to point their disks to the other
GlusterFS, because they are two different clusters.<br>
<br>
So, <span id="result_box" class="short_text" lang="en"><span
class="hps">summarizing: Yes, you can use gluster in a two-node
gluster setup, I do not know if Ceph its better though, I can
only share my positive experiences with </span></span>gluster.
<span id="result_box" class="short_text" lang="en"><span class="hps">I
would recommend you to use a 10Gb network dedicated for gluster
communication, it will be useful to replicate data synchronously
and essential for rebalance the data when in a future you will
need to add more nodes.</span></span><br>
<br>
<div class="moz-signature">-- <br>
<table border="0" cellpadding="2" cellspacing="2" height="88"
width="424">
<tbody>
<tr>
<td valign="top"><img moz-do-not-send="false" alt=""
src="cid:part1.01070605.00090601@dltec.net" height="56"
width="151"><br>
</td>
<td valign="top">
<div style="MARGIN: 0px"><font face="Times New
Roman,serif" size="3"><span style="FONT-SIZE: 12pt"><font
color="#1f497d" face="Calibri,sans-serif" size="2"><span
style="FONT-SIZE: 10pt" lang="es"><b>Angel
Docampo<br>
</b></span></font></span></font></div>
<div style="MARGIN: 0px"><font face="Times New
Roman,serif" size="3"><span style="FONT-SIZE: 12pt"><font
color="#1f497d" face="Calibri,sans-serif" size="2"><span
style="FONT-SIZE: 10pt" lang="es"><b>Datalab
Tecnologia, s.a.</b></span></font></span></font></div>
<div style="MARGIN: 0px"><font face="Times New
Roman,serif" size="3"><span style="FONT-SIZE: 12pt"><font
color="#1f497d" face="Calibri,sans-serif" size="2"><span
style="FONT-SIZE: 10pt" lang="es">Castillejos,
352 - 08025 Barcelona</span></font></span></font></div>
<div style="MARGIN: 0px"><font face="Times New
Roman,serif" size="3"><span style="font-size: 12pt;"><font
color="#1f497d" face="Calibri,sans-serif" size="2"><span
style="font-size: 10pt;" lang="es">Tel. 93 476
69 14 - Ext: 706<br>
Mob. 670.299.381</span></font></span></font></div>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>