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 » General Discussion » Administration Query: Found question in the Forum

Post new topic  Reply to topic
 Administration Query: Found question in the Forum « View previous topic :: View next topic » 
Author Message
kakkarjatin
PostPosted: Tue Oct 04, 2005 2:03 am    Post subject: Administration Query: Found question in the Forum Reply with quote

Novice

Joined: 25 Aug 2005
Posts: 15

Hi All,

I got this question from the forums and it was answered by few of my mates. I was having a small confusion and thats why i raised my concern.

I have full faith on you and request you to please help me in this regard.

The following shows three scripts for the RUNMQSC utility which define
various queues and channels, and which customise the queue manager.

The three queue managers are running on three machines.
These are:
1 - a Sales Office - queue manager SalesOfficeQM
2 - an Order Processing system - queue manager OrdersQM
3 - an Invoicing system - queue manager InvoiceQM

All three queue managers are interconnected.


The first queue manager runs the Sales Office.
This can send messages to both the Order
Processing system and the Invoicing system.

Sales Office - queue manager SalesOfficeQM
==========================================


ALTER QMGR DEFXMITQ('XmitOrdersQM') DEADQ('SalesOfficeQM.Dead.L.Queue')
DEFINE QLOCAL('SalesOfficeQM.Dead.L.Queue')

DEFINE QALIAS('PriorityOEntry') TARGQ('OnlineOEntry') DEFPRTY(5)
DEFINE QALIAS('BatchOEntry') TARGQ('OrderEntry') DEFPRTY(1)
DEFINE QALIAS('OnlineOEntry') TARGQ('OrderEntry') DEFPRTY(3)

DEFINE QREMOTE('OrderEntry') RNAME('OEntryQ') RQMNAME('OrdersQM') +
XMITQ('XmitOrdersQM')
DEFINE QREMOTE('InvoiceQry') RNAME('IInquiryQ') RQMNAME('InvoiceQM') +
XMITQ('XmitInvoiceQM')
DEFINE QREMOTE('InvoiceUpd') RNAME('IUpdateQ') RQMNAME('InvoiceQM') +
XMITQ('XmitInvoiceQM')
DEFINE QREMOTE('InvoiceQry.Fast') RNAME('IInquiryQ') RQMNAME('InvoiceQM') +
XMITQ('XmitInvoiceQM.Fast')
DEFINE QREMOTE('Invoicing') RNAME() RQMNAME('XmitInvoiceQM')

DEFINE QLOCAL('XmitOrdersQM') USAGE(XMITQ)
DEFINE QLOCAL('XmitInvoiceQM') USAGE(XMITQ)
DEFINE QLOCAL('XmitInvoiceQM.Fast') USAGE(XMITQ)

DEFINE CHANNEL(SOQM.2.ORDQM) CHLTYPE(SDR) XMITQ('XmitOrdersQM')
DEFINE CHANNEL(SOQM1.2.INVQM1) CHLTYPE(SDR) XMITQ('XmitInvoiceQM')
DEFINE CHANNEL(SOQM2.2.INVQM2) CHLTYPE(SDR) XMITQ('XmitInvoiceQM.Fast')



The second queue manager runs the Order Processing system.
This receives messages from the Sales Office and can
send messages to the Invoicing system.

Order Processing System - queue manager OrdersQM
================================================


ALTER QMGR DEFXMITQ('XmitInvoiceQM') DEADQ('OrdersQM.Dead.L.Queue')
DEFINE QLOCAL('OrdersQM.Dead.L.Queue')

DEFINE QLOCAL('OEntryQ')
DEFINE QLOCAL('OInquiryQ')

DEFINE QREMOTE('InvoiceInqQ') RNAME('InvoiceInqQ') +
RQMNAME('InvoiceQM') XMITQ('XmitInvoiceQM')
DEFINE QREMOTE('InvoiceInqQ.Fast') RNAME('IInquiryQ') +
RQMNAME('InvoiceQM') XMITQ('XmitInvoiceQM.Fast')

