You are on page 1of 8

1) What are MQ Tuning Parameters?

2) How to enable auto-definition of channel definitions


3) How to remove a QM from a cluster
4) What exactly happens when you issue SUSPEND QM
5) What exactly happens when you add a QM to cluster
6) How do you identify MQ active logs
7) What do you do when channel goes to RETRY
8) Why does a channel go to RETRY state
9) How do you configure SSL for MQ
10) Location of log directories
11) How to take MQ backup
12) How is recovery different in circular logging and linear logging
13) How to identify, how many logs are required for QM archiving
14) What is MQ Syncpoint
15) What is MQ checkpoint
16) What is Kernel tuning for MQ installation
17) How to check if you need to commit or rollback a transaction from
sequence nos available in channel status
18) How many types of logs are available in MQ
19) How to find the transactions within the UoW
20 ) How many minimum sender-rcvr chnls r reqd for 4 QMs in cluster
21 ) How to define QM Alias
22) What are Remote events (Not Auth EV, Q Full, Q Srvc Int Ev, Bridge
Started Ev,
Unknown xmit Q Ev)
Outstanding UoW (Show EOW, DSPMQTRN, RSVMQTRN, DSPMQTRC,
RCDMQINQ)
checkpoint information (AMQHLCTL.lfh, AMQCHLCL.tab, AMQALCHK.fil,
AMQERR01.log, AMQERROR02.log)
2) ANS
1) What are MQ Tuning Parameters?
Ans)
Windows
Windows does not use the QM.INI but holds the information in the registry.
TuningParameters can be added by using
amqmdain r TOGHILL -c add s TuningParameters v
DefaultQBufferSize=128000.
The Queue manager may need to be started with STRMQM rather than
with the Graphical panels.
When an Empty Queue is Opened, only part of the Buffers are allocated,
the rest being obtained as additional messages reside on the Queue so
any storage analysis needs to be undertaken while the system is
messaging.
Here is an example QM.INI file showing the tuning parameters. You should

add these tuning


stanza lines after the queue manager has been created.
#*******************************************************************#
#* Module Name: qm.ini *#
#* Type : WebSphere MQ queue manager configuration file *#
# Function : Define the configuration of a single queue manager *#
#* *#
#*******************************************************************#
#* Notes : *#
#* 1) This file defines the configuration of the queue manager *#
#* *#
#*******************************************************************#
ExitPath:
ExitsDefaultPath=/var/mqm/exits/
#*
#* *#
Log:
LogPrimaryFiles=3
LogSecondaryFiles=2
LogFilePages=1024
LogType=CIRCULAR
LogBufferPages=0
LogPath=/var/mqm/log/tstqm/
LogWriteIntegrity=TripleWrite
Service:
Name=AuthorizationService
EntryPoints=10
ServiceComponent:
Service=AuthorizationService
Name=MQSeries.UNIX.auth.service
Module=/opt/mqm/lib/amqzfu
ComponentDataSize=0
TuningParameters:
DefaultQBufferSize=128000

2) How to enable auto-definition of channel definitions

You cannot see automatically-defined channels using the DISPLAY


CHANNEL command. To see the auto-defined channels use the command
DISPLAY CLUSQMGR(qmname). You can also use the command DISPLAY
CHSTATUS(channelname) to display the status of the auto-defined

CLUSSDR channel corresponding to the CLUSRCVR channel definition you


created. For more information about these c
2) 3) How to remove a QM from a cluster
To delete a simple queue:
Use the dltmqm command to delete a specified queue manager and all
objects associated with it. Before you can delete a queue manager you
must end it using the endmqm command.
To delete a QM cluster:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?
topic=/com.ibm.mq.csqzah.doc/qc12140_.htm
1. Modify the full repository queue manager REPOS and REPOSNL
attributes
o set the REPOS and REPOSNL attributes to blank.
2. Check that the REPOS and REPOSNL changes have been propagated
o DIS CLUSQMGR(TORONTO) QMTYPE
3. Suspend queue manager TORONTO
SUSPEND QMGR CLUSTER(INVENTORY)
4. Check that queue manager TORONTO has been suspended
o DIS CLUSQMGR(TORONTO) SUSPEND
5. Remove the CLUSRCVR channel definition
o ALTER CHANNEL(TO.TORONTO) CHLTYPE(CLUSRCVR) CLUSTER(' ')
6. Stop the CLUSRCVR channel at TORONTO
o STOP CHANNEL(TO.TORONTO)
o Later, to tidy up, you will probably want to delete the channel:
o DELETE CHANNEL(TO.TORONTO)
o
7. Delete the CLUSSDR channel definition
o STOP CHANNEL(TO.NEWYORK)
o and then delete it:
o DELETE CHANNEL(TO.NEWYORK)
o
8. Issue the REFRESH CLUSTER command
REFRESH CLUSTER(INVENTORY) REPOS(YES)
REFRESH CLUSTER(INVENTORY)
3) What exactly happens when you issue SUSPEND QM
When you issue this command, other queue managers are advised that
they should refrain from sending messages to TORONTO.
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?
topic=/com.ibm.mq.csqzah.doc/qc12140_.htm
5) What exactly happens when you add a QM to cluster
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?
topic=/com.ibm.mq.csqzah.doc/qc12140_.htm
1. Determine which full repository PARIS should refer to first
2. Define a CLUSRCVR channel on queue manager PARIS

3. Define a CLUSSDR channel on queue manager PARIS


4. Issue the REFRESH CLUSTER command
6) How do you identify MQ active logs
http://documents.bmc.com/products/documents/62/63/26263/26263/index
.htm

