Applied Dimensionality

Configuring keepalive for Oracle connections in Google Compute Cloud

Posted at — Feb 19, 2022
Configuring keepalive for Oracle connections in Google Compute Cloud

We’ve spent a bit of time trying to figure it out recently, so putting it out there for future Google search :)

GCP network is using a 10 minute connection tracking and drops the connection deemed ‘idle’ once they exceed this limit. In human terms it means that if you’re sending an Oracle query that exceeds this limit, the open connection will be closed. This, in conjuction with a restrictive enough firewall configuration, would lead to the following situation:

So the proper way to fix it is to:

And back to our regular TM1 / PA programming: in case you’ve got TM1 / Planning Analytics in GCP as well, most of it’s clients wouldn’t suffer the same fate, with the notable exception of tm1runti

TM1RunTI as far I can see would happily wait for a callback from the TM1 server that TI has finished and the connection would be dropped if takes over 10 minutes of inactivity. You’d need to open dynamic ports on the server running runti for ingress so that the callback from TM1 of “we’re all done here” can establish a new connection and tell the runti the execution result.

comments powered by Disqus