Hi experts ,
I am working on setting up a brtools connectivity between Linux Application server and Oracle RAC node .
I was following a lot of notes and guides how to setup brtools , but its till does not work for me .
Some of the notes I used are below .
1598594 - BR*Tools configuration for Oracle installation using user "oracle"
1598594 - BR*Tools configuration for Oracle installation using user "oracle"
1627541 - BR*Tools support for Oracle ASM and Exadata/ODA
My current problem is :
I am able to run from application server brconnect using "@TRS":
brconnect -u SYSTEM/r3dt1g00@TRS -f stats -t all -f collect -p 4
But when I run it without "@TRS" which is a TNS name for the DB it does not work and fails with the following error :
BR0301E SQL error -12545 at location db_connect-3, SQL statement:
'CONNECT SYSTEM/********'
ORA-12545: Connect failed because target host or object does not exist
BR0310E Connect to database instance TRS failed
BR0280I BRCONNECT time stamp: 2015-07-08 13:50:39
BR0301E SQL error -12545 at location db_connect-3, SQL statement:
'CONNECT SYSTEM/********'
ORA-12545: Connect failed because target host or object does not exist
BR0310E Connect to database instance TRS failed
I tried different variation of environment variables like :
setenv ORACLE_SID TRS
setenv dbs_ora_tnsname TRS
setenv TNS_ADMIN /oracle/client/11x_64/instantclient_11204/oracle
But its still does not work .
My question is why brtools do not see TNS variables of the user and where I can set them up ?
Also , I will appreciate if somebody can share a detailed guide or experience for the similar setup ?
Regards,
Evgeny
.