Hi

to make sure I fully understand the difference between your old and new
config, can you post at least the relevant parts of it and show what you
changed. Maybe we can learn how to avoid a possible problem.
Thank you.

I have attached the configuration for each server, on the client i
mounted two different 'shares':

before the configuration was:

data.vol
========

volume remote1
  type protocol/client
  option transport-type tcp
  option remote-host 192.168.1.1
  option remote-subvolume export
  option ping-timeout 3
end-volume

volume remote2
  type protocol/client
  option transport-type tcp
  option remote-host 192.168.2.1
  option remote-subvolume export
  option ping-timeout 3
end-volume

volume import
  type cluster/replicate
  subvolumes remote1 remote2
end-volume

runs.vol
========

volume remote1
  type protocol/client
  option transport-type tcp
  option remote-host 192.168.1.1
  option remote-subvolume runs
  option ping-timeout 3
end-volume

volume remote2
  type protocol/client
  option transport-type tcp
  option remote-host 192.168.2.1
  option remote-subvolume runs
  option ping-timeout 3
end-volume

volume import
  type cluster/replicate
  subvolumes remote1 remote2
end-volume

now the configuration is this one:

data.vol
========

volume data1
  type protocol/client
  option transport-type tcp
  option remote-host 192.168.1.1
  option remote-subvolume export
  option ping-timeout 3
end-volume

volume data2
  type protocol/client
  option transport-type tcp
  option remote-host 192.168.2.1
  option remote-subvolume export
  option ping-timeout 3
end-volume

volume data
  type cluster/replicate
  subvolumes data1 data2
end-volume

runs.vol
========

volume runs1
  type protocol/client
  option transport-type tcp
  option remote-host 192.168.1.1
  option remote-subvolume runs
  option ping-timeout 3
end-volume

volume runs2
  type protocol/client
  option transport-type tcp
  option remote-host 192.168.2.1
  option remote-subvolume runs
  option ping-timeout 3
end-volume

volume runs
  type cluster/replicate
  subvolumes runs1 runs2
end-volume


--
Best regards ...

----------------------------------------------------------------
   David Saez Padros                http://www.ols.es
   On-Line Services 2000 S.L.       telf    +34 902 50 29 75
----------------------------------------------------------------


volume posix1
  type storage/posix
  option directory /home/vortex/export/1
end-volume

volume posix2
  type storage/posix
  option directory /home/vortex/export/2
end-volume

volume posix3
  type storage/posix
  option directory /home/vortex/export/3
end-volume

volume posix4
  type storage/posix
  option directory /home/vortex/export/4
end-volume

volume posix5
  type storage/posix
  option directory /home/vortex/export/5
end-volume

volume posix6
  type storage/posix
  option directory /home/vortex/export/6
end-volume

volume posix-namespace
  type storage/posix
  option directory /home/vortex/export/namespace
end-volume

volume unify
 type cluster/unify
 option scheduler alu
 option self-heal background
 option scheduler.alu.order disk-usage
 option namespace posix-namespace
# option scheduler.local-volume-name locks1,locks2,locks3,locks4,locks5,locks6
  subvolumes posix1 posix2 posix3 posix4 posix5 posix6
end-volume

volume locks
  type features/locks
  subvolumes unify
end-volume

volume export
   type performance/io-threads
#   option autoscaling 0
   option thread-count 8
   subvolumes locks
end-volume

volume runsposix
  type storage/posix
  option directory /home/vortex/export/runs
end-volume

volume runslocks
  type features/locks
  subvolumes runsposix
end-volume

volume runs
   type performance/io-threads
#   option autoscaling no
   option thread-count 8
   subvolumes runslocks
end-volume

volume server
  type protocol/server
  option transport-type tcp
  option auth.addr.export.allow 
127.0.0.1,212.36.79.106,212.36.79.114,192.168.2.*
  option auth.addr.runs.allow 127.0.0.1,212.36.79.106,212.36.79.114,192.168.2.*
  subvolumes export runs
end-volume

volume posix1
  type storage/posix
  option directory /home/vortex/export/1
end-volume

volume posix2
  type storage/posix
  option directory /home/vortex/export/2
end-volume

volume posix3
  type storage/posix
  option directory /home/vortex/export/3
end-volume

volume posix4
  type storage/posix
  option directory /home/vortex/export/4
end-volume

volume posix5
  type storage/posix
  option directory /home/vortex/export/5
end-volume

volume posix6
  type storage/posix
  option directory /home/vortex/export/6
end-volume

volume posix-namespace
  type storage/posix
  option directory /home/vortex/export/namespace
end-volume

volume unify
 type cluster/unify
 option scheduler alu
 option self-heal background
 option scheduler.alu.order disk-usage
 option namespace posix-namespace
# option scheduler.local-volume-name locks1,locks2,locks3,locks4,locks5,locks6
  subvolumes posix1 posix2 posix3 posix4 posix5 posix6
end-volume

volume locks
  type features/locks
  subvolumes unify
end-volume

volume export
   type performance/io-threads
   option thread-count 8
#   option autoscaling off
   subvolumes locks
end-volume

volume runsposix
  type storage/posix
  option directory /home/vortex/export/runs
end-volume

volume runslocks
  type features/locks
  subvolumes runsposix
end-volume

volume runs
   type performance/io-threads
   option thread-count 8
#   option autoscaling off
   subvolumes runslocks
end-volume

volume server
  type protocol/server
  option transport-type tcp
  option auth.addr.export.allow 
127.0.0.1,212.36.79.106,212.36.79.114,192.168.1.*
  option auth.addr.runs.allow 127.0.0.1,212.36.79.106,212.36.79.114,192.168.1.*
  subvolumes export runs
end-volume

_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Reply via email to