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 » properties file for mqsiapplybaroverride

Post new topic  Reply to topic
 properties file for mqsiapplybaroverride « View previous topic :: View next topic » 
Author Message
WBI_user
PostPosted: Wed Nov 07, 2007 10:18 am    Post subject: properties file for mqsiapplybaroverride Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

The info center only gave an example of replacing 1 override value with a new override value. For example replacing all odbc source from DEVDB to PRODDB.
When I have more than one flows in the bar file or mpre than one ODBC source in production. How can I do it?
For example
My.bar file contains
message flow 1
compute node1 ODBC 1 = DEVDB
compute node2 ODBC 2 = DEVDB

I can specify in properties file
DEVDB=PRODDB to change all DEVDB to PRODDB.

But what if I want to change ODBC1 = PRODDB1 and ODBC2 = PRODDB2

OR

My.bar file contains
message flow 1
compute node1 ODBC 1 = DEVDB

message flow 2
compute node1 ODBC 1 = DEVDB

I want to change message flow 1 ODBC 1 to PRODDB1 and message flow 2 ODBC 1 to PRODDB2

can some one tell me how to do it or point me to the documentation which give a better explanation of the properties file.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 07, 2007 10:30 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You understand how the tool works perfectly.

Every instance of DEVDB will be replaced, regardless of where it occurs.

The only way to get ODBC1 to be replaced with a different value than ODBC2 is to have them START with different values.

How to update boolean switches is left as an exercise.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mqmatt
PostPosted: Thu Nov 08, 2007 6:25 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

Jeff is correct; you've uncovered a limitation of the command in v6.0.
V6.1 will give you a lot more control over which properties are overridden.
Back to top
View user's profile Send private message
m.schneider
PostPosted: Thu Nov 15, 2007 12:36 am    Post subject: Reply with quote

Centurion

Joined: 10 Apr 2007
Posts: 132
Location: Germany

There is also another way to define exactly the parameter you want to override as described in http://www.ibm.com/developerworks/websphere/library/techarticles/0706_spriet/0706_spriet.html

#Replace all places in broker.xml that have IQ as a override value with <old override value>=<new override value>

#If want to replace a specific URI override value within the broker.xml URI_<uri with # escaped with a backslash \>=<new override value>
#Example: URI_PostcardFlow\#additionalInstances=2
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 » properties file for mqsiapplybaroverride
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.