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