Chapter 9

Deploying a Fault-Tolerant JADE Platform
Companion Material

If you wish so, you can download all these support files on your computer in a single .zip file.
Notice that all provided .bat files are for a Windows computer.

Remind that you need to download and install JADE before you start.

set the CLASSPATH variable (remind to edit the .bat file to set the directory where you installed JADE on your computer).

This companion material provides a set of batch files that help to test the Main Replication Service of JADE.

1. Before launching the batch files, set in this file the hostnames where the Main Container, the first backup Main and the second backup Main respectively will be launched

2. Launch the main container on the first host that will act as the master and starter of the sample initialization sequence.

3. Launch a backup main container on the second host

4. Launch a second backup main container on the third host

5,6,7. Launch now some non-main containers: container-1container-2, and container-3

8. If you kill one of the main containers, the others will rearrange automatically. This is the script to restart the first main container in case you killed it.

JADE™ and related logos are a registered trademark of Telecom Italia S.p.A. (formerly Telecom Italia)

Developing Multi-Agent Systems with JADE
Fabio Luigi Bellifemine, Giovanni Caire, Dominic Greenwood
© 2007 John Wiley & Sons, Ltd