Closed hohuyphuong closed 2 years ago
Hi hohuyphuong,
I would say the load balancing in a docker environment is a docker issue. Look here: https://www.nginx.com/blog/docker-swarm-load-balancing-nginx-plus/ https://avinetworks.com/glossary/container-load-balancing/
Personally I don't have experience with this.
Hello Michael,
Thanks for your response, skipping the load balancing issue.
In your example, jbpm-server-full is a WildFly instance and run as a "standalone server". It is perfectly possible to launch multiple standalone server instances and have them form an HA cluster. Can you update Dockerfile for the case start multiple standalone server with full-ha profile. ? Example: $ ./standalone.sh -c standalone-full-ha.xml I read the information about WildFly HA from: http://www.mastertheboss.com/jbossas/jboss-cluster/managing-high-availability-with-wildfly/
Hello @mbiarnes
I checkout latest code and start jbpm-server-full without any errors, but I cannot login with users and role default (wbadmin/wbadmin). Did I miss something? Please have a look:
krisv/krisv
Hello @mbiarnes Start jbpm-server-full container with standalone-full-ha.xml I tried list users: wbadmin, krisv, john,sales-rep,katy, jack but the result is FAILED login.
I try custom Dockerfile, start without standalone-full-ha.xml, and login again with the list users, the results is SUCCESS.
exec ./standalone.sh -b $JBOSS_BIND_ADDRESS $EXTRA_OPTS -Dorg.kie.server.location=$KIE_SERVER_LOCATION -Dorg.kie.server.id=$KIE_SERVER_ID -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true
I guess the problem when switch mode from ./standalone.sh to ./standalone.sh -c standalone-full-ha.xml What do you think?
Thanks,
could be. Please look at the doc of the docker images. I think you should add something to the standalone-full-ha.xml. Compare this one and the standalone-full.xml.
Hello Michael,
I setup jbpm-server-full follow guide https://github.com/jboss-dockerfiles/business-central/blob/main/server/README.md To ensure high availability for jbpm-server-full, How to deploy jbpm-server-full to supports failover or load balancing features?
Thank you.