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