Re: How to change ping timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vijay -
              Here's the file content


## file auto generated by /usr/bin/glusterfs-volgen (mount.vol)
# Cmd line:
# $ /usr/bin/glusterfs-volgen --name ncareplica --raid 1 gfs1:/mnt/gfs
gfs2:/mnt                                                                
/gfs

# RAID 1
# TRANSPORT-TYPE tcp
volume gfs2-1
    type protocol/client
    option transport-type tcp
    option remote-host gfs2
    option transport.socket.nodelay on
    option transport.remote-port 6996
    option remote-subvolume brick1
    option ping-timeout 10
end-volume

volume gfs1-1
    type protocol/client
    option transport-type tcp
    option remote-host gfs1
    option transport.socket.nodelay on
    option transport.remote-port 6996
    option remote-subvolume brick1
    option ping-timeout 10
end-volume

volume mirror-0
    type cluster/replicate
    subvolumes gfs1-1 gfs2-1
end-volume

volume readahead
    type performance/read-ahead
    option page-count 4
    subvolumes mirror-0
end-volume

volume iocache
    type performance/io-cache
    option cache-size `echo $(( $(grep 'MemTotal' /proc/meminfo | sed
's/[^0-9]/                                                            
                          /g') / 5120 ))`MB
    option cache-timeout 1
    subvolumes readahead
end-volume

volume quickread
    type performance/quick-read
    option cache-timeout 1
    option max-file-size 64kB
    subvolumes iocache
end-volume

volume writebehind
    type performance/write-behind
    option cache-size 4MB
    subvolumes quickread
end-volume

volume statprefetch
    type performance/stat-prefetch
    subvolumes writebehind
end-volume



Thanks,

Santhosh




> On Friday 28 January 2011 06:59 PM, SanthoshEsys wrote:
>> I'm using glusterfs 3.0 . How can i change the ping-timeout value from
>> 42 to 10. I'm trying to add "option  ping -timeout 10" in the client
>> vol file but i still get 42 seconds as ping timeout.
> Can you please share your client volume file?
>
> Thanks,
> Vijay
>





[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux