I'm not sure that someone would just decide to complicate this kind of setup just because of ASYNC mode. But thanks for the suggestion anyway.
Original Message:
Sent: Wed March 06, 2024 09:15 AM
From: Sumit Choudhary
Subject: Db2 with Pacemaker in ASYNC mode issue
Pacemaker as a cluster resource manager, provide failover capability in HA setup. If you are looking for failover to DR site where SYNCMODE is configured to ASYNC or SUPERASYNC then Pacemaker is not designed for that. As far as I know even TSAMP also does not support automatic failover to DR site, I might be wrong.
If you are looking to configure 2 HA node in primary site and 2 HA node in DR site, then I would suggest you can configure Pacemaker on both side, create cluster, add instance but don't add database in DR site. Once manual failover is done to DR site, you can add database to Pacemaker cluster. Remove database from Pacemaker cluster from Primary site.
------------------------------
Sumit Choudhary
------------------------------
Original Message:
Sent: Wed March 06, 2024 08:47 AM
From: Ivan Milojevic
Subject: Db2 with Pacemaker in ASYNC mode issue
On the other hand, it is not realistic for me that Pacemaker as a cluster resource manager that strategically replaces TSAMP has this kind of restriction, because in a real life scenario it is almost impossible for SYNC or NEARSYNC modes to be the only ones used on production systems where in fact SYNC can cause performance degradation..
------------------------------
Ivan Milojevic
Comtrade System Integration
Belgrade
Original Message:
Sent: Wed March 06, 2024 08:18 AM
From: Ivan Milojevic
Subject: Db2 with Pacemaker in ASYNC mode issue
Thanks, i probably missed that because I was focusing on the Pacemaker restrictions: https://www.ibm.com/docs/en/db2/11.5?topic=pacemaker-restrictions
But i found this somehow unclear because of mentioned defect document (advise to Upgrade to Db2 11.5.8 or later) and because a was able to change sync mode from sync to async without any problem in existing Active Pacemaker configuration. Everything is working normally until first takeover attempt.
It would be nice if somehow in the Pacemaker code there is a warning if ASYNC is set when it is already allowed to be set in live Pacemaker configuration...
------------------------------
Ivan Milojevic
Comtrade System Integration
Belgrade
Original Message:
Sent: Wed March 06, 2024 08:00 AM
From: Sumit Choudhary
Subject: Db2 with Pacemaker in ASYNC mode issue
Pacemaker only supports SYNC and NEARSYNC SYNCMODE.
Check below Pacemaker prerequisite
https://www.ibm.com/docs/en/db2/11.5?topic=pacemaker-prerequisites-integrated-solution-using.

------------------------------
Sumit Choudhary