X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=README.md;h=6391fc45ea762a5b606dcf9f867fac8087b1222f;hb=HEAD;hp=6d2011b21e1c3b38a92d8f49aabd5ee50c651a48;hpb=3920c441f85ee7f3ccf41548c151956a03db0582;p=ric-plt%2Fdbaas.git diff --git a/README.md b/README.md index 6d2011b..917f488 100644 --- a/README.md +++ b/README.md @@ -38,11 +38,12 @@ Standalone dbaas database is configured to be non-persistent and non-redundant. HA dbaas provides redundancy but it is also configured to be non-persistent. -After dbaas service is installed, environment variables **DBAAS_SERVICE_HOST** -and **DBAAS_SERVICE_PORT** are exposed to application containers. In the case -of HA dbaas deployment environment variables **DBAAS_MASTER_NAME** and -**DBAAS_SERVICE_SENTINEL_PORT** are also exposed to application containers. -SDL library will automatically use these environment variables. +After dbaas service is installed, environment variables **DBAAS_SERVICE_HOST**, +**DBAAS_SERVICE_PORT** and **DBAAS_NODE_COUNT** are exposed to application +containers. In the case of HA dbaas deployment also environment variables +**DBAAS_MASTER_NAME** and **DBAAS_SERVICE_SENTINEL_PORT** are exposed to +application containers. SDL library will automatically use these environment +variables. The service is installed via helm by using dbaas-service chart. Modify the values accordingly before installation (repository location, image name, ..) @@ -51,6 +52,13 @@ values accordingly before installation (repository location, image name, ..) helm install ./dbaas-service ``` +### 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. +To get more information about available commands and how to use them, please +check help instructions: `sdlcli --help`. + ### DBaaS test application Test application is installed via helm by using dbaas-test chart. Modify the @@ -90,7 +98,7 @@ The environment variables for database backend should be set: >>printenv DBAAS_SERVICE_HOST=10.108.103.51 DBAAS_SERVICE_PORT=6379 - +DBAAS_NODE_COUNT=1 Go test application using preliminary go SDL-API should be able to perform reads and writes: