xen-drbd

annotate config-example2.py @ 32:189e42c31b69

hvm disk parameter fixed
author igor@manas.xt.vpn
date Mon Aug 18 11:48:34 2008 +0300 (2008-08-18)
parents
children
rev   line source
eb@1 1
eb@1 2 node1='debian'
eb@1 3 node2='mirror'
eb@1 4 i_am=node1
eb@1 5
eb@1 6 ip_address = {
eb@1 7 node1: '10.0.1.19',
eb@1 8 node2: '10.0.1.20',
eb@1 9 }
eb@1 10
eb@1 11 node1_ip=ip_address[node1]
eb@1 12 node2_ip=ip_address[node2]
eb@1 13
eb@1 14 domains=[ 'gw', 'igw', 'dns', 'vpn', 'apt' 'proxy', 'pgw', 'ldap', 'mail', 'uucp', 'samba', 'dozor', 'vvidd', ]
eb@1 15
eb@1 16 domain_home = {
eb@1 17 node1 : ['dozor', 'dns', 'gw', 'igw', 'pgw', 'ldap', 'mail', 'proxy', 'vpn', 'uucp', 'vvidd', 'apt'],
eb@1 18 node2 : ['samba'],
eb@1 19 }
eb@1 20
eb@1 21 kernel = "/boot/vmlinuz-2.6.18-4-xen-686"
eb@1 22 ramdisk = "/boot/initrd.img-2.6.18-4-xen-686-domU"
eb@1 23
eb@1 24 mem_table={
eb@1 25 'dozor' :256,
eb@1 26 'dns' :64,
eb@1 27 'gw' :64,
eb@1 28 'igw' :128,
eb@1 29 'pgw' :64,
eb@1 30 'ldap' :64,
eb@1 31 'mail' :256,
eb@1 32 'proxy' :256,
eb@1 33 'samba' :512,
eb@1 34 'vpn' :192,
eb@1 35 'uucp' :128,
eb@1 36 'vvidd' :64,
eb@1 37 'apt' :128,
eb@1 38 }
eb@1 39
eb@1 40 lvm_vg_name="TURBO"
eb@1 41 disk_table={
eb@1 42 'gw' : ['drbd1'],
eb@1 43 'igw' : ['drbd2'],
eb@1 44 'dns' : ['drbd3'],
eb@1 45 'vpn' : ['drbd4'],
eb@1 46 'apt' : ['drbd5'],
eb@1 47 'proxy' : ['drbd6'],
eb@1 48 'pgw' : ['drbd7'],
eb@1 49 'ldap' : ['drbd8'],
eb@1 50 'mail' : ['drbd10','drbd12:maildir'],
eb@1 51 'samba' : [
eb@1 52 'drbd18',
eb@1 53 'drbd13:samba-home',
eb@1 54 'drbd14:samba-nbumail',
eb@1 55 'drbd15:samba-arm3',
eb@1 56 'drbd16:samba-boxes',
eb@1 57 'drbd17:samba-profiles'
eb@1 58 ],
eb@1 59 'dozor' : ['drbd19'],
eb@1 60 'vvidd' : ['drbd20'],
eb@1 61 }
eb@1 62
eb@1 63 bridges=['tagged0', 'xenbr1', 'xenbr256', 'xenbr257', 'xenbr3', 'xenbr4', 'xenbr501']
eb@1 64 vlans= ['tagged', 1, 256, 257, 3, 4, 501 ]
eb@1 65 management_vlan=1
eb@1 66 trunk='eth0'
eb@1 67 management_ip=ip_address[i_am]
eb@1 68 management_gw='10.0.1.253'
eb@1 69
eb@1 70 vbridges_table={
eb@1 71 'dozor' : ['xenbr3'],
eb@1 72 'dns' : ['xenbr3'],
eb@1 73 'gw' : ['xenbr501', 'xenbr256', 'xenbr257'],
eb@1 74 'igw' : ['tagged0','xenbr3'],
eb@1 75 'pgw' : ['xenbr3','xenbr501'],
eb@1 76 'ldap' : ['xenbr3'],
eb@1 77 'mail' : ['xenbr3'],
eb@1 78 'proxy' : ['xenbr3'],
eb@1 79 'samba' : ['tagged0', 'xenbr3'],
eb@1 80 'vpn' : ['xenbr3'],
eb@1 81 'vvidd' : ['xenbr3'],
eb@1 82 'apt' : ['xenbr3'],
eb@1 83 'uucp' : ['xenbr3'],
eb@1 84 }
eb@1 85
eb@1 86 # FOR INSTALLATION ONLY
eb@1 87
eb@1 88 ip_network="10.0.3"
eb@1 89 domain_name="eb.co.ua"
eb@1 90 ip_nameserver="10.0.3.4"
eb@1 91 ip_gateway="10.0.3.3"
eb@1 92
eb@1 93 debian_release="etch"
eb@1 94 debian_mirror="http://debian.org.ua/debian"
eb@1 95 apt_get_install="less tcpdump libpam-ldap libnss-ldap snmpd libc6-xen openssh-server"
eb@1 96
eb@1 97