-
Notifications
You must be signed in to change notification settings - Fork 11
/
topology.txt
47 lines (43 loc) · 2.48 KB
/
topology.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
46
47
COLO network topology
=========================normal ======================================
+--------+
|client |
master +----+---+ slave
-------------------------+ | + -------------------------+
pvm | + | |
+-------+ +----[eth0]-----[switch]-----[eth0]---------+ |
|guest | +---+-+ | | +---+-+ |
| [tap0]--+ br0 | | | | br0 | |
| | +-----+ [eth1]-----[forward]----[eth1]--+ +-----+ svm |
+-------+ | | | +-------+|
| | | +-----+ | guest ||
[eth2]---[checkpoint]---[eth2] +--+br1 |-[tap0] ||
| | +-----+ | ||
| | +-------+|
-------------------------+ +--------------------------+
e.g.
master:
br0: 192.168.0.33
eth1: 192.168.1.33
eth2: 192.168.2.33
slave:
br0: 192.168.0.88
br1: no ip address
eth1: 192.168.1.88
eth2: 192.168.2.88
==================after failover=====================================
+--------+
|client |
master (dead) +----+---+ slave (alive)
-------------------------+ | ---------------------------+
pvm | + | |
+-------+ +----[eth0]--X--[switch]-----[eth0]-------+ |
|guest | +---+-+ | | +---+-+ |
| [tap0]--+ br0 | | | | br0 +--+ |
| | +-----+ [eth1]--X--[forward]----[eth1] +-----+ | svm |
+-------+ | | | +-------+|
| | +-----+ | | guest ||
[eth2]-X-[checkpoint]---[eth2] |br1 | +[tap0] ||
| | +-----+ | ||
| | +-------+|
-------------------------+ +--------------------------+