Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

UCMDB Tip: Why do we need locking mechanism in UD?

UD 10.0 introduced a number of jobs that support the workflow capabilities, such as Inventory Discovery and UD Agent Management jobs.


During the operation of such jobs each step of the workflow can be retried with a significant delay between the retries. There are a number of scenarios where several of such discovery jobs can attempt to run on the same node at the same time. For example, several jobs can be activated via the Discovery Jobs/Modules mode or the same Node can belong to multiple Mangement Zones with the same rank both having Inventory Acitivity enabled, multiple UCMDB servers discovering the same Node, etc.


 To ensure the correct operation of the workflow, the first job that runs its workflow attempts to lock the node to prevent other jobs from operating on the node and potentially interfering with the operation of the current job. For example, the Inventory Discovery by Scanner before running the scanner have to set the scanner configuration, once the scanner is finished, it needs to collect the matching local scan file, etc.

“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”

Click the KUDOS star on the left to say 'Thanks'
Labels (1)
Tags (1)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.