-
On each machine go to /home/lekkala2 and use java -cp uber-tempest-1.0-SNAPSHOT.jar tempest.TempestApp to get the tempestApp running In a new terminal window login to the VM which you want to run SDFSClientApp java -cp uber-tempest-1.0-SNAPSHOT.jar tempest.SDFSClientApp
-
Go to the machine from which you want join the membership and type ‘?list’ at the >Tempest prompt to see the function calls that can be made from Client end
-
Introducer which is VM 'fa15-cs425-g03-01.cs.illinois.edu' needs to be up for members to join the group. Type 'mstart' or 'start-membership'(and Enter) at >Tempest to Join the membership/Gossip group and 'mstop' or 'stop-membership'(and Enter) to Leave the membership/Gossip group.
-
Type 'mstart'(and Enter) at introducer 'fa15-cs425-g03-01.cs.illinois.edu' so others machines can join and similarly execute 'sm' on all machines at >Tempest command prompt tomstop the group.
-
Type 'mstop'(and Enter) on the machine you want to leave.
-
Type 'gml'(and Enter) or 'get-membership-list' at >Tempest command prompt to get the latest membership list on the machine.
-
Once mstart is done the machine is a member of SDFS file storage machines.
-
To have the Client operations (put, get, delete) at the machine, java -cp uber-tempest-1.0-SNAPSHOT.jar tempest.SDFSClientApp at that particular machine in a new window and '?list' at the SDFSClientApp.
-
'put localfilename sdfsfilename' will put the localfile with sdfsfilename at the SDFS file storage machines.
-
'get sdfsfilename' will get the sdfsfilename from SDFS machines and store it at local machine with same name.
-
'delete sdfsfilename' will delete the sdfsfile from all the SDFS machines where it is replicated.
-
After 'put localfilename sdfsfilename' at SDFSClientApp, 'store' can be used at TempestApp running to display files at each SDFS server machine. 'list sdfsfilename' will display all the VMs that have sdfsfilename.
-
Git Clone the repo
-
cd cs425-mp-lekkala-morrow/tempest folder and mvn clean install
-
cd target and java -cp uber-tempest-1.0-SNAPSHOT.jar tempest.TempestApp to get the Tempest App running on your machine.
-
java -cp uber-tempest-1.0-SNAPSHOT.jar tempest.SDFSClientApp to be the SDFS Client at that machine.
-
cd ../../tempest-test
-
mvn clean test