Skip to content
Snippets Groups Projects
Commit f3541be2 authored by simrita2's avatar simrita2
Browse files

Update README.md

parent 772c1384
No related branches found
No related tags found
No related merge requests found
# MP2
***
# Distributed File System
Program to create a fault-tolerant distributed file service across distributed processes
- Uses streaming to transfer chunks of files across members
- Introducer & Nodes Architecture
## Notes
This code builds on top of the MP2 code - the new files are inside
- src/sdfs_server
- src/membership
- src/conf
- src/cmd/process
#### Building for source
Generating executable from source code:
```sh
go build -o process
```
Running source file:
```sh
go run process.go
```
Running executable:
```sh
./process
```
## Execution
Open Terminal and run these commands.
To run introducer (typically on VM2):
```sh
cd cs-425-mp1/src/cmd/introducer/
```
```sh
./introducer
```
***
To run node process (on all VMs):
```sh
cd cs-425-mp1/src/cmd/process/
```
```sh
./process
```
***
To run commands on node process (on all VMs):
```sh
GET
get <sdfsfilename> <localfilename>
```
```sh
GET_VERSIONS
get-versions <sdfsfilename> <num_versions> <localfilename>
```
```sh
PUT
put <localfilename> <sdfsfilename>
```
```sh
DELETE
delete <sdfsfilename>
```
```sh
LS
ls <sdfsfilename>
```
```sh
STORE
```
# MP2 # MP2
*** ***
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment