...
- Launch the shared H2 database process from cluster/database: java -jar target/h2-1.2.140.jar
* From the controller/target/image/bin directory: java -jar server.jar controller
* From the zone1/target/image/bin directory: java -jar server.jar participant
* From the zone2/target/image/bin directory: java -jar server.jar participant
After booting, the runtimes will discover each other and form a distributed domain consisting of two clusters (zones). Note the runtimes may be on the same machine or different machines. Copy the BigBank archives to the controller/target/image/runtimes/controller/deploy directory. The controller will provision the loan service and web UIs to zone1 and the backend services to zone2.
...