Hi Cuba team,
I have a question on database connection mechanism in CUBA, sorry about it if I am too novice about this topic.
My question is in the perspective of an environment where middleware and database are in separate servers where a single database is connected to my Application middleware. On the other hand, I have a 2nd database server which is mirrored with the primary database server as backup. In case the primary database server is down or somehow inaccessable (under maintenance or crushed) I want all the connection requests to be directed to the 2nd database server automatically without a down time and without changing the context.xml parameters manually. Of course it is acceptable that the connected users will be disconnected when the primary database is unreachable but they will be able to log-in promptly (to 2nd database in the background), automatically. Is it something doable?