Skip to Main Content
IBM Data Platform Ideas Portal for Customers


This portal is to open public enhancement requests against products and services offered by the IBM Data Platform organization. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:


Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,


Post your ideas

Post ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

IBM Employees should enter Ideas at https://ideas.ibm.com



Status Submitted
Workspace Db2
Components Other/Unknown
Created by Guest
Created on Jun 30, 2026

Create a db2cm maintenance mode for HADR + Pacemaker

Db2 v12.1.x
HADR + Pacemaker
Linux

Problem:

Db2 PureScale has an easy way to put a host from the cluster in maintenance mode that is:

db2cm -enter -maintenance


Db2 HADR + Pacemaker has the :

db2cm -DISABLE -instance <instance_name> -host <hostname>


But that command is very limited.

There is a Pacemaker command (bundle from Db2) that is:

v11.5:

pcs node standby <host>


v12.1:

crm_standby -v ON/OFF -N <host>


Those Pacemaker commands are much more completed then db2cm -disable, for maintenance scenarios.

Customer usually needs to do maintenance on Standby hosts (when need to do a maintenance in the primary, they first run a takeover and do the maintenance in the New Standby).

Having only one easy command to put the host in maintenance mode is much more safety once it avoids errors due to manual commands.

I made comparison table sheet show the difference between those methods. (There is an Excel sheet attached with better view)
 

Test on v12.1.4.0

=========================================================================================
If run for the STANDBY host
=========================================================================================

Action                                                           db2cm-DISABLE   crm_standby -v ON
-----------------------------------------------------------------------------------------
Disables the Pacemaker only in the specified host                     TRUE             TRUE
Automatically brings the Standby VIP offline                          FALSE            TRUE
Automatically stops Db2 instance                                      FALSE            TRUE


=========================================================================================
If run for the PRIMARY host
=========================================================================================

Action                                                           db2cm-DISABLE   crm_standby -v ON
-----------------------------------------------------------------------------------------
Disables the Pacemaker only in the specified host                     TRUE             TRUE
Automatically runs a takeover                                                             FALSE            TRUE
Automatically brings the Primary VIP offline in old Primary           FALSE            TRUE
Automatically starts the Primary VIP in the new Primary               FALSE            TRUE
Automatically stops the Db2 instance in the old Primary               FALSE            TRUE


=========================================================================================
If run for the OLD PRIMARY host
=========================================================================================

Action                                                           db2cm-ENABLE    crm_standby -v OFF
-----------------------------------------------------------------------------------------
Enables the Pacemaker only in the specified host                      TRUE             TRUE
Automatically brings the Standby VIP online in old Primary            FALSE            TRUE
Automatically starts the Db2 instance in the old Primary              FALSE            TRUE


=========================================================================================
NOTE
=========================================================================================

Behavior is the same on Db2 v11.5.9.0, but using:

   pcs node standby <host>

instead of:

   crm_standby

 

**************

Thanks
Felipe

 

.

Needed By Week
  • Admin
    Siji Daniel
    Jul 7, 2026

    Hello. Thank you for submitting this Idea. For HADR, the process to enter maintenance mode is documented here.
    Procedure for HADR documented here that enables the end user to ensure all databases are in the right state for a smooth transition into maintenance https://www.ibm.com/docs/en/db2/11.5.x?topic=mima-applying-rolling-updates-pacemaker-managed-hadr-db2-instance

    Please review and test it. Let us know if this does not meet your need. Thanks.

  • Guest
    Jul 1, 2026

    This is a test comment, due to error posting it....