ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB V6 problem

Post new topic  Reply to topic
 WMB V6 problem « View previous topic :: View next topic » 
Author Message
pawel_janowski
PostPosted: Thu Feb 01, 2007 3:33 am    Post subject: WMB V6 problem Reply with quote

Apprentice

Joined: 13 Dec 2006
Posts: 38

Hi!
I've got a strange problem, as follows:
1) I've created broker called DBRK1 and registered it in cfgmgr
2) I've tried to remove it, but it was not successful I suppose, because when I try to register again broker with the same name I obtain the message:

"BIP1506E: Queue manager 'DMQBRK1' cannot be associated with broker 'DBRK1'; it may still be in use by another broker 'DBRK1' which is pending deletion.

Broker 'DBRK1' 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.

After successfully removing a broker from the domain, you must initiate a deploy of the topology in order to instruct the broker component to stop and tidy up its resources. This can be done using the Message Brokers Toolkit, mqsideploy utility or the Configuration Manager Proxy API. Once the deploy is successful, you must delete the broker component using the mqsideletebroker command. Only then can you associate a new broker with the queue manager.
If the runtime broker component has already been deleted and is therefore unable to cleanly tidy up its resources, you must purge any remaining references to the broker and its queue manager from the Configuration Manager's repository. To do this, either (a) make the queue manager or its SYSTEM.BROKER.ADMIN.QUEUE inaccessible to the Configuration Manager and initiate a topology deploy, or (b) use the Configuration Manager Proxy API TopologyProxy.removeDeletedBroker().
____________________________________________________________
BIP1712W: Broker not found

An attempt was made to view or modify the Broker with UUID '64a5037d-1001-0000-0080-9d448a633d49', but it does not exist in the Configuration Manager's repository.

If you are trying to manipulate an object immediately after submitting a request to create it, it is likely that there was a problem creating the object. An example of this is if you attempt to create a default execution group without first ensuring that the parent broker was created successfully; this error suggests that there was a problem creating the broker.
Check the Configuration Manager's logs to see why the Broker could not be found. If the object has previously been available, the receipt of this error may indicate corruption in the Configuration Manager's repository; if this is the case, you may need to use mqsirestoreconfigmgr to restore the Configuration Manager's repository, or if this is not possible, contact your IBM support center for advice.
____________________________________________________________
BIP1712W: Broker not found

An attempt was made to view or modify the Broker with UUID '64a5037d-1001-0000-0080-9d448a633d49', but it does not exist in the Configuration Manager's repository.

If you are trying to manipulate an object immediately after submitting a request to create it, it is likely that there was a problem creating the object. An example of this is if you attempt to create a default execution group without first ensuring that the parent broker was created successfully; this error suggests that there was a problem creating the broker.
Check the Configuration Manager's logs to see why the Broker could not be found. If the object has previously been available, the receipt of this error may indicate corruption in the Configuration Manager's repository; if this is the case, you may need to use mqsirestoreconfigmgr to restore the Configuration Manager's repository, or if this is not possible, contact your IBM support center for advice.
____________________________________________________________
BIP1510E: Deployment failed; a deployment is already in progress to broker DBRK1

The Configuration Manager was asked to deploy to broker DBRK1, but this could not be attempted because it has not yet received a response to a previous deployment request submitted to that broker. To ensure that the deployed configuration is consistent with the reported configuration, the more recent deployment request has been discarded.
Note that if you are attempting to deploy the publish/subscribe topology or topic hierarchy, no brokers in the domain will have received the new deployment message. There can be no outstanding deploys in the domain before deployment of such a configuration can occur.

