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 » How to Access Remote Databases from Message Broker Flow

Post new topic  Reply to topic
 How to Access Remote Databases from Message Broker Flow « View previous topic :: View next topic » 
Author Message
essive
PostPosted: Mon Nov 15, 2004 9:52 am    Post subject: How to Access Remote Databases from Message Broker Flow Reply with quote

Novice

Joined: 15 Nov 2004
Posts: 24

We are evaluating WBIMB for our organization. We've noticed that in a message broker flow that if you wish to query, update, insert, etc. data from a remote DBMS using a database node or a compute node the UserID and PW passed to the remote DB is the same as what the broker is currently running under.

Is this true? Can you not have a broker running under it's own UNIX id, for example, and then setup an ODBC connection in the ODBC.INI file with a different UID and PW?

I'm new to this so forgive me if this is a 'newbee' question.
Back to top
View user's profile Send private message
JT
PostPosted: Mon Nov 15, 2004 9:58 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Quote:
Is this true?
No.

Quote:
Can you not have a broker running under it's own UNIX id, for example, and then setup an ODBC connection in the ODBC.INI file with a different UID and PW?
Yes, you set the distinct database id(s) & password(s) by means of the mqsisetdbparms command

Quote:
We've noticed that in a message broker flow that if you wish to query, update, insert, etc. data from a remote DBMS using a database node or a compute node the UserID and PW passed to the remote DB is the same as what the broker is currently running under.
This scenario was true under WMQI v2.x.
Back to top
View user's profile Send private message
Heinz57
PostPosted: Mon Nov 15, 2004 10:09 am    Post subject: Reply with quote

Apprentice

Joined: 21 Jan 2004
Posts: 26
Location: Syracuse, NY

The scenario is the same for V5. We have run mqsisetdbparms for a number of external databases connections that need different ID/pw combinations.

Last edited by Heinz57 on Mon Nov 15, 2004 10:10 am; edited 1 time in total
Back to top
View user's profile Send private message
essive
PostPosted: Mon Nov 15, 2004 10:09 am    Post subject: Reply with quote

Novice

Joined: 15 Nov 2004
Posts: 24

So, just to validate my thoughts, I could have 2 or more remote DB connections setup under a single broker using the mqsisetdbparms command, correct?
Back to top
View user's profile Send private message
Heinz57
PostPosted: Mon Nov 15, 2004 10:13 am    Post subject: Reply with quote

Apprentice

Joined: 21 Jan 2004
Posts: 26
Location: Syracuse, NY

yes, you set up ODBC connections then run mqsisetdbparms with the id/pw for the DSN you wish to modify. Your msg flow must connect to the unique DSN that you have set the ID/pw for.
Back to top
View user's profile Send private message
JT
PostPosted: Mon Nov 15, 2004 10:16 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Quote:
I could have 2 or more remote DB connections setup under a single broker using the mqsisetdbparms command, correct?

Yes, you will have two or more entries in your .odbc.ini file, which you will issue the mqsisetdbparms command for each entry, specifying the ODBC source, database id and password.
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 » How to Access Remote Databases from Message Broker Flow
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.