igor@0: igor@0: node1='dom0' igor@0: node2='dom0m' igor@0: i_am=node1 igor@0: igor@0: ip_address = { igor@0: node1: '192.168.1.190', igor@0: node2: '192.168.1.191' igor@0: } igor@0: igor@0: node1_ip=ip_address[node1] igor@0: node2_ip=ip_address[node2] igor@0: igor@0: domains=['log', 'dns', 'gw', 'igw', 'ldap', 'mail', 'proxy', 'samba', 'vpn', 'intraweb', 'jabber'] igor@0: igor@0: domain_home = { igor@0: node1 : ['log', 'dns', 'gw', 'igw', 'ldap', 'mail', 'proxy', 'vpn', 'intraweb', 'jabber'], igor@0: node2 : ['samba'], igor@0: } igor@0: igor@0: kernel = "/boot/vmlinuz-2.6.18-5-xen-686" igor@0: ramdisk = "/boot/initrd.img-2.6.18-5-xen-686" igor@0: igor@0: mem_table={ igor@0: 'log' :256, igor@0: 'dns' :64, igor@0: 'gw' :64, igor@0: 'igw' :128, igor@0: 'ldap' :64, igor@0: 'mail' :256, igor@0: 'proxy' :256, igor@0: 'samba' :256, igor@0: 'vpn' :64, igor@0: 'web' :128, igor@0: 'intraweb':128, igor@0: 'jabber':64, igor@0: } igor@0: igor@0: lvm_vg_name="XEN" igor@0: disk_table={ igor@0: 'log' : ['10G'], igor@0: 'dns' : ['2G'], igor@0: 'gw' : ['2G'], igor@0: 'igw' : ['2G'], igor@0: 'ldap' : ['2G'], igor@0: 'mail' : ['2G','maildir:2G'], igor@0: 'proxy' : ['10G'], igor@0: 'samba' : ['2G','samba-share:2G'], igor@0: 'vpn' : ['2G'], igor@0: 'web' : ['10G'], igor@0: 'intraweb' : ['10G'], igor@0: 'jabber' : ['2G'], igor@0: } igor@0: igor@0: bridges=['br0','br1'] igor@0: vlans=[4094,4093] igor@0: management_vlan=4094 # vlan 2 igor@0: trunk='eth1' igor@0: management_ip=ip_address[i_am] igor@0: management_gw='192.168.1.197' igor@0: igor@0: vbridges_table={ igor@0: 'log' : ['br1'], igor@0: 'dns' : ['br1'], igor@0: 'gw' : ['br0', 'br1'], igor@0: 'igw' : ['br1'], igor@0: 'ldap' : ['br1'], igor@0: 'mail' : ['br1'], igor@0: 'proxy' : ['br1'], igor@0: 'samba' : ['br1'], igor@0: 'vpn' : ['br1'], igor@0: 'web' : ['br1'], igor@0: 'intraweb' : ['br1'], igor@0: 'jabber' : ['br1'], igor@0: } igor@0: igor@0: ip_network="192.168.3" igor@0: domain_name="example.com" igor@0: ip_nameserver="192.168.3.2" igor@0: ip_gateway="192.168.3.3" igor@0: igor@0: debian_release="etch" igor@0: debian_mirror="http://debian.org.ua/debian" igor@0: apt_get_install="less tcpdump libpam-ldap libnss-ldap snmpd libc6-xen openssh-server" igor@0: igor@0: