Hi,
I am trying to configure the keycloak-docker container to support a failoverPartner for the Microsoft SQL Server.
I start the container with:
-e DB_ADDR=10.0.2.14 -e JDBC_PARAMS='failoverPartner=10.0.2.15'
This should set the property in the datsource, according to this:
For my test the IP 10.0.2.14 does not exist and
10.0.2.15 has a working sql server.
But this is not working:
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 10.0.2.14, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
I was expecting that the failoverPartner would be tried as well and the server would start
Has anyone made this work and has a pointer to a solution?
Kind regards,
Stefan