ODBC Connectivity across firewall

I have two oracle databases on different networks. Obviously there is a firewall in between them. We have a requirement to copy data from one database to another. The options we have (I think) is
- Create a text file and copy that data to the other side and then upload the file
- Copy from the database to database using ODBC. If this is the case
- How can I use ODBC to do that?
- Are there any issues using ODBC when there is a firewall in between?
- Does the ODBC API has parameters to specify the source db and the destination db?
- What other issues/problems should we be aware of?

It's hard to be too specific without knowing more details, such platforms, whether the odbc tool provided is for the target or source and what it does, any other things your company arbitrarily restricts ;-)
I'm assuming a set up in which the odbc tool will end up using sqlnet to talk to the databases, one of which will be on its local network and the other remote, across the firewalls. I'm also assuming you can't get past the firewalls easily (say by vpn or opening them up to trusted IP addresses).
Getting sqlnet through a firewall will be more or less difficult depending on your setup:
If the 'remote' is running in shared server mode then the only option I know of is connection manager, sorry.
If the database is running in dedicated server mode on unix, then all you need to do is open the remote firewall on the listener port (1521 by default) or tunnel port 1521 through another port that is open using something like ssh.
If the database is running in dedicated server mode on NT, then you first need to get the NT listener to behave like the unix one and use a single port, then get the traffic through that port as for unix. Have a look here: http://asktom.oracle.com/pls/ask/f?p=4950:8:6283064848081132482::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:264415410962,
The other thing that comes to mind is how the odbc tool will actually behave once you've achieved connectivity. If it's been developed with the expectation that it will be close (in network terms) to the database then running it across what will almost certainly be a higher latency link may give you some performance issues.
Best of luck...

