Skip to content

Commit 22b9052

Browse files
authored
Update README.md
1 parent 044df38 commit 22b9052

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

README.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,38 @@
11
# Distributed-File-System
2-
Java RMI and TCp / IP Based Distributed File Storage
2+
3+
Implementation of TCP/IP & Java RMI based DFS
4+
=============================================
5+
6+
The code attempts to implement Distributed File System:
7+
8+
> Abhishek Negi, Manish Thakur
9+
10+
List of files
11+
-------------
12+
1. Command.java (Interface for creating file in DFS).
13+
2. Get.java (Get file from DFS(Storage Server Hosting File) and store in Current Directory).
14+
3. NamingServer.java (NameServer for DFS).
15+
4. Put.java (Put a file in DFS).
16+
5. Registration.java (Interface for registering a StorageServer to NameServer).
17+
6. Services.java (Client Interface to create,get storageserver of a file and list files in DFS).
18+
7. list.java (Show files in DFS).
19+
20+
21+
Usage
22+
-----
23+
To Start NameServer :
24+
25+
java NamimgServer [IP-NameServer] [Port-NameServer(to use for RMI communication)]
26+
27+
To Start StorageServer on any PC in the network :
28+
29+
java StorageServer [Own-Ip] [PORT(for tcp)] [Port(for RMI)] [IP NameServer] [RMI port In NameServer]
30+
31+
32+
To Get , Put and List file in DFS:
33+
34+
java Get [File-Name] [IP-NameServer] [RMI port In NameServer]
35+
java Put [File-Name] [IP-NameServer] [RMI port In NameServer] [Port(for TCP)] [Own-IP]
36+
java list [File-Name] [IP-NameServer] [RMI port In NameServer]
37+
38+

0 commit comments

Comments
 (0)