MQ

MQ

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Creating MQ Queue Managers on NFS file system on Windows

    Posted Thu October 04, 2018 04:16 AM
    Hi

    We have an NFS share attached to Windows 2012 R2 server. We are trying to create a multi-instance queue manager by running the following command:
    C:\Users\svc_ibm_mq>crtmqm -sa -u SYSTEM.DEAD.LETTER.QUEUE -md "\\10.117.120.205\export\ssvsmqqashc1and2_d\wmq\data" -ld "\\10.117.120.205\export\ssvsmqqashc1and2_d\wmq\logs" QMGR111
    AMQ8101S: IBM MQ error (893) has occurred.

    see below error log details

    ----- amqxfdcp.c : 874 --------------------------------------------------------
    2018-10-03 12:56:49 - Process(7352.1) User(Pontomime) Program(crtmqm.exe)
    Host(SSVSMQQASHC02) Installation(Installation1)
    VRMF(9.0.5.0)
    Time(2018-10-03T10:56:49.562Z)
    CommentInsert1(WinNT error 50 from LockFileEx.)
    CommentInsert2(The request is not supported.)

    AMQ6119S: An internal IBM MQ error has occurred (WinNT error 50 from
    LockFileEx.)

    EXPLANATION:
    MQ detected an unexpected error when calling the operating system. The MQ error
    recording routine has been called.
    ACTION:
    Use the standard facilities supplied with your system to record the problem
    identifier and to save any generated output files. Use either the MQ Support
    site: http://www.ibm.com/software/integration/wmq/support/, or IBM Support
    Assistant (ISA): http://www.ibm.com/software/support/isa/, to see whether a
    solution is already available. If you are unable to find a match, contact your
    IBM support center. Do not discard these files until the problem has been
    resolved.
    ----- amqxfdcp.c : 832 --------------------------------------------------------
    2018-10-03 12:56:49 - Process(7352.1) User(Pontomime) Program(crtmqm.exe)
    Host(SSVSMQQASHC02) Installation(Installation1)
    VRMF(9.0.5.0)
    Time(2018-10-03T10:56:49.563Z)
    ArithInsert1(7352)
    CommentInsert1(QMGR111)

    AMQ6184W: An internal IBM MQ error has occurred on queue manager QMGR111.

    EXPLANATION:
    An error has been detected, and the IBM MQ error recording routine has been
    called. The failing process is process 7352.
    ACTION:
    Use the standard facilities supplied with your system to record the problem
    identifier and to save any generated output files. Use either the MQ Support
    site: http://www.ibm.com/software/integration/wmq/support/, or IBM Support
    Assistant (ISA): http://www.ibm.com/software/support/isa/, to see whether a
    solution is already available. If you are unable to find a match, contact your
    IBM support center. Do not discard these files until the problem has been
    resolved.
    ----- amqxfdcp.c : 874 --------------------------------------------------------
    2018-10-03 12:56:49 - Process(7352.1) User(Pontomime) Program(crtmqm.exe)
    Host(SSVSMQQASHC02) Installation(Installation1)
    VRMF(9.0.5.0)
    Time(2018-10-03T10:56:49.573Z)
    ArithInsert1(545284729)

    AMQ6125E: An internal IBM MQ error has occurred.

    EXPLANATION:
    An internal error has occurred with identifier 20806279. This message is
    issued in association with other messages.
    ACTION:
    Use the standard facilities supplied with your system to record the problem
    identifier and to save any generated output files. Use either the MQ Support
    site: http://www.ibm.com/software/integration/wmq/support/, or IBM Support
    Assistant (ISA): http://www.ibm.com/software/support/isa/, to see whether a
    solution is already available. If you are unable to find a match, contact your
    IBM support center. Do not discard these files until the problem has been
    resolved.
    ----- amqxfdcp.c : 832 --------------------------------------------------------
    2018-10-03 12:56:49 - Process(7352.1) User(Pontomime) Program(crtmqm.exe)
    Host(SSVSMQQASHC02) Installation(Installation1)
    VRMF(9.0.5.0)
    Time(2018-10-03T10:56:49.573Z)
    ArithInsert1(7352)
    CommentInsert1(QMGR111)

    AMQ6184W: An internal IBM MQ error has occurred on queue manager QMGR111.

    EXPLANATION:
    An error has been detected, and the IBM MQ error recording routine has been
    called. The failing process is process 7352.
    ACTION:
    Use the standard facilities supplied with your system to record the problem
    identifier and to save any generated output files. Use either the MQ Support
    site: http://www.ibm.com/software/integration/wmq/support/, or IBM Support
    Assistant (ISA): http://www.ibm.com/software/support/isa/, to see whether a
    solution is already available. If you are unable to find a match, contact your
    IBM support center. Do not discard these files until the problem has been
    resolved.
    ----- amqxfdcp.c : 874 --------------------------------------------------------


    Please assist.

    Regards,
    Sandile

    ------------------------------
    Mziwandile Sithebe
    IBM
    ------------------------------


  • 2.  RE: Creating MQ Queue Managers on NFS file system on Windows

    Posted Fri October 05, 2018 01:40 AM
    Hi Sandile,

    unfortunately, NFS v4 is not supported for queue managers running on Windows.

    Although the information is tricky to find, the only supported file system for running MIQM on a network filesystem on Windows is CIFS.

    On page:  https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.0.0/com.ibm.mq.con.doc/q018150_.html 
    the statement is item 6:
    The shared log and data directories cannot be stored on a FAT, or an NFSv3 file system. For multi-instance queue managers on Windows, the networked storage must be accessed by the Common Internet File System (CIFS) protocol used by Windows networks.

    Regards.

    Neil

    ------------------------------
    Neil Casey
    Senior Consultant
    Syntegrity Solutions
    Melbourne, Victoria, Australia
    +61 (414) 615-334
    ------------------------------



  • 3.  RE: Creating MQ Queue Managers on NFS file system on Windows

    Posted Fri October 05, 2018 02:29 AM
    Edited by Bernard Pittens Fri October 05, 2018 02:59 AM
    Hi,

    I don't know if you can mount to NFSv3 on a Windows server, but I don't think so like Neil comments, default Windows is SMBv3.

    CIFS is a dialect of SMBv3, you can ask your Windows system admin or  CIFS is part of your file system.
    Microsoft SMB Protocol and CIFS Protocol Overview
    Microsoft remove preview
    Microsoft SMB Protocol and CIFS Protocol Overview
    The Server Message Block (SMB) Protocol is a network file sharing protocol, and as implemented in Microsoft Windows is known as Microsoft SMB Protocol. The set of message packets that defines a particular version of the protocol is called a dialect. The Common Internet File System (CIFS) Protocol is a dialect of SMB.
    View this on Microsoft >
    .

    Advice:
    Its very important to have the same Windows version's including fixpacks on both MQ machines AND you're fileserver. We run MQ v8 Multi instance for serveral years on Windows 2012 R2 on VMWare and we had lot of problems with it. If you use VMWare don't use Vmotion, its killing the MQ proces. Create a huge SWAP drive, we have it at 50 GB with 8GB of RAM per machine. Create the SWAP on a seperate share.
    If I might advice you switch to Linux OS if that is possible !
    Kind Regards.

    ------------------------------
    Bernard Pittens
    Integration Engeneer
    Sligro Foodgroup B.V.
    Veghel
    ------------------------------



  • 4.  RE: Creating MQ Queue Managers on NFS file system on Windows

    Posted Fri October 05, 2018 03:16 AM
    Edited by Antony Hiscocks Fri October 05, 2018 03:17 AM
    When using the crtmqm command you must supply the -sax rather than -sa parameter to create a multi-instance queue manager.

    ------------------------------
    Antony Hiscocks
    Technical Consultant
    Responsiv Solutions
    Bracknell
    ------------------------------



  • 5.  RE: Creating MQ Queue Managers on NFS file system on Windows

    Posted Fri October 05, 2018 11:41 AM
    We were able to get a multi-instance QMGR working on Win2012 with NFSv4 a few years ago, so I might be a bit rusty, but make sure your mqm user has full access to the mounted drives, we had to run a command similar to
    icacls G: /grant mqm:F
    for each of the file systems.
    https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.1.0/com.ibm.mq.con.doc/q018280_.htm

    ------------------------------
    Devin Richards
    Leveraging Technology Solutions LLC
    Rochester NY
    5854544250
    ------------------------------