ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Oracle as a remote (non-broker) DB

Post new topic  Reply to topic
 Oracle as a remote (non-broker) DB « View previous topic :: View next topic » 
Author Message
duffMan
PostPosted: Wed Feb 26, 2003 6:15 am    Post subject: Oracle as a remote (non-broker) DB Reply with quote

Voyager

Joined: 03 Jun 2002
Posts: 75

I'm running wmqi2.1 csd2 on AIX and am attempting to connect to a remote Oracle DB.

Is it necessary to install the Oracle Client for AIX SQL*Net and configure tnsnames.ora OR is the ODBC Merant driver UKor816.so suffice with the appropriate .odbc.ini entries?
Back to top
View user's profile Send private message
alpya
PostPosted: Thu Feb 27, 2003 10:58 am    Post subject: Oracle as a remote (non-broker) DB Reply with quote

Newbie

Joined: 24 Apr 2002
Posts: 3

Hi Duffman,

In order to connect to a Remote Oracle DB you need to install Oracle Client. Here in your case its on AIX. After installation of Client define the tnsnames for the remote DB and update the .odbc.ini file for the broker with the Alias name.

Here is an Example on how you can define it in .odbc.ini
[SAMPLE]
Driver=/usr/opt/mqsi/merant/lib/UKor816.so
Description=Oracle8
ServerName=sample
EnableDescribeParam=1
OptimizePrepare=1

Also, you need to have symbolic links created for WMQI. This involves running of mqsi_setupdatabase. This whole process is explained in Chapter 3 of Install guide. In guide its explained for DB2, you have to run it for all the databases

After mqsi_setupdatabase is successfully executed verify under /var/wmqi/lib directory (ls -al) it should have softlinks to libclntsh.a
Back to top
View user's profile Send private message Send e-mail
duffMan
PostPosted: Thu Feb 27, 2003 1:38 pm    Post subject: Reply with quote

Voyager

Joined: 03 Jun 2002
Posts: 75

Thanks alpya, I have another question:

If the name of the entry in my tnsnames.ora file is "ABC" with the remote ip and port, then what goes in "ServerName" of the .odbc.ini entry.

When I ready "ServerName" I immediately thought ip and port, but now I'm guessing that is where I put "ABC"????


later.
Back to top
View user's profile Send private message
alpya
PostPosted: Thu Feb 27, 2003 1:57 pm    Post subject: Reply with quote

Newbie

Joined: 24 Apr 2002
Posts: 3

yes at the servername put the alias name 'ABC' that you are referring to..
Back to top
View user's profile Send private message Send e-mail
duffMan
PostPosted: Fri Feb 28, 2003 10:05 am    Post subject: Reply with quote

Voyager

Joined: 03 Jun 2002
Posts: 75

Works great, thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Oracle as a remote (non-broker) DB
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.