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 » Doubt

Post new topic  Reply to topic
 Doubt « View previous topic :: View next topic » 
Author Message
johnh
PostPosted: Wed Jun 08, 2005 5:38 am    Post subject: Doubt Reply with quote

Novice

Joined: 07 Jun 2005
Posts: 12

Hi,

I'm new to WMQI. I'm trying to send a message from a newly created queues (q1,q2) on newly created queue managers (qm1,qm2).

I'v used a simple message flow (MQInput,MQOutput,Compute nodes)

I created a broker brk1 while deploying. (in the GUI)

But when i try to start message flows, i get error that brk1 is not recognizable.

Can anybody help me regarding this ?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 08, 2005 5:45 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

In order to deploy a message flow, you have to have successfully run mqsicreatebroker first.

Then you have to use the GUI to register that broker in the ConfigMgr.

But in order to register the broker to the configmgr, you have to have successfully run mqsicreateconfigmgr first.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
johnh
PostPosted: Wed Jun 08, 2005 5:50 am    Post subject: Reply with quote

Novice

Joined: 07 Jun 2005
Posts: 12

Do i have to create a different config manager for each broker ?

I'v already areated and run a config mgr.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 08, 2005 5:52 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

johnh wrote:
Do i have to create a different config manager for each broker ?


No.

You only need one configmgr for each environment - based on what groups of people you want to allow to do what.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
johnh
PostPosted: Wed Jun 08, 2005 7:00 am    Post subject: Reply with quote

Novice

Joined: 07 Jun 2005
Posts: 12

Do i need to associate the new broker to the config manager (thats already been created) ?

or its already done.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 08, 2005 7:07 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

johnh wrote:
Do i need to associate the new broker to the config manager (thats already been created) ?

or its already done.


That's actually what the GUI "create broker" does. It doesn't run mqsicreatebroker - it registers what should be a preexisting broker with the configmgr.

Mind you, in 2.1, there is a "create broker" GUI wizard that does run mqsicreatebroker. But you still need to check out the topology and create a broker in the Control Center.

And in 5.x, there is no wizard (other than the default configuration tool), so you have to manually run mqsicreatebroker, and then create a broker in the Domain in the Toolkit.

And it's order dependant. So you might want to delete the broker you created in your tooling, run mqsicreatebroker and then recreate the broker in the tooling.

But I wouldn't think the tooling create would succeed if the broker hadn't been created first... Check the Event Log viewer.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
johnh
PostPosted: Wed Jun 08, 2005 7:38 am    Post subject: Reply with quote

Novice

Joined: 07 Jun 2005
Posts: 12

So, when i create a message flow (in wmqi /2.1) & then at the time of deployment, i do
create->broker

does is run mqsicreatebroker ??

If it does, then this wud be a deadlock isn't it ?
(as i had already created the broker with same name using mqsicreatebroker)
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 08, 2005 7:41 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

In 2.1, in the Control Center, no it does not run mqsicreatebroker.

You only need to run mqsicreatebroker once for each broker. You only need to create it in the Control Center once.

After that, it should show up in the Topology, and you can check it out and drag&drop flows and sets onto it and it's execution groups to perform the actual deployments.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
johnh
PostPosted: Wed Jun 08, 2005 7:58 am    Post subject: Reply with quote

Novice

Joined: 07 Jun 2005
Posts: 12

I'm getting the following error when i tried to start message flows :

BIP1526W: Operation not initiated.

The Configuration Manager attempted to process the request but no suitable resource was found.

Refresh the Operations view in the Control Center, using the refresh button, and check that the correct resources still exist

I'm trying to send message from q1, queuemgr testqm.

testqm : q1 -> testqm : q2

I have created a broker testbrk using mqsicreatebroker & also done it in the control center once.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 08, 2005 8:32 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What is the status of the broker in the Control Center operations view? Is it running?

Did you mqsistart <brokername>?

Is the broker using the same qmgr as the configmgr, or a different one? If a different one, are there working channels between the two qmgrs?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
johnh
PostPosted: Wed Jun 08, 2005 9:57 am    Post subject: Reply with quote

Novice

Joined: 07 Jun 2005
Posts: 12

my broker is running..But the Queue manager is different from configmgr quemgr. So thats the problem.

if i use the same queue manager for broker & config manager then i guess it will be easy for me.

SUPPOSE I HAVE ALL THE REQD. FLOWS & QUEUES HAVE BEEN CREATED.
IS IT ENOUGH IF I PUT THE FLOWS IN THE SINGLE EXECUTION GROUP ?
(& then do the deployment)
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 08, 2005 10:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You don't have to use the same qmgr.

You just have to create plain old regular MQ channel pairs between the two queue managers. There are instructions for this in the manuals for 2.1.

You should generally use one execution group for each processor on your broker system. But you don't need to. You can use only one. But if one message flow in that EG gets stuck in an infinite loop, then the entire EG is locked up.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
johnh
PostPosted: Wed Jun 08, 2005 10:33 am    Post subject: Reply with quote

Novice

Joined: 07 Jun 2005
Posts: 12

If i use the client & server in the same system(WIN NT)..i.e i have 3 message flows and am creating a new broker with same QM as configmgr.., then can i run all 3 in the same execution group ?
(all 3 flows are interrelated as they r in a single system)
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 08, 2005 10:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It doesn't matter where the broker is. The only thing that really matters to your flows is if they are deployed to different brokers or not - because they then read from different queue managers. Also, in 2.1, you have to deploy message sets to the broker, not the EG, so it matters to the flows that the sets they need are deployed to the same broker.

For a development environment, one execution group is fine. For a shared development environment, I tend to use one EG per developer. For test/prod, I will tend to use one EG per processor or logical group of applications.

One EG can hold as many flows as you want.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
johnh
PostPosted: Wed Jun 08, 2005 4:18 pm    Post subject: Reply with quote

Novice

Joined: 07 Jun 2005
Posts: 12

Thanks for help.
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 » Doubt
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.