xen-drbd
diff config-example.py @ 20:1a20c33686ba
add /etc/xen to module path
author | igor |
---|---|
date | Sun Feb 17 12:02:42 2008 +0200 (2008-02-17) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/config-example.py Sun Feb 17 12:02:42 2008 +0200 1.3 @@ -0,0 +1,86 @@ 1.4 + 1.5 +node1='dom0' 1.6 +node2='dom0m' 1.7 +i_am=node1 1.8 + 1.9 +ip_address = { 1.10 + node1: '192.168.1.190', 1.11 + node2: '192.168.1.191' 1.12 +} 1.13 + 1.14 +node1_ip=ip_address[node1] 1.15 +node2_ip=ip_address[node2] 1.16 + 1.17 +domains=['log', 'dns', 'gw', 'igw', 'ldap', 'mail', 'proxy', 'samba', 'vpn', 'intraweb', 'jabber'] 1.18 + 1.19 +domain_home = { 1.20 + node1 : ['log', 'dns', 'gw', 'igw', 'ldap', 'mail', 'proxy', 'vpn', 'intraweb', 'jabber'], 1.21 + node2 : ['samba'], 1.22 + } 1.23 + 1.24 +kernel = "/boot/vmlinuz-2.6.18-5-xen-686" 1.25 +ramdisk = "/boot/initrd.img-2.6.18-5-xen-686" 1.26 + 1.27 +mem_table={ 1.28 + 'log' :256, 1.29 + 'dns' :64, 1.30 + 'gw' :64, 1.31 + 'igw' :128, 1.32 + 'ldap' :64, 1.33 + 'mail' :256, 1.34 + 'proxy' :256, 1.35 + 'samba' :256, 1.36 + 'vpn' :64, 1.37 + 'web' :128, 1.38 + 'intraweb':128, 1.39 + 'jabber':64, 1.40 +} 1.41 + 1.42 +lvm_vg_name="XEN" 1.43 +disk_table={ 1.44 + 'log' : ['10G'], 1.45 + 'dns' : ['2G'], 1.46 + 'gw' : ['2G'], 1.47 + 'igw' : ['2G'], 1.48 + 'ldap' : ['2G'], 1.49 + 'mail' : ['2G','maildir:2G'], 1.50 + 'proxy' : ['10G'], 1.51 + 'samba' : ['2G','samba-share:2G'], 1.52 + 'vpn' : ['2G'], 1.53 + 'web' : ['10G'], 1.54 + 'intraweb' : ['10G'], 1.55 + 'jabber' : ['2G'], 1.56 +} 1.57 + 1.58 +bridges=['br0','br1'] 1.59 +vlans=[4094,4093] 1.60 +management_vlan=4094 # vlan 2 1.61 +trunk='eth1' 1.62 +management_ip=ip_address[i_am] 1.63 +management_gw='192.168.1.197' 1.64 + 1.65 +vbridges_table={ 1.66 + 'log' : ['br1'], 1.67 + 'dns' : ['br1'], 1.68 + 'gw' : ['br0', 'br1'], 1.69 + 'igw' : ['br1'], 1.70 + 'ldap' : ['br1'], 1.71 + 'mail' : ['br1'], 1.72 + 'proxy' : ['br1'], 1.73 + 'samba' : ['br1'], 1.74 + 'vpn' : ['br1'], 1.75 + 'web' : ['br1'], 1.76 + 'intraweb' : ['br1'], 1.77 + 'jabber' : ['br1'], 1.78 +} 1.79 + 1.80 +ip_network="192.168.3" 1.81 +domain_name="example.com" 1.82 +ip_nameserver="192.168.3.2" 1.83 +ip_gateway="192.168.3.3" 1.84 + 1.85 +debian_release="etch" 1.86 +debian_mirror="http://debian.org.ua/debian" 1.87 +apt_get_install="less tcpdump libpam-ldap libnss-ldap snmpd libc6-xen openssh-server" 1.88 + 1.89 +