Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Change v$session machine

User_728QAJun 13 2022 — edited Jun 13 2022

Hey, there!
Actually, I've been trying to set v$session machine field. The reason is about containers. We're working with a pod that enable oracle db connection, the session sets pod's name within machine, but when pod dies the next session's machine changes.
We apply a validation over every log in to db. We use the machine field to allow interaction with tables, views, etc.
So, we need to set into machine something like: app-1.apps.openshift.com. That's the container's hostname, so if pod dies, the machine field won't change and It will continue with flow quietly.
Someone knows How to set session's machine?
I tried from oracle driver with golang & phyton, but I don't get the results I want.

I hope you can help me.

With love, Bran. <3

Comments
Post Details
Added on Jun 13 2022
2 comments
944 views