summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
bc78e36)
Issue-Id: RIC-113
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ie6b74d7b1cdd5e2e0144307882062a6679a4176f
* DBAAS_SERVICE_PORT
* DBAAS_SERVICE_SENTINEL_PORT
* DBAAS_MASTER_NAME
* DBAAS_SERVICE_PORT
* DBAAS_SERVICE_SENTINEL_PORT
* DBAAS_MASTER_NAME
-* DBAAS_CLUSTER_ADDR_LIST
After DBaaS service is installed, environment variables are exposed to
application containers. SDL library will automatically use these environment
After DBaaS service is installed, environment variables are exposed to
application containers. SDL library will automatically use these environment
export DBAAS_SERVICE_HOST=dbaas
export DBAAS_SERVICE_PORT=6379
export DBAAS_SERVICE_HOST=dbaas
export DBAAS_SERVICE_PORT=6379
+ export DBAAS_NODE_COUNT=1
Besides hostname, IPv4 and IPv6 addresses can be set to *DBAAS_SERVICE_HOST*.
An example how environment variables can be set in bash shell, when Redis
Besides hostname, IPv4 and IPv6 addresses can be set to *DBAAS_SERVICE_HOST*.
An example how environment variables can be set in bash shell, when Redis
-HA deployment is used. Please note that DBaaS does not support yet HA
-deployment option. Below environment variables are only in the form of an
-example to show how HA deployment would be configured::
- export DBAAS_MASTER_NAME=my-master-sentinel
+ export DBAAS_MASTER_NAME=my-primary-sentinel
export DBAAS_SERVICE_HOST=dbaas
export DBAAS_SERVICE_SENTINEL_PORT=23550
export DBAAS_SERVICE_HOST=dbaas
export DBAAS_SERVICE_SENTINEL_PORT=23550
+ export DBAAS_NODE_COUNT=3
storage:
* Standalone (single DB node without redundancy)
storage:
* Standalone (single DB node without redundancy)
-* Redundant (DB node pair working in master/slave redundancy model)
+* Redundant (DB node pair working in primary/replica redundancy model)
SDL supports also Redis sentinel based DB cluster where deployment has one or
more DBAAS Redis sentinel group. Different DBAAS Redis sentinel groups
SDL supports also Redis sentinel based DB cluster where deployment has one or
more DBAAS Redis sentinel group. Different DBAAS Redis sentinel groups
+
+SDLCLI
+******
+
+There is a pre-installed *sdlcli* tool in DBaaS container. With this tool user
+can see statistics of database backend (Redis), check healthiness of DBaaS
+database backend, list database keys and get and set values into database.
+For example to see statistics give below command inside DBaaS container::
+
+ sdlcli statistics
+
+To check healthiness of database::
+
+ sdlcli healthcheck
+
+Use *sdlcli* help to get more information about available commands::
+
+ sdlcli --help