diff options
author | Saryu Shah <ss3917@att.com> | 2018-05-15 18:07:54 +0000 |
---|---|---|
committer | Saryu Shah <ss3917@att.com> | 2018-05-15 18:07:54 +0000 |
commit | 97ff534fdf663ba97a4ba02fec6ef4d2c9368081 (patch) | |
tree | 1382d8f2a672936c4558c28f50e1f4adbdf68ce4 /docs/platform/feature_locking.rst | |
parent | 9badd4be3bf87d568d44a6fb2f0fd1662a8f0e67 (diff) |
SRM, Locking, Pooling documentation
SRM, Locking, Pooling documentation
-------------------------------------------------------------
Change-Id: Id66463fc89f2c2c466ad92936816be878cfd77b7
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
Diffstat (limited to 'docs/platform/feature_locking.rst')
-rw-r--r-- | docs/platform/feature_locking.rst | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/docs/platform/feature_locking.rst b/docs/platform/feature_locking.rst new file mode 100644 index 000000000..1236c93f2 --- /dev/null +++ b/docs/platform/feature_locking.rst @@ -0,0 +1,47 @@ + +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 + +**************************** +Feature: Distributed Locking +**************************** + +Summary +^^^^^^^ + +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. + +Usage +^^^^^ + + .. code-block:: bash + :caption: Enable Feature Distributed Locking + + policy stop + + features enable distributed-locking + + The configuration is located at: + + * $POLICY_HOME/config/feature-distributed-locking.properties + + + .. code-block:: bash + :caption: Start the PDP-D using pooling + + policy start + + + .. code-block:: bash + :caption: Disable the Distributed Locking feature + + policy stop + features disable distributed-locking + policy start + + +End of Document + +.. SSNote: Wiki page ref. https://wiki.onap.org/display/DW/Feature+Distributed+Locking + + |