MQ

 View Only
Expand all | Collapse all

RDQM Configuration

  • 1.  RDQM Configuration

    Posted Mon April 17, 2023 11:29 AM

    Hello Morag,

    I have couple of questions about RDQM Cluster Setup;

    1) Is Korn shell still a requirement to install and configure RDQM? and
    2) When I test the failover in RDQM environment using MQ Explorer, I get disconnected when I test the failover by suspending the queuemanager on one of the node or power-off one node.  I had to connect again in MQ Explorer - it connects no issue with that.  Is there setting that can be configured so that it stays connected/re-connect as soon as queuemanger failed over to next node.

    Thank you,
    Regards,

    Rajesh



    ------------------------------
    RAJESH VERMA
    ------------------------------


  • 2.  RE: RDQM Configuration

    IBM Champion
    Posted Mon April 17, 2023 11:36 AM

    You can use Ansible to install RDQM.

    First, when a queue manager is failed over in HA; there is a restart happening. So the behaviour you see of disconenct and connect is working as expected.

    It is recommended to use CCDT for client connection; and setup the auto-reconnect option.
    This way. you would not need to connect again manually.

    MQ Exproer has option to connect using CCDT; explore the option.



    ------------------------------
    om prakash
    ------------------------------



  • 3.  RE: RDQM Configuration

    Posted Mon April 17, 2023 11:47 AM

    Hello Om Prakash, 
    Thank you very much.

    Regards,
    Rajesh



    ------------------------------
    RAJESH VERMA
    ------------------------------



  • 4.  RE: RDQM Configuration

    Posted Fri April 21, 2023 03:47 PM

    Hello Om Prakash, 
    I am unable to create the RDQM queuemanager.  After creating the cluster using rdqmadm -c, when I try to create the queuemanager on the secondary node;
    [root@txulmqdv2 sbin]# /opt/mqm/bin/crtmqm -sxs -fs 16384M QM.MQT
    AMQ3818E: The replicated data subsystem has not been configured.
    AMQ3812E: Failed to create replicated data queue manager configuration.
    [root@txulmqdv2 sbin]#

    Please advise how to fix the drbd key issue.

    Thank you.
    Rajesh
    It might have to do with drbd module, the lsmod|grep drbd  command does not show anything.  When I try to load modprobe drbd, I get the following error message;

    [root@dv2 sbin]# modprobe drbd
    modprobe: ERROR: could not insert 'drbd': Required key not available



    ------------------------------
    RAJESH VERMA
    ------------------------------



  • 5.  RE: RDQM Configuration

    IBM Champion
    Posted Fri April 21, 2023 05:50 PM

    U r missing few required steps.

    1. Install DRBD on each node.
    2. Install Pacemaker on each node.
    3. Install IBM MQ on each node.
      Install RDQM on each node.
      user named hacluster and a group named haclient


    and then finally create the queue manager. 
    You issue command on a single node, and secondary nodes will auto get teh config.

    follow these steps:
    https://www.ibm.com/docs/en/ibm-mq/9.2?topic=multiplatforms-installing-rdqm-replicated-data-queue-managers
    this is for mq 9.2; but 9.3 also is same. 



    ------------------------------
    om prakash
    ------------------------------



  • 6.  RE: RDQM Configuration

    Posted Mon April 24, 2023 09:18 AM
    Thank you, I exactly followed the same steps, and necessary ids and groups were also created as well;

    [root@txulmqdv1 ~]# rpm -qa|grep -i rdqm
    MQSeriesRDQM-9.3.0-2.x86_64
    [root@txulmqdv1 ~]# getent passwd hacluster
    hacluster:x:189:189:cluster user:/home/hacluster:/sbin/nologin
    [root@txulmqdv1 ~]# getent group haclient
    haclient:x:189:
    [root@txulmqdv1 ~]# getent passwd mqm
    mqm:x:1000:189:mqm-functional-user:/home/mqm:/bin/bash
    [root@txulmqdv1 ~]#
    [root@txulmqdv1 ~]# id mqm
    uid=1000(mqm) gid=189(haclient) groups=189(haclient),1000(mqm)
    [root@txulmqdv1 ~]#

    Thank you,
    Rajesh




  • 7.  RE: RDQM Configuration

    IBM Champion
    Posted Thu April 27, 2023 10:15 AM

    Did it work? What actions were taken after validating.



    ------------------------------
    om prakash
    ------------------------------



  • 8.  RE: RDQM Configuration

    Posted Thu April 27, 2023 11:52 AM

    Hello Om Prakash,
    No it did not work.


    Thanks.



    ------------------------------
    RAJESH VERMA
    ------------------------------



  • 9.  RE: RDQM Configuration

    Posted Fri April 28, 2023 04:16 AM

    This is not specific to RDQM but on Linux, the primary group of the mqm user must be the mqm group. See https://www.ibm.com/docs/en/ibm-mq/9.3?topic=linux-setting-up-user-group



    ------------------------------
    John Colgrave
    DR and HA Architect
    IBM MQ
    ------------------------------



  • 10.  RE: RDQM Configuration

    Posted Fri April 28, 2023 11:23 AM

    Hi John, 
    Thank you very much for the link, I already provision this as I followed the iBM guidelines/steps.

    Rajesh



    ------------------------------
    RAJESH VERMA
    ------------------------------



  • 11.  RE: RDQM Configuration

    Posted Fri April 28, 2023 11:30 AM

    Hi Om Prakash, 
    As you followed up on this with me so I am updating you that I am able to create RDQM Queuemanager.  

    I had a ticket opened with IBM last week, but there was no response so I had to escalate it on Wednesday so yesterday I've got a chance to show the Support Specialist (Robert) and we worked it out.  He told me that he has never seen this kind of situation so he has invited many of his team member while I share the screen.  So this is what the issue, VMWare cluster was upgraded recently at my work and since I worked all my life on AIX so was not aware and Robert said he also has not see this.  The VMWare upgrade made the secure-boot enabled on VMs being created on the VMware cluster.  So in order for drbd to work, we need an extra step to enroll the keys otherwise it fails to start the drbd service while creating the cluster.  Once we did that then I was able to create the cluster/queuemanager.  Now I am able to connect to queuemanager from MQ Explorer as well.  

    Thank you for following up once again.

    Rajesh



    ------------------------------
    RAJESH VERMA
    ------------------------------



  • 12.  RE: RDQM Configuration

    Posted Wed May 03, 2023 05:18 PM

    Hi Om, 
    I had configured the RDQM successfully last week.  Today while testing, I suspended the Queuemanager on all the three nodes using rdqmadm command, now I am unable to start the queuemanager.  All the resources are in STOPPED state, please help;

    Thank you.



    ------------------------------
    RAJESH VERMA
    ------------------------------



  • 13.  RE: RDQM Configuration

    IBM Champion
    Posted Fri May 05, 2023 08:04 AM

    You should not suspend all services across the nodes.
    Start them one by one, and also issue crm_resource --cleanup and see if it works.



    ------------------------------
    om prakash
    ------------------------------



  • 14.  RE: RDQM Configuration

    Posted Fri May 05, 2023 02:50 PM

    Hello Om, 
    Thank you, it just happened one time only.

    Rajesh



    ------------------------------
    RAJESH VERMA
    ------------------------------



  • 15.  RE: RDQM Configuration

    IBM Champion
    Posted Mon May 08, 2023 02:09 AM
    Edited by Francois Brandelik Mon May 08, 2023 02:14 AM

    Have you tried to resume the node before trying to start the qmgr on it?



    ------------------------------
    Francois Brandelik
    ------------------------------



  • 16.  RE: RDQM Configuration

    Posted Tue August 08, 2023 11:09 AM

    Hello,

    Can I change the SELINUX from Enforced to Permissive while the RDQM Cluster is up and running.

    Thank you.



    ------------------------------
    RAJESH VERMA
    ------------------------------