Author |
Message
|
ashritha |
Posted: Wed Dec 14, 2005 1:04 pm Post subject: Cannot add Broker to Broker Topology |
|
|
Voyager
Joined: 25 Jul 2005 Posts: 85
|
Hello,
I have a problem adding my broker in the broker topology of my domain.
To explain the problem in detail, my initial steps of creating the configmgr, broker, creating the domain in the toolkit and adding the broker to the domain for the first time were all successful.
Now, I deleted the broker from the domain and wanted to add it again in the domain, which is causing problem.
BIP1506E: Queue manager 'njsp_epinet_QM' cannot be associated with broker 'njsp_epinet_bkr'; it may still be in use by another broker 'njsp_epinet_bkr' which is pending deletion.
Broker 'njsp_epinet_bkr' has been removed from the domain of active brokers, although it may still be using its queue manager. It is not possible to associate another broker with the queue manager until the Configuration Manager can confirm that the first broker has tidied up its resources.
I deleted the broker from the domain as part of a training session, and now am unable to add it back.
I am using Message Broker v6.0 and toolkit version 6.0.
I took all the intial measures of stoping and restarting the broker components. but nothing helped.
In the older version if i delete the entries related to the broker's first deployment, the problem could be solved but with the new version as the configmgr is using its own internal database, i have no idea how to remove the previous deployed broker entries from its database.
Can any one please help??? |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Dec 14, 2005 1:54 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Once you have successfully deleted the broker using the toolkit, you must delete it by using mqsideletebroker.
Once you have deleted it successfully using mqsideletebroker, then you can recreate it using mqsicreatebroker and then you can readd it to the domain. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ashritha |
Posted: Thu Dec 15, 2005 6:32 am Post subject: |
|
|
Voyager
Joined: 25 Jul 2005 Posts: 85
|
Sorry Jefflowery, I already tried that but doesn't work. It says that the previous deletion of the broker is pending in the config manager.
So, I need to delete that previous entry from the config manager. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Dec 15, 2005 6:37 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Delete and recreate the configmgr.
Recreate the broker. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mqmatt |
Posted: Thu Dec 15, 2005 7:06 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
You don't need to recreate the Config Manager.
Use the Config Manager Proxy API Exerciser to connect to the Config Manager. Then select the Topology document, right click and select "Remove references to a previously deleted broker". Enter the name or UUID of the broker to be wiped from the Config repository and click OK.
When this has completed, you'll be able to create broker with that queue manager in the Config Manager.
-Matt |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Dec 15, 2005 7:13 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Ooooh.
New toys in v6! _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ashritha |
Posted: Thu Dec 15, 2005 12:40 pm Post subject: |
|
|
Voyager
Joined: 25 Jul 2005 Posts: 85
|
Thanks so much matt!!!
It worked.
Got to learn a lot about v6.0.
These forums are very informative and helpful.
Thanks a lot for your quick responses.
 |
|
Back to top |
|
 |
mqmatt |
Posted: Fri Dec 16, 2005 2:39 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
Glad that solved the problem.
As a general point, the CMP API Exerciser in v6 (more specifically, the CMP API) has a few methods for untangling domains- it's worthwhile looking there before you consider recreating things. |
|
Back to top |
|
 |
ashritha |
Posted: Fri Dec 16, 2005 9:27 am Post subject: |
|
|
Voyager
Joined: 25 Jul 2005 Posts: 85
|
Hello Matt,
I have a similar problem with the old UUIDs of the old brokers. How can I open the CMP API in AIX.
I could figure out where the ConfigManagerProxyExcersicer is, but I am unable to open it as it is a batch file. Can I open and edit anything there. I tried doing this but gives a javaw error. I opened the file and confirmed that all the required jar files are set in the classpath variable.
I have my configmgr and brokers running on AIX and am trying to deploy a simple flow from the toolkit, when it gives me this following error:
BIP2045E: Broker LPPMBRTE running on WebSphere queue manager LPPMQBTE did not process a deployment message, because it was addressed to a broker with a different identifier.
This message usually means that an attempt has been made to assign the broker to a second (or a reinitialized) Configuration Manager.
Each broker is identified by a universally unique identifier (UUID) which is allocated when the Message Brokers Toolkit or Configuration Manager Proxy creates a definition for the broker. When deployment occurs, a UUID check is made to help prevent accidental deployment of changes to brokers not under the control of the Configuration Manager. In this case, the deployment message was addressed to a broker with a UUID 340c9b2f-0801-0000-0080-cdddefb66868, but this does not match the UUID of the running broker (9d4af710-0801-0000-0080-8555f9d16df9).
I understood what needs to be changed but I am not finding a way to do that on AIX machine. |
|
Back to top |
|
 |
wschutz |
Posted: Fri Dec 16, 2005 9:42 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Open the CMP in windows and point to the configmgr on AIX _________________ -wayne |
|
Back to top |
|
 |
mqmatt |
Posted: Fri Dec 16, 2005 10:06 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
As wschutz says, you can just open up the Exerciser on Windows and point to your AIX Config Manager (if you've set up your ACLs correctly).
However, the CMP API Exerciser is just a simple Java (J2SE 1.4.2) application with source included. It works fine on AIX if you have a graphical terminal set - run the StartConfigManagerProxyExerciser shell script from the samples/ConfigManagerProxy directory.
Also, note that while you can use the CMP API Exerciser to modify the broker's UUID, be careful - you will need to redeploy everything to that broker once you've done so. See the Javadoc for BrokerProxy.setUUID() for more information; hopefully you'll see that I tried to document that method in such a way as to discourage people from using it flippantly!
Cheers
-Matt |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Feb 18, 2006 7:08 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
From Windows run an X11 server (Exceed ...or any other X11 servers will do)
Set your DISPLAY variable in AIX to point to:
Code: |
export DISPLAY=mywinIPorDNSname:0 |
Start the exerciser on AIX the GUI will be on your Win desktop.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|