How to resolve the load-balancing issue in MSDFS ?

James Peach jorgar at gmail.com
Mon Nov 19 05:21:31 GMT 2007


On 18/11/2007, liulimin at vip.sina.com <liulimin at vip.sina.com> wrote:
>
>
>     How to resolve  the  load-balancing issue in MSDFS ?
> Now the souce code of msdfs in samba3.0.26 has implemented one link to multi-target issue,but the problem is only when the first target is down,the user can access the another link-target.
> So i want to find a method to dynamically choose a target to resolve the issue of load-balancing.
>    If you have any idea please help me. Thank you!

it is possible to write a Samba VFS module to dynamically generate the
contents of a DFS link to do load balancing. there is an example here:

<http://viewcvs.samba.org/cgi-bin/viewcvs.cgi/branches/tmp/jpeach-cluster/source/modules/vfs_redirect.c?rev=13303&view=markup>

-- 
James Peach | jorgar at gmail.com


More information about the samba-technical mailing list