There is anothe rapproach that doesn't require you to do anything specific in your code and is generic for many simmilar situations - using heartbeat deamons and automatic network address switching. You can do this with keepalived and some configuration, or just check the Linux HA project on http://www.linux-ha.org/.
If that doesn't seem useful to you, then woudn't a simple catching of the exception and retrying with server2 string do the job? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
