I am doing rsync now.  What is the difference between ocf2 and gfs?<br><br><div class="gmail_quote">On Tue, Feb 9, 2010 at 1:28 PM, Adam Adamou <span dir="ltr">&lt;<a href="mailto:adam0x54@gmail.com">adam0x54@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Keep it simple. ocfs2 - very easy to configure clustered filesystem<br>
and drbd for replication or rsync them nightly(depending how much data<br>
you can afford to lose). Something to keep in mind for drbd - You must<br>
have backups! - Your second server will be replicating what you have<br>
on your primary. For example, you accidentally remove some files and<br>
it gets synced to the backup you get screwed.<br>
<br>
my .02<br>
<font color="#888888"><br>
-Adam<br>
</font><div><div></div><div class="h5"><br>
On Tue, Feb 9, 2010 at 12:46 PM, Christopher G. Stach II &lt;<a href="mailto:cgs@ldsys.net">cgs@ldsys.net</a>&gt; wrote:<br>
&gt; ----- &quot;Rich&quot; &lt;<a href="mailto:rhdyes@gmail.com">rhdyes@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; I think the better question is this. How can I make my 2 physical<br>
&gt;&gt; servers that are identical into the best clustered solution sharing<br>
&gt;&gt; the storage between the 2.<br>
&gt;<br>
&gt; Do you want the storage to be redundant between the two like RAID 1 or just all of it accessible to any guest on either machine like a JBOD? For either, you can use a suitable mix of drbd, iSCSI, GNBD, LVM, heartbeat, keepalived, and a clustered filesystem. If you do the latter, remember that this squares your risk. If you want a simple A/B failover setup where the second physical host is idle until the first physical host fails, you can just use drbd and heartbeat or RHCS.<br>

&gt;<br>
&gt;&gt; They all use xfs.<br>
&gt;&gt; I want to keep the guests the same on each server.<br>
&gt;&gt; I will start with the backup server. I will go on each vm and delete<br>
&gt;&gt; this FS and block device.<br>
&gt;&gt; I then want make that whole 10 terabyte raid into one gfs and then<br>
&gt;&gt; re-attach it back to each guest.<br>
&gt;&gt; Is that possible or do I have to start all over again? If it can be<br>
&gt;&gt; done I then will sync the date from the mainserver to this backup<br>
&gt;&gt; server and then switch them and do the same to the mainserver.<br>
&gt;<br>
&gt; That sounds about right. You need to make your backups (!), destroy the data on of your servers by creating the new clustered filesystem, copy the data from the other server, and then share it with your reconfigured guests. So, basically what you said.<br>

&gt;<br>
&gt;&gt; I have one more question which is another whole thread.<br>
&gt;&gt; I am using rsync to sync the 2 physical boxes now. Is there a better<br>
&gt;&gt; way to do this?<br>
&gt;<br>
&gt; drbd, but rsync does a pretty good job in a lot of use cases. I wouldn&#39;t say that it fits this one, though.<br>
&gt;<br>
&gt; --<br>
&gt; Christopher G. Stach II<br>
&gt; <a href="http://ldsys.net/%7Ecgs/" target="_blank">http://ldsys.net/~cgs/</a><br>
&gt; _______________________________________________<br>
&gt; CentOS-virt mailing list<br>
&gt; <a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a><br>
&gt; <a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
&gt;<br>
_______________________________________________<br>
CentOS-virt mailing list<br>
<a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
</div></div></blockquote></div><br>