Posted: Fri Jul 21, 2006 6:21 am Post subject: mqsideploy log
Voyager
Joined: 24 Nov 2003 Posts: 79 Location: UK
I am working on automating our releases procedures.
Everything is working perfectly. However i can't figure out how to get confirmation that the deploy was successful. I can see that the deploy was successfully initiated. The details below are for a deploy that i know would fail. However i can't see any feedback telling me this.
Any ideas on how to get this confimation? Is the event log based on a phsical file that i can interrogate?
The Configuration Manager has processed the deploy request and initiated the dep
loy of configuration data to the following brokers. Active brokers: brokerA.
Deleted brokers: .
Open the Event Log Editor to check the outcome of the operations. There will be a separate set of log messages for each broker.
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
V6 is your answer - in v6, the mqsideploy command waits for all deploys to fully complete before returning - and gives you a lot more feedback in the process.
Thinking back to the dim and distant days of v5 (it's a long time since I looked at the code), you may like to check the value of %ERRORLEVEL% after your deployment. A non-zero value would be the last three digits of the BIP error message that happened to be received before the command exited.
[exec] The Configuration Manager has processed the deploy request and initiated the deploy of configuration data to the following brokers. Active brokers:
broker . Deleted brokers: .
[exec] Open the Event Log Editor to check the outcome of the operations. There will be a separate set of log messages for each broker.
This was caused by the result of the deploy taking too long to come back. I extended the timeout vaue on the command and this resulted in the deploy information being returned
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