1MFSTOPOLOGY.CFG(5)                                          MFSTOPOLOGY.CFG(5)
2
3
4

NAME

6       mfstopology.cfg - LizardFS network topology definitions
7

DESCRIPTION

9       The file mfstopology.cfg contains assignments of IP addresses into
10       network locations (usually switch numbers). This file is optional. If
11       your network has one switch or decreasing traffic between switches is
12       not necessary then leave this file empty.
13

SYNTAX

15       Syntax is:
16
17       ADDRESS SWITCH-NUMBER
18
19       Lines starting with # character are ignored.
20
21       ADDRESS can be specified in several forms:
22
23       ·   * all addresses
24
25       ·   n.n.n.n single IP address
26
27       ·   n.n.n.n/b IP class specified by network address and bits number
28
29       ·   n.n.n.n/m.m.m.m IP class specified by network address and mask
30
31       ·   f.f.f.f-t.t.t.t IP range specified by from-to addresses (inclusive)
32
33       SWITCH-NUMBER can be specified as any positive 32-bit numer.
34

NOTES

36       If one IP belongs to more than one definition then last definition is
37       used.
38
39       As for now distance between switches is constant. So distance between
40       machines is calculated as: 0 when IP numbers are the same, 1 when IP
41       numbers are different, but switch numbers are the same and 2 when
42       switch numbers are different
43
44       Distances are used only to sort chunkservers during read and write
45       operations. New chunks are still created randomly. Also rebalance
46       routines do not take distances into account.
47
49       Copyright 2008-2009 Gemius SA, 2013-2015 Skytechnology sp. z o.o.
50
51       LizardFS is free software: you can redistribute it and/or modify it
52       under the terms of the GNU General Public License as published by the
53       Free Software Foundation, version 3.
54
55       LizardFS is distributed in the hope that it will be useful, but WITHOUT
56       ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
57       FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
58       for more details.
59
60       You should have received a copy of the GNU General Public License along
61       with LizardFS. If not, see http://www.gnu.org/licenses/.
62

SEE ALSO

64       mfsmaster(8), mfsmaster.cfg(5)
65
66
67
68                                  01/29/2020                MFSTOPOLOGY.CFG(5)
Impressum