Starting and Running the Server
Prerequisites:
- Cluster of machines with Linux as OS.
Start the Server:
Before starting the server the file containing all information about nodes(node_Inf_file)
must be present in the directory from where we start the server.
To start the server, go to the $HOME/cleanARC/kernel/bin directory
and give the command
- arcjoin first (If the machine is the first to join the ring)
- arcjoin (If the machine is not first to join the ring).
All subsequent machies join the ring by arcjoin(no arguments required).
After starting the server, the coordinator and monitor process starts running on those machines.
Leaving the server:
To leave the ring, leave command needs to be given.
This can be considered as the graceful exit of the coordinator from the ARC ring. The leave process
stops the coordinator and the monitor process.
Commands:
- arcjoin.
This joins the machine to the ring.
- deposit.
Used to deposit locks on the machine
- leave.
leave the ring to which it belongs.
- processARC.
Used to deposit locks on the machine
- coordinator.
started automatically by the join process
- monitor.
monitors the node for failures