- Channel names are restricted to 22 chars length !
- Display listeners : use netstat -an | find "14".
- You are advised to give the transmission queue the same name as the target queue manager so that the queue is found by default.
When you define a Remote Queue, you can provide the name of a transmission queue. You do not have to specify this. If you do not, a transmission queue with the same name as the target queue manager is used, or, if this does not exist, the default transmission queue is used. - The XMITQ name must match the remote queue manager name in order for remote administration to work, unless you are using a queue manager alias.
- You are advised to create a DLQ for any queue manager you define.
- You are advised to know the name of the default queue manager and verify it exists.
- To dump a queue to a file Use QLOAD (MO03) - it preserves Message ID.
- MQVER - display MQ version and CSD level.
- DSPMQ - display all queue manages names and status.
- CRTMQM / STRMQM / ENDMQM / DLTMQM - create / start / stop / delete a queue manager.
- AMQSPUT - *** 1 msg per line ***.
- AMQSGET
- AMQSGBR - browse all messages in queue - Data only.
- AMQSBCG - browse all messages in queue - Data and Headers.
- To connect the client to a (remote) Qmgr :
qmn := 'CHANNEL.SVRCONN/TCP/17.16.16.19(1414)' ; - Input params : qMgr, qName, numConnect, delayConnect, numMsgs, delayMsgs, sizeMsg, fileMsg, verbose.
- RUNMQLSR / ENDMQLSR - manage Listener.
- STRMQCSV / ENDMQCSV / DSPMQCSV - manage Command Server.
1.Instead of defining a Receiver channel, define a Requester channel, so it can be initiated from the receiver end.
You have to specify the remote's site Listener port (and IP), as SYSTEM. REQUESTER channel will be used.
2.To allow Remote Administration, a Queue Manager must define a Server Connection Channel, ( SYSTEM.ADMIN/DEF.SVRCONN may be used ) have the Commans Server running, as well as the Listener.
DEFINE CHANNEL(MY.ADMIN) CHLTYPE(SVRCONN) DESCR('Admin connection
') MCAUSER('mqm') dspmqcsv = display Command Server status str
mqcsv = start Command Server ps -ef | grep runmqlsr runmqlsr -
m -t TCP -p alter channel(SYSTEM.DEF.SVRCONN) CHLTYPE(SVRCONN
) mcauser('mqm')
') MCAUSER('mqm') dspmqcsv
3.Como activar la Configuration / Administration Remota de un QMgr ? Hace falta :
QMgr function : dspqm/strmqm SUNQM1
MQ
Listener running : runmqlsr -m SUNQM1 -t TCP -p 1415
Command Server running : strmqcsv/dspmqcsv SUNQM1
canales (at FMCQM) FMCQM.SUNQM1 (sender) y SUNQM1.FMCQM (receiver)
MQ remote :Show Queue Manager
Remote (not Local)
Name ( nom REAL del Qmgr )
Conexion ( @ IP Listener Port !!! )
Command name | Purpose |
---|---|
amqccert | Check certificate chains |
amqmdain | Configure or control WebSphere MQ services (Windows® systems only) |
amqoamd | Output setmqaut commands |
amqtcert | Transfer certificates |
crtmqcvx | Convert data |
crtmqm | Create a local queue manager |
dltmqm | Delete a queue manager |
dmpmqaut | Dump authorizations to an object |
dmpmqlog | Dump a log [url] |
dspmq | Display queue managers |
dspmqaut | Display authorizations to an object |
dspmqcsv | Display the status of a command server |
dspmqfls | Display file names |
dspmqras | |
dspmqrte | Display route application |
dspmqtrc | Display formatted trace output (UNIX® systems only) |
dspmqtrn | Display details of transactions [pareja de rsvmqtrn] |
dspmqver | Display version number |
endmqbrk | |
endmqcsv | Stop the command server on a queue manager |
endmqdnm | Stop .NET monitor |
endmqlsr | Stop the listener process on a queue manager |
endmqm | Stop a local queue manager |
endmqtrc | Stop tracing for an entity |
ffstsummary | |
mqftapp | Run the File Transfer Application |
mqftrcv | Receive file using the File Transfer Application (server) |
mqftrcvc | Receive file using the File Transfer Application (client) |
mqftsnd | Send file using the File Transfer Application (server) |
mqftsndc | Send file using the File Transfer Application (client) |
rcdmqimg | Write an image of an object to the log |
rcrmqobj | Recreate an object from their image in the log |
rsvmqtrn | Commit or back out a transaction [pareja de dspmqtrn] |
runmqbrk | |
runmqchi | Start a channel initiator process |
runmqchl | Start a sender or requester channel |
runmqckm | |
runmqdlq | Start the dead-letter queue handler |
runmqdnm | Run .NET monitor |
runmqlsr | Start a listener process |
runmqsc | Issue MQSC commands to a queue manager |
runmqtmc | Invoke a trigger monitor for a client (AIX® clients only) |
runmqtrm | Invoke a trigger monitor for a server |
setmqaut | Change authorizations to an object |
setmqcrl | Set certificate revocation list (CRL) LDAP server definitions (Windows® systems only) |
setmqprd | Enroll production license |
setmqscp | Set service connection points (Windows® systems only) Publish the client-connection channel definitions in Active Directory instead of using environment variables MQCHLLIB and MQCHLTAB |
strmqcsv | Start the command server for a queue manager |
strmqm | Start a local queue manager |
strmqtrc | Enable tracing |
0 comments:
Post a Comment