-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathexample-diagram.txt
45 lines (39 loc) · 2.44 KB
/
example-diagram.txt
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
Example Setup Diagram
=====================
┌───────────────┐┌───────────────┐┌───────────────┐┌───────────────┐
│ Host #1 ││ Host #2 ││ Host #3 ││ Host #4 │
├───────────────┤├───────────────┤├───────────────┤├───────────────┤
│cpuminer (4048)││cpuminer (4048)││cpuminer (4048)││cpuminer (4049)│
├───────────────┤├───────────────┤└───────┬───────┘└───────┬───────┘
│cpuminer (4049)││cpuminer (4049)│ │ │
└───────┬───────┘└───────┬───────┘ │ │
│ │ │ │
└────────────────┴─────────┬──────┴────────────────┘
│
┌────────┴───────┐
│ Network Switch │
└────────┬───────┘
│
│
│
┌────────┴───────┐
│ LAN Controller │
├────────────────┤
│ monitor.py │
├────────────────┤
│ .chosts │
└────────────────┘
Important Files and Changes by Host
===================================
LAN Controller:
#! .chosts is used by monitor.py. It has the list of hosts you wish to monitor
/home/<username>/.chosts:
host1
host2
host3
host4
#! /etc/hosts: This is only for a matter of convenience. Using IP addresses get old, fast.
192.168.1.1 host1
192.168.1.2 host2
192.168.1.3 host3
192.168.1.4 host4