X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=README.md;fp=README.md;h=6d2011b21e1c3b38a92d8f49aabd5ee50c651a48;hb=3920c441f85ee7f3ccf41548c151956a03db0582;hp=6391fc45ea762a5b606dcf9f867fac8087b1222f;hpb=500140607e04314dfc739b106a825707f14ac0fa;p=ric-plt%2Fdbaas.git diff --git a/README.md b/README.md index 6391fc4..6d2011b 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ This repository containes all the needed elements to deploy database as a servic ## Architecture Redis is the chosen database technology and the final product will deploy autonomous -redis cluster. In R0 schedule, single, non-redundant, non-persistent redis server is -deployed +redis cluster. Supported deployment options are standalone Redis server and HA +(Sentinel) Redis deployment. Either deployment option won't provide data persistency. ## Subsystem structure @@ -32,13 +32,17 @@ docker build --file docker/Dockerfile.testapp --tag dbaas-test . ### DBaaS service -In R0, dbaas service is realized with single container running redis database. -The database is configured to be non-persistent and non-redundant. The container -exposes single port which is hardcoded to be 6379. +Dbaas service is realized either with single container running redis database +or with HA deployment implemented by a redis sentinel solution. +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. SDL library -will automatically use these environment variables. +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. The service is installed via helm by using dbaas-service chart. Modify the values accordingly before installation (repository location, image name, ..)