eb@1: eb@1: node1='debian' eb@1: node2='mirror' eb@1: i_am=node1 eb@1: eb@1: ip_address = { eb@1: node1: '10.0.1.19', eb@1: node2: '10.0.1.20', eb@1: } eb@1: eb@1: node1_ip=ip_address[node1] eb@1: node2_ip=ip_address[node2] eb@1: eb@1: domains=[ 'gw', 'igw', 'dns', 'vpn', 'apt' 'proxy', 'pgw', 'ldap', 'mail', 'uucp', 'samba', 'dozor', 'vvidd', ] eb@1: eb@1: domain_home = { eb@1: node1 : ['dozor', 'dns', 'gw', 'igw', 'pgw', 'ldap', 'mail', 'proxy', 'vpn', 'uucp', 'vvidd', 'apt'], eb@1: node2 : ['samba'], eb@1: } eb@1: eb@1: kernel = "/boot/vmlinuz-2.6.18-4-xen-686" eb@1: ramdisk = "/boot/initrd.img-2.6.18-4-xen-686-domU" eb@1: eb@1: mem_table={ eb@1: 'dozor' :256, eb@1: 'dns' :64, eb@1: 'gw' :64, eb@1: 'igw' :128, eb@1: 'pgw' :64, eb@1: 'ldap' :64, eb@1: 'mail' :256, eb@1: 'proxy' :256, eb@1: 'samba' :512, eb@1: 'vpn' :192, eb@1: 'uucp' :128, eb@1: 'vvidd' :64, eb@1: 'apt' :128, eb@1: } eb@1: eb@1: lvm_vg_name="TURBO" eb@1: disk_table={ eb@1: 'gw' : ['drbd1'], eb@1: 'igw' : ['drbd2'], eb@1: 'dns' : ['drbd3'], eb@1: 'vpn' : ['drbd4'], eb@1: 'apt' : ['drbd5'], eb@1: 'proxy' : ['drbd6'], eb@1: 'pgw' : ['drbd7'], eb@1: 'ldap' : ['drbd8'], eb@1: 'mail' : ['drbd10','drbd12:maildir'], eb@1: 'samba' : [ eb@1: 'drbd18', eb@1: 'drbd13:samba-home', eb@1: 'drbd14:samba-nbumail', eb@1: 'drbd15:samba-arm3', eb@1: 'drbd16:samba-boxes', eb@1: 'drbd17:samba-profiles' eb@1: ], eb@1: 'dozor' : ['drbd19'], eb@1: 'vvidd' : ['drbd20'], eb@1: } eb@1: eb@1: bridges=['tagged0', 'xenbr1', 'xenbr256', 'xenbr257', 'xenbr3', 'xenbr4', 'xenbr501'] eb@1: vlans= ['tagged', 1, 256, 257, 3, 4, 501 ] eb@1: management_vlan=1 eb@1: trunk='eth0' eb@1: management_ip=ip_address[i_am] eb@1: management_gw='10.0.1.253' eb@1: eb@1: vbridges_table={ eb@1: 'dozor' : ['xenbr3'], eb@1: 'dns' : ['xenbr3'], eb@1: 'gw' : ['xenbr501', 'xenbr256', 'xenbr257'], eb@1: 'igw' : ['tagged0','xenbr3'], eb@1: 'pgw' : ['xenbr3','xenbr501'], eb@1: 'ldap' : ['xenbr3'], eb@1: 'mail' : ['xenbr3'], eb@1: 'proxy' : ['xenbr3'], eb@1: 'samba' : ['tagged0', 'xenbr3'], eb@1: 'vpn' : ['xenbr3'], eb@1: 'vvidd' : ['xenbr3'], eb@1: 'apt' : ['xenbr3'], eb@1: 'uucp' : ['xenbr3'], eb@1: } eb@1: eb@1: # FOR INSTALLATION ONLY eb@1: eb@1: ip_network="10.0.3" eb@1: domain_name="eb.co.ua" eb@1: ip_nameserver="10.0.3.4" eb@1: ip_gateway="10.0.3.3" eb@1: eb@1: debian_release="etch" eb@1: debian_mirror="http://debian.org.ua/debian" eb@1: apt_get_install="less tcpdump libpam-ldap libnss-ldap snmpd libc6-xen openssh-server" eb@1: eb@1: