rev |
line source |
igor@3
|
1
|
igor@3
|
2 node1='debian'
|
igor@3
|
3 node2='mirror'
|
igor@3
|
4 i_am=node1
|
igor@3
|
5
|
igor@3
|
6 ip_address = {
|
igor@3
|
7 node1: '10.0.1.19',
|
igor@3
|
8 node2: '10.0.1.20',
|
igor@3
|
9 }
|
igor@3
|
10
|
igor@3
|
11 node1_ip=ip_address[node1]
|
igor@3
|
12 node2_ip=ip_address[node2]
|
igor@3
|
13
|
igor@3
|
14 domains=[ 'gw', 'igw', 'dns', 'vpn', 'apt', 'proxy', 'pgw', 'ldap', 'mail', 'uucp', 'samba', 'dozor', 'vvidd', ]
|
igor@3
|
15
|
igor@3
|
16 domain_home = {
|
igor@3
|
17 node1 : ['dozor', 'dns', 'gw', 'igw', 'pgw', 'ldap', 'mail', 'proxy', 'vpn', 'uucp', 'vvidd', 'apt'],
|
igor@3
|
18 node2 : ['samba'],
|
igor@3
|
19 }
|
igor@3
|
20
|
igor@3
|
21 kernel = "/boot/vmlinuz-2.6.18-4-xen-686"
|
igor@3
|
22 ramdisk = "/boot/initrd.img-2.6.18-4-xen-686-domU"
|
igor@3
|
23
|
igor@3
|
24 mem_table={
|
igor@3
|
25 'dozor' :256,
|
igor@3
|
26 'dns' :64,
|
igor@3
|
27 'gw' :64,
|
igor@3
|
28 'igw' :128,
|
igor@3
|
29 'pgw' :64,
|
igor@3
|
30 'ldap' :64,
|
igor@3
|
31 'mail' :256,
|
igor@3
|
32 'proxy' :256,
|
igor@3
|
33 'samba' :512,
|
igor@3
|
34 'vpn' :192,
|
igor@3
|
35 'uucp' :128,
|
igor@3
|
36 'vvidd' :64,
|
igor@3
|
37 'apt' :128,
|
igor@3
|
38 }
|
igor@3
|
39
|
igor@3
|
40 lvm_vg_name="TURBO"
|
igor@3
|
41 disk_table={
|
igor@3
|
42 'gw' : ['drbd1'],
|
igor@3
|
43 'igw' : ['drbd2'],
|
igor@3
|
44 'dns' : ['drbd3'],
|
igor@3
|
45 'vpn' : ['drbd4'],
|
igor@3
|
46 'apt' : ['drbd5'],
|
igor@3
|
47 'proxy' : ['drbd6'],
|
igor@3
|
48 'pgw' : ['drbd7'],
|
igor@3
|
49 'ldap' : ['drbd8'],
|
igor@3
|
50 'mail' : ['drbd10','drbd12:maildir'],
|
igor@3
|
51 'uucp' : ['drbd11'],
|
igor@3
|
52 'samba' : [
|
igor@3
|
53 'drbd18',
|
igor@3
|
54 'drbd13:samba-home',
|
igor@3
|
55 'drbd14:samba-nbumail',
|
igor@3
|
56 'drbd15:samba-arm3',
|
igor@3
|
57 'drbd16:samba-boxes',
|
igor@3
|
58 'drbd17:samba-profiles'
|
igor@3
|
59 ],
|
igor@3
|
60 'dozor' : ['drbd19'],
|
igor@3
|
61 'vvidd' : ['drbd20'],
|
igor@3
|
62 }
|
igor@3
|
63
|
igor@3
|
64 bridges=['tagged0', 'xenbr1', 'xenbr256', 'xenbr257', 'xenbr3', 'xenbr4', 'xenbr501']
|
igor@3
|
65 vlans= ['tagged', 1, 256, 257, 3, 4, 501 ]
|
igor@3
|
66 management_vlan=1
|
igor@3
|
67 trunk='eth0'
|
igor@3
|
68 management_ip=ip_address[i_am]
|
igor@3
|
69 management_gw='10.0.1.253'
|
igor@3
|
70
|
igor@3
|
71 vbridges_table={
|
igor@3
|
72 'dozor' : ['xenbr3'],
|
igor@3
|
73 'dns' : ['xenbr3'],
|
igor@3
|
74 'gw' : ['xenbr501', 'xenbr256', 'xenbr257'],
|
igor@3
|
75 'igw' : ['tagged0','xenbr3'],
|
igor@3
|
76 'pgw' : ['xenbr3','xenbr501'],
|
igor@3
|
77 'ldap' : ['xenbr3'],
|
igor@3
|
78 'mail' : ['xenbr3'],
|
igor@3
|
79 'proxy' : ['xenbr3'],
|
igor@3
|
80 'samba' : ['tagged0', 'xenbr3'],
|
igor@3
|
81 'vpn' : ['xenbr3'],
|
igor@3
|
82 'vvidd' : ['xenbr3'],
|
igor@3
|
83 'apt' : ['xenbr3'],
|
igor@3
|
84 'uucp' : ['xenbr3'],
|
igor@3
|
85 }
|
igor@3
|
86
|
igor@3
|
87 # FOR INSTALLATION ONLY
|
igor@3
|
88
|
igor@3
|
89 ip_network="10.0.3"
|
igor@3
|
90 domain_name="eb.co.ua"
|
igor@3
|
91 ip_nameserver="10.0.3.4"
|
igor@3
|
92 ip_gateway="10.0.3.3"
|
igor@3
|
93
|
igor@3
|
94 debian_release="etch"
|
igor@3
|
95 debian_mirror="http://debian.org.ua/debian"
|
igor@3
|
96 apt_get_install="less tcpdump libpam-ldap libnss-ldap snmpd libc6-xen openssh-server"
|
igor@3
|
97
|
igor@3
|
98
|