Good morning colleagues.
I am presenting the following situation:
For performance and policy reasons we need to change the Mondash schema database engine, by default it is PostgreSQL and we must change it to ORACLE.
The first thing we must adapt is the connection from the client and for that we make the following modifications:
Inside the mondash.cfg file we update the connection string
Using the DataFlux 32-bit Oracle Wire Protocol driver as follows:
MONDASH/DSN=Driver=DataFlux 32-bit Oracle Wire Protocol;DFXDOMAIN=xxxxx_ _Auth;DB=oracle;Host=xxxxxxx.com;Port=1521;DFXTYPE=ODBC
Result: [DataFlux][ODBC Oracle Wire Protocol driver]Insufficient information to connect to the data source.
Using an Oracle driver installed on the client machine:
MONDASH/DSN=Driver={Oracle in instantclient_12_2};DFXDOMAIN=xxxxx_ _Auth;DB=oracle;Host=xxxxxxx.com;Port=1521;DFXTYPE=ODBC
Result: [Oracle][ODBC][Ora]ORA-12560: TNS:protocol adapter error
Does anyone have experience with these types of errors?
Thanks.
Greetings.
In the end I managed to solve applying the following steps:
Thanks.
Looks like SAS is unable to connect to ORACLE. Try tnsping from the command line.
In any case your oracle dba should be able to resolve the issue.
I hope you have the instant client installed and configured on the dataflux/SAS Server.
If you have installed Oracle Client Software, you'll need to configure to point to your Oracle Database instance. You'll need to find a file called tnsnames.ora and updated it, by entering
<MYSID>=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = <mydnshostname>)(PORT = <DB_Port>))
)
(CONNECT_DATA =
(SERVICE_NAME = <MYSID>)
)
)
PS. Confirm with your Oracle DBA on the values for <MYSID>, <mydnshostname>, <DB_Port>
Check this web site https://www.orafaq.com/wiki/Tnsnames.ora for more info about the tnsnames.ora file
Hope this helps,
Ahmed
Greetings.
In the end I managed to solve applying the following steps:
Thanks.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.