DEFINE QLOCAL('XmitInvoiceQM') USAGE(XMIT)

DEFINE CHANNEL(SOQM.2.ORDQM) CHLTYPE(RCVR)
DEFINE CHANNEL(ORDQM.2.INVQM) CHLTYPE(SDR) XMITQ('XmitInvoiceQM')


The third queue manager runs on the invoicing system.
This has links from both the Sales Office and the
Order Processing system


Invoicing System - queue manager InvoiceQM
==========================================


ALTER QMGR DEADQ('InvoiceQM.Dead.L.Queue')
DEFINE QLOCAL('InvoiceQM.Dead.L.Queue')

DEFINE QLOCAL('IInquiryQ')
DEFINE QLOCAL('IUpdateQ')

DEFINE CHANNEL(SOQM1.2.INVQM1) CHLTYPE(RCVR)
DEFINE CHANNEL(SOQM2.2.INVQM2) CHLTYPE(RCVR)
DEFINE CHANNEL(ORDQM.2.INVQM) CHLTYPE(RCVR)

An application running in the Sales Office does a PUT1 of a message, setting queue name to 'IInquiryQ' and queue manager name

to 'InvoiceQM'. What is the final destination of the message?

A. queue IInquiryQ on queue manager InvoiceQM

B. queue InvoiceQM.Dead.L.Queue on queue manager InvoiceQM

C. queue OrdersQM.Dead.L.Queue on queue manager OrdersQM

D. The put fails with MQRC_UNKNOWN_XMIT_Q



Back to top
View users profile Send private message
EddieA
grand master


Joined: 28 Jun 2001
Posts: 1746
Location: Los Angeles

PostPosted: Tue Sep 09, 2003 7:03 am Post subject: Reply with quote
I recognise those. They're from the Sample test.


1. C

__________________________________________________________
My Answers
___________________________________________________________

The question has the following definitions

For Queue Manager SalesOfficeQM

ALTER QMGR DEFXMITQ('XmitOrdersQM') DEADQ('SalesOfficeQM.Dead.L.Queue')

and for Queue Manager OrdersQM we have

ALTER QMGR DEFXMITQ('XmitInvoiceQM') DEADQ('OrdersQM.Dead.L.Queue')

As per my understanding the when the message is put from an application connected to SalesOfficeQM, with queue as IInquiryQ and queue manager as 'InvoiceQM' defined in the object descriptor, it looks for a xmitq queue since its not being directly destined for any remote queue. It does not find a xmitq matching the name iof remote queue manager, it chooses the default xmit queue as mentioned above i.e XmitOrdersQM.

The message is then being sent to OrdersQM . The OrdersQM checks that the message is destined for Invoice QM. The xmitq queue with the name InvoiceQM does not exist so the message is again put into the default xmitq i.e XmitInvoiceQM of the OrdersQM and finally the message is sent to InvoiceQM.

So the answer shud be option (A)

Please correct me if I am wrong.

Thanks in advance.
_________________
Regards,
Jatin Kakkar
IBM WMQ V5.3 System Administrator Certified
Brainbench Master Certification in WebSphere MQ
Sun Certified Java Programmer
Sun Certified Web Component Developer
IBM Certified AIX Specialist
Java Brainbench Certified
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
PGoodhart
PostPosted: Tue Oct 04, 2005 3:02 am    Post subject: Reply with quote

Master

Joined: 17 Jun 2004
Posts: 278
Location: Harrisburg PA

Don't double post. No one is going to answer a certification question. Check the documentation....
_________________
Patrick Goodhart
MQ Admin/Web Developer/Consultant
WebSphere Application Server Admin
Back to top
View user's profile Send private message
kakkarjatin
PostPosted: Tue Oct 04, 2005 3:22 am    Post subject: Reply with quote

Novice

Joined: 25 Aug 2005
Posts: 15

Hi,

Well, I don't understand a point, why did anyone answered the question at the first place?