Similar Messages

  • Is it possible to share an ODBC.INI across Essbase servers?

    h5. Summary
    Our planned production environment may have as many as 15 Essbase servers so it would be useful if the odbc.ini file could be maintained centrally. Is this possible?
    h5. Problem
    The servers are implemented as a high availability cluster. The infrastructure team telll me that a side-effect of this is that the Essbase install builds the server node name into the path for EPM_ORACLE_HOME. Because this path has to be hard-coded in the odbc.ini Driver specification (see below) this apparently forces you to maintain a separate odbc.ini for each Essbase server.
    +Driver=/ htesb1 /u03/Oracle/Middleware/EPMSystem11R1/common/ODBC-64/Merant/6.0/lib/ARora24.so+
    h5. Requirement
    As part of the landscape we will have an OCFS shared file system mounted across all the Essbase servers. What I'd like to be able to do is place a single odbc.ini file on this file system and for that file to be used by all the Essbase nodes. I've tried using an environment variable in the Driver path specification. I've also tried using a symbolic link.
    Does anybody know of a way to avoid the hard-coded paths in the odbc.ini?
    h5. Alternative
    Another possibility is to use OCI instead though I saw in another thread that this doesn't work with parallel loads. Assuming this problem can be got around it means that the connection information will be consistent regardless of the essbase server and the odbc.ini maintenance problem then goes away. The catch is that the connection information is then embedded in the rules file meaning that we have to update same whenever they are moved between environments (e.g. dev to test) and whenever an environment's connection details change. I tried using substitution variables but these only apply to ODBC connection names. Does anyone know if there is some way to parameterise the OCI connection information?
    h5. Versions
    Essbase Release 11.1.2 (ESB11.1.2.1.102B147)
    Linux version 2.6.32.12-0.7-default (geeko@buildhost) (gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) ) #1 SMP 2010-05-20 11:14:20 +0200 64 bit
    Edited by: blackadr on 20-Jun-2012 16:45

    I had the same question some time ago. Perhaps you can modify the suggestion given to me to meet your needs? Here's the thread:
    http://discussions.apple.com/thread.jspa?threadID=342589&tstart=0

  • What is the best way to connect a firewall cluster to a VPC domain

    Hi All
    Can anyone help me decide what is the best way to connect a firewall cluster to a VDC running in a pair of N7K's which is a VPC domain?  
    Can I configure a VLAN interface on each VDC and use HSRP?  I was planning on presenting one 10GB cable from each VDC to each firewall.  Would this work OK?  HSRP traffic will go across the VPC peer link correct?
    thanks all

    No, but the one caveat is vpc orphan ports. If the vpc link between the nexus switches fails for any reason, all the vpc ports on the vpc secondary switch will be forced down. So it's recommended to connect single port devices to the primary vpc switch so the connections stay up. But if you're ok with that, then I don't see any problems.
    You have a few options, one would be to run a separate link between your nexus switches for non-vpc vlans. These vlans would not be allowed over the vpc peer-link, or forwarded out vpc's.
    See here page 49 :
    http://www.cisco.com/c/dam/en/us/td/docs/switches/datacenter/sw/design/vpc_design/vpc_best_practices_design_guide.pdf

  • ODBC connections fails after going from Office 2003 to 2010 on some but not all PCs

    ODBC connections fails after going from Office 2003 to 2010 on some but not all PCs. Setting up the connection has been a hit and miss. Have tried both x86 and x64. Any ideas?  Use ODBC from the control panel and C:\Windows\SysWOW64 same results. Using
    SQLexpress 2008r2
    Thanks

    Hello,
    Please consider to configure Windows Firewall or disable it. Not only Windows Firewall but any security software.
    https://msdn.microsoft.com/en-us/library/cc646023(v=sql.120).aspx
    Windows Firewall is enabled by default.  
    Make sure you are using SQL Server Native Client to create the ODBC DSN. Not all Windows versions have it, so you may need to download and install it.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Package with ODBC connection

    I have a program that uses a ODBC connection. Before running App-V sequencer, I added a Dummy ODBC User/System connection and during the monitoring sequence, I created the actual ODBC System connection to the SQL database. At the end, when I run the program,
    it seems to work fine from my Windows 7 base sequence machine. However, when I publish in App-V, it does not open properly from that server (2008R2). I even published using XenApp to a W7 desktop and got same issue.
    Error I receive is :
    SQL Server is not responding. Error 2147467259
    [MVBNET] LoginMod Automation error.
    The system cannot find the file specified.
    I tried adding the ODBC connector to the XenApp publishing server but same issue.
    Anyone come across similar issue before?

    I've found that sometimes certain runtime files aren't captured by the sequencer.  This usually happens for me for the older VC runtimes.  To fix this, do a comparison between what files are actually captured and what should be there, then copy
    the files into the package after the fact. 

  • Hi, i am trying to open and view a report that comes from another server with different odbc connection

    hi, i am trying to open and view a report that comes from another server with different odbc connection
    i created a crystal report for a mysql database on my machine and everything works great
    but we have other reports that come from other machines with different odbc connection
    and this its not working when opens the report asks for credentials
    and i cannot use the remote ip for these reports that come from other machine
    question
    if i cannot connect to remote ip to open the report
    for each report i have to create a database the report database on my machine and then open the report ?
    or there is some other way to open the report ?
    i am using visual studio 2013 and mysql and
       <add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
    thanks

    short
    i have a report that it was created on another server with a specific dsn
    now i am trying to open the report on my machine
    the database from the other server does not exist on my machine
    the server machine where the report was created the ip its not accessible
    question ?
    can i open the report on my machine or its impossible ?
    thanks

  • Not seeing all DB tables in Crystal using ODBC connection

    I have an ODBC connection to an oracle database.  I can connect to the database and see all the tables through tools such as TOAD, SQL developer, SQLPlus, etc.  However, in Crystal, i only see schema tables and not the tables I want.  I am using the same connection, username, and password.  If I run a report that was created in a different environment to the correct tables, I receive the error: ORA00942: table or view does not exist.
    Oracle 10g
    Crystal 12.0.0.683
    Any suggestions?
    Thanks,
    Diana Woronuk

    Hi Diana,
    Go to File | Options and open the Database tab. 
    Make sure Tables and Views are checked.  You may want to include Stored Procedures too. 
    Save the changes and restart Crystal. 
    You should see your tables now.  If you have more than 200 objects in your database, you may need to use the Table Name Like option to filter out some of the tables. 
    Good luck,
    Brian

  • How to find the number of ODBC connections to Oracle Database

    Hi All,
    How to find the number of ODBC connections and all connections to the Database in last week. Are there any views to get this information?
    Thanks in advance,
    Mahi

    What Ed said is true that Oracle doesn't note which type of protocol is connecting to the database, however, you can see which program is accessing the database.
    For example: if you already know of a user using ODBC, you can verify as:
    select username, osuser, terminal, program from v$session where username = 'SCOTT'
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Assuming that you can confirm the progam noted in the above (example) is the one using ODBC, then you can change the query such as:
    SQL> select username, osuser, terminal, program from v$session where program = 'w3wp.exe';
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Just for kicks, I checked our listener.log file, but there was no reference of odbc in it either.
    Hope this helps...

  • Getting sqlplus and odbc connection to work

    I'm looking to automate some data extraction activities either through a windows batch file or set up a data connection in an excel spreadsheet. I've installed (I think) the instant client, but, I'm not seeing any programs to run in my start>All Programs list except Microsoft ODBC Administrator and sqlplus does not work when typed at the command prompt (sqlplusw neither).
    Not sure what I should do next...thanks for looking and your help.
    I currently use sql server and access and have set odbc connections and connections to sql server in excel.
    Here's what the inventory shows:
    Inventory contents of (my-computer):
    Oracle Homes
    OraClient10g_home1
    Oracle Client 10.2.0.1.0
    Oracle Instant Client 10.2.0.1.0
    Oracle ODBC Driverfor Instant Client 10.2.0.1.0
    Oracle JDBC/OCI Instant Client 10.2.0.1.0
    SSL Required Support Files for InstantClient 10.2.0.1.0
    RDBMS Required Support Files for Instant Client 10.2.0.1.0
    SQL*Plus Files for Instant Client 10.2.0.1.0
    HOME SELECTION
    Central Inventory Location: "C:\Program Files\Oracle\Inventory"
    Oracle Home Status
    OraClient10g_home1 Selected
    PATH = D:\oracle\product\10.2.0\client_1\bin;D:\oracle\product\10.2.0\client_1;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
    etc, etc, etc
    --------------------------------------------------------------------------------

    thanks
    sqlplus working, had the wrong path, but, not connecting. I did save a copy of the tnsnames.ora from another machine. Here's what it shows, below, I think I need to use the LDAP adapter, but, not sure how to make it use that, sqlnet.ora is:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT)
    ----command line results------
    C:\>tnsping POST_DBSR.xxx.ourcompany.COM
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-SEP-2
    010 07:33:32
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    D:\oracle\product\10.2.0\client_2\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 192.168.1.xxx)(PORT = 1521))) (CONNECT_DATA = (SID = post)))
    TNS-12535: TNS:operation timed out

  • 11g 64-bit unable to create ODBC connection

    Hello,
    I am currently facing issue related to ODBC connection. Details of configuration is as follows
    OS: Vista 64 Home Premium
    Oracle DB 11g 64bit: ver 11.1.0.6.0,plus the addition of the fix for bug 7389110 (as per release notes)
    ODBC driver location: C:\app\oracle\product\11.1.0\db1\BIN\sqora32.dll
    It appears and works well from 32 bit ODBC connection manager. However, it's not visible/available from 64 bit ODBC connection manager. Oracle installation repository appears under 64 bit area ("Program Files") and not under "Program Files (x86)". Assuming it might be a problem with installation I have also tried copying registry entries under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC with no luck.
    Any help to create ODBC connection is much appreciated
    Thanks,
    Hemant
    Please do not respond to this question here. I am moving it to ODBC forum area
    Edited by: user6868322 on Aug 5, 2009 2:04 PM

    Opening new tread under ODBC forum and closing this

  • ODBC connection not able to see all schemas

    Hi everyone,
    We have noticed an unusual problem that just recently started. In our database, I have created a read-only user - only has the ability to connect to the database, and SELECT ANY TABLE. Then we have some applications (Crystal Reports and Lotus Notes Agents) that use this user to query data. The applications use an ODBC connection, and when we initially set this up, everything worked beautifully.
    However, suddenly we have noticed that the ODBC connection is not able to see all of the schemas in the database. We have tested and confirmed this - using either 9.02 ODBC or 10.01, this happens with both of them. I created a couple new ODBC connections, one for each version, then I try to create a new Crystal Report, using this ODBC connection - when I connect using the read-only user, it connects just fine, but when it shows me all of the schemas available, I am only seeing about half of them (and of course not seeing the one that I really need to see).
    However, when I use Microsoft Access, and try to import some External Data, and I use the same ODBC connections, then I AM seeing all of the schemas.
    Has anyone ever seen anything like this? Any ideas on what I can do to troubleshoot?
    Thanks,
    Brad

    I'm trying to get this issue figured out. Can you
    tell me what you mean when you ask me to log in
    directly as the same user using ODBC and query
    ALL_TABLES - how would I do that?Using whatever Oracle database account you use in Crystal, log in to the database using SQL*Plus (or your favorite GUI like SQL Developer) and run a query like
    SELECT owner, table_name
      FROM all_tablesDoes that query show all the tables you expect, or are you missing some?
    Also, you mention a parameter in the ODBC API that
    controls which schemas are returned - is there any
    way to see that value?An ODBC trace might show the value, I don't recall if the actual value is written out in the trace. Different front-end tools often have a place that allows you to filter out certain schemas, which is generally done by passing in a parameter to this ODBC API call. I don't know enough about your tools, though, to know where this might be.
    Are there any other ODBC drivers I could try?There are plenty of third party ODBC drivers out there, but I would tend to be suprised if the ODBC driver was at fault here. You could also try patching the ODBC driver and/or Oracle client to the most recent patchsets.
    Justin

  • How to use a connection across multiple request

    What is the idea of using a connection across multiple requests.

    Please give more details. What connections and what requests
    And are you posting on the right forum? (This sounds more like a Networking/servlet question)

  • Can a SQL view see data from an ODBC connection?

    Hi.  I currently have an application that pulls data from a custom SQL view in my SQL database.  This custom application can not be changed, so it expects to see the data exactly as presented by my custom SQL view.  This works fine
    when the data resides in SQL, but I am not sure if it is possible when the data resides outside of SQL.  I’d like to connect to another type of database via an ODBC connection from my SQL database, and still utilize my custom SQL view.  I would prefer to NOT
    use the SQL database as a warehouse, and simply use it to pass data.
    Is this possible?   Thank you for reading.

    Hi Robet,
    According to your description, you want to create view in SQL Server to pass data from OBDC database to custom application, right?
    In this case, we can create linked server to access an ODBC database when you are using an ODBC data source. Linked servers can use the OLE DB Provider for ODBC without using an ODBC data source. You can refer to the link below to see the details.
    http://technet.microsoft.com/en-us/library/ms191462(v=sql.105).aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • OBIEE 11g ODBC connectivity error

    Hi all,
    I am getting the following error when I tried to access a simple query through Answers.
    "*Odbc driver returned an error (SQLExecDirectW).*
    *Error Details*
    *Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P*
    *State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 16001] ODBC error state: IM002 code: 0 message: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified. (HY000)*
    *SQL Issued: SELECT s_0, s_1, s_2 FROM ( SELECT 0 s_0, "BISample"."Product"."BRAND" s_1, "BISample"."Target"."REVENUE" s_2 FROM "BISample" ) djm*"
    What I did was
    1. Create a DSN 'orcl', 32 bit Oracle ODBC driver. Tested and worked against the Oracle database.
    2. Import metadata using Local, ODBC 3.5 and DSN = orcl
    3. Build a simple BMM and subject area
    4. In the phyiscal layer, right click on a table, and select view data/update row count. Error with message "The connection has failed"
    5. Hoping for the best, create a simple query in answer and got the above odbc driver error in results tab.
    Interestingly, if I edit the connection pool and use OCI (my SID is also orcl), then everything works fine.
    I'm new to OBIEE and hope someone can tell me if I have missed a step or make any mistakes!
    Thanks!
    Regards
    Han Kiat

    Hi All,
    I am able to connect SQL Server database with OBIEE 11g RPD offline and imported metadata and verified update row count/view data but when i was trying to publish the same RPD the data is not returning also "update row count/view data" is giving and error "The connection has failed."
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 16001] ODBC error state: IM002 code: 0 message: [DataDirect][ODBC lib] Data source name not found and no default driver specified. (HY000)
    Environment:
    OBIEE 11g/WLS 10.3.3/Oracle database 11g installed on RHL 5
    Client tools are installed on local Vista 32 bit system.
    Oracle database is working fin, where as SQL Server is giving issues.
    You want me to create a ODBC connection in RHL 5 server to connect to SQL Server ? i am little bit confused here how to create !
    same time i have created ODBC for oracle apps database and imported and able to view data in RPD when i am in Online mode.
    When i open RPD in online mode and trying to import the data i dont have access to local machine ODBC's which is expected and if i change to "Remote Server" nothing is showing here.
    Appreciate your comments on the above.
    Thanks

  • Visio Database Wizard fails - ODBC connection to MS SQL

    When I try to create an ODBC connection in Visio's 2010's Database wizard I get the error: "Cannot set the database context information. Additional error information:ODBC Error: s1009. Database cxweba does not exist."
    Note that the database name is cxwebapp_bkk. I get the same error if I connect to any database on that server, and it always truncates the name in the error message (if that is a hint to the error). 
    Using Visio 2013, after connecting to the database: when I select the database object I get the error message:  "The selected table has only one field or contains no definition information. The Database Wizard requires a minimum of one key field
    and one additional data field."
    I have this problem using both SQL Server driver (6.02.9200.116384 and SQL Server Native Client 11.0 (2011.1102.2100.60).
    I do not have this problem connecting to a MYSQL database with either version of Visio, nor do I have this problem when I link link to the same SQL database in a drawing and link shapes in that drawing using the "Link Data to Shapes" under the
    Data tab.

    Hello,
    What's the version of the SQL Server instance you connect to? It seems that the Database Wizard in Visio 2010 not work well with the Microsoft SQL Server ODBC driver. Did you try to use the Generic OLEDB Provider for SQL Server?
    Since the issue is more related to office Visio, please post the question in the following forum. More experts there will assist you:
    Visio General Questions and Answers for IT Professionals
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

Maybe you are looking for

  • How to synchronize File Manager Server when I install Agile on distributed?

    The Environment I install is : two Agile Server , two File manager Server ,one Web Proxy Server, one DB Server . The Agile version I install is Agile 9.3.1 for Linux ,the Middleware is weblogic 10.3.2 . Now I finish install two Agile Server ,and succ

  • SQL injection and SQLFury

    We have recently had an SQL injection attack on our site.  The web form in question was calling a second cfm with a post command.  The second cfm did the actually db insert. After extensive research and revamping of the web form I believed that I had

  • Playlist not sorted correctly on iPhone

    I have a playlist that is sorted by time descending with about 570 songs in it. Since upgrading to OS3 the playlist on the iPhone is sorted by last date played, not the sorting in iTunes on my MacBook. I tried a re-sync this morning with no change -

  • Can't install downloaded Blackberry Desktop software

    I downloaded the latest version of the BB 8100 desktop software from the BB site to my computer. It unzips OK but when it starts to install it stops every time. Have exited every Windows program first.  Any ideas? 

  • What happens to objects when I close a query?

    Hi, In my application I do a JDO query a couple of layers down in the architecture. I need to return these results to a higher layer. In the layer where I do my query, I add the objects to another Collection than the one given as a result of query.ex