DB server is not visible in-service Map that is getting connected by generic application on linux.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Folks,
MySQL DB Server behind the Linux server which is running a generic application is not reflecting in service mapping
Generic application : keycloak running on linux server which is connecting to the Mysql DB Server that's not getting reflecting in Service Map.
Below is the map
Below is the connection flow
[Keycloak Application]
|
| JDBC: localhost:6446
v
[Docker Proxy on host:6446]
|
| TCP Forward
v
[MySQL Router Container]
|
| Connects via MYSQL_HOST/MYSQL_PORT
v
[MySQL Cluster]
(DB1, DB2, DB3)
Details:
Key cloak does not know the real DB IPs.
It only sees localhost:6446.
Docker-proxy listens on all interfaces and forwards traffic into the container.
MySQL Router inside the container handles routing to the correct cluster node using the environment variables.
Logs inside Key cloak only shows jdbc: mysql://localhost:6446 because it doesn’t see beyond the router.