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 » IBM MQ Installation/Configuration Support » How to define an Event Queue

Post new topic  Reply to topic
 How to define an Event Queue « View previous topic :: View next topic » 
Author Message
sebastia
PostPosted: Sun Jun 01, 2008 12:43 am    Post subject: How to define an Event Queue Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Hi !
There is small point I am missing - can somebody help ?

I want to use "Instrumentation Monitoring",
this is, to send Event messages to a central site,
as shown in the beautiful figure
in page 12 of MQ V6 Monitorig, SC34-6593-00.

I read I have to enable those events, so I have prepared
"ALTER QMGR PERFMEV (ENABLED)"

Now I read
"When an event occurs, the queue manager puts an event message on the appropriate event queue, if defined."

HOW DO I DEFINE THAT QUEUE ?

Does the queue manager ALWAYS use the queue
"SYSTEM.ADMIN.PERFM.EVENT"
for my events ?

I mean - I want to define one queue of that type
and assign it for my events.

In this way, if it is a remote queue,
my events shall flow to my central site.

I can create a MY_PERFM queue,
using "SYSTEM.ADMIN.PERFM.EVENT" as a model, no problem.

Now, the step I am missing :
how do I tell the queue manager
to use "MY_PERFM" queue
for the performance events I have just Enabled ?

Sebastian.

=============================================
Back to top
View user's profile Send private message Visit poster's website
sebastia
PostPosted: Sun Jun 01, 2008 12:48 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Page 15 of "Monitoring", v6, says :
=====================================
Performance events
These events report that a resource has reached a threshold condition.
For example, a queue depth limit might have been reached.
The event messages for performance events
are put on the SYSTEM.ADMIN.PERFM.EVENT queue.
=====================================

So, shall I erase that queue
and replace the actual SYSTEM.ADMIN.PERFM.EVENT queue
by a REMOTE queue definition, pointing to my central site ???

I dont like that ...
Back to top
View user's profile Send private message Visit poster's website
sebastia
PostPosted: Sun Jun 01, 2008 1:11 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Yes - it works this way : when a queue becomes full,
a message is written into SYSTEM.ADMIN.PERFM.EVENT queue.

So, what shall I do in order to have that message moved
to a remote and central site ?

a) write an application to read?
b) include a "mirroring" API Exit to a Remote Queue ?
c) replace this system object with another, with the same name,
but now being a Remote Queue ?

But page 20 of "MQ v6 Monitoring" says :

Event queues
You can define event queues either as local queues, alias queues,
or as local definitions of remote queues.
If you define all your event queues as local definitions
of the same remote queue on one queue manager,
you can centralize your monitoring activities.

You must not define event queues as transmission queues,
because event messages have formats
that are incompatible with the format of messages
equired for transmission queues.

HOW DO A DEFINE A REMOTE "SYSTEM.ADMIN.PERFM.EVENT" queue ?

Sebastian.
Back to top
View user's profile Send private message Visit poster's website
PeterPotkay
PostPosted: Sun Jun 01, 2008 6:10 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

sebastia wrote:

c) replace this system object with another, with the same name,
but now being a Remote Queue ?

Yes. Delete the local queue and define a remote q by the same name, pointing at your central site where your monitoring app collects these events from all your QMs and processes them.

I prefer monitoring software that can watch the events local to each QM, but your design does work too.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
sebastia
PostPosted: Sun Jun 01, 2008 6:34 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Thanks, Peter, I shall do it - I think one site dedicated to ALL the Net
is also quite cute !

But this design means I have to take to the remote PC
ALL the events of the queue manager ...

OK - I dont like it, but I can live with it.

Don't know why, but I was thinking the MQ would act the other way :

a) you have a "sample" system object
b) you create you own object
c) you tell the queue manager to use it for those events,
and now maybe you can say "use it for the events of THIS queue" !

Why not ? Shall be easy to implement ...

Cheers. Sebastian.
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Sun Jun 01, 2008 8:22 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Sebastian,

Please remember that in your central monitoring of events you are dependent on the channels and communications(tcp/ip) working right. If you have network problems the processing of the event may happen a significant time after the occurrence of the event.

But then that is true of most monitoring software. TCP/IP problems will always throw a wrench into the best laid plans...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sebastia
PostPosted: Sun Jun 01, 2008 9:05 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Thanks, mr Saper - I understand where you point me to.
If you do a "local" event monitor,
you do not depend on communications and there is no delay.

But nowadays you know it is easy to have lots of QM's,
and lots of MB's on top of them.

So, without IP we are dead anyway !

Sebastian.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » How to define an Event Queue
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.