Help installing gateway on non-database server

I have a 64bit 10.2.0.3 database running on W2K3 64bit server. I need to access a SQL Server database (2005 version) on a different host.
I'd like some insight into installing the gateway services on a 32bit Wk23 machine to bridge the 64bit Oracle database to the SQL Server database.
IE: 64bit DB -> 32bit Gateway -> 2005 SQL Server DB
Thanks in advance.

There are four important things to consider when installing gateway or hsodbc .
1) the version of your database eg. 8i/9i/10g
2) Database library
3) Oracle transparent Gateway and Oracle's Heterogeneous Services ODBC - generic connectivity (HSODBC) are two different product.
4) You must have ODBC Driver setup on both servers{ i.e SERVER A Oracle database and SERVER B SQLSERVER} for generic connectivity hsodbc.
(if you are installing on Unix you must have to get ODBC driver for Unix (data direct third patry supplier).
But if you installing Oracle transparent Gateway you only need odbc driver configure on the SQLSERVER box.
NB: Point 3 and 4 are very important.
In point three you have to decide if you want to go with Oracle transparent Gateway (OR) Oracle's Heterogeneous Services ODBC.
A lot of my fellow DBAs have failed to explain this in details.
If you go for Oracle transparent Gateway you will have to buy additional license from oracle but the gateway can be use for multiple gateway configurations. In effect, this will become your transparent Gateway Server for many installation that require Gateway whether Unix or windows based configurations.
On the other hand, if you decide to go for generic connectivity (HSODBC) you still have to buy ODBC for UNIX (from data direct) unless you are on Windows Operating systems Server which come naturally with odbc installed.
In your case all your configurations are Windows based. Therefore no licensing issue for you if you are using generic connectivity (HSODBC). It will be all free.
During both odbc configurations, use system DSN and make sure you test them.
NB: I will not be going true system DSN configuration. It is simple, even my thirteen years old son could configure it.
Important:
a)
remeber to configure the initsid file in ORACLE_HOME\hs and remeber to name extactly the name giving to the DSN on SQLSERVER (SERVER B). so if it is named airwaves the init file should be name init_airwaves.ora
HS_FDS_CONNECT_INFO = airwaves -------> from DSN on SQLSERVER (SERVER B).
HS_FDS_TRACE_LEVEL = 4
set ODBCINI= d:\nigeria\xxxx\odbc\odbc.ini ------> path of odbc.ini on ORACLE (SERVER A).
b) tnsname .ora - in ORACLE (SERVER A). ORACLE_HOME\network\admin please add the entry as below to tnsnames.ora. there should always be two closing brackect after the SID entry and HS entry must be like below then follow by the last bracket as below. Any placement of the bracket will make the configuration fail.
airwaves=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = nigeria)(PORT = 1530))
(CONNECT_DATA =
(SID = airwaves))
(HS=OK)
c) listener .ora - in ORACLE (SERVER A). ORACLE_HOME\network\admin please add the entry as below. The bleow might look funny.
NB:You might think the SQLSERVER (SERVER B) is not mentioned in the LISTENER:ORA. Yes that is true ! It will be mentioned via the DSN in init_airwaves HS_FDS_CONNECT_INFO definition.
LISTENER=
(ADDRESS_LIST =
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
(ADDRESS =(PROTOCOL = TCP)(HOST = nigeria)(PORT = 1530))
SID_LIST_LISTENER=
(SID_LIST =
(SID_DESC = (SID_NAME = nigeria)
(SID_DESC =
(SID_NAME = airwaves)
(ORACLE_HOME=c:\nigeria\ora18\oracle)
(PRESPAWN_MAX = 10)
(PROGRAM=hsodbc)
(ENVS=LD_LIBRARY_PATH=c:\nigeria\ora18\oracle\lib32:d:\nigeria\xxx\odbc\lib)
LOG_DIRECTORY_LISTENER=c:\nigeria\logs\ora18\LISTENER_nigeria
LOG_FILE_LISTENER= LISTENER_nigeria.log
LOGGING_LISTENER= ON
TRACE_LEVEL_LISTENER=OFF
TRACE_DIRECTORY_LISTENER= c:\nigeria\logs\ora18\LISTENER_nigeria
TRACE_FILE_LISTENER= LISTENER_nigeria.trc
USE_PLUG_AND_PLAY_LISTENER= OFF
STARTUP_WAIT_TIME_LISTENER= 0
CONNECT_TIMEOUT_LISTENER= 20
NB: although you are on 64bit oracle database on Windows make sure you point the library to lib32 as describe. Odbc uses 32bits.
Major pitfall to avoid for Unix configuration of hsodbc.
1. make sure you install ODBC for Unix.
a) The SHLIB_PATH and LD_LIBRARY_PATH must have $ORACLE_HOME/lib32 in their path
b) SHLIB_PATH and LD_LIBRARY_PATH must have odbc_home in their path
SHLIB_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/network/lib:/pkg/Ndc20/home/ora18/odbc32v53/lib:/usr/lib:/usr/ccs/lib:/usr/openv/netbackup/bin
export SHLIB_PATH
LD_LIBRARY_PATH=/usr/openv/netbackup/bin:$ORACLE_HOME/lib32:/pkg/Ndc18/home/ora18/odbc32v53/lib
export LD_LIBRARY_PATH
ODBCINI=/pkg/Ndc18/home/ora18/odbc32v53/odbc.ini >>>>>> (using data direct odbc on unix for sqlserver )
export ODBCINI
To check if this correct.
env at a unix prompt
or
cd $ORACLE_HOME then type
hsodbc
then you will received the banner below.
Oracle Corporation --- DONNERSTAG SEP 11 2008 12:22:48.154
Heterogeneous Agent Release 10.2.0.3.0 - Production Built with
Driver for ODBC
if it returns a banner then you are on the right way to sucessful configuration. if it generates core dump the go back and make sure the path are set correctly. if you get a banner then procced to the next step.
2)
You need only one listerner.ora adjust as above and also adjust the tnsnames.ora as well the brackect in tnsname is very important. if you get it wrong will be receiving ORA-12537: TNS:connection closed. This indicates that you have not set the lib as mentioned above.
Both Windows and Unix
1) reload the listener or stop and restart listener which ever you are comfortable with.
2) log on to sqlplus and create the dblink
3) CREATE DATABASE LINK "AIRCOM" CONNECT TO "airwaves_link"
IDENTIFIED BY "********"
USING 'airwaves'
----> airwaves_link ------Is the user name on SQLSERVER (SERVER B) identifed by is the password of the user
4) now test your connection from sqlplus using the link created.
-- > tnsping airwaves
Also make sure you have a known table on the sqlserver database
sqlplus " / as sysdba "
SQL> select * from account@aircom;
I hope this helps.
[email protected]

