Hi All, I work on HA samba project for my company=2E My plan is use some samba server like front-ends with remotely storage mouted by nfs to this servers=2E=20 Questions: 1) I read some information about this in official Samba HOW-TO, but i still don't know if this solution is posible or not?? 2) and which software or hardware must be use for balancing? 3) May I use dns for load balancig ( I think not, but I'm not sure) 4) Excuse me for my bad english and thanks for your time=2E Look on picture (hope this will ok after send :) ) ---------------- | LoadBalancing | ----------------- | ----------------------------------- | | | | -------- -------- -------- -------- | smb | | smb | | smb | | smb | -------- -------- -------- -------- | | | | ----------------------------------- | ---------------- | storage | ----------------- Best Regards Vojtech Moravek
On Sat, 2005-03-19 at 22:14 +0100, vmoravek@atlas.cz wrote:> Hi All, > > I work on HA samba project for my company. My plan is use some samba > server like front-ends with remotely storage mouted by nfs to this servers.I don't see how this provides any increased availability (have you shown the Samba server to be the point of failure, and as such be in need of redundancy?), and you only make life very complex by using NFS, and providing a conflicting locking view on each frontend CIFS server. You still have a single point of failure (the NFS server). You also seem unclear as to if this project is for HA, or load balancing - the two are different problems, with different solutions. Also, is the dataset read-only or read-write? Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20050320/28e4b225/attachment.bin
On Sun, 2005-03-20 at 11:25 +0100, vmoravek@atlas.cz wrote:> Hi Andrew, > > thanks for replay. > My solution is little bit complicated, so I attach picture where this situation is drawed.In short - any system where multiple Samba instances have read-write access to the data must also have a shared locking implementation. Currently, Samba3 does not provide such facilities, but developers of distributed file-systems could work with Samba4 in an attempt to provide this. I know VL has done some stuff with AFS as a distributed file-systems on Samba3, but I'm not completely sure how it works. Your other option is to have each Samba server handle a particular part of the filesystem tree, and use MSDFS to show a single logical server. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20050321/8bf6e66b/attachment.bin
On Sat, Mar 19, 2005 at 10:14:47PM +0100, vmoravek@atlas.cz wrote:> Hi All, > > I work on HA samba project for my company. My plan is use some samba > server like front-ends with remotely storage mouted by nfs to this > servers. > > Questions: > > 1) I read some information about this in official Samba HOW-TO, but i > still don't know if this solution is posible or not?This is not a question of possibility but a question of sense. Does this idea have sense ? In my eyes - she doesn't. Fileserver services are mostly I/O expensive, not CPU. That's why your problem is storage and network throughput; not the smb servers nor their count, nor their speed.> 2) and which software or hardware must be use for balancing?Divide the storage accross multiple disks and RAIDs, use DFS for application layer share management, use faster network and maybe FC instead of NFS.> 3) May I use dns for load balancig ( I think not, but I'm not sure)DNS gives you yet more overhead, but (I guess) your bottleneck is I/O.> 4) Excuse me for my bad english and thanks for your time.Your welcome. My english is bad, too. So what ? Most important is: I understood you.> Look on picture (hope this will ok after send :) ) > > ---------------- > | LoadBalancing | > ----------------- > | > ----------------------------------- > | | | | > -------- -------- -------- -------- > | smb | | smb | | smb | | smb | > -------- -------- -------- -------- > | | | | > ----------------------------------- > | > > ---------------- > | storage | > -----------------Have a look at this scheme one more time: the "smb" nodes do not compute anything. They read and write to/from storage and send/receive the packets over network. They are - in fact - I/O <-> network converter. If you want accelerate your services, balance the load on storage level: use multiple storages, use different sets of RAIDs. The addition of succesives smb servers will not increase the global availability of your fileserver. This goal you can achieve using i.a. heartbeat as ha-cluster. Greetigs, mpr. -- Marcin Przyczyna Net & Sys Admin, citiworks AG mpr@citiworks.de +49 89 9925 75356