Re: Gluster failover question

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

 



Scott, 

The server should self heal on first access. There are two things you should probably change:

1. Use a newer version. 3.0.4 has self heal on access built in, but in 2.x I think you have to kick off self heal manually. 

2. Don't ls on the back end (export) directory. Do 'ls -lR' on the mount point; in your case, /home. 

If you do these your setup should work. 

Chris


----- "Scott Whitney" <scott@xxxxxxxxxxx> wrote:

> We're moving to an HA solution in my SaaS environment, and I'm looking
> at using Gluster 2.09 (32 bit hardware) and CentOS 5.5. 
> 
> This is up and running as such: 
> gluster1 -- data server 
> gluster2 -- data server 
> app1 -- app server (mounts the glusterfs in /home) 
> app2 -- app server (ditto) 
> 
> Here's my question. 
> 
> Test 1: 
> create /home/foo and add 10 files on app1 
> ls /home/foo on app2 -- I see them 
> ls /data/export/foo on gluster1/gluster2 -- I see them 
> 
> Test2: 
> rm -rf /home/foo on app2 
> ls on the other 3. The directory is gone 
> 
> Test3: 
> create /home/foo and add 5 files on app1 
> shutdown gluster2 
> add 5 more files 
> startup gluster2 
> ls /data/export/foo on app1/app2/gluster1 -- I see 10 files 
> ls /data/export/foo on gluster2 -- I see only the 5 files created when
> the server was up. 
> 
> How is the failover/replication supposed to work in the situation that
> one of the backend RAID1 servers goes down? 
> 
> config files attached 
> 
> 
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel@xxxxxxxxxx
> http://lists.nongnu.org/mailman/listinfo/gluster-devel



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux