TO COMPILE: ./demo_compile.sh Note: Don't forget to start rmiregistry before using the application. TO RUN: To start each peer: ./demo_peer.sh Use the demo scripts to run (demo_*.sh files): - Note: Due to the properties of RMI, you must only interact with peers running on the local machine. ./demo_*.sh - BACKUP, with replication degree 1, 3 and 20, for both a big(50 chunks) and small(3 chunks) file. - Files: - demo_backup_small_rd1.sh - demo_backup_small_rd3.sh - demo_backup_small_rd20.sh - demo_backup_big_rd1.sh - demo_backup_big_rd3.sh - demo_backup_big_rd20.sh - BACKUPENH, with replication degrre 1, for the aforementioned big and small files. - Files: - demo_backupenh_small.sh - demo_backupenh_big.sh - RESTORE, the aforementioned big and small files. - Files: - demo_restore_small.sh - demo_restore_big.sh - RESTOREENH, the aforementioned big and small files. - Note: As mentioned in the report, this enhancement does not work if the peers are located in different computers, due to the properties of RMI. To test, only run in a single computer - Files: - demo_restoreenh_small.sh - demo_restoreenh_big.sh - DELETE, the aforementioned big and small files. - Files: - demo_delete_small.sh - demo_delete_big.sh - RECLAIM, for any of the peers: ./demo_reclaim.sh - STATE, for any of the peers: ./demo_state.sh For testing with custom arguments, use the files in the "scripts" folder.