Hi Rajesh,
> Do I really need to use three NICs for MQ -DEV -RDQM setup?You can configure an RDQM HA group to use either one, two, or three IP addresses. An RDQM HA group has three logical interfaces (network connections) between the RDQM nodes. Two of the interfaces (primary and alternate) are used by Pacemaker to exchange heartbeats and coordinate configuration changes. The third interface is used by DRBD to replicate data between the nodes.
- If you configure a single IP address, then all three interfaces share it, which simplifies the RDQM configuration.
- If you configure two IP addresses, then one IP address is used by Pacemaker (primary and alternate) and the other IP address is used by DRBD.
- If you configure three IP addresses, then each interface has a dedicated IP address.
The number of IP addresses you choose to use depends on the environment you are using and the resilience that you require. For maximum resiliency you might choose to use three IP addresses, ensure that each IP address maps to a dedicated network card (NIC), and ensure that the network infrastructure used by the connections (switches, routers, etc.) is not shared. This configuration helps to remove single points of failure and minimise the risk of the nodes losing connectivity. However, there are other ways to achieve resiliency. For example, you might use techniques such as link aggregation to provide a single resilient network connection instead that is based on multiple physical links. This alternative approach achieves resiliency at the system/network layer, which can then be transparent to RDQM. In virtualised environments it might also be difficult to map virtual network interfaces to physical network ports, and in virtualised development environments all nodes might be hosted on the same physical server anyway.
RDQM is functionally the same for each option, so you do not need to use the same number of IP addresses in each staging environment (dev, QA, prod, etc.) if they do not require the same level of resiliency. For example, it would be common to have a greater tolerance for outages in a development environment than in production. You just need to decide whether any difference between environments is acceptable to your confidence in promoting from one environment to another.
In summary, the short answer to your question is no, you don't need to use three NICs in your development environment if you don't want to. The above longer answer provides some background for what you might want to consider when deciding if this is the correct choice for you or not.
> Do I need to put additional configuration into this newly setup DEV RDQM after importing the configuration data from AIX server using dmpmqcfg to be able to connect using MQ Explorer to queue manager in RDQM env?I would recommend that you review MQ object definitions that refer to network connections, such as listeners and channels, to ensure they correctly reflect your RDQM setup. For example, if you are using a floating IP address you probably want to ensure that your listener(s) bind to the floating IP. This helps to ensure that applications are connecting to the floating IP instead of to a node's static IP address by mistake, which would not work after a HA failover to different node. Some specific items to check are:
- Local IP addresses used by listeners (IPADDR attribute).
- Local IP addresses used by channels (LOCLADDR attribute).
- Local IP addresses defined for cluster-receiver channels (CONNAME attribute).
- Local IP addresses defined for communication information objects (GRPADDR attribute).
- Channel authentication rules that might reference specific hostnames, IP addresses, or subnets.
You might also want to review your security configuration to determine if you need to adjust anything for user authentication and authorisation, especially if you are using local operating system userids that might need to be defined on each RDQM node.
You'll also need to review the configuration of applications and any remote queue managers that connect in to your new RDQM queue manager to ensure they no longer attempt to connect to your old AIX server.
I hope this helps.
Kind regards,
Jamie
------------------------------
Jamie Squibb
IBM MQ Development
------------------------------
Original Message:
Sent: Wed July 06, 2022 01:36 PM
From: RAJESH VERMA
Subject: RHEL Cluster -- MQ as HA cluster resource
Hi Morag and Jamie,
Thank you both for being so kind. I have few more questions;
1) I have two MQ queuemanager, Dev and Prod. Do I really need to use three NICs for MQ -DEV -RDQM setup. I had setup this with one NIC on each of three Linux VM, do you think I needed three NICs for DEV MQ RDQM as well?
2) Do I need to put additional configuration into this newly setup DEV RDQM after importing the configuration data from AIX server using dmpmqcfg to be able to connect using MQ Explorer to queue manager in RDQM env.
I would definitely go with three VM - each of these with three NICs for the Production MQ RDQM environment.
I think for now I have only these questions, I will ask for more help as I continue to make progress to migrate both MQ environments to RDQM.
Thank you,
Regards,
Rajesh
------------------------------
RAJESH VERMA
Original Message:
Sent: Wed July 06, 2022 03:57 AM
From: Jamie Squibb
Subject: RHEL Cluster -- MQ as HA cluster resource
Thank you for replying Morag.
If you require any further information Rajesh, then please let us know.
Kind regards,
Jamie
------------------------------
Jamie Squibb
IBM MQ Development
Original Message:
Sent: Tue July 05, 2022 04:40 PM
From: RAJESH VERMA
Subject: RHEL Cluster -- MQ as HA cluster resource
Hi Morag,
Thank you very much sharing the information.
Thank you,
With regards.
Rajesh Verma
------------------------------
RAJESH VERMA
Original Message:
Sent: Tue July 05, 2022 04:16 PM
From: Morag Hughson
Subject: RHEL Cluster -- MQ as HA cluster resource
Hi Rajesh,
You can use dmpmqcfg
to save your MQ Configuration on the original AIX Queue Manager, and then to restore the configuration on the new RHEL Queue Manager.
If you want to copy message data as well, something like QLOAD generic unload/reload might be of interest.
Cheers,
Morag
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
Website: https://www.mqgem.com
Original Message:
Sent: Tue July 05, 2022 02:07 PM
From: RAJESH VERMA
Subject: RHEL Cluster -- MQ as HA cluster resource
Hi Jamie,
I am trying to get some help for past couple of weeks, then I see your reply to Ishara. I am working to migrate my current estate of MQ from AIX to RDQM. I have almost setup everything and looking good. Now I want to know how can I bring my current MQ configuration along with data (if possible) from AIX to this new RDQM cluster. I request you to please share some insight on this.
Thank you very much.
Regards,
Rajesh
------------------------------
RAJESH VERMA
Original Message:
Sent: Wed October 07, 2020 04:31 AM
From: Jamie Squibb
Subject: RHEL Cluster -- MQ as HA cluster resource
Hi Ishara,
I would suggest you review the Replicated Data Queue Manager (RDQM) feature that is available for RHEL 7 and RHEL 8. RDQM is a high availability and disaster recovery capability of MQ Advanced that is provided by IBM. It is built using DRBD for disk replication and Pacemaker for HA cluster management. RDQM manages the Pacemaker configuration for you.
See https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.2.0/com.ibm.mq.con.doc/q130280_.htm
Kind regards,
Jamie
------------------------------
Jamie Squibb
Original Message:
Sent: Mon October 05, 2020 07:02 AM
From: Ishara Pathirana
Subject: RHEL Cluster -- MQ as HA cluster resource
Hi all.
I want to get some info about how to add MQ as a cluster resource. In a Redhat Pacemaker cluster
thanks.
------------------------------
Ishara Pathirana
------------------------------