User Manual

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 1

DownloadUser Manual
Open PDF In BrowserView PDF
User Manual
Distributed Peer Running:
Follow the following steps to run the distributed peer:
1. make sure you have copied the provided ‘distributed_peer.jar’, ‘start_rmiregistry.sh’,
‘config.properties’ and ‘run_peer.sh’ in a single directory.
2. You should have java 1.7 installed on your machine to run this.
3. Open the location of these files in a terminal and run “./start_rmiregistry.sh” command. If
there is no error message shown, and the execution is not complete, the RMI registry is started
successfully on your machine.
4. Edit the config.properties file to contain the correct IP addresses of the neighbors to which
this peer is connected, provide a peer ID (should be unique for each peer), and mention a
correct absolute path of a shared directory u want to use.
5. Open another terminal in same location and run “run_peer.sh” in it. You should get following
messages on startup. Follow the instruction on the screen to continue. (Green colored text is
entered by user)
6. Repeat the same steps above on different machines to create more peers. Don’t forget to
modify the config.properties to contain a unique peer ID for each peer.
Example:
admincss-MacBook-Pro-110:PA1 vivekbajpai$ ./run_peer.sh
File manager on the peer has started and ready for requests!!!
The directory scanner has started. Lets wait for it to register all file in the shared directory.
PeerId and Filenames registered with Indexing Server
Please enter the name of the file to download or enter Q/q to exit:
testing.txt
The Index server returned following peers for this file. Please select one:
1) 10.0.0.59
2) 10.0.0.112
Enter the number of the peer you want to use for downloading:
1
File Downloading started from 10.0.0.59.......
File named testing.txt downloaded successfully in the shared directory in 416.579065 msecs!!!
Time taken for lookup = 180.584729 msecs.
Time taken for download = 416.579065 msecs.
Total time taken = 597.163794 msecs.
Please enter the name of the file to download or enter Q/q to exit:



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : No
Page Count                      : 1
Language                        : en-US
Tagged PDF                      : Yes
XMP Toolkit                     : 3.1-701
Creator                         : Vivek Bajpai
Creator Tool                    : Microsoft Word
Create Date                     : 2017:02:27 03:31:12+00:00
Modify Date                     : 2017:02:27 03:31:12+00:00
Document ID                     : uuid:F8699314-386F-409F-A40D-70E462BB1152
Instance ID                     : uuid:F8699314-386F-409F-A40D-70E462BB1152
Author                          : Vivek Bajpai
EXIF Metadata provided by EXIF.tools

Navigation menu