2 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
3 .. http://creativecommons.org/licenses/by/4.0
5 ****************************
6 Feature: Distributed Locking
7 ****************************
12 The Distributed Locking Feature provides locking of resources across a pool of PDP-D hosts. The list of locks is maintained in a database, where each record includes a resource identifier, an owner identifier, and an expiration time. Typically, a drools application will unlock the resource when it's operation completes. However, if it fails to do so, then the resource will be automatically released when the lock expires, thus preventing a resource from becoming permanently locked.
18 :caption: Enable Feature Distributed Locking
22 features enable distributed-locking
24 The configuration is located at:
26 * $POLICY_HOME/config/feature-distributed-locking.properties
30 :caption: Start the PDP-D using pooling
36 :caption: Disable the Distributed Locking feature
39 features disable distributed-locking
45 .. SSNote: Wiki page ref. https://wiki.onap.org/display/DW/Feature+Distributed+Locking