From f8c484d464fd1de074da334eff5165c38d4c8ebd Mon Sep 17 00:00:00 2001 From: Kamailio Dev Date: Wed, 27 Oct 2021 15:01:17 +0200 Subject: [PATCH] modules: readme files regenerated - db_cluster ... [skip ci] --- src/modules/db_cluster/README | 71 +++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/src/modules/db_cluster/README b/src/modules/db_cluster/README index 4e52d0ab242..7260f0f1aa8 100644 --- a/src/modules/db_cluster/README +++ b/src/modules/db_cluster/README @@ -10,6 +10,10 @@ Daniel-Constantin Mierla +Frits Wiersma + + + Copyright © 2012 asipto.com __________________________________________________________________ @@ -31,6 +35,12 @@ Daniel-Constantin Mierla 3.4. max_query_length (int) 4. Usage + 5. RPC Commands + + 5.1. dbcl.list_clusters + 5.2. dbcl.list_connections + 5.3. dbcl.disable_connection + 5.4. dbcl.enable_connection List of Examples @@ -58,6 +68,12 @@ Chapter 1. Admin Guide 3.4. max_query_length (int) 4. Usage + 5. RPC Commands + + 5.1. dbcl.list_clusters + 5.2. dbcl.list_connections + 5.3. dbcl.disable_connection + 5.4. dbcl.enable_connection 1. Overview @@ -204,3 +220,58 @@ modparam("acc", "db_url", "cluster://k1") modparam("sqlops", "sqlcon", "ca=>cluster://k1") ... + +5. RPC Commands + + 5.1. dbcl.list_clusters + 5.2. dbcl.list_connections + 5.3. dbcl.disable_connection + 5.4. dbcl.enable_connection + +5.1. dbcl.list_clusters + + Lists all database clusters. + + Name: dbcl.list_clusters + + RPC Command Format: +... +kamcmd dbcl.list_clusters +... + +5.2. dbcl.list_connections + + Lists all database connections of a specific cluster. + + Name: dbcl.list_connections + + RPC Command Format: +... +kamcmd dbcl.list_connections clustername +... + +5.3. dbcl.disable_connection + + Disable a database connection of a specific cluster for a period. The + database connection remains open but will not be used for the specified + period (seconds). The command does not allow to close all database + connections of the specific cluster. If the database connection is + already disabled than the new period will overwrite the old period. + + Name: dbcl.disable_connection + + RPC Command Format: +... +kamcmd dbcl.disable_connection clustername connectionname period +... + +5.4. dbcl.enable_connection + + Enable a database connection of a specific cluster. + + Name: dbcl.enable_connection + + RPC Command Format: +... +kamcmd dbcl.enable_connection clustername connectionname +...