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 » IBM MQ Installation/Configuration Support » Can a broker access more than one database?

Post new topic  Reply to topic
 Can a broker access more than one database? « View previous topic :: View next topic » 
Author Message
rmah
PostPosted: Fri Jun 01, 2007 1:49 pm    Post subject: Can a broker access more than one database? Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

Hi,

This may be a silly question...
I created a broker with the following command:

mqsicreatebroker WBRK6_DEFAULT_BROKER -i mqm -a mqm -q WBRK6_DEFAULT_QUEUE_MANAGER -n <db alias> -u <db uid> -p <db pass> –t

Where db alias is specified in the .odbc.ini file.

Is it possible to to specify a second databse in the .odbc.ini file, and have the broker connect more than one database that stores application data which I need to process messages within our flows ?


Last edited by rmah on Fri Jun 01, 2007 2:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Fri Jun 01, 2007 2:02 pm    Post subject: Re: Can a broker access more than one database? Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

rmah wrote:

Is it possible to to specify a second databse in the .odbc.ini file, and have the broker connect to TWO databases?

Or can the broker only access one database at a time, and I would have to setup a new broker if I want to access another database?



Are you talking about database to store internal broker informations or database to store application data which you need to process messages within your flows ?

If it is option 1 -> it is not possible. Why would you need second database ?
If it is option 2 -> you can use any databases from odbc.ini supported by Broker
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
rmah
PostPosted: Fri Jun 01, 2007 2:09 pm    Post subject: Re: Can a broker access more than one database? Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

marcin.kasinski wrote:
rmah wrote:

Is it possible to to specify a second databse in the .odbc.ini file, and have the broker connect to TWO databases?

Or can the broker only access one database at a time, and I would have to setup a new broker if I want to access another database?



Are you talking about database to store internal broker informations or database to store application data which you need to process messages within your flows ?

If it is option 1 -> it is not possible. Why would you need second database ?
If it is option 2 -> you can use any databases from odbc.ini supported by Broker


Thanks. I've modified my original message. Yeah, I'm edulding to option 2. Would I simply add another entry into the .odbc.ini file? Would I have to change anything in the broker via toolkit or cmd line?
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Fri Jun 01, 2007 2:42 pm    Post subject: Re: Can a broker access more than one database? Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

rmah wrote:


Thanks. I've modified my original message. Yeah, I'm edulding to option 2. Would I simply add another entry into the .odbc.ini file? Would I have to change anything in the broker via toolkit or cmd line?


You can read this:

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac04670_.htm


There is chapter Configuring the Database node.

Short version is:

- configure odbc.ini
- invoke mqsisetdbparms
- use it within Compute, Database, ... nodes.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Can a broker access more than one database?
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.