BBahmni 한국어 매뉴얼검색
한국어 번역 완료
한국어English

Installation steps for DataFlowServer

Enable Bahmni-mart-scdf in the inventory file

Run the below playbook to Deploy mart with data flow server
To ensure Data flow server container is installed, run
Verify the docker container for that the data flow server is running
Screen Shot 2021-02-26 at 4.29.37 PM.png

Note: Make sure that 9393 port is open to access Data flow server UI. Linux Command to check if a port is open: sudo lsof -i:9393

To run Bahmni mart on the data flow server UI

Access DataFlowServer UI at <ip/DNS_server_name>:9393. Navigate to tasks and click on run for the 'create-bahmni-mart task'.

Screen Shot 2021-02-26 at 4.35.45 PM.png

When Bahmni-mart runs successfully, user will be able to see the start date and end date for the &lsquo;create-bahmni-mart' task under Executions tab

Screen Shot 2021-02-26 at 4.38.35 PM.png

Steps to remove an installed data flow serverWe can remove an installed data flow server using two approaches.Approach 1: Delete the data flow server&rsquo;s docker container

docker ps
#copy the containerId for data flow server
docker stop <containerId>
docker ps --filter "status=exited"
docker ps

Approach 2: Disable Bahmni-mart-scdf in the inventory file

Known issues and their respective steps to fix:When user runs the &lsquo;create-bahmni-mart&rsquo; task for the first time, there might be an issue with the access permissions which will be shown in the logs as below.

Screen Shot 2021-02-26 at 4.28.29 PM.png

Steps to fix:

mysql -uroot -p<password> openmrs
select Host,User from mysql.user;
#Follow the below steps if the ip present in the logs is not present in the users table
Create user ‘openmrs-user'@'<ip>’
GRANT ALL ON *.* to 'openmrs-user'@'<ip>'' IDENTIFIED BY '<password>';
FLUSH PRIVILEGES;
원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