gluster-devel
[Top][All Lists]
Advanced

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

RE: [Gluster-devel] 1.4.0 and HA Translator


From: Melvin Wong
Subject: RE: [Gluster-devel] 1.4.0 and HA Translator
Date: Fri, 26 Dec 2008 19:14:55 +0800

Hi Krishna,
I am trying to add HA translator to my client config. But I get:

2008-12-26 19:08:57 W [write-behind.c:1363:init] writeback:
aggregate-size is not zero, disabling flush-behind
2008-12-26 19:08:57 W [write-behind.c:1363:init] writeback2:
aggregate-size is not zero, disabling flush-behind
2008-12-26 19:08:58 E [ha.c:4301:notify] glusterfs-ha: GF_EVENT_CHILD_UP
from io-cache
2008-12-26 19:08:58 E [ha.c:4310:notify] glusterfs-ha: switching
"active" from -1 to io-cache
2008-12-26 19:08:58 E [ha.c:4301:notify] glusterfs-ha: GF_EVENT_CHILD_UP
from io-cache2

Could you see what is wrong with my config? Thank you.


#############################################
##  GlusterFS Client Volume Specification  ##
#############################################

# the exported volume to mount                    # required!
volume cluster
  type protocol/client
  option transport-type tcp/client
  option remote-host lb1.world.net
  option remote-subvolume gfs                     # exported volume
  option transport-timeout 5                     # value in seconds,
should be relatively low
end-volume

volume iot
 type performance/io-threads
 option thread-count 2
 subvolumes cluster
end-volume

# performance block for cluster                   # optional!
volume writeback
  type performance/write-behind
  option aggregate-size 1MB # default is 0bytes
  option window-size 3MB    # default is 0bytes
  option flush-behind on    # default is 'off'
  subvolumes iot
end-volume

# performance block for cluster                   # optional!
volume readahead
  type performance/read-ahead
  option page-size 512KB
  option page-count 4
  subvolumes writeback
end-volume

volume io-cache
  type performance/io-cache
  option cache-size 64MB             # default is 32MB
  option page-size 1MB               #128KB is default option
#  option priority *.h:3,*.html:2,*:1 # default is '*:0'
  option cache-timeout 2             # default is 1 second
  subvolumes readahead
end-volume

# the exported volume to mount                    # required!
volume cluster2
  type protocol/client
  option transport-type tcp/client
  option remote-host lb2.world.net
  option remote-subvolume gfs                     # exported volume
  option transport-timeout 5                     # value in seconds,
should be relatively low
end-volume

volume iot2
 type performance/io-threads
 option thread-count 2
 subvolumes cluster2
end-volume

# performance block for cluster                   # optional!
volume writeback2
  type performance/write-behind
  option aggregate-size 1MB # default is 0bytes
  option window-size 3MB    # default is 0bytes
  option flush-behind on    # default is 'off'
  subvolumes iot2
end-volume

# performance block for cluster                   # optional!
volume readahead2
  type performance/read-ahead
  option page-size 512KB
  option page-count 4
  subvolumes writeback2
end-volume

volume io-cache2
  type performance/io-cache
  option cache-size 64MB             # default is 32MB
  option page-size 1MB               #128KB is default option
#  option priority *.h:3,*.html:2,*:1 # default is '*:0'
  option cache-timeout 2             # default is 1 second
  subvolumes readahead2
end-volume

volume glusterfs-ha
      type cluster/ha
      subvolumes io-cache io-cache2
end-volume




reply via email to

[Prev in Thread] Current Thread [Next in Thread]