Wait for the outstanding deploy to complete before retrying the operation. The Event Log Editor or Configuration Manager Proxy may be used to check that all responses to the outstanding deploy have been received and processed. If the outstanding deploy does not fully complete in a suitable period of time, check that all brokers exist and are running, all WebSphere MQ queue managers are running, and that all channels between queue managers are started. Also check that deploy messages have been correctly delivered to the target brokers, and have not been put to the dead letter queue. Correct any problems you find. If it still does not complete, then cancel the deploy operation; either (a) right-click the broker in the Message Brokers Toolkit and select the 'Cancel Deployment' option, or (b) use mqsideploy with the -c option, or (c) use the BrokerProxy.cancelDeployment() method in a Configuration Manager Proxy application. Note that cancelling the deployment operation does not stop the deployment message from being processed by the broker; it simply forces the Configuration Manager to remove any outstanding deployment locks that may be associated with the broker. If a broker subsequently processes a deployment message that has been cancelled using this technique, the deployed configuration may become inconsistent with the reported configuration."

So it seems that there is a previous broker registered somewhere in my configmgr.

Well, in such situation I've decided to remove CfgMgr and its queue manager as well.

Then I've recreated the queue manager and then created configmgr on that QM. And ... it still can see the previous broker and does not allow to register a new one (with the same message as above).

Can anyone help me? Where that cfgmgr stored the information about the previous broker?

Pawel J
_________________
Pawel Janowski
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Thu Feb 01, 2007 3:39 am    Post subject: Re: WMB V6 problem Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi pawel_janowski,
pawel_janowski wrote:
I've tried to remove it, but it was not successful
What was ur procedure for deletion ?

Use the Configuration Manager API Exerciser to remove remains of the old Broker.

Regards.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Feb 01, 2007 4:16 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Don't use the ConfigMgr Proxy API unless you know what you're doing.

If you did not issue the -n parameter to mqsideleteconfigmgr, then you did not actually delete the configmgr the way you wanted to. You merely removed the service, and the queue manager but left the internal configuration repository behind. When you re-issued mqsicreateconfigmgr, it picked up the old repository and recreated the old configmgr.

So, go ahead and re-delete the configmgr using mqsideleteconfigmgr and specify -n. You don't need to delete the queue manager.

Then, re-issue mqsideletebroker and make sure you specify the necessary options to delete the Broker's database information (don't delete the database itself, or the queue manager. Not necessary).

Then you can recreate both components and they will be shiny and new.

Then, the next time you need to do this - read the Info Center on the proper procedure for deleting a broker component before doing anything.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
pawel_janowski
PostPosted: Thu Feb 01, 2007 4:52 am    Post subject: Reply with quote

Apprentice

Joined: 13 Dec 2006
Posts: 38

Thanks

You are right - next time I'll start from reading docs

PJ
_________________
Pawel Janowski
Back to top
View user's profile Send private message
pawel_janowski
PostPosted: Thu Feb 01, 2007 5:12 am    Post subject: Reply with quote

Apprentice

Joined: 13 Dec 2006
Posts: 38

Sorry once again - everything seemd to be OK, but I've registered a new broker in domain (at least I thought so) and created new execution group, but when I tried to deploy a sample bar to it I've received the message, that there is outstanding deployment on my broker.

I've checked my broker and got:

bash-2.05b$ mqsilist DBRK1
BIP8029E: The broker's configuration is not yet deployed.
This command results in an internal configuration message to the broker, this message may only be sent after at least one deployment to the broker from the Message Brokers Toolkit.
Reissue the command after the broker's configuration has been deployed.

Any idea?
_________________
Pawel Janowski
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 01, 2007 5:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Deploy the Topology.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
pawel_janowski
PostPosted: Thu Feb 01, 2007 8:59 am    Post subject: Reply with quote

Apprentice

Joined: 13 Dec 2006
Posts: 38

