Database Networking (MOSC)

MOSC Banner

Is there a way to check which tnsname ADDRESS was used to connect to a database from within Oracle?

edited Aug 18, 2021 12:37PM in Database Networking (MOSC) 6 commentsAnswered ✓

Hi,


Is there a way to check which tnsname ADDRESS was used to connect to a database from within Oracle?

I'm trying to find out if a Virtual IP address which can point to either a Primary or Standby server has been used on the primary and by whom.

For instance.

A VIP has been set up on server01 with name prod01.server,com and points to the server01 primary.

On a client host called 'client01', with ip 10.107.1.24 a tnsnames.ora entry with the host set to the VIP exists like.

PROD=

    (DESCRIPTION =

        (ADDRESS_LIST =

            (ADDRESS = (PROTOCOL = TCP)(HOST = prod01.server.com)(PORT = 1521))

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center