Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
localhost ansible_connection=local

[bahmni-emr-db]
localhost

[bahmni-mart]
localhost

[bahmni-mart-db]
localhost

[bahmni-mart-db-slave]

[bahmni-mart-scdf]

[metabase]
localhost

[metabase-db]
localhost

[metabase-db-slave]


[local:children]
bahmni-mart
bahmni-mart-db
bahmni-mart-db-slave
bahmni-mart-scdf
bahmni-emr-db
metabase
metabase-db
metabase-db-slave
Info
  1. Since the master-slave set-up is not available, remove all the lines with <slave_ip>

  2. Update master_ip

Remove entries under [bahmni-mart-db-slave], [bahmni-mart-scdf], [metabase-db-slave] in the bahmni-mart inventory file

...

Code Block
vi /var/www/bahmni_config/bahmni-mart/bahmni-mart.json

8. Add access privileges to Vagrant IP in pg_hba.conf

Code Block
vi /var/lib/pgsql/9.6/data/pg_hba.conf

Update the file with the below entry

Code Block
host all all 192.168.33.10/0 trust

Restart Postgresql

Code Block
systemctl restart postgressql-9.6


9. Run bahmni mart

Code Block
bahmni-mart
# check the logs
tail -100f /var/log/bahmni-mart/bahmni-mart.log

...

Code Block
docker ps
docker stop <METABASE CONTAINER ID>
docker start metabase
http://<host>:9003/

To connect metabase with a analytics database (when using without ssl)

Host : IP of the machine as seen by Metabase docker container. E.g: 172.17.42.1

port : 5432

Database name : analytics

Database username : analytics

Database password : password

 

Docker container (metabase and scdf) removal step need to be added.

...