Hi!
I'm far far away at the moment but I've stucked on sth like this:
Feb 1 17:57:28 prs8 WebSphere Broker v6003[1134686]: (DBRK1)[1]BIP2001I: The WebSphere Message Brokers service has started at version 6003; process ID 1167588. : DBRK1.service: /build/S600_P/src/AdminAgent/ControlProcess/rios_aix_4/ImbControlService.cpp: 338: ImbControlService::StartNewAA: :
Feb 1 17:57:28 prs8 WebSphere Broker v6003[1167588]: (DBRK1)[1]BIP2048E: An Exception was caught while issuing database SQL command connect. : DBRK1.agent: /build/S600_P/src/AdminAgent/ImbAdminStore.cpp: 305: ImbAdminStore::Connect: :
Feb 1 17:57:28 prs8 WebSphere Broker v6003[1167588]: (DBRK1)[1]BIP2321E: Database error: ODBC return code '-1'. : DBRK1.agent: /build/S600_P/src/DataFlowEngine/ImbOdbc.cpp: 227: ImbOdbcHandle::checkRcInner: :
Feb 1 17:57:28 prs8 WebSphere Broker v6003[1167588]: (DBRK1)[1]BIP2322E: Database error: SQL State '82'; Native Error Code '0'; Error Text '523 80'. : DBRK1.agent: /build/S600_P/src/DataFlowEngine/ImbOdbc.cpp: 355: ImbOdbcHandle::checkRcInner: :
Feb 1 17:57:28 prs8 WebSphere Broker v6003[1167588]: (DBRK1)[1]BIP2053E: The broker made an unsuccessful attempt to access its database DBRK1DB with userid db2inst1. : DBRK1.agent: /build/S600_P/src/AdminAgent/ImbAdminAgent.cpp: 569: ImbAdminAgent::instanceOfAdminAgent: :

Any suggestions? Thanks.
_________________
Pawel Janowski
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 01, 2007 9:04 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Start from scratch.

Review the documentation before performing each step.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
pawel_janowski
PostPosted: Fri Feb 02, 2007 1:52 am    Post subject: FYI Reply with quote

Apprentice

Joined: 13 Dec 2006
Posts: 38

I've managed to fix everything. And here you are my notes (I think it can be helpful).
Environment: AIX 5.3, VMQ V6, WMB V6, DB2 V8.2
Problem - setup WMB to work w 32-bit and 64-bit flows
Prerequisits: 64-bit DB2 instance (db2iuptd can be helpful)
Before creating any broker I've got to setup environment for its owner (creator) correctly:
Here is the content (part of it) of .profile:
-------------------------------------------------------------------------------------
. /opt/IBM/mqsi/6.0/bin/mqsiprofile

if [ -f <DB2 instance home>/sqllib/db2profile ]; then
. <DB2 instance home>/sqllib/db2profile
fi

export ODBCINI=/var/mqsi/odbc/.odbc.ini
export ODBCINI64=/var/mqsi/odbc/odbc64.ini

export LIBPATH=<DB2 instance home>/sqllib/lib32:$LIBPATH

export MQSI_LIBPATH64=$MQSI_LIBPATH64:<DB2 instance home>/sqllib/lib64

export LDR_CNTRL=USERREGS
-----------------------------------------------------------------------------------

Warning - in such environment the user won't be able to use db2 command line interface!!

You've got to set up TWO odbc configuration files (one for 32-bit execution groups and one for 64-bit ones)

In .odbc.ini (sample)
------------------------------------------------------------------------------------
[ODBC Data Sources]
DBRK1DB=IBM DB2 ODBC Driver

[DBRK1DB]
Driver=<DB2 istance home>/sqllib/lib/libdb2.a
Description=DBRK1DB DB2 ODBC Database
Database=DBRK1DB
------------------------------------------------------------------------------------

In odbc64.ini (sample):
------------------------------------------------------------------------------------
[ODBC Data Sources]
DBRK1DB=IBM DB2 ODBC Driver

[DBRK1DB]
Driver=libdb2Wrapper64.so
Description=DBRK1DB DB2 ODBC Database
Database=DBRK1DB
------------------------------------------------------------------------------------

Now, you can create yor brokers.

It will be helpful to make a change in Toolkit if you want to prepare 64-bit execution groups - in Window->Preferences find Broker Administration and there Execution Group Platform Architecture with two radio buttons 32-bit and 64-bit.

Now it should work - search your syslog for problems - I had some )

Thanks for help.
_________________
Pawel Janowski
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB V6 problem
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.