- Authors: Aarya Bhatia (aaryab2@illinois.edu), William Zheng
- MP3 Report
- VM addresses
- Power on all vms from https://vc.cs.illinois.edu
- Run
./deploy.sh
To start each server manually on VMs:
cd go/main/server
go run .
cd go/shell
./stopall.sh
cd ./go/main/server
go run . <ID>
Notes:
- ID can be any number from 1 to 10
- You can run commands on stdin (type "help")
- Introducer must be alive for new nodes to join
- Development
cd go/main/failuredetector
go run . localhost 34000
- Production: Login to vm1 and run the following:
cd go/main/failuredetector
go run . $(hostname) 34000
cd go/main/client
go run . <server_id> <command> <args>...
- to print usage: Run without any args
- To list file replicas:
ls <file> - To download file from sdfs to disk:
get <remote> <local> - To upload file from disk to sdfs:
put <local> <remote> - To delete file from sdfs:
delete <remote> - To append file:
append <local> <remote> - To concatenate files in directory (prefix):
cat <prefix> <output> - To list files in directory:
lsdir <directory> - To remove directory:
rmdir <directory> - To list all files:
lsdir / - To delete all files:
rmdir / - Run map command (see usage):
maple ... - Run reduce command (see usage):
juice ...
These commands can be sent by stdin to SDFS servers.
kill: crash serverlist_mem: print FD membership tablelist_self: print FD member idjoin: start gossipingleave: stop gossipinginfo: Display node infostore: Display local files blocksleader: Print leader nodefiles: Print file metadataqueue: Print file queues status
Config parameters can be changed in here