-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathStart_Up_Instructions.rtf
More file actions
48 lines (46 loc) · 3.33 KB
/
Start_Up_Instructions.rtf
File metadata and controls
48 lines (46 loc) · 3.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{\rtf1\ansi\ansicpg1252\cocoartf1504\cocoasubrtf830
{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset0 HelveticaNeue;\f2\fnil\fcharset0 Menlo-Regular;
}
{\colortbl;\red255\green255\blue255;\red25\green25\blue25;\red255\green255\blue255;\red0\green0\blue0;
\red255\green255\blue255;}
{\*\expandedcolortbl;;\cssrgb\c12941\c12941\c12941;\cssrgb\c100000\c100000\c100000;\csgray\c0;
\csgray\c100000;}
\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
\f0\fs24 \cf0 1.) Our system is configured to run on 14 machines from the clusters. The files are located in dahayton directory on each machine and run by that user. \
\
2.) To run our system, ssh into dahayton@
\f1 \cf2 \cb3 \expnd0\expndtw0\kerning0
54.209.66.61 and enter the DistributedStealthWeb folder.
\f0 \cf0 \cb1 \kerning1\expnd0\expndtw0 You can also just unpack the DistributedStealthWeb Folder in the tarball we turned in on the master. This shouldn\'92t be necessary though unless the servers have been wiped.
\f1 \cf2 \cb3 \expnd0\expndtw0\kerning0
Navigate to scripts/system_commands\
\
3.) To clear the system, which shouldn\'92t be neccessary, run:\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\partightenfactor0
\f2\fs22 \cf4 \cb5 \kerning1\expnd0\expndtw0 \CocoaLigature0 ./run_on_all_ips.sh stop_java.sh \
./run_on_all_ips.sh stop_httpd.sh \
./run_on_all_ips.sh danger_delete_all.sh\
\
This will stop all running nodes and delete them.\
\
4.) Run ./spawn_backend.sh, this will load a node on each server\
specified in the /system_config/starting-ip-list.txt file. Feel free to add and delete ips! This will take 3-4 minutes.\
\
5.) Navigate to /scripts/upload and run ./upload_files.sh, this will upload all files in /system_config/dist-index.txt. Feel free to add more mappings and files. New files must be placed in the html directory in scripts. Specify all files names with a \'91/\'91 in dist-index.txt.\
\
6.) Navigate back to system_commands and run ./start_backend.sh, this will start all the apache servers on port 8505. These can be contacted from a browser for testing.\
\
7.) Open up a new terminal window and ssh to the master. Navigate to the src directory in DistributedStealthWeb. The command to start the RmiServer (or master) can be found in rmi_server_run_command.txt. Run that command and it should start the master. You will see a few initial loading messages and then regular output from the ping. In the event of a failure, it will pause and load new nodes.\
\
8.) In the other window, which should still be in the scripts directory, run ./start_proxies.sh, a bunch of ips will print out and then a corresponding hello world message, as each proxy tests its connection to the master. This process may have to be manually exited, so give it a minute and then close it after the messages have stoped printing. \
\
9.) TEST! Contact one of the proxies, running on port 8080, in a chrome browser and ask for one of the html documents! \
\
10.) To cause failures use the induce_failure.sh script in the system_commands folder. Just pass it an ip to shut down like this: ./induce_failure.sh
\f1\fs24 \cf2 \cb3 \expnd0\expndtw0\kerning0
\CocoaLigature1 3.83.10.22
\f2\fs22 \cf4 \cb5 \kerning1\expnd0\expndtw0 \CocoaLigature0 \
\
\
}