Author |
Message
|
sijtom0703 |
Posted: Mon Dec 03, 2012 8:17 pm Post subject: Delete unused Brokers from an older version |
|
|
 Voyager
Joined: 28 May 2011 Posts: 84 Location: USA
|
Hi
I had installed Message Broker trial version 7 and had created couple of brokers in it. When product got expired and recently I uninstalled version 7 and installed MB version 8. Now those Brokers didn't get deleted and are coming up in the MB Explorer with error. The corresponding queue managers does not exist. I just like to clear up these Brokers and when I try deleting through Explorer or command window I am getting error. Is there a way to delete it?
Quote: |
mqsideletebroker MB7BROKER
BIP8846S: Configuration data for component 'MB7BROKER' is not usable by this pro
duct version (level 5; should be 6).
Each component has configuration data associated with it, and this data is versi
oned to ensure that the component can only be run under a product version that s
upports this level. The component level is 5 and the current code level only sup
ports 6. |
|
|
Back to top |
|
 |
mqsiuser |
Posted: Tue Dec 04, 2012 1:57 am Post subject: Re: Delete unused Brokers from an older version |
|
|
 Yatiri
Joined: 15 Apr 2008 Posts: 637 Location: Germany
|
Kill all broker processes ("ps -eaf | grep mqsi" must return nothing or only the one process / the "ps -eaf | grep mqsi" process itself).
Delete the broker installation directory:
rm -r /opt/IBM/mqsi/7.0
Delete the broker working directory:
rm -r /var/mqsi (or go into it and just delete the relevant brokers or parts)
All with care / no gurantees, carefully look (esp. if you do not want to clean your machine from all Broker, esp. if you have / want to preserve another (e.g. a Broker 8 installation)) _________________ Just use REFERENCEs |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Dec 04, 2012 2:46 am Post subject: Re: Delete unused Brokers from an older version |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
mqsiuser wrote: |
Delete the broker working directory:
rm -r /var/mqsi (or go into it and just delete the relevant brokers or parts)
|
What about the OP's V8 broker then? You have just messed it up by doing this.
The OP didn't state they they were using Linux/Unix.
If you are using Windows you may have to resort to some Registry editing as well.
It would be nice if the trial version 'mqsideletebroker' utility didn't check for license expiry. Then at least you could remove things cleanly. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
gas |
Posted: Tue Dec 04, 2012 7:48 am Post subject: |
|
|
Newbie
Joined: 04 Dec 2012 Posts: 1
|
Hi,
For Windows, you need to do the following:
- stop all mq related processes
- remove MB7BROKER folder form %APP_DATA%/IBM/MQSI/components
- remove MB7BROKER folder form %APP_DATA%/IBM/MQSI/registry
- remove old Broker service from Windows services using registry editor
- restart MQ
- delete old QMgr that was defined for Broker via MQ Explorer
%APP_DATA% - is folder with user data, for Win2k8 it is C:\ProgramData
Hope it helps.
Gas |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Dec 04, 2012 8:20 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
gas wrote: |
r
%APP_DATA% - is folder with user data, for Win2k8 it is C:\ProgramData
Hope it helps.
Gas |
c:\ProgramData
is for some reason known only to Microsoft, a hidden folder. One of the first things I do is to make this visible using the 'arrtib' command. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
sijtom0703 |
Posted: Tue Dec 04, 2012 12:57 pm Post subject: |
|
|
 Voyager
Joined: 28 May 2011 Posts: 84 Location: USA
|
THanks for All! Sorry for my ignorance...It is Windows 7 Platform. |
|
Back to top |
|
 |
rcp_mq |
Posted: Wed Dec 05, 2012 6:52 am Post subject: |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
If you remember the broker queue manager names, create those (with crtmqm).
start and stop them.
Then delete the brokers with mqsidelete using the -q option. |
|
Back to top |
|
 |
rcp_mq |
Posted: Wed Dec 05, 2012 6:56 am Post subject: |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
Even if you don't remember the queue manager names, do mqsilist and it should list the associated queue manager (which you need to create) |
|
Back to top |
|
 |
|