There are a lot of factors missing on your question. How are you accessing the task? Is it a web service? A remote procedure call? Does it run on its own and then store the results on a share folder?
If it's just web services then solution could be just to query them in order, if one is unavailable then proceed to the next... probably rpc could just be handled with the same procedure. Of course this does not scale so well and it's a little ad hoc but it might just do the trick if you don't have time for anything else.
If you have the time AND money needed to really scale you should take a look to control reconfiguration which is the basis for the kind of fault tolerance you're seeking. Of course that will imply a controller (supervision machines as @jldupont calls them) as well as a lot of mechanism and effort to keep everything together.
It's worth it only if you really need it. Is a great investment in both time and money so don't boldly do it just because is cool.