Hi,<br>I' m using AFR to keep aligned a file system on two servers.<br>This file system contain oracle data.<br>Oracle works properly on the file system managed by AFR either on the server A or server B.<br>But if I switch off server A while oracle is runnig and I launch oracle on the second server all works fine.<br>
When server A comes up again and i stop oracle on the server B and I
try to run oracle on the server A oracle doesn't work properly because
there is some file locked. ( After this operation oracle doesn't work
on the server A but works on the server B )<br>
The only way to exit from this situation is to reboot server B, (the server where oracle works properly).<br>Is there a way to force an unlock file or a way to avoid this behaviour?<br>Moreover
when I switch off a server, the file system on the other server is not
available( the command ls remains blocked) for 25 seconds.<br>
How can I do to have available the file system in a short time?<br><br><br>I'm using a 2.0.3 release and fuse 2.7.4.<br>I have two servers configured as follow:<br><br>client vol: <br>volume CRS<br> type protocol/client<br>
option transport-type tcp/client<br> option remote-host 127.0.0.1<br> option remote-subvolume disk<br>end-volume<br><br>volume writeback-disk<br> type performance/write-behind<br> option block-size 131072 # unit in bytes<br>
subvolumes CRS<br>end-volume<br><br>volume readahead-disk<br> type performance/read-ahead<br> option page-size 65536 # unit in bytes<br> option page-count 16 # cache per file = (page-count x page-size)<br>
subvolumes writeback-disk<br>end-volume<br><br>server vol<br> volume local-disk-ds<br> type storage/posix<br> option directory /var/glusterfs/shared<br> end-volume<br> <br> volume TSU-1.localdomain-disk<br>
type features/locks <br> subvolumes local-disk-ds<br> end-volume<br> <br> volume remote.localdomain-disk <br> type protocol/client<br> option transport-type tcp/client<br> option remote-host 192.168.1.74<br>
option remote-subvolume TSU-2.localdomain-disk<br> option transport-timeout 5<br> end-volume <br><br> volume disk-afr<br> type cluster/afr<br> subvolumes remote.localdomain-disk TSU-1.localdomain-disk<br>
option favorite-child TSU-1.localdomain-disk<br> end-volume<br> <br> volume disk-unify<br> type cluster/distribute<br> subvolumes disk-afr<br> end-volume<br> <br> volume disk<br> type performance/io-threads<br>
option thread-count 2<br> subvolumes disk-unify<br> end-volume<br> <br> volume server<br> type protocol/server<br> option transport-type tcp/server<br> subvolumes disk<br> option auth.addr.TSU-1.localdomain-<div>
disk.allow *<br>
option auth.addr.local-disk-ds.allow *<br> option auth.addr.disk.allow * <br> end-volume<br><br>Thanks Maurizio</div>