Install WebSphere MQ v6.0 on AIX

Source: Internet
Author: User

Refer to the ibmwebsphere MQ for AIX quick begin document.
==========================================
1. Expand the OPT file system to make it more than 325 MB of space.
Smitty chjfs2
File System name/OPT
New mount point [/OPT]
Size of File System
Unit size 512 bytes +
Number of units [1048576] <====== changed to MB space #
Mount group []
Mount automatically at system restart? Yes +
Permissions read/write +
Mount options [] +
Start disk accounting? No +
Block Size (bytes) 4096
Inline log? No
Inline log size (Mbytes) [0] #

DF-G
Filesystem GB blocks free % used iused % iused mounted on
/Dev/hd10opt 0.50 0.47 6% 657 1%/OPT

2. Create an MQM group and an MQM user
Smitty mkgroup (mkgroup-'A' id = '000000' MQM)
* Group name [MQM] <===== create an MQM Group
Administrative Group? True +
Group ID [205] #
User List [] +
Administrator list [] +
Projects [] +

Smitty mkuser
* User name [MQM]
User ID [245] #
Administrative user? False +
Primary Group [MQM] +
Group set [MQM, Staff] +
Administrative groups [] +
Roles [] +
Another user can Su to user? True +
Su groups [all] +
Home Directory [/usr/MQM]
Initial program [/usr/bin/KSh]
User information []
Expiration date (mmddhhmmyy) [0]

Give the initial password of the MQM User:
A. log in with the root user
B. passwd MQM.

3. Increase the number of file handles, data segments, and stack segments of MQM users.
Use the root user to add
MQM:
No files = 10000
Data_hard =-1
Stack_hard =-1
Data =-1
Stack =-1

Log on with an MQM user and enter ulimit-
Time (seconds) Unlimited
File (blocks) 2097151
Data (Kbytes) unlimited <=== = Data Segment
Stack (Kbytes) unlimited <=== stack segment
Memory (Kbytes) Unlimited
Coredump (bloccks) 2097151
Nofiles (descriptors) 10000 <=== nofiles

4. Check whether/usr/MQM has sufficient space.
DF-G
Filesystem GB blocks free % used iused % iused mounted on
/Dev/hd2 3.12 1.64 48% 38252 10%/usr
(If there is no soft connection, mkdir/MQM; Ln-S/MQM/usr/MQM)

5. confirm that the/var/MQM workspace has sufficient space (the server is at least 50 MB, and the client is at least 15 MB)
DF-G
Filesystem GB blocks free % used iused % iused mounted on
/Dev/hd9var 0.25 0.14 46% 528 2%/var

6. Set Echo information
Access the MQM user
Add. Profile
Export lang = zh_cn)

7. Set the database environment (you can skip this step. If any problem occurs, you can skip this step)
Libpath
LD_LIBRARY_PATH
/Usr/MQM/lib (32)
/Usr/MQM/lib64 (64)
Dltmqlnk/crtmqlnk

8. Software Installation
Smitty install_all
* Input device/directory for software/APP/mq60
* Software to install [java14.ext all @> +
Preview only? (Install operation will not occur) No +
Commit software updates? Yes +
Save replaced files? No +
Automatically install requisite software? Yes +
Extend file systems if space needed? Yes +
Overwrite same or newer versions? No +
Verify install and check file sizes? No +
Detailed output? No +
Process multiple volumes? Yes +
Accept new license agreements? Yes <= select Yes +
It's okay to install all of them here.

9. Check that MQM is successfully installed.
A. Create a queue manager.
$ Crtmqm-Q Venus. queue. Manager
The WebSphere MQ queue manager has been created.
Create or replace the default objects of Venus. queue. Manager.
Default object statistics: 40 created objects. 0 have been replaced. 0 failed.
Setting is being completed.
The settings are complete.
B. Start the default queue manager.
$ Strmqm
The WebSphere MQ Queue Manager "Venus. queue. Manager" is being started.
In the log replay phase, five logs are accessed on the queue manager "Venus. queue. Manager.
Replay the log of the queue manager "Venus. queue. Manager.
The transaction manager status is restored for the queue manager "Venus. queue. Manager.
WebSphere MQ Queue Manager 'venus. queue. Manager' is started.
C. Start the management tool and create a local queue
$ Runmqsc
5724-h72 (c) Copyright IBM Corp. 1994,200 5. All rights reserved.
Start the mqsc of the queue manager Venus. queue. Manager.
Define qlocal (orange. Queue)
1: Define qlocal (orange. Queue)
Amq8006: the WebSphere MQ queue has been created.
End
2: End
Read an mqsc command.
All commands have no syntax errors.
All valid mqsc commands have been processed.
D. Check the sending and receiving functions of the queue.
Use MQM to log on
CD/usr/MQM/SAMP/bin
$./Amqsput orange. Queue
Sample amqsput0 start
Target queue is orange. Queue
123456 <== enter, CTRL + C to exit
$./Amqsget orange. Queue
Sample amqsget0 start
Message <123456> <== display the input just now

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.