xen-drbd

annotate od.py @ 7:826230820396

*** empty log message ***
author eb
date Mon Feb 11 17:08:54 2008 +0200 (2008-02-11)
parents
children 3e4a29f88d50
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 = {
eb@7 7 node1: '10.0.1.19',
eb@7 8 node2: '10.0.1.20',
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
eb@7 14 domains=[ 'gw', 'igw', 'dns', 'vpn', 'apt', 'proxy', 'pgw', 'ldap', 'mail', 'uucp', 'samba', 'dozor', 'vvidd', ]
eb@7 15
eb@7 16 domain_home = {
eb@7 17 node1 : ['dozor', 'dns', 'gw', 'igw', 'pgw', 'ldap', 'mail', 'proxy', 'vpn', 'uucp', 'vvidd', 'apt'],
eb@7 18 node2 : ['samba'],
eb@7 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={
eb@7 25 'dozor' :256,
eb@7 26 'dns' :64,
eb@7 27 'gw' :64,
eb@7 28 'igw' :128,
eb@7 29 'pgw' :64,
eb@7 30 'ldap' :64,
eb@7 31 'mail' :256,
eb@7 32 'proxy' :256,
eb@7 33 'samba' :512,
eb@7 34 'vpn' :192,
eb@7 35 'uucp' :128,
eb@7 36 'vvidd' :64,
eb@7 37 'apt' :128,
eb@7 38 }
eb@7 39
eb@7 40 vcpus_table={
eb@7 41 'dozor' :4,
eb@7 42 'dns' :2,
eb@7 43 'gw' :1,
eb@7 44 'igw' :1,
eb@7 45 'pgw' :1,
eb@7 46 'ldap' :1,
eb@7 47 'mail' :4,
eb@7 48 'proxy' :4,
eb@7 49 'samba' :4,
eb@7 50 'vpn' :4,
eb@7 51 'uucp' :4,
eb@7 52 'vvidd' :4,
eb@7 53 'apt' :2,
eb@7 54 }
eb@7 55
eb@7 56 lvm_vg_name="TURBO"
eb@7 57 disk_table={
eb@7 58 'gw' : ['drbd1'],
eb@7 59 'igw' : ['drbd2'],
eb@7 60 'dns' : ['drbd3'],
eb@7 61 'vpn' : ['drbd4'],
eb@7 62 'apt' : ['drbd5'],
eb@7 63 'proxy' : ['drbd6'],
eb@7 64 'pgw' : ['drbd7'],
eb@7 65 'ldap' : ['drbd8'],
eb@7 66 'mail' : ['drbd10','drbd12:maildir'],
eb@7 67 'uucp' : ['drbd11'],
eb@7 68 'samba' : [
eb@7 69 'drbd18',
eb@7 70 'drbd13:samba-home',
eb@7 71 'drbd14:samba-nbumail',
eb@7 72 'drbd15:samba-arm3',
eb@7 73 'drbd16:samba-boxes',
eb@7 74 'drbd17:samba-profiles'
eb@7 75 ],
eb@7 76 'dozor' : ['drbd19'],
eb@7 77 'vvidd' : ['drbd20'],
eb@7 78 }
eb@7 79
eb@7 80 bridges=['tagged0', 'xenbr1', 'xenbr256', 'xenbr257', 'xenbr3', 'xenbr4', 'xenbr501']
eb@7 81 vlans= ['tagged', 1, 256, 257, 3, 4, 501 ]
eb@7 82 management_vlan=1
eb@7 83 trunk='eth0'
eb@7 84 management_ip=ip_address[i_am]
eb@7 85 management_gw='10.0.1.253'
eb@7 86
eb@7 87 vbridges_table={
eb@7 88 'dozor' : ['xenbr3'],
eb@7 89 'dns' : ['xenbr3'],
eb@7 90 'gw' : ['xenbr501', 'xenbr256', 'xenbr257'],
eb@7 91 'igw' : ['tagged0','xenbr3'],
eb@7 92 'pgw' : ['xenbr3','xenbr501'],
eb@7 93 'ldap' : ['xenbr3'],
eb@7 94 'mail' : ['xenbr3'],
eb@7 95 'proxy' : ['xenbr3'],
eb@7 96 'samba' : ['tagged0', 'xenbr3'],
eb@7 97 'vpn' : ['xenbr3'],
eb@7 98 'vvidd' : ['xenbr3'],
eb@7 99 'apt' : ['xenbr3'],
eb@7 100 'uucp' : ['xenbr3'],
eb@7 101 }
eb@7 102
eb@7 103 # FOR INSTALLATION ONLY
eb@7 104
eb@7 105 ip_network="10.0.3"
eb@7 106 domain_name="eb.co.ua"
eb@7 107 ip_nameserver="10.0.3.4"
eb@7 108 ip_gateway="10.0.3.3"
eb@7 109
eb@7 110 debian_release="etch"
eb@7 111 debian_mirror="http://debian.org.ua/debian"
eb@7 112 apt_get_install="less tcpdump libpam-ldap libnss-ldap snmpd libc6-xen openssh-server"
eb@7 113
eb@7 114