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 » What's needed to pick up a change to a configurable service?

Post new topic  Reply to topic
 What's needed to pick up a change to a configurable service? « View previous topic :: View next topic » 
Author Message
zpat
PostPosted: Fri Oct 26, 2012 1:33 am    Post subject: What's needed to pick up a change to a configurable service? Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I need to modify the destination address for a file transfer (fileoutput node), which uses a configurable service definition. So I will issue a command like

mqsichangeproperties BROKER -c FtpServer -o OBJECTNAME -n serverName -v newaddress.xxx.com

What I need to know, is the least disruptive (most granular) action that will cause the flow to start using the new value?

Is it restarting the flow? Or restarting the EG? Or reloading the EG, Or restarting the Broker?

WMB 6.1.0.8 on AIX
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Fri Oct 26, 2012 2:13 am    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Hi,

If I got it right InfoCenter it says
Quote:
Before you run the mqsichangeproperties command, ensure that the broker is running.
If you change one or more values, stop and start the broker again for the change to take effect.
When a message flow that includes HTTP nodes is started, the broker starts the HTTP and HTTPS listeners, unless this listener has been disabled.


Perhaps it depends on what properties you change.
I have noticed that mqsireload for EG works for the most cases including this FON destination server address at least with 7.0.0.4

--
Marko
Back to top
View user's profile Send private message Visit poster's website
nathanw
PostPosted: Fri Oct 26, 2012 2:36 am    Post subject: Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

marko.pitkanen wrote:

Perhaps it depends on what properties you change.
I have noticed that mqsireload for EG works for the most cases including this FON destination server address at least with 7.0.0.4

--
Marko




Although in the past I have seen issues when a simple flow restart should have reset values but have had to take it up a notch to EG and once or twice to Broker.
_________________
Who is General Failure and why is he reading my hard drive?

Artificial Intelligence stands no chance against Natural Stupidity.

Only the User Trace Speaks The Truth
Back to top
View user's profile Send private message MSN Messenger
zpat
PostPosted: Fri Oct 26, 2012 2:50 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Yes, I have now tested it with a simple flow and the answer is all four actions will pick up the change to the server address.

In other words, it can be granular.
Back to top
View user's profile Send private message
McueMart
PostPosted: Fri Oct 26, 2012 3:48 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

Thats interesting. I had always through that an EG restart was required to reload any Configurable Service properties (I assumed that the EG cached all the defined CS settings on startup). Thanks for the heads up.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Oct 26, 2012 4:15 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

McueMart wrote:
Thats interesting. I had always through that an EG restart was required to reload any Configurable Service properties (I assumed that the EG cached all the defined CS settings on startup). Thanks for the heads up.

I assume that this behavior improves as one increases in version number.

I assume that it's not a terribly hard thing to do to have mqsichangeproperties invalidate the cached entry for a configurable service.
Back to top
View user's profile Send private message
Esa
PostPosted: Fri Oct 26, 2012 4:32 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

mqjeff wrote:

I assume that this behavior improves as one increases in version number.

I assume that it's not a terribly hard thing to do to have mqsichangeproperties invalidate the cached entry for a configurable service.


It's not that simple. I guess there are many existing applications that rely on the fact that the cache is only refreshed when the EG is restarted. You cannot make that kind of a major change in the behavior just like that in a fixpack, can you?

V8 refreshes the cache immediately. That means problems for organisations that have taken advantage of the current behaviour. They will have to migrate, if not necessarily the flow implementations, at least their way of working.

I think it was zpat that pointed this out in some discussion last Spring.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Oct 26, 2012 5:13 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Esa wrote:
You cannot make that kind of a major change in the behavior just like that in a fixpack, can you?


As I am frequently reminded, I can't make any changes in any behavior at all... somehow, apparently, it's not actually *my* job to do that.
Back to top
View user's profile Send private message
McueMart
PostPosted: Fri Oct 26, 2012 6:01 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

I did create an RFE on a similar topic to this (although that was more specific for reloading Security identities, rather than Configurable Services):

http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=25791

So please feel free to vote
Back to top
View user's profile Send private message
joebuckeye
PostPosted: Fri Oct 26, 2012 6:29 am    Post subject: Reply with quote

Partisan

Joined: 24 Aug 2007
Posts: 365
Location: Columbus, OH

Esa wrote:
It's not that simple. I guess there are many existing applications that rely on the fact that the cache is only refreshed when the EG is restarted. You cannot make that kind of a major change in the behavior just like that in a fixpack, can you?


I can imagine it depends on whether or not the behavior being counted on is documented to work a certain way or if it just happens to work that way and people count on it.

Sort of like people complaining about the XMLNSC parser "causing" errors while the XML parser works fine.
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 » What's needed to pick up a change to a configurable service?
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.