Identity Manager node has high replication delay but shows as up
search cancel

Identity Manager node has high replication delay but shows as up

book

Article ID: 433664

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

With the poolnodes command, one of the standby nodes shows as UP, but also has high replication delay, e.g.:

  • Inter-node password-less SSH works fine among all nodes.
  • All nodes' /db/data directory and sub-files have the correct postgres:users ownership.

 

Environment

Identity Manager 3.3.7

Cause

PostgreSQL database replication de-synchronization on the affected vIDM node.

Resolution

This can be resolved by manually triggering a database re-sync for the affected node using the pcp_recovery_node utility.

First, obtain the specific node ID of the delayed node using the poolnodes command, the node ID is in the first column.

Then, because the node is UP, we need to detach it from the cluster:

/usr/local/bin/pcp_detach_node -w -h localhost -U pgpool -p 9898 -n <DELAYED_NODE_ID>

We can then verify that the poolnodes command is now showing the node as "down", which is expected.

Finally, from the primary node, execute the pcp_recovery_node command against the affected node:

/usr/local/bin/pcp_recovery_node -w -h localhost -U pgpool -p 9898 -n 0

Confirm again with the poolnodes command that the replication delay is gone, e.g.: