Clustered Samba

Revision as of 08:40, 10 May 2006 by Dralex (talk | contribs) (intro)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Current Samba implementations can't be used directly on clustered systems cause it is oriented to single-server systems. The main reason is that smbd processes use TDB (local-oriented database) for messaging, storing shared data, etc - there is no way to coordinate smbd processes run on different cluster nodes.

Simple clustered samba system looks like this:

Clustered samba.png

Each node has its own smbd daemon - they should communicate with each other to avoid shared data corruption, treat oplocks and so on. So the most problem is the extending of the locking subsystem (share mode locks, opportunistic locks, byte-range locks) to multi-node system and cluster point of view.