Delphix Developer Edition, Bonita and Docker
Introduction
What if you want to spin up quickly new Bonita BPM application? Delphix DE and Docker are great choice to do this!Delphix Developer Edition is a part of Lanshark demo environment or can be requested seperately.
More information here:
- https://community.delphix.com/delphix/topics/what-is-landshark-de-lsde
- http://datavirtualizer.com/delphix-express-free-version-of-delphix-available/
- http://www.delphix.com/free-trial-request
- https://docs.delphix.com/display/LS22/Landshark+2.2+Documentation
Delphix Express GUI |
Delphix Express vs Delphix Enterprise |
Wikipedia: https://en.wikipedia.org/wiki/Bonita_BPM
"Bonita BPM is an open-source business process management and workflow suite created in 2001. It was started in France National Institute for Research in Computer Science, and then had incubated
years inside of the French computer science company Groupe Bull. Since 2009, the development of Bonita is supported by a company dedicated to this activity: Bonitasoft. ..."
Bonita BPM |
Show Time
We are using:
- Delphix Express 4.3.1.0
- Landshark source VM (linuxsource)
- Landshark target VM (linuxtarget)
- Official Docker Bonita image (https://hub.docker.com/_/bonita/)
Steps
- Register Postgresql Data Source (dSource) - 1 time action
- Provision Postgresql cloned database
- Spin up Bonita docker image
Let's do it!
1. Data SourceMenu Environments |
Choose "Databases"
Scroll down to postgresql part.
Click "Add dSource"
After clicking "Add dSource" |
Change name to "usda".
Next.Next.Next.Finish.
Click on Delphix logo. Left upper corner.
dSource "usda" |
2. VDB (Virtual DB)
Click on "usda".
"Provision" in right lower corner. |
Click on "Provision".
Provisioning. First Tab. |
Enter new rule in pg_hba tab. |
VDB Ready! |
3. Docker part.
- Login to linuxsource host. User root password delphix.
- Enter following commands staying in /root
chkconfig docker on
service docker start
export PGUSER=postgres
export PGPASSWORD=delphix
export PGHOST=`hostname --ip-address`
export PGDATABASE=usda
export PGPORT=5433
psql -U $PGUSER -h $PGHOST -d $PGDATABASE --command "DROP DATABASE bonita;"
psql -U $PGUSER -h $PGHOST -d $PGDATABASE --command "DROP USER bonita;"
psql -U $PGUSER -h $PGHOST -d $PGDATABASE --command "DROP DATABASE businessdb;"
psql -U $PGUSER -h $PGHOST -d $PGDATABASE --command "DROP USER businessuser;"
psql -U $PGUSER -h $PGHOST -d $PGDATABASE --command "CREATE USER bonita WITH SUPERUSER PASSWORD 'bpm';"
psql -U $PGUSER -h $PGHOST -d $PGDATABASE --command "CREATE DATABASE bonita OWNER bonita;"
rm -rf bonita
mkdir -p bonita
docker run -e DB_VENDOR=postgres -e DB_HOST=$PGHOST -e DB_NAME=bonita -e DB_USER=bonita -e DB_PASS=bpm -e DB_ADMIN_PASS=delphix -e DB_PORT=5433 -e TENANT_LOGIN=install -e TENANT_PASSWORD=install --name bonita_custom -v /root/bonita:/opt/bonita -d -p 8080:8080 bonita
- Open url "http://linuxtarget:8080/bonita" in your browser.
Bonita BPM using VDB ready to go! |
Conlusion
- You can use Delphix VDBs together with Docker containerized application without much effort. It's very easy.
- You can deliver data to containerized applications in agile way. No expensive data duplication. No storage waste. Fast!