Skip to main content
Question

Commvault PostgreSQL Cluster: Automatic Master Node Selection After Failover

  • February 6, 2026
  • 4 replies
  • 46 views

Forum|alt.badge.img

Hello,

We are experiencing a challenge with Commvault and PostgreSQL in a clustered environment and would like to ask if there is a supported or recommended approach.

Environment

  • PostgreSQL cluster with 1 Master and 3 Standby nodes

  • Automatic failover managed by Patroni

  • Commvault PostgreSQL agent is configured at the cluster level

Current Behavior

  • Commvault is able to detect failover events correctly.

  • However, when the Master role changes, Commvault does not automatically prioritize the new Master node for backups.

  • After a failover, we must manually move the new Master node to the first position in the cluster client configuration.

Question

Is there:

  • A native Commvault feature, or

  • A supported best practice

that allows Commvault to automatically switch backup operations to the active PostgreSQL Master node after failover, without requiring manual reordering of cluster nodes?

 

4 replies

CV_GK
Vaulter
Forum|alt.badge.img+7
  • Vaulter
  • February 10, 2026

Hi ​@Burak Yildiz 

Please share CV and DB version details


Forum|alt.badge.img
  • Author
  • Novice
  • February 10, 2026

Hi ​@CV_GK ,

 

CV version: 11.36.76

Postgre Version: 14

Thank you


CV_GK
Vaulter
Forum|alt.badge.img+7
  • Vaulter
  • February 12, 2026

Hi ​@Burak Yildiz 

 

Can we please know reason for reordering? what behavior is seen if you don't reorder?

Are you using dump based or fs based backup?

 


CV_GK
Vaulter
Forum|alt.badge.img+7
  • Vaulter
  • February 13, 2026

Hi ​@Burak Yildiz 

Full backups run on STANDBY nodes by default in the order of configuration and finally fall back to MASTER node if none of the STANDBY nodes are available. This is current expected behavior.

We have an option for log backups to run on MASTER node.

Can we know your ask here? Do you always want to run the full backup on MASTER only?