Mantis - Resin
Viewing Issue Advanced Details
1604 minor always 02-06-07 15:08 09-05-07 11:46
ferg  
ferg  
normal  
closed  
fixed  
none    
none 3.1.3  
0001604: database backup
(rep by Rich Dredge)

The scenario we are trying to address is failing over from one database to another without having to do a rolling restart across the application cluster. The most idea scenario is one that we can invoke a JMX operation to swing from one database server to another.
 
If we add multiple Driver entries to a data source, is it possible to enable/disable the driver entries at runtime?
 
Upon reviewing your documentation, I don't see anything that supports this, but was wondering if we could do something creative to achieve the same result using out of the box features.
 
An idea...could we incorporate some sort of ping query that can always fail on the standby server until the standby server is "enabled for traffic" as a primary server?
 
It would be very useful to add something to the DB connection pool to help in this scenario, it is something that has caused us many issues in the past.
 

Notes
(0002269)
ferg   
09-05-07 11:46   
server/14k0