Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
kopiluwak [2009/06/23 13:53] el_angelokopiluwak [2009/09/15 16:13] 193.190.76.58
Line 15: Line 15:
 ^ software    ^ version      ^ website                            ^ ^ software    ^ version      ^ website                            ^
 | Lunar Linux | 1.6.4 x86_64 | [[http://lunar-linux.org]]         | | Lunar Linux | 1.6.4 x86_64 | [[http://lunar-linux.org]]         |
-| Linux       | 2.6.29.    |                                    | +| Linux       | 2.6.30.    |                                    | 
-| kvm         84           | [[http://kvm.qumranet.com]]        |+| kvm         88           | [[http://kvm.qumranet.com]]        |
 | vde         | 2.2.2        | [[http://vde.sourceforge.net]]     | | vde         | 2.2.2        | [[http://vde.sourceforge.net]]     |
 | lvm2        | 2.02.45      | [[http://sources.redhat.com/lvm2]] | | lvm2        | 2.02.45      | [[http://sources.redhat.com/lvm2]] |
Line 30: Line 30:
 | /dev/mapper/vg-var | /var | ext4 | | /dev/mapper/vg-var | /var | ext4 |
  
-== Network ===+=== Network ===
   * eth0 - bridged to br0, ip assigned with dhcp   * eth0 - bridged to br0, ip assigned with dhcp
   * br0: run script in screen   * br0: run script in screen
 <code bash> <code bash>
 #!/bin/bash #!/bin/bash
 +if [ $TERM == screen ]; then
 /usr/bin/killall dhcpcd /usr/bin/killall dhcpcd
 /bin/rm -fr /var/db/dhcpcd* /bin/rm -fr /var/db/dhcpcd*
Line 65: Line 66:
 echo "reboot" echo "reboot"
 /sbin/reboot /sbin/reboot
 +else
 +echo "USE SCREEN";
 +fi
 </code> </code>
   * vde_switch: Switch that the virtual machines (buildslaves) will use to communicate with the buildmaster.   * vde_switch: Switch that the virtual machines (buildslaves) will use to communicate with the buildmaster.
Line 82: Line 86:
 # This script starts the buildbot # This script starts the buildbot
 vdeq qemu-system-x86_64 -vnc :1 -hda /dev/vg/BuildBot -m 512 -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no -net vde,vlan=1 -net nic,vlan=1 -daemonize vdeq qemu-system-x86_64 -vnc :1 -hda /dev/vg/BuildBot -m 512 -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no -net vde,vlan=1 -net nic,vlan=1 -daemonize
-ze 
 </code> </code>
 == network == == network ==
-    * eth0: fixed ip - external ip (dns: buildbot.xfce.org) +  * eth0: fixed ip - external ip (dns: buildbot.xfce.org) 
-    * eth1: internal nic connected to the virtual switch (ip: 10.0.0.2)+  * eth1: internal nic connected to the virtual switch (ip: 10.0.0.2)
 == software == == software ==
-    * lunar-linux 1.6.4 x86_64 +  * buildbot 0.7.10p1
-    * buildbot 0.7.10p1+
 == config buildbot == == config buildbot ==
   * create the user buildmaster   * create the user buildmaster
   * Create instance of buildbot:   * Create instance of buildbot:
 <code bash> <code bash>
-#!/bin/bash 
 buildbot create-master /home/buildmaster/xfce buildbot create-master /home/buildmaster/xfce
 +</code>
 +  * start the buildbot instance:
 +<code bash>
 +buildbot start /home/buildmaster/xfce
 +</code>
 +  * configure the buildbot instance: edit master.cfg
 +  * validate the edits:
 +<code bash>
 +buildbot checkconfig master.cfg
 +</code>
 +  * reread the config in the current instance:
 +<code bash>
 +buildbot reconfig /home/buildmaster/xfce
 +</code>
 +  * master.cfg:
 +<code python>
 </code> </code>
  
 ==== Guest 2: buildslave ==== ==== Guest 2: buildslave ====
 +
 +lunar
 +ip 10.0.0.3
 +  vdeq qemu-system-x86_64 -vnc :2 -hda /dev/vg/lunar -m 512 -net vde,vlan=1 -net nic,vlan=1 -daemonize