File tree Expand file tree Collapse file tree 1 file changed +37
-1
lines changed Expand file tree Collapse file tree 1 file changed +37
-1
lines changed Original file line number Diff line number Diff line change 1
1
# 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
+
You can’t perform that action at this time.
0 commit comments