Author |
Message
|
scutaru |
Posted: Wed Sep 02, 2009 6:45 am Post subject: checking if a certain FP is installed |
|
|
Novice
Joined: 26 Mar 2009 Posts: 16
|
Hi guys,
I'm building a silent installer which installs, on top of WMB 6.1, the FP0004 fix pack. After the installation finishes, I will need to check if the installation is successful.
Does anybody know if such a command exists in WMB (that return the currently installed fixpack).
Thank you. |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Wed Sep 02, 2009 6:51 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
mqsiservice -v
Bear in mind, that for some of the features in the latest fixpacks you may have to tell the broker to allow these features to be used using the mqsichangebroker command with the -f parameter (subject to broker version being used) |
|
Back to top |
|
 |
scutaru |
Posted: Wed Sep 02, 2009 6:54 am Post subject: |
|
|
Novice
Joined: 26 Mar 2009 Posts: 16
|
WMBDEV1 wrote: |
mqsiservice -v
Bear in mind, that for some of the features in the latest fixpacks you may have to tell the broker to allow these features to be used using the mqsichangebroker command with the -f parameter (subject to broker version being used) |
Thank you ! It's exactly what I needed. |
|
Back to top |
|
 |
zpat |
Posted: Wed Sep 02, 2009 7:27 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
mqsireportbroker <broker> will report the effective capability level. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Sep 02, 2009 8:16 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
zpat wrote: |
mqsireportbroker <broker> will report the effective capability level. |
And if the command shell fails to find mqsireportbroker, then you also know the fixpack install has not succeeded. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Sep 02, 2009 5:33 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
mqjeff, I expected you to say use mqsiprofile (official) and not mqsiservice (unofficial). _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Sep 03, 2009 7:20 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
PeterPotkay wrote: |
mqjeff, I expected you to say use mqsiprofile (official) and not mqsiservice (unofficial). |
I didn't say anything at all about mqsiservice.
I merely agreed with zpat that mqsireportbroker (official) was a good choice, with the caveat that it's a new command in 6.1.0.4 - so you may get an error running the command rather than a real return code.
But that error also indicates that the fixpack install didn't complete, so this is still a good test.
The other complication here is that one can entirely, simply, and easily, install FPs into different or multiple locations (the best way to rollback a fixpac is to not install it over the previous one, and then just choose the right mqsiprofile to start/stop things). So if one is not careful, one may run the wrong mqsiprofile and thus get the wrong value.
On the third hand, this also applies to running mqisreportbroker, or probably mqsiservice. |
|
Back to top |
|
 |
|