Gluster would be to overcomplicate this if you only want local storage on both to be reachable over the network.

Simplest way is to setup an nf server on both nodes and create a storage domain for each.

Gluster is a way to secure your data and replicate them over several nodes. so that if one node goes down or explodes you always have the data replicated to other nodes. Running a single brick gluster volume is not recomended. 

/Johan

On Thu, 2017-11-09 at 11:57 +0100, Jon bae wrote:
Thank you for your answer!

I don't understand way I have to put them in replicate mode. As I understand replicate means, that the files get copy to both nodes, but I would like to have them independent, and I move the vm disks to the node how i want it.

Theoretical I only need a solution where I can use local storage from the nodes, but that they are reachable over the network.

Jonathan

2017-11-09 11:39 GMT+01:00 Johan Bernhardsson <johan@kafit.se>:
For it to work you need to have the bricks in replicate. Of brick on each server. 

If you only have two nodes. The quoum will be to low so it will set the gluster to failsafe mode until the other brick comes online. 

For it to work properly you need three nodes with one brick or two nodes and a third node acting as an arbiter.

/Johan

On Thu, 2017-11-09 at 11:35 +0100, Jon bae wrote:
Hello,
I'm very new to oVirt and glusterFS, so maybe I got something wrong...

I have the oVirt engine installed on a separate server and I have also two physical nodes. On every node I configure glusterFS, the volume is in distribution mode and have only one brick, from is one node. Both volumes I also add to its own storage domain.

The idea was, that both storage domains are independent from each other, that I can turn of one node and only turn it on, when I need it.

But now I have the problem, that when I turn of on node, both storage domains goes down. and the volume shows the the brick is not available.

Is there a way to fix this?

Regards
Jonathan


_______________________________________________
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