Problem With AFR

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

 



Hi i?m using GlusterFs V3.0.2 in Fedora 12.

I have configure AFR with 3 nodes and mount the volume in the client, its
work fine, but when a node fail, the file system in the client locks and I
can?t execute any operations for about 40 to 50 Seconds.

After 40 to 50 Seconds the File system on the client start to work again.
How I can resolve this problem, because the file system can?t bee
inaccessible for so long Time.

Bellow is my Server Configuration and Client Configuration:

--------------------------------------------------------------------------
Server Configuration:
--------------------------------------------------------------------------
volume s3ap2posix
  type storage/posix
  option directory /gluster/s3ap2
end-volume

volume s3ap2locks
    type features/locks
    subvolumes s3ap2posix
end-volume

volume s3ap2brick
    type performance/io-threads
    option thread-count 8
    subvolumes s3ap2locks
end-volume

volume server-tcp
    type protocol/server
    option transport-type tcp
    option auth.addr.s3ap2brick.allow 192.168.30.*
    option transport.socket.listen-port 6996
    option transport.socket.nodelay on
    subvolumes s3ap2brick
end-volume

--------------------------------------------------------------------------
Cliente Configuration
--------------------------------------------------------------------------
volume 192.168.30.1-s3ap2
    type protocol/client
    option transport-type tcp
    option remote-host 192.168.30.1
    option transport.socket.nodelay on
    option transport.remote-port 6996
    option remote-subvolume s3ap2brick
end-volume

volume 192.168.30.2-s3ap2
    type protocol/client
    option transport-type tcp
    option remote-host 192.168.30.2
    option transport.socket.nodelay on
    option transport.remote-port 6996
    option remote-subvolume s3ap2brick
end-volume

volume 192.168.30.3-s3ap2
    type protocol/client
    option transport-type tcp
    option remote-host 192.168.30.3
    option transport.socket.nodelay on
    option transport.remote-port 6996
    option remote-subvolume s3ap2brick
end-volume

volume s3ap2afr
    type cluster/afr
    subvolumes 192.168.30.1-s3ap2 192.168.30.2-s3ap2 192.168.30.3-s3ap2
end-volume

volume s3ap2writebehind
    type performance/write-behind
    option cache-size 4MB
    subvolumes s3ap2afr
end-volume

volume s3ap2readahead
    type performance/read-ahead
    option page-count 4
    subvolumes s3ap2writebehind
end-volume

volume s3ap2iocache
    type performance/io-cache
    option cache-size 1GB
    option cache-timeout 1
    subvolumes s3ap2readahead
end-volume

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

volume s3ap2
    type performance/stat-prefetch
    subvolumes s3ap2quickread
end-volume

Thank?s
    Eduardo


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

  Powered by Linux