[Gluster-devel] ib-verbs.c:1940:tcp_connect_finish

admin at hostyle.it admin at hostyle.it
Fri Feb 13 17:21:13 UTC 2009


After some settings, with a 2.0.rc1 version I try this error....
2009-02-13 18:06:59 W [rr-options.c:179:rr_options_validate] rr: using
scheduler.limits.min-free-disk = 5
2009-02-13 18:07:00 E [ib-verbs.c:1940:tcp_connect_finish] remote1: tcp
connect to  failed (Connection refused)
2009-02-13 18:07:00 E [ib-verbs.c:1940:tcp_connect_finish] remote-ns: tcp
connect to  failed (Connection refused)
2009-02-13 18:07:00 E [ib-verbs.c:1940:tcp_connect_finish] remote2: tcp
connect to  failed (Connection refused)

Telnet on port 6996 work fine on all server declared (10.0.0.10, 10.0.0.11)

How I can resolve it?

Server and file configuration are below....

Many thanks!

Enrico

#### CLIENT ####
volume remote1
  type protocol/client
  option transport-type ib-verbs/client # For ib-verbs transport
  option transport.ib-verbs.work-request-send-size 1024000 
  option transport.ib-verbs.work-request-send-count 4
  option transport.ib-verbs.work-request-recv-size 524288 
  option transport.ib-verbs.work-request-recv-count 4
  option transport.ib-verbs.port 1
  option transport.ib-verbs.listen-port 6996
  option remote-host 10.0.0.10
  option remote-subvolume brick
end-volume

volume remote2
  type protocol/client
  option transport-type ib-verbs/client # For ib-verbs transport
  option transport.ib-verbs.work-request-send-size 1024000 
  option transport.ib-verbs.work-request-send-count 4
  option transport.ib-verbs.work-request-recv-size 524288 
  option transport.ib-verbs.work-request-recv-count 4
  option transport.ib-verbs.port 1
  option transport.ib-verbs.listen-port 6996
  option remote-host 10.0.0.11
  option remote-subvolume brick
end-volume

volume remote-ns
  type protocol/client
  option transport-type ib-verbs/client # For ib-verbs transport
  option transport.ib-verbs.work-request-send-size 1024000 
  option transport.ib-verbs.work-request-send-count 4
  option transport.ib-verbs.work-request-recv-size 524288 
  option transport.ib-verbs.work-request-recv-count 4
  option transport.ib-verbs.port 1
  option transport.ib-verbs.listen-port 6996
  option remote-host 10.0.0.10
  option remote-subvolume brick-ns
end-volume

volume unify0
  type cluster/unify
  option scheduler rr  # check alu, random, nufa
  option scheduler.limits.min-free-disk 5 # 5% of free disk is minimum.
  option namespace remote-ns 
  subvolumes remote1 remote2
end-volume

volume iot
 type performance/io-threads
  option thread-count 8  # deault is 1
 subvolumes unify0
end-volume

volume wb
 type performance/write-behind
  option block-size 512kB # default is 0bytes
  option cache-size 1MB
  option flush-behind on    # default is 'off'
 subvolumes iot
end-volume

volume ra
 type performance/read-ahead
  option page-size  512kB # is the default option
  option page-count 4           # 2 is default option
  option force-atime-update off # default is off
 subvolumes wb
end-volume

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


#### SERVER ####

volume brick
  type storage/posix                   # POSIX FS translator
  option directory /home/export        # Export this directory
end-volume

volume posix-locks
  type features/posix-locks
  option mandatory-locks on
  subvolumes brick
end-volume

volume iot
 type performance/io-threads
  option thread-count 12  # deault is 1
 subvolumes posix-locks
end-volume

volume wb
 type performance/write-behind
  option block-size 1MB # default is 0bytes
  option flush-behind on    # default is 'off'
 subvolumes iot
end-volume

volume ra
 type performance/read-ahead
  option page-size  512kB # is the default option
  option page-count 4           # 2 is default option
  option force-atime-update off # default is off
 subvolumes wb
end-volume

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

volume brick-ns
  type storage/posix
  option directory /home/export-ns
end-volume



### Add network serving capability to above brick.
volume server
  type protocol/server
  option transport.ib-verbs.work-request-send-size 1024 
  option transport.ib-verbs.work-request-send-count 4
  option transport.ib-verbs.work-request-recv-size 524288 
  option transport.ib-verbs.work-request-recv-count 4
  option transport-type ib-verbs/server # For ib-verbs transport
  option transport.ib-verbs.bind-path 10.0.0.10    # Default is to listen
on all interfaces
  option transport.ib-verbs.listen-port 6996              # Default is 6996
  subvolumes brick brick-ns
# NOTE: Access to any volume through protocol/server is denied by
# default. You need to explicitly grant access through # "auth"
# option.
  option auth.addr.brick.allow * # Allow access to "brick" volume
  option auth.addr.brick-ns.allow * # Allow access to "brick-ns" volume
end-volume





More information about the Gluster-devel mailing list