Similar Messages

  • SQL Server Reporting Services installed on a production database server used to support JD Edwards EnterpriseOne. What performance isses can arise

    SQL Server Reporting Services installed on a production database server used to support JD Edwards EnterpriseOne. What performance isses can arise. Is it recommended. What are the pros and cons

    Hi hazelannc, 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. Thank you for your understanding and support.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Database package that allow remote writing output to non-database server

    Hi ,
    Do you have any suggestion that perform similar function as utl_file that generate PL/SQL output to a directory (but I want to write the output to a non-database which utl_file cannot achieve). The reason I 'm asking because I want to find out alternative way to take out utl_file function to a non-database server to reduce the loading of db server.
    Ana

    Do you want to create your file on a different server?
    In that case, you need to create a file share on your DB server and create the file on the same.

  • How to install SAPOSCOL in non-sap server ?

    Hi,
    Please advise how to install SAPOSCOL into non sap system ? any related document / help ?
    Thank You and Best Regards
    Fernand

    Hi,
    The reason why, i want to install saposcol and sapagent in non sap system because i want to monitoring this serve with system monitoring.
    Finally, i can install with install.cmd from this notes : 704349
    Thank You and Best Regards
    Fernand

  • Installing 9iAS on the database server

    Is it OK, if I install 9iAS on the same server, where the 9i database has been installed? If I install 9iAS on the same server, then many of the services get duplicated (as it requires different home), like TNS listner, intelligent agent, HTTP server, Management server etc. Also default home itelligent agent service doesn't start after 9iAS installation.
    OR should I install 9iAS on another machine?
    -Yogesh

    As long as Oracle9iAS and Oracle DB are in two different Oracle Homes, it is possible to have this coexistance of these Oracle products. Infact, this is true for any other Oracle product and Oracle9iAS. This is true for any platform.
    Further, in Release 2, 9.0.2 version, we are supporting Oracle9i Application Server (J2EE and Web Cache, Portal and Wireless, BI and Forms, UM install types), Oracle9iAS and Oracle9iDS Release 2 can be installed into same Oracle Home.

  • Problem installing agent on new database server

    Agent11g> ./runInstaller -silent -responseFile /u01/oemAgentStage/linux_x64/response/rac1_additional_agent.rsp
    Starting Oracle Universal Installer...
    Checking Temp space: must be greater than 150 MB. Actual 12211 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 16002 MB Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-09-07_04-49-04PM. Please wait ...Agent11g> Warning: Is the following line present in /u01/oemAgentStage/linux_x64/response/rac1_additional_agent.rsp correct?
    MYORACLESUPPORT_USERNAME=
    Warning: This line is not added to HashMap
    Warning: Is the following line present in /u01/oemAgentStage/linux_x64/response/rac1_additional_agent.rsp correct?
    MYORACLESUPPORT_PASSWORD=
    Warning: This line is not added to HashMap
    Warning: Is the following line present in /u01/oemAgentStage/linux_x64/response/rac1_additional_agent.rsp correct?
    COLLECTOR_SUPPORTHUB_URL=
    Warning: This line is not added to HashMap
    *** Check for updates ***
    *** Select Installation Type ***
    *** Check Prerequisites ***
    *** Specify Oracle Management Service Location ***
    The specified Management Service on host 192.168.1.51 at port 3872 is unreachable. Check the connection details for the Management Service to ensure that you entered the value for the host name correctly
    Response File contents:
    OMS_HOST="192.168.1.51"
    #OMS_PORT="7799" ORIGINAL
    OMS_PORT="3872"
    AGENT_REGISTRATION_PASSWORD=Tiger2231
    s_agentServiceName="GridAgent"
    #Please Don't change the values of these variables
    #FROM_LOCATION:<String> Complete path to the products.xml.
    #b_upgrade:<Boolean> "whether it is Upgrade or not"
    #EM_INSTALL_TYPE:<STRING> install type
    FROM_LOCATION="../stage/products.xml"
    b_upgrade=false
    EM_INSTALL_TYPE="AGENT"
    ERROR: Silent Install has failed. Please check the log files for more details.
    OMS is up and running.

    Re,
    did you need install agent form database host ? Did you try deployment from OEMGC ?
    We deploy all our agents 11.1 from OEMGC.
    *T                                                                                                                                                                                                                                                                               

  • Error while installing gateway please help soon

    Error while installing gateway in
    Microsoft Windows Server 2003.
    error while installing gateway
    E:\idm\gateway>gateway -i
    10/02/2008 15.13.38.015000 [4972] (../../../../src/wps/agent/logging/WSTrace.cpp
    ,150): trace active, level: 4, file: E:\\IDMLOGS\\gateway.log, maxSize: 10240 KB
    10/02/2008 15.13.38.015000 [4972] (../../../../src/wps/agent/logging/WSTrace.cpp
    ,108): In WSTrace::init()
    10/02/2008 15.13.38.015000 [4972] (../../../../src/wps/agent/logging/WSTrace.cpp
    ,109): Gateway version: 'Sun Java System Identity Manager 7.1'
    10/02/2008 15.13.38.015000 [4972] (../../../../src/wps/agent/logging/WSTrace.cpp
    ,110): OS version: 'Windows Server 2003 Family Service Pack 1 (Build 3790)'
    An error occured when trying to install the service: No error
    E:\idm\gateway>

    Use that MS installer cleanup to get rid of iTunes first, then QuickTime.
    Actually, I should back up. Go to the article I link below, and scroll down to the section
    *General Installation Troubleshooting*
    Important: A majority of customers experience successful iTunes installation after completing these troubleshooting procedures. If one does not help, proceed to the next.
    -Completely Remove iTunes and QuickTime (Click to show)
    -Empty your Temp directory and restart (Click for more)
    -Clean up iTunes installer files on the computer (Click for more)
    -Download QuickTime Standalone Installer (Click for more)
    -Disable other conflicting software (Click for more)
    -Make sure your folder names don't contain strange characters (Click for more)
    http://docs.info.apple.com/article.html?artnum=93976

  • Newbie: EL6 "database server" installed - how do I get the Gnome desktop ?

    I installed fresh EL6 on the same partition where EL5.6 was installed - did a reformat of "/" to take advantage of ext4.
    While installing EL6, I chose "Database Server" option - and did custom partitioning to preserve my other OS-es. The installation ran fine
    However I do not get Gnome ( or KDE will do too ) desktop.
    How do I add that ? Will I need to run install again and choose a "desktop" option (without formatting the root partition ) ?
    I have ULN registration if it matters
    Thanks
    Sumit
    Edited by: user8602532 on Feb 13, 2011 11:21 AM
    Edited by: user8602532 on Feb 13, 2011 11:22 AM

    There are lots and lots of RPM packages which make up the GNOME or KDE environment. Trying to install them all piecemeal is a daunting task. To address this, yum(8) has a feature known as "package groups" whereby you can install or remove all of the components making up that group in a single command. This how you want to do it.
    Unfortunately, neither ULN and public-yum.oracle.com appear to have support for these package groups. But, the RPM package groups are defined on the DVD installation media.
    This is the general approach:
    1) Make a clean install of the O/S and database product.
    2) DO NOT UP2DATE ANYTHING JUST YET!
    3) With the installation DVD still present, create a YUM repository which points to it. Something as simple as:
    cd /etc/yum.repos.d
    echo '[dvd]' >dvd.repo
    echo 'baseurl=file:///path/to/where/you/have/the/iso/mounted' >>dvd.repo
    echo 'enabled=1' >>dvd.repo
    echo 'gpgcheck=false' >>dvd.reposhould do the trick.
    4) Check your work:
    # yum grouplist5) Install the GNOME group:
    # yum groupinstall "GNOME Desktop Environment"6) Now, configure your ULN subscription at http://linux.oracle.com:
    # /usr/sbin/up2date --registerThere are two tricks here:
    1. The package group information is available only on the distro media.
    2. To use the group information on the distro DVD media, all currently-installed packages must match the versions available on the media. Cannot mix-and-match between the distro media and up2date packages.
    Hope this helps.

  • Win32 Oracle 10g Database Server Installation problems

    Hello,
    I have recently installed the Oracle 10g Database Server for Win32. The installation seemed to be successful. I used the Enterprise option and all the suggested defaults. Ihave the following services installed and started after the installation:
    o OracleDBConsoleORCL [started]
    o OracleOraDb10g_home1iSQL*Plus [started]
    o OracleOraDb10g_home1SNMPPeerEncapsulator [manual]
    o OracleOraDb10g_home1SNMPPeerMasterAgent [manual]
    o OracleOraDb10g_home1TNSListener [started]
    o OracleServiceORCL [started]
    I have created the following files:
    # LISTENER.ORA Network Configuration File: d:\oracle10gServer\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = asparuh)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = d:\oracle10gServer)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL)
    (ORACLE_HOME = d:\oracle10gServer)
    (SID_NAME = ORCL)
    # TNSNAMES.ORA Network Configuration File: d:\oracle10gServer\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = asparuh)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = asparuh)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    I go to the DOS console and type:
    c:> sqlplus scott/tiger@ORCL
    and I get:
    ERROR: ORA-28000: the account is locked
    I did this right after I restarted my computer.
    When I use the Enterprise Manager at:
    http://localhost:5500/em/
    I get for ORCL:
    Status: Status Pending
    Status Pending Since: Unavailable
    Seems that I can never get the database started properly?! When I press the Startup/Shutdown button I get:
    Current Status: open
    This is the correct current database status, although it doesnot match the current status in the sitemap page
    What does this mean? Do you think this may contain the clue to the answer to this problem?
    When I restart the Database I get the same status: unavailable.
    I need your help to resolve this problem. The alternative is to revert back to Oracle 9i DB Server. Thank you in advance.
    gkk

    I can help you with the SCOTT account being locked. Try:
    sqlplus /nolog
    connect / as sysdba
    alter user scott identified by tiger account unlock;

  • Simple database server

    For school i need to develop an application.
    Can anyone help me with a simple database server? I want to read data from my database.
    Database: a simple employers table
    I want to request for example all employers firstname.
    How can i build the server?
    How can i make the connection with the database?
    Are there tutorials or examples?
    Please help.
    Thanks in advance.

    I'd say Hypersonic SQL (HSQLDB) is your simplest bet; easy to setup and no software installation required because it is a pure java database. All you need to know is on their website:
    http://hsqldb.org/

  • How to install CSM 4.7 on server 2012

    Hi,
    I want to install Cisco Security manager(CSM) on ucs blade server having window server 2012 installed on it.
    I am totally new to this.
    Can please someone share the steps to install CSM. 
    Thanks 

    HI
    Hiral to install R3 is very simaple
    just ur system should be
    processor ; duo core or core 2 duo
    ram min::1 gb
    harddrive:min 80gb
    set your paging size 1*RAM +3
    then install jdk1.4.2.8,it comes with r3 master dvd
    set your environment variable from my computer >right click>properties->environment variable->new---->java_home-write j2sdk dir path --->ok
    then install oracle as database-->be sure u 2 installing sapserve.cmd if database server and CI server is same or sapclient.cmd if database server is diff
    then start sapint
    then go through the wizard
    selce local installation in your case
    select No MNL--no muti national language
    it start now
    if u find any error send me reply
    don't forget to give permission to ur /usr/sap folder in win2003 otherwise it will give u error
    Regard
    saumin

  • Need help Installing OID Repository on existing database server using RepCA

    I have an oracle database server running 10g (10.2.0.4) and I want to install metadata repository on it. I downloaded the Application Server Metadata Repository Creation Assistant 10.1.2.0.1 (standard edition).
    I find that there are no batch files in the download, just setup.exe. When I run that I am asked for an ORA_HOME - when I provide the home where the database is installed I get the message that the home already has the database and the software cannot be installed on it.
    How do I add the repository to an existing instance of oracle database server? Also, is the version I downloaded the right version #
    Thanks

    Hi sameer khan,
    first let me ask, are you talking about Netweaver04s (WAS 7.00), in this case my answer can give you some hints.
    Note 883948 gives information of the installation of an additional usage tye (like BI JAVA)
    You have more than one possibility to install the usage type BI JAVA. The most common installation types are:
    1. BI installation and a separate BI JAVA installation with 2 <SID>
    2. BI JAVA Addin Installation in an existing NW04s
    I recommend to use option 1:
    In case you install a separate BI-JAVA instance, you need a separate <SID> for your J2EE environment. In this case it is not possible to use the same <SID>. This installation can be done on the same or a separate server. Furthermore, you can use a separate database or install the J2EE instance in the same database (--> MCOD). I recommend to use a separate database. Note: In this installation option, Sapinst normally installs a separate user store. With the usage type BI JAVA it makes (in most cases) sense, to use the user store of the BI system, where it belongs to. If you want to do so, "Revise" the user store option before you start the installation and and choose the production client of the BI system.
    If you like to use an Addin Installation, another <SID> is not possible. I would only recommend this kind of installation in test environments.
    It doesn't matter, which kind you choose, after installation, you have to do the steps for "Setting up bex Web", see Note 917950. This is sometimes a little bit tricky, with Note 937697 there is a Support Tool, which can help.
    Good luck with your installation
    Kind Regards
    Marc

  • Need help trouble shooting Database Gateway for MS SQL Server setup, getting ORA-28546 error

    Dear All,
    I am trying to setup Oracle Database Gateway for MS SQL Server(I don't have admin access to the MS SQL Server).  When I try to test the dblink connection, I get the following error.
    I issued select * from dual@xyz;
    ORA-28546: connection initialization failed, probable Net8 admin error
    ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=dg4msql)))
    ORA-02063: preceding 2 lines from xyz
    28546. 0000 -  "connection initialization failed, probable Net8 admin error"
    My setup is the following.
    1. Oracle 11gR2 running on Oracle Linux 6, the same version gateway is installed on the same server, but different home directory.
    2. Oracle DB home directory is /u01/app/oracle/product/11.2.0/dbhome_1, gateway home directory is /u01/gateway.
    3. I use the same listener.ora file for both the db and the gateway.
    4. the contents of my listener.ora, tnsnames.ora and the initdg4msql.ora are below.
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          #(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
          (ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
    mssql =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME=db.abc.com.tw)
          (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
          (SID_NAME=orcl)
    SID_LIST_mssql =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME=dg4msql)
          (ENVS=LD_LIBRARY_PATH=/u01/gateway/dg4msql/driver/lib:/u01/gateway/lib)
          (PROGRAM_NAME=/u01/gateway/bin/dg4msql)
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.abc.com.tw)
    dg4msql  =
      (DESCRIPTION=
        (ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521))
        (CONNECT_DATA=(SID=dg4msql))
        (HS=OK)
    /u01/gateway/dg4msql/admin/initdg4msql.ora
    HS_FDS_CONNECT_INFO=[192.168.0.1]:1433//XIETEST
    # alternate connect format is hostname/serverinstance/databasename
    HS_FDS_TRACE_LEVEL=255
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    dblink was created using statement below.
    CREATE DATABASE LINK "xyz.abc.COM.TW"
    CONNECT TO SA IDENTIFIED BY
    USING 'dg4msql';
    Couple more things, that I have done to check the work above.
    [oracle@db admin]$ ping 192.168.0.1
    PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
    64 bytes from 192.168.0.1: icmp_seq=1 ttl=61 time=7.61 ms
    64 bytes from 192.168.0.1: icmp_seq=2 ttl=61 time=7.41 ms
    ^C
    --- 192.168.0.1 ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 1818ms
    rtt min/avg/max/mdev = 7.417/7.516/7.615/0.099 ms
    [oracle@db admin]$ tnsping dg4msql
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:53:11
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521)) (CONNECT_DATA=(SID=dg4msql)) (HS=OK))
    OK (0 msec)
    [oracle@db admin]$ lsnrctl status mssql
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:54:23
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     mssql
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                11-SEP-2013 10:09:46
    Uptime                    0 days 0 hr. 44 min. 37 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/db/mssql/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "dg4msql" has 1 instance(s).
      Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Obviously, I would like to get this setup to work, but I also have couple other questions regarding this setup.
    1. When installing the gateway, it asks to run the root.sh script.  the root.sh script as for the following.
    Enter the full pathname of the local bin directory: [/usr/local/bin]:
    The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: n
    The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: n
    The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: n
    is the above answer correct?
    Thanks for reading.

    Dear Klaus,
    I did start a new SQL*PLUS session
    The output of  /u01/gateway/bin/dg4msql is
    [oracle@db log]$ /u01/gateway/bin/dg4msql
    Oracle Corporation --- WEDNESDAY SEP 11 2013 14:45:06.604
    Heterogeneous Agent Release 11.2.0.1.0 - 64bit Production  Built with
       Oracle Database Gateway for MSSQL
    The output of env is
    HOSTNAME=db.abc.com.tw
    SHELL=/bin/bash
    TERM=xterm
    HISTSIZE=1000
    ORACLE_UNQNAME=orcl
    TMPDIR=/tmp
    QTDIR=/usr/lib64/qt-3.3
    QTINC=/usr/lib64/qt-3.3/include
    USER=oracle
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib
    LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
    ORACLE_SID=orcl
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOSTNAME=db.abc.com.tw
    MAIL=/var/spool/mail/oracle
    PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin
    PWD=/home/oracle
    LANG=en_US.UTF-8
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    HISTCONTROL=ignoredups
    SHLVL=1
    HOME=/home/oracle
    TMP=/tmp
    LOGNAME=oracle
    QTLIB=/usr/lib64/qt-3.3/lib
    CVS_RSH=ssh
    CLASSPATH=/u01/app/oracle/product/11.2.0/dbhome_1/jlib:/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/jlib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    G_BROKEN_FILENAMES=1
    _=/bin/env

  • Oracle 9i database server 64bit installing problem.

    Hi ,
    Can anyone provide me a suitable solution,
    iam installing oracle 9i database server 64 bit at Windows server 2003 64bit enterprise edition, it shows me some exception error and do not allow me to install.
    ERROR IS
    (The image file C:\oracle 9i db\Disk_1\install\win64\setup.exe is valid, but is for machine type other than the current machine)
    Same setup i run at windows XP 64 bit but same error occurs.
    what is this issue , why it comes out
    thanks

    860707 wrote:
    Hi ,
    Can anyone provide me a suitable solution,
    iam installing oracle 9i database server 64 bit at Windows server 2003 64bit enterprise edition, it shows me some exception error and do not allow me to install.
    ERROR IS
    (The image file C:\oracle 9i db\Disk_1\install\win64\setup.exe is valid, but is for machine type other than the current machine)
    Same setup i run at windows XP 64 bit but same error occurs.
    what is this issue , why it comes out
    thanksHi
    Are you sure that you are trying to install the correct version? It seems like it's for Microsoft Windows Itanium (64-bit) edition.
    Best Regards,
    Gokhan Atil
    If this question is answered, please mark appropriate posts as correct/helpful and the thread as closed. Thanks

  • Oracle Database Gateway for MS SQL server

    Hi,
    we have Oracle Database Appliance.
    OS: Oracle Linux 5 x64
    DB: 11.2.0.3 enterprise (Oracle Database Gateway for MS SQL server at the same version)
    Communication with remote DB is OK, but CPU load is too high without any reason. CPU waste, useless HW load, energy waste.
    Enterprise manager console:
    http://81.89.49.222/em.JPG
    OS top:
    http://81.89.49.222/top.JPG
    Please can you help me how to solve this issue? How can I restart these procesess? Any ideas?
    Thank you
    Michal

    Hi,
    we are using connection to multiple MS SQL servers:
    [oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initaqpdb01.ora
    # This is a customized agent init file that contains the HS parameters
    # that are needed for the Database Gateway for Microsoft SQL Server
    # HS init parameters
    HS_FDS_CONNECT_INFO=[172.18.250.141]://master
    # alternate connect format is hostname/serverinstance/databasename
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    HS_FDS_SUPPORT_STATISTICS=FALSE
    HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
    HS_NLS_LENGTH_SEMANTICS=CHAR
    HS_FDS_TRANSACTION_MODEL=READ_ONLY
    HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
    [oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initcosima.ora
    # This is a customized agent init file that contains the HS parameters
    # that are needed for the Database Gateway for Microsoft SQL Server
    # HS init parameters
    HS_FDS_CONNECT_INFO=[172.20.250.99]//COSIMA
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    # custom init parameters
    HS_FDS_SUPPORT_STATISTICS=FALSE
    HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
    HS_NLS_LENGTH_SEMANTICS=CHAR
    HS_FDS_TRANSACTION_MODEL=READ_ONLY
    HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
    [oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initepos.ora
    # This is a customized agent init file that contains the HS parameters
    # that are needed for the Database Gateway for Microsoft SQL Server
    # HS init parameters
    HS_FDS_CONNECT_INFO=[172.18.250.41]:1433//epos
    # alternate connect format is hostname/serverinstance/databasename
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    HS_FDS_SUPPORT_STATISTICS=FALSE
    HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
    HS_NLS_LENGTH_SEMANTICS=CHAR
    HS_FDS_TRANSACTION_MODEL=READ_ONLY
    HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
    [oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initepospasohlavky.ora
    # This is a customized agent init file that contains the HS parameters
    # that are needed for the Database Gateway for Microsoft SQL Server
    # HS init parameters
    HS_FDS_CONNECT_INFO=[172.31.250.41]/SQL2012/epos
    # alternate connect format is hostname/serverinstance/databasename
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    HS_FDS_SUPPORT_STATISTICS=FALSE
    HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
    HS_NLS_LENGTH_SEMANTICS=CHAR
    HS_FDS_TRANSACTION_MODEL=READ_ONLY
    HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
    dg4msl process, look at posted attachment (print screen of enterprise manager and top from OS).
    Thank you
    Michal

Maybe you are looking for

  • Who has changed the Custom Field value?

    Dears, Need to know the information regarding how to fetch that who has changed the Custom field value from PWA/MPP. Example: There is a PDP (say ProjectInfo): There is a Custom Field added to that PDP (say Project Status = In Progress). Now for Proj

  • How do I transfer my music library from a PC to my Mac book Pro?

    How do I transfer NON purchased music in My library on my PC to my MacBook Pro?thanks

  • Point to Static IP address

    When I am entering the IP address during the initial setup in Standard Setup do I point it to my static IP address 78.105.171.155 or to the one I set up on my router 192.168.1.69 Because currently it points to 192.168.1.69 and it thinks my DNS name i

  • Need Installation Guide/Manual For IDES ECC 5.0/6.0

    Hi All,          Please help me for send <b>Installation Guide/Manual For IDES ECC 5.0/6.0</b>. Or send me on ajay1808 @ yahoo.com. Best Reward Point Wait for you Thanks In Advance

  • XI on Unix

    Hi Gurus, I need to develop some interfaces (POC's) on Unix environment. Can anybody help me out for the same. ( blogs) Thanks n Advance., S