Several important information about WebSphere MQ

Source: Internet
Author: User
Tags define local

1. MQM: Message Queue Manager.  A container that loads and manages MQ objects such as messages, queues, channels, processes, topics, listeners, services, name lists, authentication information, and the Queue Manager is responsible for maintaining the queues it owns and storing all messages it receives to the appropriate queues. The Queue Manager is a basic, independent execution unit in WebSphere MQ. A single MQ server can run one or more queue managers. Any application that needs to access the services provided by WebSphere MQ must first be connected to the queue manager. MQM is also the MQ installation directory name: Shell command: MKDIR/OPT/MQM//Create installation directory MKDIR/VAR/MQM//Create working directory MQM is also the MQ user group name and must be MQM (user name can be customized, assuming: mqadmin )。 Shell command: Groupadd MQM//create Group useradd-d/var/mqm-g MQM mqadmin//create user passwd MQM//create user password
2. Cd/opt/qmq/bin
3. RUNMQSC XXXXMQSC is all called MQ script Command,mq script commands mqsc for managing Queue Manager objects, including the queue manager itself, channels, queues, listeners, and process definitions. For Linux, to execute MQSC, you need to start the Script command console; start with: Execute control command in Shell RUNMQSC
Create a local queue using MQSC (MQ script command) Shell command: RUNMQSC qm_apple//start MQSC define qlocal (Q1)//define local queue end//Exit console
4. DISPLAY QUEUE (QNAME) (one command in MQSC)
Show all properties of a queue display queue (QNAME) [All]
Displays the selected properties of the queue display queue (QNAME) DESCR GET PUT DISPLAY Queue (QNAME) MAXDEPTH curdepth

5.CLEAR qlocal (QNAME) (one command in MQSC)
Clears all messages in the queue clear qlocal (QNAME)
Currently use so much, other knowledge to look again!
(MQ common commands) http://wenku.baidu.com/link?url= Yjccvo2mp0qbbnhobsvqrlhwjqzj1bjxc7wohvhr7c-swbfobstbguiqvnbsy5fhjqohsey-es2ppktnmviiuwaqjkdor3nv_vmypuf73m_

Several important information about WebSphere MQ

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.