Hi all,i would like to know how to setup Samba file replication between two Opensuse 10.3 servers,please all help is appreciated guys.
Hi clint. If you mean to set up file sharing, have a look here:
Samba and Suse: HowTo Set up an openSUSE-Windows Home Office LAN/Network. Versions 11.x
It works for 10.3 too, even though it’s written for 11.x.
If I’ve misunderstood the question, tell me more of what you need.
Hi Swerd ok let me give you the full break down,example i have 2 Suse 10.3 servers both exactly the same with the same shares and files(1 will be the backup server in case the main server fails),i want to replicate the main data directory in the shared folder,when the files are updated on main server it must update on the second(backup) server as well.
I hope this makes more sense to you
Have a pair of Samba servers in failover mode and connect them to a SAN RAID.
Hi ken,is that the only way of doing it
Well, I’m open to suggestions.
But seriously you need a cluster to work on the same “disk” for consistency, hence a SAN RAID, probably using a clustering filesystem like OCFS2 or GFS. Then you need the front ends to be redundant and have automatic failover so that leads to HA Linux, hearbeat and all that redundancy stuff. Also you might also need some hacks to Samba to failover live sessions, Tridgell once gave a short talk on that. I don’t know if the changes are in the trunk. But he showed the audience a server going down and after a moment another machine took over the session. You can see why IBM hires Tridgell to work on Samba.
Hmm, you might be able to substitute AoE for SAN but you’d still need a CFS.
Thanks Ken,but im a newbie lol but i will try it out and see what happens,thanks again
Sorry to chime in late…but you may want to take a look at DRBD.
I do believe *SUSE comes with it as a package through YaST.