I have a primary and a backup windows 2008 server, and a bunch of windows XP clients that map a drive to a share on the primary server. If the primary server goes down, I want those client machines to automatically re-map their drive to the backup server, so they can continue to access the files.
Should I try to write a vbscript or python script or something that detects if the primary server is down and issues the appropriate "net use m: \server\share ..." but I need that script to run every minute, no matter who is logged in. Can I do that with windows "scheduled tasks" ?
I'm a Unix guy, and could use any tips you have to offer on accomplishing this. Is there a better solution?
many thanks, -Ian
It looks like I would also need to assign an IP address for the cluster, which I don't think is possible because the servers are on different IP subnets, and IP packets destined for one segment cannot be re-routed for the other subnet without admin access to the routers, which I do not have. Please let me know if I'm incorrect!
– Dec 08 '09 at 23:12