Possible symptoms:
Error Code: LCMVIDM73110
Unable to get the vIDM end point. Unable to get the vIDM end point on the host VIDM.example.com.
Retry to wait for some more time to get the vIDM end point.LCMVIDM71063 error occurs within Aria Suite Lifecycle when deploying vIDM:com.vmware.vrealize.lcm.vidm.common.exception.VidmCommandExecutionException: Failed to start the vIDM elasticsearch service Not running
at com.vmware.vrealize.lcm.vidm.core.task.VidmStartElasticSearchServiceTask.execute(VidmStartElasticSearchServiceTask.java:121)
at com.vmware.vrealize.lcm.automata.core.TaskThread.run(TaskThread.java:62)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Diagnostic condition:
Not Running:/etc/init.d/opensearch status/etc/init.d/opensearch start/etc/init.d/opensearch restartVMware Identity Manager 3.3.7
This may be caused by stale Liquibase lock.
First, confirm that the opensearch service is Not Running but horizon-workspace is Running by executing the following commands:
/etc/init.d/opensearch status
/etc/init.d/horizon-workspace statusTry to restart the opensearch service:
/etc/init.d/opensearch restartIf the process spends several minutes "Waiting for IDM," you can terminate it using Ctrl+C.
A common cause of this issue is an inability to secure the lock, often caused by an unclean restart of opensearch. The lock release step only needs to be executed once for the cluster.
opensearch service is stopped on all nodes:/etc/init.d/opensearch stoppsql primary node):/usr/sbin/hznAdminTool liquibaseOperations -forceReleaseLocks/etc/init.d/horizon-workspace restartopensearch on all nodes:/etc/init.d/opensearch startIf opensearch is still not running, reboot the affected node:
reboot -f
Workaround: If forceReleaseLocks fails
If the hznAdminTool command hangs and does not complete, a manual lock removal may be required. First, confirm cluster health. If hznAdminTool returns the error The connection attempt failed, this can indicate that the delegateIP needs to be assigned to the psql primary node on eth0:0.
opensearch service is stopped on all nodes:/etc/init.d/opensearch stopcat /usr/local/horizon/conf/db.pwdpsql primary node:psql -h localhost -U horizon saasselect * from saas.DatabaseChangeLogLock;t, with a date and IP address), remove it using the following command:update saas.DATABASECHANGELOGLOCK SET LOCKED=false, LOCKGRANTED=null, LOCKEDBY=null where ID=1;\q and repeat steps 2, 3, and 4 above to release Liquibase locks, restart horizon-workspace, and start opensearch.Note: For versions of vIDM earlier than 3.3.7, replaceopensearchwithelasticsearchwherever mentioned. These older versions are now End of Life (EOL).
Impact/Risks
There is a brief service restart associated with these steps. If VMware Identity Manager (vIDM) is currently serving users for login, there may be a momentary disconnect.
Health Status
To check the cluster health, run the following command:
curl http://localhost:9200/_cluster/health?pretty=true