xen-drbd

annotate od.py @ 8:3e4a29f88d50

Odessa virtual host config
author igor
date Mon Feb 11 19:56:57 2008 +0200 (2008-02-11)
parents 826230820396
children e2eafd7e1b85
rev   line source
eb@7 1
eb@7 2 node1='debian'
eb@7 3 node2='mirror'
eb@7 4 i_am=node1
eb@7 5
eb@7 6 ip_address = {
igor@8 7 node1: '10.0.5.220',
igor@8 8 node2: '10.0.5.221',
eb@7 9 }
eb@7 10
eb@7 11 node1_ip=ip_address[node1]
eb@7 12 node2_ip=ip_address[node2]
eb@7 13
igor@8 14 domains=[ 'gw', 'igw', 'dns', 'vpn', 'apt', 'pgw', 'ldap', 'mail', 'uucp', 'samba', ]
eb@7 15
eb@7 16 domain_home = {
igor@8 17 node1 : ['dns', 'gw', 'igw', 'pgw', 'ldap', 'mail', 'vpn', 'uucp', 'apt'],
igor@8 18 node2 : ['samba'],
igor@8 19 }
eb@7 20
eb@7 21 kernel = "/boot/vmlinuz-2.6.18-4-xen-686"
eb@7 22 ramdisk = "/boot/initrd.img-2.6.18-4-xen-686-domU"
eb@7 23
eb@7 24 mem_table={
igor@8 25 'dns' :64,
igor@8 26 'gw' :64,
igor@8 27 'igw' :128,
igor@8 28 'pgw' :64,
igor@8 29 'ldap' :64,
igor@8 30 'mail' :256,
igor@8 31 'samba' :512,
igor@8 32 'vpn' :192,
igor@8 33 'uucp' :128,
igor@8 34 'apt' :128,
eb@7 35 }
eb@7 36
eb@7 37 vcpus_table={
igor@8 38 'dns' :1,
igor@8 39 'gw' :1,
igor@8 40 'igw' :1,
igor@8 41 'pgw' :1,
igor@8 42 'ldap' :1,
igor@8 43 'mail' :4,
igor@8 44 'samba' :4,
igor@8 45 'vpn' :4,
igor@8 46 'uucp' :4,
igor@8 47 'apt' :2,
eb@7 48 }
eb@7 49
eb@7 50 lvm_vg_name="TURBO"
eb@7 51 disk_table={
igor@8 52 'gw' : ['drbd1:gw:2G'],
igor@8 53 'igw' : ['drbd2:igw:2G'],
igor@8 54 'dns' : ['drbd3:dns:2G'],
igor@8 55 'vpn' : ['drbd4:vpn:2G'],
igor@8 56 'apt' : ['drbd5:apt:10G'],
igor@8 57 'pgw' : ['drbd6:pgw:2G'],
igor@8 58 'ldap' : ['drbd7:ldap:2G'],
igor@8 59 'mail' : ['drbd8:mail:2G','drbd9:maildir:100G'],
igor@8 60 'uucp' : ['drbd11:uucp:3G'],
igor@8 61 'samba' : [
igor@8 62 'drbd12:samba:3G',
igor@8 63 'drbd13:samba-home:100G',
igor@8 64 'drbd14:samba-nbumail:100G',
igor@8 65 'drbd17:samba-profiles:100G'
igor@8 66 ],
eb@7 67 }
eb@7 68
eb@7 69 bridges=['tagged0', 'xenbr1', 'xenbr256', 'xenbr257', 'xenbr3', 'xenbr4', 'xenbr501']
eb@7 70 vlans= ['tagged', 1, 256, 257, 3, 4, 501 ]
eb@7 71 management_vlan=1
eb@7 72 trunk='eth0'
eb@7 73 management_ip=ip_address[i_am]
igor@8 74 management_gw='10.0.5.253'
eb@7 75
eb@7 76 vbridges_table={
igor@8 77 'dns' : ['xenbr3'],
igor@8 78 'gw' : ['xenbr501', 'xenbr256', 'xenbr257'],
igor@8 79 'igw' : ['tagged0','xenbr3'],
igor@8 80 'pgw' : ['xenbr3','xenbr501'],
igor@8 81 'ldap' : ['xenbr3'],
igor@8 82 'mail' : ['xenbr3'],
igor@8 83 'samba' : ['tagged0', 'xenbr3'],
igor@8 84 'vpn' : ['xenbr3'],
igor@8 85 'apt' : ['xenbr3'],
igor@8 86 'uucp' : ['xenbr3'],
eb@7 87 }
eb@7 88
eb@7 89 # FOR INSTALLATION ONLY
eb@7 90
igor@8 91 ip_network="10.4.3"
igor@8 92 ip_netmask="255.255.255.224"
igor@8 93 domain_name="od.eb.co.ua"
igor@8 94 ip_nameserver="10.4.3.4"
eb@7 95 ip_gateway="10.0.3.3"
eb@7 96
igor@8 97 ip_address_table={
igor@8 98 "dns" :"10.4.3.4",
igor@8 99 "gw" :"10.4.3.254",
igor@8 100 "igw" :"10.4.3.3",
igor@8 101 "pgw" :"10.4.3.6",
igor@8 102 "ldap" :"10.4.3.11",
igor@8 103 "mail" :"10.4.3.9",
igor@8 104 "samba" :"10.4.3.1",
igor@8 105 "vpn" :"10.4.3.5",
igor@8 106 "apt" :"10.4.3.7",
igor@8 107 "uucp" :"10.4.3.16",
igor@8 108 "jabber":"10.4.3.12",
eb@7 109
igor@8 110 }
eb@7 111
igor@8 112 debian_release="lenny"
igor@8 113 debian_mirror="http://apt.eb.co.ua:9999/"
igor@8 114 apt_get_install="less tcpdump dnsutils vim ntp screen snmpd libc6-xen openssh-server"
igor@8 115
igor@8 116