From 0efd8b136105dc527498883973878d1f42d2568c Mon Sep 17 00:00:00 2001 From: sousaedu Date: Mon, 10 May 2021 12:51:38 +0200 Subject: [PATCH] Added configuration of external databases for Charmed OSM --- 03-installing-osm.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/03-installing-osm.md b/03-installing-osm.md index a69bdef..ffdd1a8 100644 --- a/03-installing-osm.md +++ b/03-installing-osm.md @@ -374,6 +374,38 @@ To install Charmed OSM with the HA controller the following argument will be pas ./install_osm.sh --charmed --vca manual-controller ``` +#### Using external DBs + +Charmed OSM supports the usage of external DBs. For this purpose, relations to the DBs should be removed: + +```bash +juju remove-relation nbi mongodb-k8s +juju remove-relation lcm mongodb-k8s +juju remove-relation ro mongodb-k8s +juju remove-relation mon mongodb-k8s +juju remove-relation pol mariadb-k8s +juju remove-relation pol mongodb-k8s +juju remove-relation pla mongodb-k8s +juju remove-relation keystone mariadb-k8s +juju remove-application mongodb-k8s +juju remove-application mariadb-k8s +``` + +Now, add the configuration to access the external DBs: + +```bash +juju config nbi mongodb_uri="" +juju config lcm mongodb_uri="" +juju config ro mongodb_uri="" +juju config mon mongodb_uri="" +juju config pol mysql_uri="" +juju config pol mongodb_uri="" +juju config pla mongodb_uri="" +juju config keystone mysql_host="" +juju config keystone mysql_port="" +juju config keystone mysql_root_password="" +``` + ### Installation from source TODO: Under elaboration. -- GitLab