Error: LCMVIDM74055 when remediating VMware Identity Manager through Aria Lifecycle
search cancel

Error: LCMVIDM74055 when remediating VMware Identity Manager through Aria Lifecycle

book

Article ID: 435944

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • When attempting to remediate VMware Identity Manager (vIDM) environment through VMware Aria Suite Lifecycle (formerly vRealize Suite Lifecycle Manager), the operation fails with the following error:
Error Code: LCMVIDM74055

  • 'poolnodes' command shows primary role for pg_role on all nodes

  • Running pcp_recovery on the primary node gives the below error:
/usr/local/bin/pcp_recovery_node -h <delegateIP> -p 9898 -U pgpool -n <node_id>
ERROR: executing recovery, execution of command failed at "1st_stage" 
DETAIL: command: "recovery_1st_stage"
  • /etc/hosts file shows Master as one of the worker node on all VIDM nodes 

Environment

VMware Identity Manager 3.3.7

Cause

This issue occurs due to a split-brain or misconfigured state within the pgpool and PostgreSQL cluster. Specifically:

  • Running the poolnodes command shows that multiple nodes (or all nodes) are reporting a pg_role of primary.

  • The /etc/hosts files across the nodes contain incorrect or mismatched entries for the master node.

  • Standard recovery fails because the pcp_recovery command cannot execute properly when the pg_pool_recovery extension is missing or the nodes cannot reach the designated master.

Resolution

To resolve this issue, you must manually align the database cluster roles and ensure the recovery extensions are present.

1.) Correct the hosts file on all nodes 

  • Update the /etc/hosts file on all VIDM nodes to reflect the correct master node IP and hostname as identified by the current valid primary node in the poolnodes output.

2.) Manually Create pg_pool_recovery Extension

3.) Recover Faulty Nodes

  • From the primary node, run the recovery command for the faulty standby nodes

    /usr/local/bin/pcp_recovery_node -h <delegateIP> -p 9898 -U pgpool -n <node_id>
  • Verify the cluster status again using:

    poolnodes
  • Confirm that only one node is primary and all others are standby.

4.) Run an Inventory Sync from Aria Lifecycle Manager for the VIDM cluster and confirm the Health shows 'Green'