A Preliminary Study on MQ

Source: Internet
Author: User
Tags mqseries

MQSeries naming rules:

1. Allowed characters: A-Z, A-Z, 0-9,./_ %
2. Up to 48 characters
3. The name does not have a fixed format.
4. Name case sensitive

Queue Manager:

1. Each system is generally composed of a queue manager.
2. You can create multiple queue managers.
3. Recommended naming: (1) Short (2) must be unique in the Network

LOG method:

1. Cyclic logs:
Log Files viewed as a closed loop
Amount of disk space required for the log does not increase with time
2. Linear log:
Log Files viewed as a sequence
Log File never deleted
Becomes inactive when it contains no entries required to restart the queue manager
Can be archived when it becomes inactive
Needed for media recovery

MQSeries configuration file:

1. The configuration file mqs. INI is created when MQSeries is installed.
2. default location of mqs. ini:
Mqs_rootmqm] (MQSeries for digital OpenVMS)
MQM directory of boot drive (MQSeries for OS/2 Warp)
$ System. zmqssys. mqsini (MQSeries for Tandem nonstop kernel)
/Var/MQM (MQSeries on UNIX systems)
System registry (Windows NT)
3. File Content:
Path associated with the queue manager to be created
Default log parameter (not on MQSeries for Tandem nonstop kernel)
Section owned by each queue manager
Default Queue Manager

Queue manger configuration file:

1. Create this file when creating the queue manager
2. default location of QM. ini
Under the queue manager directory
For nt, the file content is placed in the system registry
3. File Content:
Queue Manager Log configuration (not on MQSeries for Tandem nonstop kernel)
Details of installable services
Data related to channel operations
Communication Protocol parameter settings
XA Resource Manager Information (version 5 queue managers only)

Common commands:

Create a queue manager crtmqm
Delete the queue manager dltmqm
Start the queue manager strmqm
Run the MQSeries command runmqsc
Running Channel
Run the listener runmqlsr
End the listener endmqlsr
End Queue Manager endmqaut
Setmqaut
Setmqaut
Dead-letter queue processor amqsdscsi
Use mqput to place information amqsput
Browse complete message amqsbcg

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.