| java.lang.Object org.space4j.demos.phonebook.PhoneBookPassivationCluster
PhoneBookPassivationCluster | public class PhoneBookPassivationCluster (Code) | | This is to show you how simple it is to use passivation in a cluster !!!
To make a cluster, open up two shells (or DOS) and execute in the first:
java org.space4j.demos.phonebook.PhoneBookPassivationCluster master
and in the second:
java org.space4j.demos.PhoneBookPassivationCluster slave 127.0.0.1
You can also use two different machines. Just pass the master IP address to the slave instead of 127.0.0.1.
IMPORTANT: You must have the main Space4J dir (space4j_db) mounted, so both machines can have access to it.
Each machine must access its own space4j_pv dir for passivation.
|
|
|