QUESTIONS
1) Assume u are architecting a project. You are working for a mobile app
company. In the project you have to process all the sms sent to a particular
number and count the number of sms sent per day and generate report at
6Pm. How would u architect this solution?
2) what would the ER diagram and the data flow diagram consists for the
above scenario? Give the entities and relationship if any for your soln.
3) For the above scenario do u think you should use Webspehere integration
developer?
4) If you intend to use process server for the above scenario then would u use
mediation module or create bpel process?
6) Lets go back few decades and assume that there is no JDBC or ODBC
driver. There is this new database and you have to extract the data from
database and display it in an HTML page. How would you do it?
7) Can xslt alone or with other technolgy, be used to store and retrieve data
from a database?
8) What is the performance of a MQ database node over a MQ database
insert node?

9) As an architect When yould you go for a jms based approach to connect


two systems and when would you go for a pure MQ based approach?
10) What is syncpoints, save points ?
11) what is AIA in oracle technology?
12) As an architect give a scenario where you have used http tunneling?
13) what is the difference between ER diagram conceptual, logical and

phisical diagrams?

14) What is quality of service and how do u achieve it in projects using MQ,
MB and process server ?
15) what is transaction propagarion, give a small scenario?
16) Give a use case where u have used a Callback Proxy?
LINKS
Sharing few important links ...
http://www.ibm.com/developerworks/websphere/library/techarticles/0402_kalia1/040
2_kalia1.html
ftp://ftp.software.ibm.com/software/dw/wes/0402_kalia1/0402_kalia1.pdf
ftp://ftp.software.ibm.com/software/dw/wes/pdf/0504_belyavsky.pdf
http://www.ibm.com/developerworks/websphere/library/techarticles/0506_kalia3b/05
06_kalia3b.html
http://www.ibm.com/developerworks/websphere/library/techarticles/0702_spriet/070
2_spriet.html
http://www-01.ibm.com/support/docview.wss?uid=swg27006694
http://www-01.ibm.com/support/docview.wss?uid=swg27006694&aid=1
http://www.ibm.com/developerworks/websphere/library/techarticles/0608_piper/060
8_piper.html
ftp://ftp.software.ibm.com/software/dw/wes/pdf/0506_kalia3b.pdf
ftp://ftp.software.ibm.com/software/dw/wes/pdf/0504_belyavsky.pdf
http://download.boulder.ibm.com/ibmdl/pub/software/dw/wes/pdf/0504_belyavsky.pd
f
http://www.ibm.com/developerworks/websphere/library/techarticles/0407_dunn/040
7_dunn.html
http://www.softlookup.com/display.asp?id=157266
http://www01.ibm.com/software/integration/wbimessagebroker/library/6.0/books.html

QUESTIONS
Here r few interview questions in MB. Lets see what is the response from different
people.
1) What is the difference between db node and compute node.
2) The WBI adapter for SAP and jdbc . What r the basic steps to work with these
nodes.

3) what is a JMS and HTTP node used for.


4) how do u handle faults in mb
5) how do u configure odbc and jdbc in mb nodes. specially compute, db and java
node.
6) how do u add external jars in u msg flow? where do u mention the jar
information?
7) What is transaction and how do u configure it in mb?
8) what is config manager proxy api?
9) Can u get a handle to a mq node using Congig manager API's?
10) Can u specify classpath in MB?
11) How do u configure mb to work with jtext and jdbc /wbi adapters?
12) what are the parts of the message in its logical structure?
13) what is the difference between the environment and the local environment tree/
14) how do u specify data source in db node?
15) How do u monitor a message flow?
16) what is the command to check the deployed msg flows and to see if they r
running or not?
ANS:
1) What is the difference between db node and compute node.
You cant change protocol headers in it... cant access 2/more DSNs
2) The WBI adapter for SAP and jdbc . What r the basic steps to work with
these nodes.
-----3) what is a JMS and HTTP node used for.
for sending and receiving messages through JMS and HTTP protocol.. heheh

4) how do u handle faults in mb


by catching the exceptions thrown through catch terminal....
5) how do u configure odbc and jdbc in mb nodes. specially compute, db and
java node.
by creating DSN at system level...
6) how do u add external jars in u msg flow? where do u mention the jar
information?
put the jars in shared classes folder and refer to them in build reference (else
u ll have warnings)

7) What is transaction and how do u configure it in mb?


Input / Output etc nodes have transaction option...
8) what is config manager proxy api?
api to access config Mgr repository
9) Can u get a handle to a mq node using Congig manager API's?
i guess YES..
10) Can u specify classpath in MB?
why not... waise not clear with the question
11) How do u configure mb to work with jtext and jdbc /wbi adapters?
-----12) what are the parts of the message in its logical structure?
dint get this one....
13) what is the difference between the environment and the local
environment tree/
env tree exists through out the flows.... local env does not... though u can
make it to exist
14) how do u specify data source in db node?
in properties...
15) How do u monitor a message flow?
depends on what u wanna monitor.... i/p o/p processing time...
16) what is the command to check the deployed msg flows and to see if they
r running or not?
no such command exists... can chk thru CMP API...
12) what are the parts of the message in its logical structure?
Environment,Message,LocalEnvironment,Exception , each of these would again
have there subsequent children
15) How do u monitor a message flow?
mqsichangetrace , mqsireadlog , mqsiformatlog
16) what is the command to check the deployed msg flows and to see if they r
running or not?
mqsilist <brokername> -e <execgroup name> --> displays the deployed

msgflows , to confirm if they are running or not if on Unix ps, check task
manager for windows, else if your flow starts with a MQInput Node it should have
a Dataflow engine.exe running against the Queue.
9) Can u get a handle to a mq node using Congig manager API's?

I think it is NO.

You might also like