great, it is working now ... strange is that before i setup that "network.ping-timeout" value it never switch to another node ( i was waiting for 5 minutes and nothing ) and now after 25 seconds is up and working - maybe there is no default value ? I dont know :) ... but it is working for me now, thanks a lot Matus 2011/6/6 Craig Carl <ccarl at gluster.com>: > Exactly! The default ping-timeout is 42 seconds. > > Craig > > On 6/6/11 1:50 AM, bxmatus at gmail.com wrote: >> I see, i'm starting to understand that ... so in theory it should work >> fine with normal IP, and after $ping-timeout seconds it should switch >> to another node if one is dead, i'm i right ? >> >> 2011/6/6 Craig Carl <ccarl at gluster.com>: >>> Matus - >>> ? If you are using the Gluster native client (mount -t glusterfs ...) >>> then ucarp/CTDB is NOT required and you should not install it. Always >>> use the real IPs when you are mounting with 'mount -t glusterfs...'. >>> >>> Craig >>> >>> >>> On 6/6/11 1:16 AM, bxmatus at gmail.com wrote: >>>> Hi Craig, >>>> >>>> thanks for answer. I'm using replications - which is working ok, >>>> volume is mounted using -t glusterfs parameter, does it matter ? >>>> All nodes are using real IP's not virtual ( for probing etc ) , i'm >>>> using virtual only for mounting volume on client. I was waiting over >>>> 10 minutes for volume >>>> to "wake up" but it never start to work - it never switch to another >>>> node, even when UCARP was already pointing there, there was lot >>>> of "recovery" messages on log but no attemt to connect to second node. >>>> >>>> thanks >>>> >>>> Matus >>>> >>>> >>>> 2011/6/6 Craig Carl <ccarl at gluster.com>: >>>>> Matus - >>>>> >>>>> Gluster has automatic, built-in failover if you are using replica nodes. >>>>> ucarp is only required if you want highly available NFS mounts. >>>>> >>>>> ? To use ucarp with Gluster you should - >>>>> ? ? ? ?1. Install Gluster and create a replica volume. [1] >>>>> ? ? ? ? ? ?1. DO NOT use the virtual IPs when you peer probe or create >>>>> the volume, that won't work. >>>>> ? ? ? ? ? ?2. Set the ping-timeout volume option to 25 seconds. [2] >>>>> ? ? ? ?2. Install and setup ucarp. >>>>> ? ? ? ?3. Mount your NFS clients using the VIPs. >>>>> ? ? ? ?4. Mount your glusterfs clients using the real IP addresses. >>>>> >>>>> We mostly use CTDB because it supports NFS and Samba, I can't attach a >>>>> document here but I'll email you directly with the documentation. >>>>> >>>>> [1] >>>>> http://gluster.com/community/documentation/index.php/Gluster_3.2:_Configuring_Distributed_Replicated_Volumes >>>>> [2] >>>>> http://gluster.com/community/documentation/index.php/Gluster_3.2:_Setting_Volume_Options >>>>> >>>>> Thanks, >>>>> >>>>> Craig >>>>> >>>>> -- >>>>> Craig Carl, Senior Systems Engineer | Gluster >>>>> 408.829.9953(PST) | http://gluster.com >>>>> http://www.gluster.com/gluster-for-aws/ >>>>> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE5666F925A557DD8 >>>>> >>>>> >>>>> On 6/6/11 12:09 AM, bxmatus at gmail.com wrote: >>>>>> Hello everybody. >>>>>> >>>>>> I have a problem setting up gluster failover funcionality. Based on >>>>>> manual i setup ucarp which is working well ( tested with ping/ssh etc >>>>>> ) >>>>>> >>>>>> But when i use virtual address for gluster volume mount and i turn off >>>>>> one of nodes machine/gluster will freeze until node is back online. >>>>>> >>>>>> My virtual ip is 3.200 and machine real ip is 3.233 and 3.5. In >>>>>> gluster log i can see: >>>>>> >>>>>> [2011-06-06 02:33:54.230082] I >>>>>> [client-handshake.c:913:client_setvolume_cbk] 0-atlas-client-1: >>>>>> Connected to 192.168.3.233:24009, attached to re >>>>>> mote volume '/atlas'. >>>>>> [2011-06-06 02:33:54.230116] I [afr-common.c:2514:afr_notify] >>>>>> 0-atlas-replicate-0: Subvolume 'atlas-client-1' came back up; going >>>>>> online. >>>>>> [2011-06-06 02:33:54.237541] I [fuse-bridge.c:3316:fuse_graph_setup] >>>>>> 0-fuse: switched to graph 0 >>>>>> [2011-06-06 02:33:54.237801] I [fuse-bridge.c:2897:fuse_init] >>>>>> 0-glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.13 >>>>>> kernel 7.13 >>>>>> [2011-06-06 02:33:54.238757] I [afr-common.c:836:afr_fresh_lookup_cbk] >>>>>> 0-atlas-replicate-0: added root inode >>>>>> [2011-06-06 02:33:54.272650] I >>>>>> [client-handshake.c:913:client_setvolume_cbk] 0-atlas-client-0: >>>>>> Connected to 192.168.3.5:24009, attached to remo >>>>>> te volume '/atlas'. >>>>>> >>>>>> >>>>>> Even when IP i'm using at mount is 3.200 ... Its look like that at the >>>>>> end gluster is using real machine IP's even when i'm connecting to >>>>>> virtual. Is there a way >>>>>> how to turn this functionality off or it is just broken ? >>>>>> >>>>>> thanks for answer >>>>>> >>>>>> Matus >>>>>> _______________________________________________ >>>>>> Gluster-users mailing list >>>>>> Gluster-users at gluster.org >>>>>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users >>>>> _______________________________________________ >>>>> Gluster-users mailing list >>>>> Gluster-users at gluster.org >>>>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users >>>>> >>>> _______________________________________________ >>>> Gluster-users mailing list >>>> Gluster-users at gluster.org >>>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users >>> _______________________________________________ >>> Gluster-users mailing list >>> Gluster-users at gluster.org >>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users >>> >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org >> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users >