[Users] Confused about Gluster usage

Itamar Heim iheim at redhat.com
Tue Mar 11 14:47:10 UTC 2014


On 02/18/2014 10:37 AM, Martijn Grendelman wrote:
> Hi,
>
> I have been running oVirt 3.3.3 with a single node in a NFS type data
> center. Now, I would like to set up a second node. Both nodes have
> plenty of storage, but they're only connected to each other over 1 Gbit.
> I'm running nodes on CentOS 6.5.
>
> What I would like to accomplish is:
>
> * use a Gluster-backed DATA domain on my existing NFS datacenter
> * load balancing by even spread of VMs over the two nodes
> * leveraging the speed of local storage, so running a VM over NFS to the
> other node is undesireable
>
> So I was thinking I want the storage to be replicated, so that I can
> take a node down for maintenance without having to migrate all the
> storage to another node.
>
> I was thinking: GlusterFS.
>
> But I am confused on how to set it up. I understand I cannot use the
> libgfapi native integration due to dependency problems on CentOS. I have
> set up a replicated Gluster volume manually.
>
> How can I use my two nodes with this Gluster volume? What are the
> necessary steps?

create a gluster DC/add a cluster to it/add hosts to that cluster/add a 
gluster storage domain (ovirt 3.3) using that gluster volume/add vm/run vm.

>
> I did try a couple of things; most notably I was able to create a 2nd
> data center with POSIX storage, and mount the Gluster volume there, but
> that doesn't work for the first node.

use the gluster storage domain rather than the posix one.

>
> Alternatively, it would also be fine to migrate all existing VMs to the
> POSIX datacenter and then move the existing node from the old NFS data
> center to the new POSIX data center. Is that possible without
> exporting/importing all the VMs?

for now, export/import is simplest to do this

>
> Cheers,
> Martijn.
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>




More information about the Users mailing list