Help :: TNSNAMES (Client and Server)

DBA Geral (instalação, configuração do banco, scripts do Sql*Plus, shell scripts, batch scripts, etc...)
Post Reply
Trevisolli
Moderador
Moderador
Posts: 2016
Joined: Wed, 12 Jan 2005 3:25 pm
Location: Araraquara - SP

Guys, good morning.

I need a help from the DBA's on duty, and even the developers, as they probably have passed through this.


Situation: At first it was installed on my machine C:\oracle, Client of Oracle + Forms + Reports and, in this way access to company bases (such as Client ), without major problems.

But, I had to install a local bank for the development of a projects at home (C: \ oro8i) and, I realized that my SQL Navigator did not access the company's banks.

Reason: SQL "Search" tnsnames of the last facility and, in this there are no banks.

In this last folder, I played above, TNSNames, SQLNET and Listener, so I was able to access the company's banks, but even adding the local address on tnsnames, it does not access the bank of my machine also.

Someone could give me a Help: ???

I have to change Listener, SQLNET ??? Positive case, someone would have an example.

Very grateful,

Trevisolli
User avatar
dr_gori
Moderador
Moderador
Posts: 5026
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

Strange.
send tnsnames there to look at.
erthal
Rank: Analista Sênior
Rank: Analista Sênior
Posts: 130
Joined: Mon, 22 Nov 2004 1:45 pm
Location: Niterói - RJ
Gustavo Erthal Jr. | TRISCAL
...................................................
Rio de Janeiro | (21) 2507-2010
São Paulo | (11) 3167-0526
www.triscal.com.br

Noble friend,

Three things, for you to use Oracle as server on your machine, this must have fixed IP.

Second you will need to have in your TNSNAMES information about the company's banks and another on the bank that is on your machine.

Third, the listener is installed in the server, so on your machine, and on it should only have Pro Server input that is installed on your machine.

With this correctly configured, everything will work out.

Hugs,
smarcos
Rank: Estagiário Júnior
Rank: Estagiário Júnior
Posts: 1
Joined: Fri, 16 Mar 2007 2:58 pm
Location: Recife-PE
Marcos Soares

TNSNAMES is the center of the problem.
You can access how many banks exist in your company. As long as they are set correctly.

In the example below we are accessing 3 different banks in 3 different machines. These banks have the same name in their respective servers but with different alias for calls of a single machine where this tnsnames is:

Select all

MF1= 
  (DESCRIPTION = 
    (ADDRESS_LIST = 
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.0.13)(PORT = 1521)) 
    ) 
    (CONNECT_DATA = 
      (SERVICE_NAME = MF) 
    ) 
  ) 
MF2 = 
  (DESCRIPTION = 
    (ADDRESS_LIST = 
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.0.12)(PORT = 1521)) 
    ) 
    (CONNECT_DATA = 
      (SERVICE_NAME = MF) 
    ) 
  ) 
 
MF3 = 
  (DESCRIPTION = 
    (ADDRESS_LIST = 
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.0.10)(PORT = 1521)) 
    ) 
    (CONNECT_DATA = 
      (SERVICE_NAME = MF) 
    ) 
  )
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest