This is not supported directly in Elytron 
Which DB do you use? Could you workaround using failover with jdbc driver url? For example Oracle driver has possibility to connect to RAC by defining multiple nodes to connect. If one is unavailable another is tried.
Is there any difference between the two JDBC realms? Is this fail over to an exact replica on a different server?