Atilla wrote: > 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/.
Yes, this is an option but will require configuring all of these components. In the Java world this would just be a simple change to the connection string which is why I was suprised when I couldn't find anything similar in the python version of the connector. > > 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? We do have some sample code attempting this but I would rather not write and maintain code for something that I assume is a common requirement for any large project and assume someone has done the hard work for me already. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
