Hello everybody,
we use GlusterFS for Cloud Computing and now we have a problem.
We run 3 Filesever and several Webservers.
Config of the Fileservers:
volume posix
type storage/posix
option directory /mnt/ebs1
end-volume
volume ebs
type features/locks
option mandatory-locks on
subvolumes posix
end-volume
volume server
type protocol/server
option transport-type tcp/server
option auth.addr.ebs.allow *
subvolumes ebs
end-volume
Config of the GlusterFS-Clients (the Webservers):
volume fileserver1
type protocol/client
option transport-type tcp
option remote-host fileserver1
option remote-subvolume ebs
end-volume
volume fileserver2
type protocol/client
option transport-type tcp
option remote-host fileserver2
option remote-subvolume ebs
end-volume
volume fileserver3
type protocol/client
option transport-type tcp
option remote-host fileserver3
option remote-subvolume ebs
end-volume
volume afr
type cluster/replicate
option favorite-child fileserver1
subvolumes fileserver1 fileserver2 fileserver3
end-volume
volume writebehind
type performance/write-behind
option flush-behind on
subvolumes afr
end-volume
volume cache
type performance/io-cache
option cache-size 512MB
subvolumes writebehind
end-volume
Most of the time everything is going fine, but sometimes Files
couldn't be loaded. :-(
The Client Log says:
[2009-12-07 11:43:43] D [client-protocol.c:4735:client_lookup_cbk]
fileserver1: LOOKUP 12117123/GalleryUI_layout.ss (.../
GalleryUI_layout.ss): inode number changed from 4038861 to 4039044
[2009-12-07 11:43:43] D [client-protocol.c:4735:client_lookup_cbk]
fileserver2: LOOKUP 12117123/GalleryUI_layout.ss (.../
GalleryUI_layout.ss): inode number changed from 4038678 to 4038861
[2009-12-07 11:43:43] D [client-protocol.c:4735:client_lookup_cbk]
fileserver3: LOOKUP 12117123/GalleryUI_layout.ss (.../
GalleryUI_layout.ss): inode number changed from 4032368 to 4038676
We are using Debian Lenny 5.0 and the GlusterFS Debian Package
(2.0.2-1) and the Fuse Library 2.7.4-1.1
Can anybody give me a hint how to solve this problem?
Thank you a lot!
Regards,
Christian