IBM MQ Server

    Installation

    Tutorials

     

    Create the user and group
    #> groupadd mqm
    #> useradd -g mqm -c "IBM MQ" -d /var/mqm mqm
    
    Few Settings

    /etc/sysctl.conf

    # For MQ Server
    kernel.shmmni = 4096
    kernel.shmall = 2097152
    kernel.shmmax = 268435456
    kernel.sem = 500 256000 250 1024
    fs.file-max = 524288
    net.ipv4.tcp_keepalive_time = 300
    kernel.threads-max = 32768
    

    Apply the change

    #> sysctl -p
    

    /etc/security/limits.conf

    # for MQ
    mqm     hard    nofile  10240
    mqm     soft    nofile  10240
    
    Install the dependencies
    #> yum install pax rpm-build xz-lzma-compat
    Install the MQ
    #> tar xf WS_MQ_V8.0_IFR1_LINUX_ON_X86_64_I.tar
    #> cd server/
    #> ./mqlicense.sh -text_only
    ...
    ...
    Press Enter to continue viewing the license agreement, or
    enter "1" to accept the agreement, "2" to decline it, "3"
    to print it, "4" to read non-IBM terms, or "99" to go back
    to the previous screen.
    
    Type 1
    
    #> rpm -ivh MQSeriesRuntime-*.rpm MQSeriesServer-*.rpm
    
    Install Fixpack

    Stopping MQ queue managers (if this isn't first installation and the MQ queue manager was activated)

    // switch the user to mqm
    #> su - mqm
    
    // list the status of listeners associated with a queue manager.
    $> echo "DISPLAY LSSTATUS(*) STATUS" | runmqsc <QmgrName>
    
    // stop MQ queue manager
    $> endmqm -i <QMgrName>
    
    // stop any listeners associated with the queue manager
    $> endmqlsr -m <QMgrName>
    

    Install the fixpack

    #> cd <path-to-source>
    #> mkdir FP0011
    #> cd FP0011
    #> tar xzf ../8.0.0-WS-MQ-LinuxX64-FP0011.tar.gz
    #> rpm -ivh MQSeriesRuntime-U*.rpm MQSeriesServer-U*.rpm
    
    Verify the installation
    #> su - mqm
    $> /opt/mqm/bin/dspmqver
    Name:        WebSphere MQ
    Version:     8.0.0.2
    Level:       p800-002-150427.1
    BuildType:   IKAP - (Production)
    Platform:    WebSphere MQ for Linux (x86-64 platform)
    Mode:        64-bit
    O/S:         Linux 2.6.32-696.el6.x86_64
    InstName:    Installation1
    InstDesc:
    Primary:     No
    InstPath:    /opt/mqm
    DataPath:    /var/mqm
    MaxCmdLevel: 801
    LicenseType: Production
    

    Applied the fixpack

    $ /opt/mqm/bin/dspmqver
    Name:        WebSphere MQ
    Version:     8.0.0.11
    Level:       p800-011-181212.1
    BuildType:   IKAP - (Production)
    Platform:    WebSphere MQ for Linux (x86-64 platform)
    Mode:        64-bit
    O/S:         Linux 2.6.32-696.el6.x86_64
    InstName:    Installation1
    InstDesc:
    Primary:     No
    InstPath:    /opt/mqm
    DataPath:    /var/mqm
    MaxCmdLevel: 802
    LicenseType: Production
    
    標籤 (Edit tags)
    • No tags
    您必須 登入 才能發佈評論。
    Powered by MindTouch Core