Hi David, thaks for the answer, but if I use the IP and one controller fall down (i.e. controller1) I can see from the client when I make a ll command of gluster volume just the files present in brick2 "exported" by controller2. The iscsi can be access from multiple host, but we can not write from 2 hosts (controller1 and controller2) in the same LUN at the same time (filesystem is not cluster like OCFS or GPFS) but if controller1 is powered off, the controller2 can write to brick1 attached via iscsi so the client when I do a ll command on the gluster volume display the entire volume made of brick1 and brick2. We would like to use VIP to not reconfigure the volume if one controller fall down. I try to do an example. We have controller1 192.168.1.10 and controller2 192.168.1.11. If I create the volume like this: gluster volume create volume1 transport tcp 192.168.1.10:/data/brick1/sda 192.168.1.11:/data/brick2/sdb If controller1 fall down in all the client we see just the data store in /data/brick2/sdb and if I want to the the files in brick1 I have to reconfigure like: (using IP fo controller2 for the 2 bricks) gluster volume create volume1 transport tcp 192.168.1.11:/data/brick1/sda 192.168.1.11:/data/brick2/sd If we succeed to our configuration we could have this: We have controller1 192.168.1.10 with VIP 10.0.1.10 and controller2 192.168.1.11 with VIP 10.0.1.11. We can create the volume like this: gluster volume create volume1 transport tcp 10.0.1.10:/data/brick1/sda 10.0.1.11:/data/brick2/sdb If controller1 fall down the keepalived chage the 10.0.1.10 into 192.168.1.11 and the /data/brick1/sda starts to be manage from controller2 and the client see the entire volume and all files in brick1 and brick2 without any reconfiguration. I hope I have clarified what we would like to do. Chees Sergio On 01/12/2015 02:14 PM, David Gibbons
wrote:
|
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users