Author |
Message
|
bpugh |
Posted: Wed Dec 01, 2004 1:46 pm Post subject: mqsideploy |
|
|
Novice
Joined: 27 Apr 2004 Posts: 24 Location: St. Louis, MO
|
I am trying to use the mqsideploy command to deploy a message flow. It works fine if I leave off the -rmMsgFlow & -rmMsgSet parameters. My command looks like this:
mqsideploy -b UTQMBRK -e ExGrp1 -bar D:\Progra~1\IBM\Websph~1\eclipse\workspace\Servers\AS400HHGDEstUpload.bar -rmMsgFlow AS400HHGDEstUploadMsgFlow -rmMsgSet AS400MsgSet -w 300 -connection D:\Progra~1\IBM\WebSph~1\eclipse\workspace\Servers\Dev1.configmgr
Is there a trick that I am unaware of? Like I said, it works great if I leave off the -rm parameters. |
|
Back to top |
|
 |
JT |
Posted: Wed Dec 01, 2004 2:05 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
What result/error do you see when you include the -rmMsgFlow & -rnMsgSet parameters?
Just a guess, but I wonder if you're exceeding your 5 minute timeout (although it would seem to be adequate enough) due to the additional task of having to remove the message flow and msg set from the deployment. |
|
Back to top |
|
 |
bpugh |
Posted: Wed Dec 01, 2004 2:11 pm Post subject: |
|
|
Novice
Joined: 27 Apr 2004 Posts: 24 Location: St. Louis, MO
|
Sorry, I should have included the error in my original message. I don't think it's timing out because I've got -w 300, and it's coming back much quicker than the 5 minutes it should be waiting (maybe 15-20 seconds after I issue the command). The message says:
BIP8004E: Invalid flags and/or arguments selected.
When using this command interface the user should only select supported flags.
Correct and reissue the command.
BIP1032I: Deploys Topology, Topics or BAR file configuration data to the specifi
ed broker(s).
Syntax:
mqsideploy [-b brokerName [-e executionGroupName -bar BARFileName|-rmMsgFlow ms
gFlowName|-rmMsgSet msgSetName]] [-topology] [-topics] [-cancel] [-complete] [-r
] [-w timeoutValue] [-connection cfgParameterFileName]
Command Options
'-b brokerName' name of broker to deploy to.
'-e executionGroupName' name of execution group to deploy to.
'-bar BARFileName' deploy the specified Broker Archive file.
'-topology' deploy Topology configuration to all brokers.
'-topics' deploy Topics configuration to all brokers.
'-cancel' cancel all outstanding deploy requests.
'-complete' deploy complete data (default is delta).
'-rmMsgFlow msgFlowName' remove specified deployed message flow.
'-rmMsgSet msgSetName' remove specified deployed message set.
'-w timeoutValue' value in seconds to wait for the broker to reply to the deplo
y request.
'-r' read any log records associated with previous deploys.
'-connection cfgParameterFileName' Configuration Manager connection parameters
(.configmgr) |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Dec 01, 2004 3:39 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I'd guess that you can't both remove a message flow or set AND deploy a new BAR file in the same command.
You shouldn't really need to remove the things you are about to deploy, anyway. And I don't think you can instruct it to only deploy specific pieces of a bar file.
But if you really want to, try issuing the -rmMessageSet -rmMessageFlow options on one command and the -bar file on another. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bpugh |
Posted: Thu Dec 02, 2004 8:28 am Post subject: |
|
|
Novice
Joined: 27 Apr 2004 Posts: 24 Location: St. Louis, MO
|
I got the same results when I ran it as Jeff suggested without the -bar parameter and with the -rm parameters. It doesn't appear to like those -rm parameters no matter what I try, but it looks like I don't need them anyway. I thought I needed to use them to get rid of msg flows/sets before I could deploy a new version, but that doesn't appear to be the case.
I changed some of the verbiage in the trace nodes, rebuilt the bar file, and ran the mqsideploy command (without the -rm parameters) while the old version of the message flow was still active, and it looks like it worked. When I put a message through the flow, I saw the new verbiage in the trace file.
So all this time I was wondering how I was going to do that, when it already handles it for you. Refreshing!
Thanks for the advice! |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Dec 02, 2004 9:12 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Yes, it does a refresh for you. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|