MQ

 View Only
  • 1.  configure Failover Clustering in MQ (MSCS--Active passive mode) in Windows 2016.

    Posted Fri April 16, 2021 01:33 AM
    I am using MQ series 9.2 and i have to configure Failover Clustering in MQ (MSCS--Active passive mode) in Windows 2016.I have Install Failover Cluster Feature and Tools on both the Nodes.i have to enable a cluster shared volume(CSV ) on an available disk, expand the Storage node and select the Disks nodeboth Cluster Disk 1 and Cluster Disk 2.Here i have one doubt do i create one directorty/folder for each queue manager then i have locally create queue manager on both system then move the queue manager log and data files move to shared drive folder.suppose i make folder A for QM1 in node1.So i have to move QM1 data and log to folder A similar way i will create one more folder B for QM1 in node 2 and move data and log to folder B.If i am wrong please correct me and provide me step by step failover configuration or any video is available .
    Regards
    Brajendra

    ------------------------------
    Brajendra Kumar
    ------------------------------


  • 2.  RE: configure Failover Clustering in MQ (MSCS--Active passive mode) in Windows 2016.

    Posted Mon April 19, 2021 01:22 AM
    Hello,

    I'm not sure of exactly your concern, but I would recommend using separate volumes (either 1 or 2 depending on whether you are separating the log volume from the data volume) for each queue manager. The volumes in MSCS are generally not shared read/write. If you have 2 queue managers depending on the same volume(s), they will be in the same resource group, and will be forced to fail over together.

    So, if QM1 fails, both QM1 and QM2 will fail over, even though QM2 was actually fine.

    If you use separate volumes and floating IP address for each queue manager, then they can be separate resource groups, and then they are able to fail over independently.

    If you are creating a new queue manager to use under MSCS control, you should follow the instructions in https://www.ibm.com/docs/en/ibm-mq/9.2?topic=mscs-creating-queue-manager-use. As I mentioned, I recommend separate resource groups (and volumes and VIPs) if you will manage multiple queue managers on the cluster.

    Note that the manuals has a specific instructions about not moving things by hand on Windows.: Attention: Do not try to move the files by hand; use the utility program supplied as part of IBM® MQ MSCS Support as described in this topic. The topic that is referenced is https://www.ibm.com/docs/en/ibm-mq/9.2?topic=mscs-moving-queue-manager-storage

    Regards,



    ------------------------------
    Neil Casey
    Senior Consultant
    Syntegrity Solutions
    Melbourne, Victoria
    IBM Champion (Cloud) 2019-21
    +61 (0) 414 615 334
    ------------------------------



  • 3.  RE: configure Failover Clustering in MQ (MSCS--Active passive mode) in Windows 2016.

    Posted Wed April 21, 2021 04:47 AM
    Thank you very much. I have created one queue manager(TEST_QM) on local system and move to share drive through below command. 

    hamvmqm /m TEST_QM /dd "e:\WebSphere MQ" /ld "e:\WebSphere MQ\log"
    i am able to move successful and able to stop and start the queue manager.
    After that i have configure the Role and select resource type but i was not able to bring online.
    i got error message :

    Please work with your domain administrator to ensure that:

    - The cluster identity 'TESTMSCS01$' has Create Computer Objects permissions. By default all computer objects are created in the same container as the cluster identity 'TESTMSCS01$'.

    - The quota for computer objects has not been reached.

    please advice me what i have do the next step.



    ------------------------------
    Brajendra Kumar
    ------------------------------



  • 4.  RE: configure Failover Clustering in MQ (MSCS--Active passive mode) in Windows 2016.

    Posted Wed April 21, 2021 06:36 PM
    Hello,

    it sounds like you are on the right track now. You have moved outside of MQ configuration issues, and into Windows Active Directory, Domain and Clustering issues.

    As the message says, you need to talk to your Windows Domain Administrator to ensure that the right permissions have been granted to the cluster identity.

    I am not a Windows domain admin, so I don't know exactly how that should be configured. In my experience with MQ on MSCS clusters, the Windows admins build the clusters for me, and configured the drives and ethernet interfaces. I would then build the resource group, add the VIP and drive(s) to the resource group, and do all the MQ work (create the queue manager, move to the storage and put it under MSCS control).

    So my best advice at this point is to make friends with the Windows admins in your organization, and ask them to look into the issue as described in the message you received.

    Regards,

    ------------------------------
    Neil Casey
    Senior Consultant
    Syntegrity Solutions
    Melbourne, Victoria
    IBM Champion (Cloud) 2019-21
    +61 (0) 414 615 334
    ------------------------------



  • 5.  RE: configure Failover Clustering in MQ (MSCS--Active passive mode) in Windows 2016.

    Posted Thu April 22, 2021 04:14 PM
      |   view attached
    Thank you very much Neil Casey .Windows domain admin guy help and i am able to bring on line .
    Now i am facing problem below configuration :
    Select the newly defined service which contains a resource called 'New IBM MQSeries MSCS'. Select properties
    and change





    Here i gave queue manager Name TEST_QM2 and i didn't fill the post online command and proline command and it gave error
    data is invalid. 
    Please help me to resolve the issue. I am also attaching the document  through which i follow the instruction and

    Failover Clustering in MQ (MSCS).



    ------------------------------
    Brajendra Kumar
    ------------------------------

    Attachment(s)



  • 6.  RE: configure Failover Clustering in MQ (MSCS--Active passive mode) in Windows 2016.

    Posted Thu April 22, 2021 04:22 PM
    Earlier you showed that your queue manager name was TEST_QM. Has that changed?

    ------------------------------
    Morag Hughson
    MQ Technical Education Specialist
    MQGem Software Limited
    Website: https://www.mqgem.com
    ------------------------------



  • 7.  RE: configure Failover Clustering in MQ (MSCS--Active passive mode) in Windows 2016.

    Posted Thu April 22, 2021 07:08 PM
    Hi,

    as Morag says, your queue manager name doesn't seem to match the name of the queue manager you moved to shared storage.

    You can run "dspmq" in a cmd.exe window to see the actual queue manager name which has been created on your system.

    That is what is moving into MSCS control. You are not creating a new queue manager at that point.

    Regards,

    ------------------------------
    Neil Casey
    Senior Consultant
    Syntegrity Solutions
    Melbourne, Victoria
    IBM Champion (Cloud) 2019-21
    +61 (0) 414 615 334
    ------------------------------