The question was answered by Eddie and was posted by Kirani I believe.
_________________
Regards,
Jatin Kakkar
IBM WMQ V5.3 System Administrator Certified
Brainbench Master Certification in WebSphere MQ
Sun Certified Java Programmer
Sun Certified Web Component Developer
IBM Certified AIX Specialist
Java Brainbench Certified
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
sebastianhirt
PostPosted: Tue Oct 04, 2005 5:29 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

Well but if you read trough your post you will see that Eddie said he recognizes it as a question from the sample test. So do I.

As PGoodhart already explained. We will not answer Certification or sampletest questions. If you don't understand why, read the terms and conditions of the certification programm.
Back to top
View user's profile Send private message
bduncan
PostPosted: Tue Oct 04, 2005 9:34 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Jatin,
Now you're getting on my bad side
Not only are you asking for answers to the test, but you are posting the same question multiple times. Explain to me what you think to gain by posting it multiple times, in the same forum no less!
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
EddieA
PostPosted: Tue Oct 04, 2005 9:55 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
The question was answered by Eddie and was posted by Kirani I believe

True. But that was before it was pointed out that discussing the Certification questions was not allowed.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Tue Oct 04, 2005 10:26 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Quote:
The question was answered by Eddie


OK....so why do you doubt his answer? (which by the way is correct )
Back to top
View user's profile Send private message
kakkarjatin
PostPosted: Wed Oct 05, 2005 2:24 am    Post subject: Reply with quote

Novice

Joined: 25 Aug 2005
Posts: 15

My Answers
___________________________________________________________

The question has the following definitions

For Queue Manager SalesOfficeQM

ALTER QMGR DEFXMITQ('XmitOrdersQM') DEADQ('SalesOfficeQM.Dead.L.Queue')

and for Queue Manager OrdersQM we have

ALTER QMGR DEFXMITQ('XmitInvoiceQM') DEADQ('OrdersQM.Dead.L.Queue')

As per my understanding the when the message is put from an application connected to SalesOfficeQM, with queue as IInquiryQ and queue manager as 'InvoiceQM' defined in the object descriptor, it looks for a xmitq queue since its not being directly destined for any remote queue. It does not find a xmitq matching the name iof remote queue manager, it chooses the default xmit queue as mentioned above i.e XmitOrdersQM.

The message is then being sent to OrdersQM . The OrdersQM checks that the message is destined for Invoice QM. The xmitq queue with the name InvoiceQM does not exist so the message is again put into the default xmitq i.e XmitInvoiceQM of the OrdersQM and finally the message is sent to InvoiceQM.

So the answer shud be option (A)

Please correct me if I am wrong.

Thanks in advance.
_________________
Regards,
Jatin Kakkar
IBM WMQ V5.3 System Administrator Certified
Brainbench Master Certification in WebSphere MQ
Sun Certified Java Programmer
Sun Certified Web Component Developer
IBM Certified AIX Specialist
Java Brainbench Certified
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
fjb_saper
PostPosted: Wed Oct 05, 2005 1:25 pm    Post subject: Reply with quote

Grand High Poobah

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

Just an FYI on good practices...

I HATE default XMITQs. They can really mess up your network and cost you quite some time in trying to figure out where along the chain (multi hops) something went wrong...

A message that would normally land on the DLQ because the destination could not be resolved will now hop from qmgr to qmgr along the default xmitq untill there is none. Beware of vicious circles...

Enjoy
Back to top
View user's profile Send private message Send e-mail
kakkarjatin
PostPosted: Wed Oct 05, 2005 11:27 pm    Post subject: Reply with quote

Novice

Joined: 25 Aug 2005
Posts: 15

Hi,

Thanks a lot for answering to my query. Does this mean that the message will flow from source QM to destination QM using the default xmitq. There will not be any role of the remote queues defined and the alias QM definition
_________________
Regards,
Jatin Kakkar
IBM WMQ V5.3 System Administrator Certified
Brainbench Master Certification in WebSphere MQ
Sun Certified Java Programmer
Sun Certified Web Component Developer
IBM Certified AIX Specialist
Java Brainbench Certified
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Administration Query: Found question in the Forum
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.