Журнал лабораторных работ

Содержание

Журнал

Четверг (02/24/11)

17:24:28
#date
Thu Feb 24 18:26:24 EET 2011
17:26:24
#date
Thu Feb 24 18:26:32 EET 2011
17:28:40
#lvdisplay
  --- Logical volume ---
  LV Name                /dev/VG0/xen4vol
  VG Name                VG0
  LV UUID                AFYO17-7jci-lEqr-Bwbt-MHCC-cR5e-HmvOQU
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                60.00 GiB
  Current LE             15360
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0

Пятница (02/25/11)

/dev/pts/0
08:21:39
$su
Password:
08:22:03
#exit
exit
08:22:05
$su -
Password:
08:22:42
#date
Fri Feb 25 09:22:44 EET 2011
08:23:35
#xm stat
WARNING!  Can't find hypervisor information in sysfs!
Error: Subcommand stat not found!
Usage: xm <subcommand> [args]
Control, list, and manipulate Xen guest instances.
Common 'xm' commands:
 console              Attach to <Domain>'s console.
 vncviewer            Attach to <Domain>'s VNC server.
 create               Create a domain based on <ConfigFile>.
 new                  Adds a domain to Xend domain management
 delete               Remove a domain from Xend domain management.
...
 unpause              Unpause a paused domain.
 uptime               Print uptime for all/some domains.
 usb-add              Add the usb device to FV VM.
 usb-del              Delete the usb device to FV VM.
 vcpu-set             Set the number of active VCPUs for allowed for
                      the domain.
<Domain> can either be the Domain Name or Id.
For more help on 'xm' see the xm(1) man page.
For more help on 'xm create' see the xmdomain.cfg(5)  man page.
For a complete list of subcommands run 'xm help'.
08:26:01
#reboot -r now
usage: reboot [-n] [-w] [-d] [-f] [-h] [-i]
        -n: don't sync before halting the system
        -w: only write a wtmp reboot record and exit.
        -d: don't write a wtmp record.
        -f: force halt/reboot, don't call shutdown.
        -h: put harddisks in standby mode.
        -i: shut down all network interfaces.
08:26:14
#shutdown -r now

/dev/pts/0
08:27:11
$shutdown -h now
bash: shutdown: command not found
08:27:20
$su -
Password:
08:27:26
#shutdown -h now

/dev/pts/0
08:29:59
$ssh user@192.168.15.253
ЗАМЕЧАНИЕ: Простое нажатие на символ объекта в обычном режиме (Normal mode)
                                                               без дополнительных команд передвинет курсор так, как указано в
                                                                                                                    списке объектов.
  ~~~~~~~~~~~~~~~** Наберите dd для удаления всей строки. **
КОМАНДА-ОБЪЕКТ' ИСКÐ
  Вследствие частого применения операции удаления всей строки, разработчики
  Vim решили, что для этого проще всего просто набрать d дважды.
[root@linux3:~]# LANG=uk_UA.UTF-8
/dev/pts/2
08:31:42
$su -
Password:
08:31:47
#dpkg-reconfigure locales
Package configuration
 ┌──────────────────────────┤ Configuring locales ├──────────────────────────┐
 │ Locales are a framework to switch between multiple languages and allow    │
 │ users to use their language, country, characters, collation order, etc.   │
 │                                                                           │
 │ Please choose which locales to generate. UTF-8 locales should be chosen   │
 │ by default, particularly for new installations. Other character sets may  │
 │ be useful for backwards compatibility with older systems and software.    │
 │                                                                           │
 │ Locales to be generated:                                                  │
...
 │                                                                           │
 │                                                                           │
 │                  <Ok>k>                        <Cancel>                   │
 │                                                                           │
 └───────────────────────────────────────────────────────────────────────────┘
Generating locales (this might take a while)...
  en_US.UTF-8... done
  ru_RU.UTF-8... done
  uk_UA.UTF-8... done
Generation complete.
08:32:33
#vimtutor
     explain in a tutor such as this.  This tutor is designed to describe
     enough of the commands that you will be able to easily use Vim as
     The approximate time required to complete the tutor is 25-30 minutes,
     an all-purpose editor.
     depending upon how much time is spent with experimentation.
     ATTENTION:
     The commands in the lessons will modify the text.  Make a copy of this
     It is important to remember that this tutor is set up to teach bycopy).
     use.  That means that you need to execute the commands to learn them
     Now, make sure that your Shift-Lock key is NOT depressed and press!
     the   j   key enough times to move the cursor so that Lesson 1.1
"/tmp/tutornaxybx" 970 lines, 33254 characters
Entering Ex mode.  Type "visual" to go to Normal mode.
:q
08:32:54
#LANG=uk_UA
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LANG = "uk_UA"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
08:36:45
#LANG --help
bash: LANG: command not found
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LANG = "uk_UA"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
08:37:17
#LANG=ru_RU:UETF-8 date
Fri Feb 25 09:37:40 EET 2011
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LANG = "uk_UA"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
08:37:40
#LANG=ru_RU.UETF-8 date
Fri Feb 25 09:37:43 EET 2011
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LANG = "uk_UA"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
08:37:43
#LANG=ru_RU.UETF-8 dat
bash: dat: command not found
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LANG = "uk_UA"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
08:38:05
#LANG=ru_RU.UTF-8 dat
bash: dat: command not found
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LANG = "uk_UA"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
08:38:08
#date
Fri Feb 25 09:38:15 EET 2011
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LANG = "uk_UA"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
08:38:15
#date
Fri Feb 25 09:38:18 EET 2011
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LANG = "uk_UA"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
08:38:19
#LANG=ru_RU.UTF-8 date
Птн Фев 25 09:38:47 EET 2011
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LANG = "uk_UA"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
08:38:47
#LANG=ru_RU.UTF-8

08:38:51
#LANG=ru_RU.UTF-8 date
Птн Фев 25 09:38:54 EET 2011
08:38:54
#LANG=ru_RU.UTF-8 vimtutor
===============================================================================
=    Д о б р о   п о ж а л о в а т ь   в   у ч е б н и к   VIM  -  Версия 1.5 =
===============================================================================
     Vim --- это очень мощный редактор, имеющий множество команд, слишком
     много для того, чтобы их все можно было описать в таком учебнике, как
     Вам потребуется приблизительно 25-30 минут на освоение данного учебника в
     этот. Этот учебник призван объяснить достаточное число команд для того,
     зависимости от того, сколько времени Вы потратите на эксперименты.
     Команды в уроках будут модифицировать текст. Создайте копию этого файла,
     чтобы попрактиковаться на ней (если Вы запустили "vimtutor", то это уже
     Важно помнить, что этот учебник предназначен для обучения в процессе
     использования. Это означает, что Вы должны запускать команды для того,
     чтобы как следует их изучить. Если Вы просто прочитаете текст, то
     Теперь убедитесь в том, что клавиша CapsLock не включена и нажмите
     забудете команды!
"/tmp/tutorRDSKlZ" 834 lines, 46100 characters
08:39:09
# клавишу j несколько раз, так, чтобы Урок 1.1 полностью поместился на

08:40:54
#echo $LANG
ru_RU.UTF-8
08:41:01
#date
Птн Фев 25 09:41:25 EET 2011
08:41:39
#xm stat
Error: Subcommand stat not found!
Usage: xm <subcommand> [args]
Control, list, and manipulate Xen guest instances.
Common 'xm' commands:
 console              Attach to <Domain>'s console.
 vncviewer            Attach to <Domain>'s VNC server.
 create               Create a domain based on <ConfigFile>.
 new                  Adds a domain to Xend domain management
 delete               Remove a domain from Xend domain management.
 destroy              Terminate a domain immediately.
...
 unpause              Unpause a paused domain.
 uptime               Print uptime for all/some domains.
 usb-add              Add the usb device to FV VM.
 usb-del              Delete the usb device to FV VM.
 vcpu-set             Set the number of active VCPUs for allowed for
                      the domain.
<Domain> can either be the Domain Name or Id.
For more help on 'xm' see the xm(1) man page.
For more help on 'xm create' see the xmdomain.cfg(5)  man page.
For a complete list of subcommands run 'xm help'.
08:43:39
#xm stat
Error: Subcommand stat not found!
Usage: xm <subcommand> [args]
Control, list, and manipulate Xen guest instances.
Common 'xm' commands:
 console              Attach to <Domain>'s console.
 vncviewer            Attach to <Domain>'s VNC server.
 create               Create a domain based on <ConfigFile>.
 new                  Adds a domain to Xend domain management
 delete               Remove a domain from Xend domain management.
 destroy              Terminate a domain immediately.
...
 unpause              Unpause a paused domain.
 uptime               Print uptime for all/some domains.
 usb-add              Add the usb device to FV VM.
 usb-del              Delete the usb device to FV VM.
 vcpu-set             Set the number of active VCPUs for allowed for
                      the domain.
<Domain> can either be the Domain Name or Id.
For more help on 'xm' see the xm(1) man page.
For more help on 'xm create' see the xmdomain.cfg(5)  man page.
For a complete list of subcommands run 'xm help'.
08:43:45
#xm see
Error: Subcommand see not found!
Usage: xm <subcommand> [args]
Control, list, and manipulate Xen guest instances.
Common 'xm' commands:
 console              Attach to <Domain>'s console.
 vncviewer            Attach to <Domain>'s VNC server.
 create               Create a domain based on <ConfigFile>.
 new                  Adds a domain to Xend domain management
 delete               Remove a domain from Xend domain management.
 destroy              Terminate a domain immediately.
...
 unpause              Unpause a paused domain.
 uptime               Print uptime for all/some domains.
 usb-add              Add the usb device to FV VM.
 usb-del              Delete the usb device to FV VM.
 vcpu-set             Set the number of active VCPUs for allowed for
                      the domain.
<Domain> can either be the Domain Name or Id.
For more help on 'xm' see the xm(1) man page.
For more help on 'xm create' see the xmdomain.cfg(5)  man page.
For a complete list of subcommands run 'xm help'.
08:43:56
#xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  6925     2     r-----    293.4
08:44:14
#brctl show
bridge name     bridge id               STP enabled     interfaces
eth0            8000.001bfc7db5a7       no              peth0
pan0            8000.000000000000       no
08:44:29
#grep -r pan0 /etc
/etc/bluetooth/network.conf:# Network Interface name for Group Network server. default:pan0
08:46:26
#grep 192.168.15.3 `find /etc`

08:50:28
#grep 192.168.15.3 `find /etc -name i*`

08:50:47
#grep 192.168.15.2 `find /etc -name i*`
/etc/network/interfaces:        address 192.168.15.2
/etc/network/interfaces:        broadcast 192.168.15.255
/etc/network/interfaces:        gateway 192.168.15.253
08:50:50
#man readline
08:52:42
#brctl --help
Usage: brctl [commands]
commands:
        addbr           <bridge>                add bridge
        delbr           <bridge>                delete bridge
        addif           <bridge> <device>       add interface to bridge
        delif           <bridge> <device>       delete interface from bridge
        setageing       <bridge> <time>         set ageing time
        setbridgeprio   <bridge> <prio>         set bridge priority
        setfd           <bridge> <time>         set bridge forward delay
        sethello        <bridge> <time>         set hello time
        setmaxage       <bridge> <time>         set max message age
        setpathcost     <bridge> <port> <cost>  set path cost
        setportprio     <bridge> <port> <prio>  set port priority
        show                                    show a list of bridges
        showmacs        <bridge>                show a list of mac addrs
        showstp         <bridge>                show bridge stp info
        stp             <bridge> {on|off}       turn stp on/off
08:56:36
#xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  6925     2     r-----    682.3
08:56:39
#lvdisplay
  --- Logical volume ---
  LV Name                /dev/VG0/xen4vol
  VG Name                VG0
  LV UUID                AFYO17-7jci-lEqr-Bwbt-MHCC-cR5e-HmvOQU
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                60,00 GiB
  Current LE             15360
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0
08:56:43
#pvmove --help
  pvmove: Move extents from one physical volume to another
pvmove
        [--abort]
        [-A|--autobackup {y|n}]
        [--alloc AllocationPolicy]
        [-b|--background]
        [-d|--debug]
        [-h|-?|--help]
        [-i|--interval seconds]
        [--noudevsync]
        [-t|--test]
        [-v|--verbose]
        [--version]
        [{-n|--name} LogicalVolume]
        SourcePhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]}
        [DestinationPhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]...]
08:56:57
#cat /proc/partitions
major minor  #blocks  name
   8        0  312571224 sda
   8        1   19530752 sda1
   8        2    7812096 sda2
   8        3   78124095 sda3
   8       16  488386584 sdb
 254        0   62914560 dm-0
08:57:08
#mount /dev/VG0/xen4vol /mnt

09:00:11
#mkfs.ext3 /mnt
mke2fs 1.41.12 (17-May-2010)
/mnt is not a block special device.
Proceed anyway? (y,n) y
mkfs.ext3: Device size reported to be zero.  Invalid partition specified, or
        partition table wasn't reread after running fdisk, due to
        a modified partition being busy and in use.  You may need to reboot
        to re-read your partition table.
09:00:40
#ls /mnt
lost+found
09:00:57
#ls -la /xe
ls: cannot access /xe: No such file or directory
09:01:15
#ls -la /xen
ls: cannot access /xen: No such file or directory
09:01:17
#apt-get install debootstrap
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  debootstrap
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 58,2 kB of archives.
After this operation, 274 kB of additional disk space will be used.
Get:1 http://10.0.35.1/debian/ squeeze/main debootstrap all 1.0.26 [58,2 kB]
Fetched 58,2 kB in 0s (1 169 kB/s)
Selecting previously deselected package debootstrap.
(Reading database ... 128156 files and directories currently installed.)
Unpacking debootstrap (from .../debootstrap_1.0.26_all.deb) ...
Processing triggers for man-db ...
Setting up debootstrap (1.0.26) ...
09:02:03
#ls /mnt
lost+found
09:02:26
#g
Display all 213 possibilities? (y or n)
09:02:26
#debootstrap squeeze /mnt http://10.0.35.1:9999/debian
I: Retrieving Release
I: Retrieving Packages
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: insserv libbz2-1.0 libdb4.8 libslang2
I: Found additional base dependencies: libnfnetlink0 libsqlite3-0
I: Checking component main on http://10.0.35.1:9999/debian...
I: Retrieving libacl1
...
I: Configuring gpgv...
I: Configuring gnupg...
I: Configuring debian-archive-keyring...
I: Configuring apt...
I: Configuring libept1...
I: Configuring apt-utils...
I: Configuring aptitude...
I: Configuring tasksel-data...
I: Configuring tasksel...
I: Base system installed successfully.
09:06:48
#ls /mnt
bin   dev  home  lib64       media  opt   root  selinux  sys  usr
boot  etc  lib   lost+found  mnt    proc  sbin  srv      tmp  var
09:10:17
#chroot /mnt
root@linux2:/#
root@linux2:/#
root@linux2:/#
root@linux2:/#
root@linux2:/# apt-get install ssh
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  libbsd0 libedit2 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3
  libkrb5support0 libwrap0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6
...
~
~
~
~
~
~
~
~
root@linux2:/# exit
exit
прошло 19 минут
09:29:34
#cp /etc/network/interfaces /mnt/etc/network

09:29:49
#chroot /mnt
    inet6 fe80::207:e9ff:fe0b:2c2d/64 scope link
       valid_lft forever preferred_lft forever
4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether 00:1b:fc:7d:b5:a7 brd ff:ff:ff:ff:ff:ff
    inet 192.168.15.2/24 brd 192.168.15.255 scope global eth0
    inet6 fe80::21b:fcff:fe7d:b5a7/64 scope link
       valid_lft forever preferred_lft forever
5: pan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
    link/ether ca:de:10:c7:b0:69 brd ff:ff:ff:ff:ff:ff
root@linux2:/# exit
exit
09:31:13
#chroot /mnt
~
~
~
~
~
~
~
~
~
~
~
"/etc/hostname" 1 line, 10 characters written
root@linux2:/#
root@linux2:/#
root@linux2:/#
root@linux2:/# exit
exit
09:34:03
#ls /boot/
config-2.6.32-5-amd64          System.map-2.6.32-5-amd64
config-2.6.32-5-xen-amd64      System.map-2.6.32-5-xen-amd64
grub                           vmlinuz-2.6.32-5-amd64
initrd.img-2.6.32-5-amd64      vmlinuz-2.6.32-5-xen-amd64
initrd.img-2.6.32-5-xen-amd64  xen-4.0-amd64.gz
09:34:20
#vi /etc/xen/vm-linux2
09:36:27
#memory errors. The domain needs enough memory to boot kernel

09:39:46
# -*-md64vmlinuz-2.6.32-5-xen-amd64:q!

09:39:47
#vi /etc/xen/vm-linux2
09:41:51
#vi /etc/xen/vm-linux2
09:43:52
#vi /etc/xen/vm-linux2
/dev/pts/6
09:44:01
$su -
Password:
l3-agent is already running: pid=2694; pidfile=/root/.lilalo/l3-agent.pid
09:44:06
#vgdisplay
  --- Volume group ---
  VG Name               VG0
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               74.50 GiB
  PE Size               4.00 MiB
  Total PE              19073
  Alloc PE / Size       15360 / 60.00 GiB
  Free  PE / Size       3713 / 14.50 GiB
  VG UUID               kr2tb9-FxlK-w1sQ-c1xp-FTXX-QPLu-ubFMMG
09:44:13
#lvdisplay
  --- Logical volume ---
  LV Name                /dev/VG0/xen4vol
  VG Name                VG0
  LV UUID                AFYO17-7jci-lEqr-Bwbt-MHCC-cR5e-HmvOQU
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                60.00 GiB
  Current LE             15360
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0
09:44:39
#cat /proc/devices
Character devices:
  1 mem
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  6 lp
  7 vcs
...
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
254 device-mapper
09:47:44
#cat /proc/devices | grep hda

09:47:52
#cat /proc/devices | grep hd

09:47:54
#cat /proc/partitions
major minor  #blocks  name
   8        0  312571224 sda
   8        1   19530752 sda1
   8        2    7812096 sda2
   8        3   78124095 sda3
   8       16  488386584 sdb
 254        0   62914560 dm-0
09:47:58
#cat /proc/
Display all 220 possibilities? (y or n)
1/             18/            2457/          280/           driver/
10/            1828/          2459/          3/             execdomains
1001/          19/            246/           30/            fb
11/            2/             2461/          31/            filesystems
12/            20/            2463/          312/           fs/
1219/          2013/          2469/          32/            interrupts
1255/          2041/          2471/          322/           iomem
1274/          2045/          2472/          33/            ioports
1276/          2051/          2473/          34/            irq/
...
15156/         2437/          2638/          buddyinfo      sysvipc/
15157/         244/           2671/          bus/           timer_list
15206/         2442/          2680/          cgroups        timer_stats
1552/          2446/          2694/          cmdline        tty/
1579/          2448/          27/            cpuinfo        uptime
1580/          245/           2725/          crypto         version
1587/          2451/          2726/          devices        vmallocinfo
16/            2452/          2734/          diskstats      vmstat
1655/          2454/          2765/          dma            xen/
17/            2455/          2766/          dri/           zoneinfo
09:47:58
#xm stat
Error: Subcommand stat not found!
Usage: xm <subcommand> [args]
Control, list, and manipulate Xen guest instances.
Common 'xm' commands:
 console              Attach to <Domain>'s console.
 vncviewer            Attach to <Domain>'s VNC server.
 create               Create a domain based on <ConfigFile>.
 new                  Adds a domain to Xend domain management
 delete               Remove a domain from Xend domain management.
 destroy              Terminate a domain immediately.
...
 unpause              Unpause a paused domain.
 uptime               Print uptime for all/some domains.
 usb-add              Add the usb device to FV VM.
 usb-del              Delete the usb device to FV VM.
 vcpu-set             Set the number of active VCPUs for allowed for
                      the domain.
<Domain> can either be the Domain Name or Id.
For more help on 'xm' see the xm(1) man page.
For more help on 'xm create' see the xmdomain.cfg(5)  man page.
For a complete list of subcommands run 'xm help'.
/dev/pts/2
09:49:12
#vi /etc/xen/vm-linux2
09:50:27
#netmask=
#cpus = "0"        # all vcpus run on CPU0
       "vm-linux2"
#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5
#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3
# Number of Virtual CPUS to use, default is 1
#vcpus = 1
#----------------------------------------------------------------------------
# Define network interfaces.
"/etc/xen/vm-linux2" 211L, 7552C written
09:51:43
#xm create -c vm-linux2
Using config file "/etc/xen/vm-linux2".
Error: Device 0 (vif) could not be connected. Could not find bridge device br0
09:51:56
#brctl list
never heard of command [list]
Usage: brctl [commands]
commands:
        addbr           <bridge>                add bridge
        delbr           <bridge>                delete bridge
        addif           <bridge> <device>       add interface to bridge
        delif           <bridge> <device>       delete interface from bridge
        setageing       <bridge> <time>         set ageing time
        setbridgeprio   <bridge> <prio>         set bridge priority
        setfd           <bridge> <time>         set bridge forward delay
        sethello        <bridge> <time>         set hello time
        setmaxage       <bridge> <time>         set max message age
        setpathcost     <bridge> <port> <cost>  set path cost
        setportprio     <bridge> <port> <prio>  set port priority
        show                                    show a list of bridges
        showmacs        <bridge>                show a list of mac addrs
        showstp         <bridge>                show bridge stp info
        stp             <bridge> {on|off}       turn stp on/off
09:52:06
#brctl show
bridge name     bridge id               STP enabled     interfaces
eth0            8000.001bfc7db5a7       no              peth0
pan0            8000.000000000000       no
09:52:10
#xm create -c vm-linux2
Using config file "/etc/xen/vm-linux2".
Error: Device 0 (vif) could not be connected. Could not find bridge device br0
09:54:59
#cat /dev/dm-0
<ð
  ˆëõÿ;€€ ‹agM‹agM'SïâufMNí
                           <IR
                              éxhéêD—³x%0ð.‡‹âufM‚w‚w‚w‚w‚w‚‚w  ‚w
‚w
  ‚w
‚w‚w†÷yô„„„ýy þ} „„„ýy þ} „„„ýy þ} „„„ýy þ} „„„ýy þ} €€€õ}Êþ} €€€þ} þ} €€€þ} þ}                         þ} €    €       €       þ}
þ} €
€
€
...
€
€
€
€
€
€
€
€(
€>
€y
09:55:27
#ls /etc/x
xdg/ xen/ xml/
09:55:27
#ls /etc/x
xdg/ xen/ xml/
09:55:27
#ls /etc/xen/
scripts/                 xend-config.sxp          xend-pci-quirks.sxp
vm-linux2                xend-pci-permissive.sxp
09:55:27
#ls /etc/xen/vm-linux2
/etc/xen/vm-linux2
09:56:05
#name = "vm-linux2"
grep: /etc/xen/vm-linux3: No such file or directory
09:56:15
#grep -v ^# /etc/xen/vm-linux2 | grep -vx ''
kernel = "/boot/vmlinuz-2.6.32-5-xen-amd64"
ramdisk = "/boot/initrd.img-2.6.32-5-xen-amd64"
memory = 64
name = "vm-linux2"
vif = [ 'bridge=eth0' ]
disk = [ 'phy:VG0/xen4vol,hda1,w' ]
root = "/dev/hda1 ro"
extra = "4"
09:56:19
#lvdisplay
  --- Logical volume ---
  LV Name                /dev/VG0/xen4vol
  VG Name                VG0
  LV UUID                AFYO17-7jci-lEqr-Bwbt-MHCC-cR5e-HmvOQU
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                60,00 GiB
  Current LE             15360
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0
09:57:30
#ls /dev/x*
/dev/xconsole
/dev/xen:
evtchn  gntdev
09:58:20
#grep / | grep hd
^C
прошло 11 минут
10:09:52
#grep / | grep hd*
^C
10:09:58
#vi /etc/xen/vm-linux2
10:14:18
#what you want them accessible as.
  LV      VG   Attr   LSize  Origin Snap%  Move Log Copy%  Convert
  xen4vol VG0  -wi-ao 60,00g
10:14:26
#mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
xenfs on /proc/xen type xenfs (rw)
/dev/mapper/VG0-xen4vol on /mnt type ext3 (rw)
10:14:37
#umount /mnt

10:14:50
#cat /var/log/xen/
domain-builder-ng.log  xend.log
xend-debug.log         xen-hotplug.log
10:14:50
#cat /var/log/xen/xend.log
[2011-02-24 17:01:47 1318] INFO (SrvDaemon:332) Xend Daemon started
[2011-02-24 17:01:48 1318] INFO (SrvDaemon:336) Xend changeset: unavailable.
[2011-02-24 17:01:49 1318] DEBUG (XendDomainInfo:149) XendDomainInfo.recreate({'max_vcpu_id': 1, 'cpu_time': 9159860931L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 255, 'dying': 0, 'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 17179869180L, 'shutdown': 0, 'mem_kb': 7091836L, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name': 'D
[2011-02-24 17:01:49 1318] INFO (XendDomainInfo:167) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
[2011-02-24 17:01:49 1318] DEBUG (XendDomainInfo:3400) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'image': '(linux (kernel ) (superpages 0) (tsc_mode 0) (nomigrate 0))', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus
[2011-02-24 17:01:49 1318] DEBUG (XendDomainInfo:1804) Storing domain details: {'description': '', 'console/limit': '1048576', 'memory/target': '7091836', 'vm': '/vm/00000000-0000-0000-0000-000000000000', 'domid': '0', 'cpu/0/availability': 'online', 'cpu/1/availability': 'online', 'control/platform-feature-multiprocessor-suspend': '1', 'console/type': 'xenconsoled', 'name': 'Domain-0'}
[2011-02-24 17:01:49 1318] DEBUG (XendDomain:464) Adding Domain: 0
[2011-02-24 17:01:49 1318] DEBUG (XendDomain:398) number of vcpus to use is 0
[2011-02-24 17:01:50 1318] WARNING (XendAPI:705) API call: VBD.set_device not found
[2011-02-24 17:01:50 1318] WARNING (XendAPI:705) API call: VBD.set_type not found
...
[2011-02-25 11:14:50 2051] ERROR (XendDomainInfo:2205) VM vm-linux2 restarting too fast (Elapsed time: 0.821460 seconds). Refusing to restart to avoid loops.
[2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=7
[2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:2411) Destroying device model
[2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:2418) Releasing devices
[2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:2424) Removing vif/0
[2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:2424) Removing vbd/51713
[2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51713
[2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:2424) Removing console/0
[2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0

Файлы

  • /proc/
  • /proc/devices
  • /proc/partitions
  • /var/log/xen/
  • /var/log/xen/xend.log
  • /proc/
    >
    Display all 220 possibilities? (y or n)
    1/             18/            2457/          280/           driver/
    10/            1828/          2459/          3/             execdomains
    1001/          19/            246/           30/            fb
    11/            2/             2461/          31/            filesystems
    12/            20/            2463/          312/           fs/
    1219/          2013/          2469/          32/            interrupts
    1255/          2041/          2471/          322/           iomem
    1274/          2045/          2472/          33/            ioports
    1276/          2051/          2473/          34/            irq/
    1295/          21/            2474/          35/            kallsyms
    13/            22/            2475/          36/            kcore
    1304/          2247/          2477/          37/            keys
    1316/          2249/          2478/          38/            key-users
    1321/          225/           2484/          3806/          kmsg
    1332/          2252/          2485/          4/             kpagecount
    1338/          2255/          2489/          41/            kpageflags
    1347/          226/           249/           412/           loadavg
    1349/          23/            2497/          42/            locks
    1359/          2350/          25/            43/            meminfo
    1365/          2351/          250/           5/             misc
    1366/          2352/          2505/          546/           modules
    14/            2353/          2506/          547/           mounts
    1425/          2354/          2507/          590/           mtrr
    1440/          2355/          2551/          598/           net/
    1458/          2359/          2552/          6/             pagetypeinfo
    14983/         2361/          256/           658/           partitions
    15/            2378/          257/           677/           sched_debug
    15026/         2384/          258/           7/             self/
    15027/         24/            2585/          8/             slabinfo
    15060/         2416/          2588/          873/           softirqs
    15069/         2419/          259/           9/             stat
    15116/         2420/          2594/          989/           swaps
    15117/         2430/          26/            acpi/          sys/
    15125/         2433/          2637/          asound/        sysrq-trigger
    15156/         2437/          2638/          buddyinfo      sysvipc/
    15157/         244/           2671/          bus/           timer_list
    15206/         2442/          2680/          cgroups        timer_stats
    1552/          2446/          2694/          cmdline        tty/
    1579/          2448/          27/            cpuinfo        uptime
    1580/          245/           2725/          crypto         version
    1587/          2451/          2726/          devices        vmallocinfo
    16/            2452/          2734/          diskstats      vmstat
    1655/          2454/          2765/          dma            xen/
    17/            2455/          2766/          dri/           zoneinfo
    
    /proc/devices
    >
    Character devices:
      1 mem
      4 /dev/vc/0
      4 tty
      4 ttyS
      5 /dev/tty
      5 /dev/console
      5 /dev/ptmx
      6 lp
      7 vcs
     10 misc
     13 input
     21 sg
     29 fb
     99 ppdev
    116 alsa
    128 ptm
    136 pts
    180 usb
    189 usb_device
    216 rfcomm
    226 drm
    229 hvc
    252 hidraw
    253 bsg
    254 rtc
    Block devices:
      2 fd
    259 blkext
      7 loop
      8 sd
     11 sr
     65 sd
     66 sd
     67 sd
     68 sd
     69 sd
     70 sd
     71 sd
    128 sd
    129 sd
    130 sd
    131 sd
    132 sd
    133 sd
    134 sd
    135 sd
    254 device-mapper
    
    /proc/partitions
    >
    major minor  #blocks  name
       8        0  312571224 sda
       8        1   19530752 sda1
       8        2    7812096 sda2
       8        3   78124095 sda3
       8       16  488386584 sdb
     254        0   62914560 dm-0
    
    /var/log/xen/
    >
    domain-builder-ng.log  xend.log
    xend-debug.log         xen-hotplug.log
    
    /var/log/xen/xend.log
    >
    [2011-02-24 17:01:47 1318] INFO (SrvDaemon:332) Xend Daemon started
    [2011-02-24 17:01:48 1318] INFO (SrvDaemon:336) Xend changeset: unavailable.
    [2011-02-24 17:01:49 1318] DEBUG (XendDomainInfo:149) XendDomainInfo.recreate({'max_vcpu_id': 1, 'cpu_time': 9159860931L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 255, 'dying': 0, 'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 17179869180L, 'shutdown': 0, 'mem_kb': 7091836L, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name': 'D
    [2011-02-24 17:01:49 1318] INFO (XendDomainInfo:167) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
    [2011-02-24 17:01:49 1318] DEBUG (XendDomainInfo:3400) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'image': '(linux (kernel ) (superpages 0) (tsc_mode 0) (nomigrate 0))', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus
    [2011-02-24 17:01:49 1318] DEBUG (XendDomainInfo:1804) Storing domain details: {'description': '', 'console/limit': '1048576', 'memory/target': '7091836', 'vm': '/vm/00000000-0000-0000-0000-000000000000', 'domid': '0', 'cpu/0/availability': 'online', 'cpu/1/availability': 'online', 'control/platform-feature-multiprocessor-suspend': '1', 'console/type': 'xenconsoled', 'name': 'Domain-0'}
    [2011-02-24 17:01:49 1318] DEBUG (XendDomain:464) Adding Domain: 0
    [2011-02-24 17:01:49 1318] DEBUG (XendDomain:398) number of vcpus to use is 0
    [2011-02-24 17:01:50 1318] WARNING (XendAPI:705) API call: VBD.set_device not found
    [2011-02-24 17:01:50 1318] WARNING (XendAPI:705) API call: VBD.set_type not found
    [2011-02-24 17:01:50 1318] WARNING (XendAPI:705) API call: session.get_all_records not found
    [2011-02-24 17:01:50 1318] WARNING (XendAPI:705) API call: event.get_record not found
    [2011-02-24 17:01:50 1318] WARNING (XendAPI:705) API call: event.get_all not found
    [2011-02-24 17:01:50 1318] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch
    [2011-02-24 17:01:50 1318] WARNING (XendAPI:705) API call: VIF.set_device not found
    [2011-02-24 17:01:50 1318] WARNING (XendAPI:705) API call: VIF.set_MAC not found
    [2011-02-24 17:01:50 1318] WARNING (XendAPI:705) API call: VIF.set_MTU not found
    [2011-02-24 17:01:50 1318] WARNING (XendAPI:705) API call: debug.get_all not found
    [2011-02-24 17:01:50 1318] INFO (XMLRPCServer:156) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has been disabled for this server.
    [2011-02-24 17:01:50 1318] INFO (XMLRPCServer:156) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock.
    [2011-02-24 18:22:51 1318] DEBUG (SrvServer:76) SrvServer.cleanup()
    [2011-02-24 18:22:51 1318] DEBUG (XMLRPCServer:241) XMLRPCServer.cleanup()
    [2011-02-24 18:22:51 1318] DEBUG (XMLRPCServer:241) XMLRPCServer.cleanup()
    [2011-02-24 18:22:51 1318] DEBUG (XendDomain:632) cleanup_domains
    [2011-02-24 18:22:51 1317] INFO (SrvDaemon:220) Xend exited with status 0.
    [2011-02-24 18:22:51 15614] INFO (SrvDaemon:332) Xend Daemon started
    [2011-02-24 18:22:51 15614] INFO (SrvDaemon:336) Xend changeset: unavailable.
    [2011-02-24 18:22:53 15614] DEBUG (XendDomainInfo:149) XendDomainInfo.recreate({'max_vcpu_id': 1, 'cpu_time': 344991113279L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 255, 'dying': 0, 'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 17179869180L, 'shutdown': 0, 'mem_kb': 6036100L, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name':
    [2011-02-24 18:22:53 15614] INFO (XendDomainInfo:167) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
    [2011-02-24 18:22:53 15614] DEBUG (XendDomain:464) Adding Domain: 0
    [2011-02-24 18:22:53 15614] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch
    [2011-02-24 18:22:53 15614] DEBUG (XendDomain:398) number of vcpus to use is 0
    [2011-02-24 18:22:53 15614] WARNING (XendAPI:705) API call: VBD.set_device not found
    [2011-02-24 18:22:53 15614] WARNING (XendAPI:705) API call: VBD.set_type not found
    [2011-02-24 18:22:53 15614] WARNING (XendAPI:705) API call: session.get_all_records not found
    [2011-02-24 18:22:53 15614] WARNING (XendAPI:705) API call: event.get_record not found
    [2011-02-24 18:22:53 15614] WARNING (XendAPI:705) API call: event.get_all not found
    [2011-02-24 18:22:53 15614] WARNING (XendAPI:705) API call: VIF.set_device not found
    [2011-02-24 18:22:53 15614] WARNING (XendAPI:705) API call: VIF.set_MAC not found
    [2011-02-24 18:22:53 15614] WARNING (XendAPI:705) API call: VIF.set_MTU not found
    [2011-02-24 18:22:53 15614] WARNING (XendAPI:705) API call: debug.get_all not found
    [2011-02-24 18:22:53 15614] INFO (XMLRPCServer:156) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has been disabled for this server.
    [2011-02-24 18:22:53 15614] INFO (XMLRPCServer:156) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock.
    [2011-02-24 18:37:24 15614] DEBUG (SrvServer:76) SrvServer.cleanup()
    [2011-02-24 18:37:24 15614] DEBUG (XMLRPCServer:241) XMLRPCServer.cleanup()
    [2011-02-24 18:37:24 15614] DEBUG (XMLRPCServer:241) XMLRPCServer.cleanup()
    [2011-02-24 18:37:24 15614] DEBUG (XendDomain:632) cleanup_domains
    [2011-02-24 18:37:24 15613] INFO (SrvDaemon:220) Xend exited with status 0.
    [2011-02-25 09:29:37 2051] INFO (SrvDaemon:332) Xend Daemon started
    [2011-02-25 09:29:37 2051] INFO (SrvDaemon:336) Xend changeset: unavailable.
    [2011-02-25 09:29:39 2051] DEBUG (XendDomainInfo:149) XendDomainInfo.recreate({'max_vcpu_id': 1, 'cpu_time': 11458700177L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 255, 'dying': 0, 'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 17179869180L, 'shutdown': 0, 'mem_kb': 7091836L, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name': '
    [2011-02-25 09:29:39 2051] INFO (XendDomainInfo:167) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
    [2011-02-25 09:29:39 2051] DEBUG (XendDomainInfo:3400) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'image': '(linux (kernel ) (superpages 0) (tsc_mode 0) (nomigrate 0))', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus
    [2011-02-25 09:29:39 2051] DEBUG (XendDomainInfo:1804) Storing domain details: {'description': '', 'console/limit': '1048576', 'memory/target': '7091836', 'vm': '/vm/00000000-0000-0000-0000-000000000000-1', 'domid': '0', 'cpu/0/availability': 'online', 'cpu/1/availability': 'online', 'control/platform-feature-multiprocessor-suspend': '1', 'console/type': 'xenconsoled', 'name': 'Domain-0'}
    [2011-02-25 09:29:39 2051] DEBUG (XendDomain:464) Adding Domain: 0
    [2011-02-25 09:29:39 2051] DEBUG (XendDomain:398) number of vcpus to use is 0
    [2011-02-25 09:29:40 2051] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch
    [2011-02-25 09:29:40 2051] WARNING (XendAPI:705) API call: VBD.set_device not found
    [2011-02-25 09:29:40 2051] WARNING (XendAPI:705) API call: VBD.set_type not found
    [2011-02-25 09:29:40 2051] WARNING (XendAPI:705) API call: session.get_all_records not found
    [2011-02-25 09:29:40 2051] WARNING (XendAPI:705) API call: event.get_record not found
    [2011-02-25 09:29:40 2051] WARNING (XendAPI:705) API call: event.get_all not found
    [2011-02-25 09:29:40 2051] WARNING (XendAPI:705) API call: VIF.set_device not found
    [2011-02-25 09:29:40 2051] WARNING (XendAPI:705) API call: VIF.set_MAC not found
    [2011-02-25 09:29:40 2051] WARNING (XendAPI:705) API call: VIF.set_MTU not found
    [2011-02-25 09:29:40 2051] WARNING (XendAPI:705) API call: debug.get_all not found
    [2011-02-25 09:29:40 2051] INFO (XMLRPCServer:156) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has been disabled for this server.
    [2011-02-25 09:29:40 2051] INFO (XMLRPCServer:156) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock.
    [2011-02-25 10:51:54 2051] DEBUG (XendDomainInfo:101) XendDomainInfo.create(['vm', ['name', 'vm-linux2'], ['memory', 64], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.32-5-xen-amd64'], ['ramdisk', '/boot/initrd.img-2.6.32-5-xen-amd64'], ['root', '/dev/hda1 ro'], ['videoram', 4], ['args', '4'], ['tsc_mode', 0],
    [2011-02-25 10:51:54 2051] DEBUG (XendDomainInfo:2508) XendDomainInfo.constructDomain
    [2011-02-25 10:51:54 2051] DEBUG (balloon:220) Balloon: 2247564 KiB free; need 16384; done.
    [2011-02-25 10:51:54 2051] DEBUG (XendDomain:464) Adding Domain: 1
    [2011-02-25 10:51:54 2051] DEBUG (XendDomainInfo:2818) XendDomainInfo.initDomain: 1 256
    [2011-02-25 10:51:54 2051] DEBUG (XendDomainInfo:2845) _initDomain:shadow_memory=0x0, memory_static_max=0x4000000, memory_static_min=0x0.
    [2011-02-25 10:51:55 2051] INFO (image:182) buildDomain os=linux dom=1 vcpus=1
    [2011-02-25 10:51:55 2051] DEBUG (image:721) domid          = 1
    [2011-02-25 10:51:55 2051] DEBUG (image:722) memsize        = 64
    [2011-02-25 10:51:55 2051] DEBUG (image:723) image          = /boot/vmlinuz-2.6.32-5-xen-amd64
    [2011-02-25 10:51:55 2051] DEBUG (image:724) store_evtchn   = 1
    [2011-02-25 10:51:55 2051] DEBUG (image:725) console_evtchn = 2
    [2011-02-25 10:51:55 2051] DEBUG (image:726) cmdline        = root=/dev/hda1 ro 4
    [2011-02-25 10:51:55 2051] DEBUG (image:727) ramdisk        = /boot/initrd.img-2.6.32-5-xen-amd64
    [2011-02-25 10:51:55 2051] DEBUG (image:728) vcpus          = 1
    [2011-02-25 10:51:55 2051] DEBUG (image:729) features       =
    [2011-02-25 10:51:55 2051] DEBUG (image:730) flags          = 0
    [2011-02-25 10:51:55 2051] DEBUG (image:731) superpages     = 0
    [2011-02-25 10:51:55 2051] INFO (XendDomainInfo:2367) createDevice: vbd : {'uuid': '4d385b3d-1925-18d2-6de1-6518d17ed25b', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'hda1', 'uname': 'phy:VG0/xen4vol', 'mode': 'w'}
    [2011-02-25 10:51:55 2051] DEBUG (DevController:95) DevController: writing {'virtual-device': '769', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/769'} to /local/domain/1/device/vbd/769.
    [2011-02-25 10:51:55 2051] DEBUG (DevController:97) DevController: writing {'domain': 'vm-linux2', 'frontend': '/local/domain/1/device/vbd/769', 'uuid': '4d385b3d-1925-18d2-6de1-6518d17ed25b', 'bootable': '1', 'dev': 'hda1', 'state': '1', 'params': 'VG0/xen4vol', 'mode': 'w', 'online': '1', 'frontend-id': '1', 'type': 'phy'} to /local/domain/0/backend/vbd/1/769.
    [2011-02-25 10:51:55 2051] INFO (XendDomainInfo:2367) createDevice: vif : {'bridge': 'br0', 'mac': '00:16:3e:10:66:a0', 'uuid': '1835d1d9-2dfa-58a1-8b90-68a1ac14d2dc'}
    [2011-02-25 10:51:55 2051] DEBUG (DevController:95) DevController: writing {'mac': '00:16:3e:10:66:a0', 'handle': '0', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/1/0'} to /local/domain/1/device/vif/0.
    [2011-02-25 10:51:55 2051] DEBUG (DevController:97) DevController: writing {'bridge': 'br0', 'domain': 'vm-linux2', 'handle': '0', 'uuid': '1835d1d9-2dfa-58a1-8b90-68a1ac14d2dc', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:10:66:a0', 'frontend-id': '1', 'state': '1', 'online': '1', 'frontend': '/local/domain/1/device/vif/0'} to /local/domain/0/backend/vif/1/0.
    [2011-02-25 10:51:55 2051] DEBUG (XendDomainInfo:3400) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': 'e3bf1445-2ce4-4c79-bdbd-ef9f375d9ede', 'on_reboot': 'restart', 'start_time': '1298623915.7', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader': '
    [2011-02-25 10:51:55 2051] DEBUG (XendDomainInfo:1804) Storing domain details: {'console/ring-ref': '2279622', 'image/entry': '18446744071584121344', 'console/port': '2', 'store/ring-ref': '2279623', 'image/loader': 'generic', 'vm': '/vm/e3bf1445-2ce4-4c79-bdbd-ef9f375d9ede', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '18446603336221196288', 'image/guest-os': 'li
    [2011-02-25 10:51:55 2051] DEBUG (DevController:95) DevController: writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/1/0'} to /local/domain/1/device/console/0.
    [2011-02-25 10:51:55 2051] DEBUG (DevController:97) DevController: writing {'domain': 'vm-linux2', 'frontend': '/local/domain/1/device/console/0', 'uuid': '5871d154-a487-8a63-130a-910532829222', 'frontend-id': '1', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/1/0.
    [2011-02-25 10:51:55 2051] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch
    [2011-02-25 10:51:55 2051] DEBUG (DevController:139) Waiting for devices vif2.
    [2011-02-25 10:51:55 2051] DEBUG (DevController:139) Waiting for devices vif.
    [2011-02-25 10:51:55 2051] DEBUG (DevController:144) Waiting for 0.
    [2011-02-25 10:51:55 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
    [2011-02-25 10:51:55 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
    [2011-02-25 10:51:55 2051] DEBUG (DevController:642) hotplugStatusCallback 2.
    [2011-02-25 10:51:55 2051] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=1
    [2011-02-25 10:51:55 2051] DEBUG (XendDomainInfo:2411) Destroying device model
    [2011-02-25 10:51:55 2051] DEBUG (XendDomainInfo:2418) Releasing devices
    [2011-02-25 10:51:55 2051] DEBUG (XendDomainInfo:2424) Removing vif/0
    [2011-02-25 10:51:55 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
    [2011-02-25 10:51:55 2051] DEBUG (XendDomainInfo:2424) Removing vbd/769
    [2011-02-25 10:51:55 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/769
    [2011-02-25 10:51:55 2051] DEBUG (XendDomainInfo:2424) Removing console/0
    [2011-02-25 10:51:56 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
    [2011-02-25 10:52:32 2051] DEBUG (XendDomainInfo:101) XendDomainInfo.create(['vm', ['name', 'vm-linux2'], ['memory', 64], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.32-5-xen-amd64'], ['ramdisk', '/boot/initrd.img-2.6.32-5-xen-amd64'], ['root', '/dev/hda1 ro'], ['videoram', 4], ['args', '4'], ['tsc_mode', 0],
    [2011-02-25 10:52:32 2051] DEBUG (XendDomainInfo:2508) XendDomainInfo.constructDomain
    [2011-02-25 10:52:32 2051] DEBUG (balloon:220) Balloon: 2247560 KiB free; need 16384; done.
    [2011-02-25 10:52:32 2051] DEBUG (XendDomain:464) Adding Domain: 2
    [2011-02-25 10:52:32 2051] DEBUG (XendDomainInfo:2818) XendDomainInfo.initDomain: 2 256
    [2011-02-25 10:52:32 2051] DEBUG (XendDomainInfo:2845) _initDomain:shadow_memory=0x0, memory_static_max=0x4000000, memory_static_min=0x0.
    [2011-02-25 10:52:32 2051] INFO (image:182) buildDomain os=linux dom=2 vcpus=1
    [2011-02-25 10:52:32 2051] DEBUG (image:721) domid          = 2
    [2011-02-25 10:52:32 2051] DEBUG (image:722) memsize        = 64
    [2011-02-25 10:52:32 2051] DEBUG (image:723) image          = /boot/vmlinuz-2.6.32-5-xen-amd64
    [2011-02-25 10:52:32 2051] DEBUG (image:724) store_evtchn   = 1
    [2011-02-25 10:52:32 2051] DEBUG (image:725) console_evtchn = 2
    [2011-02-25 10:52:32 2051] DEBUG (image:726) cmdline        = root=/dev/hda1 ro 4
    [2011-02-25 10:52:32 2051] DEBUG (image:727) ramdisk        = /boot/initrd.img-2.6.32-5-xen-amd64
    [2011-02-25 10:52:32 2051] DEBUG (image:728) vcpus          = 1
    [2011-02-25 10:52:32 2051] DEBUG (image:729) features       =
    [2011-02-25 10:52:32 2051] DEBUG (image:730) flags          = 0
    [2011-02-25 10:52:32 2051] DEBUG (image:731) superpages     = 0
    [2011-02-25 10:52:33 2051] INFO (XendDomainInfo:2367) createDevice: vbd : {'uuid': '5dd91b92-f8ce-9096-1208-c4054e5d3e24', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'hda1', 'uname': 'phy:VG0/xen4vol', 'mode': 'w'}
    [2011-02-25 10:52:33 2051] DEBUG (DevController:95) DevController: writing {'virtual-device': '769', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/2/769'} to /local/domain/2/device/vbd/769.
    [2011-02-25 10:52:33 2051] DEBUG (DevController:97) DevController: writing {'domain': 'vm-linux2', 'frontend': '/local/domain/2/device/vbd/769', 'uuid': '5dd91b92-f8ce-9096-1208-c4054e5d3e24', 'bootable': '1', 'dev': 'hda1', 'state': '1', 'params': 'VG0/xen4vol', 'mode': 'w', 'online': '1', 'frontend-id': '2', 'type': 'phy'} to /local/domain/0/backend/vbd/2/769.
    [2011-02-25 10:52:33 2051] INFO (XendDomainInfo:2367) createDevice: vif : {'bridge': 'br0', 'mac': '00:16:3e:35:ff:63', 'uuid': '220be395-1ba1-eb96-656a-c725b57be845'}
    [2011-02-25 10:52:33 2051] DEBUG (DevController:95) DevController: writing {'mac': '00:16:3e:35:ff:63', 'handle': '0', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/2/0'} to /local/domain/2/device/vif/0.
    [2011-02-25 10:52:33 2051] DEBUG (DevController:97) DevController: writing {'bridge': 'br0', 'domain': 'vm-linux2', 'handle': '0', 'uuid': '220be395-1ba1-eb96-656a-c725b57be845', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:35:ff:63', 'frontend-id': '2', 'state': '1', 'online': '1', 'frontend': '/local/domain/2/device/vif/0'} to /local/domain/0/backend/vif/2/0.
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:3400) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': 'ecb91da0-1125-496e-9fdb-ac0f3bbfc56c', 'on_reboot': 'restart', 'start_time': '1298623953.31', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader':
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:1804) Storing domain details: {'console/ring-ref': '2279622', 'image/entry': '18446744071584121344', 'console/port': '2', 'store/ring-ref': '2279623', 'image/loader': 'generic', 'vm': '/vm/ecb91da0-1125-496e-9fdb-ac0f3bbfc56c', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '18446603336221196288', 'image/guest-os': 'li
    [2011-02-25 10:52:33 2051] DEBUG (DevController:95) DevController: writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/2/0'} to /local/domain/2/device/console/0.
    [2011-02-25 10:52:33 2051] DEBUG (DevController:97) DevController: writing {'domain': 'vm-linux2', 'frontend': '/local/domain/2/device/console/0', 'uuid': '40098bb3-cdb8-2bc3-4dda-b988c315210a', 'frontend-id': '2', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/2/0.
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch
    [2011-02-25 10:52:33 2051] DEBUG (DevController:139) Waiting for devices vif2.
    [2011-02-25 10:52:33 2051] DEBUG (DevController:139) Waiting for devices vif.
    [2011-02-25 10:52:33 2051] DEBUG (DevController:144) Waiting for 0.
    [2011-02-25 10:52:33 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status.
    [2011-02-25 10:52:33 2051] DEBUG (DevController:642) hotplugStatusCallback 2.
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=2
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:2411) Destroying device model
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:2418) Releasing devices
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:2424) Removing vif/0
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:2424) Removing vbd/769
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/769
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:2424) Removing console/0
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:2416) No device model
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:2418) Releasing devices
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:2424) Removing vif/0
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:2424) Removing vbd/769
    [2011-02-25 10:52:33 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/769
    [2011-02-25 10:52:56 2051] DEBUG (XendDomainInfo:101) XendDomainInfo.create(['vm', ['name', 'vm-linux2'], ['memory', 64], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.32-5-xen-amd64'], ['ramdisk', '/boot/initrd.img-2.6.32-5-xen-amd64'], ['root', '/dev/hda1 ro'], ['videoram', 4], ['args', '4'], ['tsc_mode', 0],
    [2011-02-25 10:52:56 2051] DEBUG (XendDomainInfo:2508) XendDomainInfo.constructDomain
    [2011-02-25 10:52:56 2051] DEBUG (balloon:220) Balloon: 2247560 KiB free; need 16384; done.
    [2011-02-25 10:52:56 2051] DEBUG (XendDomain:464) Adding Domain: 3
    [2011-02-25 10:52:56 2051] DEBUG (XendDomainInfo:2818) XendDomainInfo.initDomain: 3 256
    [2011-02-25 10:52:56 2051] DEBUG (XendDomainInfo:2845) _initDomain:shadow_memory=0x0, memory_static_max=0x4000000, memory_static_min=0x0.
    [2011-02-25 10:52:56 2051] INFO (image:182) buildDomain os=linux dom=3 vcpus=1
    [2011-02-25 10:52:56 2051] DEBUG (image:721) domid          = 3
    [2011-02-25 10:52:56 2051] DEBUG (image:722) memsize        = 64
    [2011-02-25 10:52:56 2051] DEBUG (image:723) image          = /boot/vmlinuz-2.6.32-5-xen-amd64
    [2011-02-25 10:52:56 2051] DEBUG (image:724) store_evtchn   = 1
    [2011-02-25 10:52:56 2051] DEBUG (image:725) console_evtchn = 2
    [2011-02-25 10:52:56 2051] DEBUG (image:726) cmdline        = root=/dev/hda1 ro 4
    [2011-02-25 10:52:56 2051] DEBUG (image:727) ramdisk        = /boot/initrd.img-2.6.32-5-xen-amd64
    [2011-02-25 10:52:56 2051] DEBUG (image:728) vcpus          = 1
    [2011-02-25 10:52:56 2051] DEBUG (image:729) features       =
    [2011-02-25 10:52:56 2051] DEBUG (image:730) flags          = 0
    [2011-02-25 10:52:56 2051] DEBUG (image:731) superpages     = 0
    [2011-02-25 10:52:56 2051] INFO (XendDomainInfo:2367) createDevice: vbd : {'uuid': 'aa3feb23-bb1b-7023-c321-44fbb53c90b7', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'hda1', 'uname': 'phy:VG0/xen4vol', 'mode': 'w'}
    [2011-02-25 10:52:56 2051] DEBUG (DevController:95) DevController: writing {'virtual-device': '769', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/3/769'} to /local/domain/3/device/vbd/769.
    [2011-02-25 10:52:56 2051] DEBUG (DevController:97) DevController: writing {'domain': 'vm-linux2', 'frontend': '/local/domain/3/device/vbd/769', 'uuid': 'aa3feb23-bb1b-7023-c321-44fbb53c90b7', 'bootable': '1', 'dev': 'hda1', 'state': '1', 'params': 'VG0/xen4vol', 'mode': 'w', 'online': '1', 'frontend-id': '3', 'type': 'phy'} to /local/domain/0/backend/vbd/3/769.
    [2011-02-25 10:52:56 2051] INFO (XendDomainInfo:2367) createDevice: vif : {'bridge': 'eth0', 'mac': '00:16:3e:39:9e:71', 'uuid': '8b037588-5a40-4c55-3dce-a2a2311bfcc6'}
    [2011-02-25 10:52:56 2051] DEBUG (DevController:95) DevController: writing {'mac': '00:16:3e:39:9e:71', 'handle': '0', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/3/0'} to /local/domain/3/device/vif/0.
    [2011-02-25 10:52:56 2051] DEBUG (DevController:97) DevController: writing {'bridge': 'eth0', 'domain': 'vm-linux2', 'handle': '0', 'uuid': '8b037588-5a40-4c55-3dce-a2a2311bfcc6', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:39:9e:71', 'frontend-id': '3', 'state': '1', 'online': '1', 'frontend': '/local/domain/3/device/vif/0'} to /local/domain/0/backend/vif/3/0.
    [2011-02-25 10:52:56 2051] DEBUG (XendDomainInfo:3400) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '1681a1b7-c832-6a25-6c23-803f8ecccb33', 'on_reboot': 'restart', 'start_time': '1298623976.68', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader':
    [2011-02-25 10:52:56 2051] DEBUG (XendDomainInfo:1804) Storing domain details: {'console/ring-ref': '2279622', 'image/entry': '18446744071584121344', 'console/port': '2', 'store/ring-ref': '2279623', 'image/loader': 'generic', 'vm': '/vm/1681a1b7-c832-6a25-6c23-803f8ecccb33', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '18446603336221196288', 'image/guest-os': 'li
    [2011-02-25 10:52:56 2051] DEBUG (DevController:95) DevController: writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/3/0'} to /local/domain/3/device/console/0.
    [2011-02-25 10:52:56 2051] DEBUG (DevController:97) DevController: writing {'domain': 'vm-linux2', 'frontend': '/local/domain/3/device/console/0', 'uuid': '41c2f880-1b3a-a7bc-e098-92dbc84340d9', 'frontend-id': '3', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/3/0.
    [2011-02-25 10:52:56 2051] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch
    [2011-02-25 10:52:56 2051] DEBUG (DevController:139) Waiting for devices vif2.
    [2011-02-25 10:52:56 2051] DEBUG (DevController:139) Waiting for devices vif.
    [2011-02-25 10:52:56 2051] DEBUG (DevController:144) Waiting for 0.
    [2011-02-25 10:52:56 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.
    [2011-02-25 10:52:57 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.
    [2011-02-25 10:52:57 2051] DEBUG (DevController:642) hotplugStatusCallback 1.
    [2011-02-25 10:52:57 2051] DEBUG (DevController:139) Waiting for devices vscsi.
    [2011-02-25 10:52:57 2051] DEBUG (DevController:139) Waiting for devices vbd.
    [2011-02-25 10:52:57 2051] DEBUG (DevController:144) Waiting for 769.
    [2011-02-25 10:52:57 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/3/769/hotplug-status.
    [2011-02-25 10:52:57 2051] DEBUG (DevController:642) hotplugStatusCallback 5.
    [2011-02-25 10:52:57 2051] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=3
    [2011-02-25 10:52:57 2051] DEBUG (XendDomainInfo:2411) Destroying device model
    [2011-02-25 10:52:57 2051] DEBUG (XendDomainInfo:2418) Releasing devices
    [2011-02-25 10:52:57 2051] DEBUG (XendDomainInfo:2424) Removing vif/0
    [2011-02-25 10:52:57 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
    [2011-02-25 10:52:57 2051] DEBUG (XendDomainInfo:2424) Removing vbd/769
    [2011-02-25 10:52:57 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/769
    [2011-02-25 10:52:57 2051] DEBUG (XendDomainInfo:2424) Removing console/0
    [2011-02-25 10:52:57 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
    [2011-02-25 10:54:56 2051] DEBUG (XendDomainInfo:101) XendDomainInfo.create(['vm', ['name', 'vm-linux2'], ['memory', 64], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.32-5-xen-amd64'], ['ramdisk', '/boot/initrd.img-2.6.32-5-xen-amd64'], ['root', '/dev/hda1 ro'], ['videoram', 4], ['args', '4'], ['tsc_mode', 0],
    [2011-02-25 10:54:56 2051] DEBUG (XendDomainInfo:2508) XendDomainInfo.constructDomain
    [2011-02-25 10:54:56 2051] DEBUG (balloon:220) Balloon: 2247560 KiB free; need 16384; done.
    [2011-02-25 10:54:57 2051] DEBUG (XendDomain:464) Adding Domain: 4
    [2011-02-25 10:54:57 2051] DEBUG (XendDomainInfo:2818) XendDomainInfo.initDomain: 4 256
    [2011-02-25 10:54:57 2051] DEBUG (XendDomainInfo:2845) _initDomain:shadow_memory=0x0, memory_static_max=0x4000000, memory_static_min=0x0.
    [2011-02-25 10:54:57 2051] INFO (image:182) buildDomain os=linux dom=4 vcpus=1
    [2011-02-25 10:54:57 2051] DEBUG (image:721) domid          = 4
    [2011-02-25 10:54:57 2051] DEBUG (image:722) memsize        = 64
    [2011-02-25 10:54:57 2051] DEBUG (image:723) image          = /boot/vmlinuz-2.6.32-5-xen-amd64
    [2011-02-25 10:54:57 2051] DEBUG (image:724) store_evtchn   = 1
    [2011-02-25 10:54:57 2051] DEBUG (image:725) console_evtchn = 2
    [2011-02-25 10:54:57 2051] DEBUG (image:726) cmdline        = root=/dev/hda1 ro 4
    [2011-02-25 10:54:57 2051] DEBUG (image:727) ramdisk        = /boot/initrd.img-2.6.32-5-xen-amd64
    [2011-02-25 10:54:57 2051] DEBUG (image:728) vcpus          = 1
    [2011-02-25 10:54:57 2051] DEBUG (image:729) features       =
    [2011-02-25 10:54:57 2051] DEBUG (image:730) flags          = 0
    [2011-02-25 10:54:57 2051] DEBUG (image:731) superpages     = 0
    [2011-02-25 10:54:57 2051] INFO (XendDomainInfo:2367) createDevice: vbd : {'uuid': '65561f1a-5572-8db5-62fb-fd689e8f9ebc', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'hda1', 'uname': 'phy:VG0/xen4vol', 'mode': 'w'}
    [2011-02-25 10:54:57 2051] DEBUG (DevController:95) DevController: writing {'virtual-device': '769', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/4/769'} to /local/domain/4/device/vbd/769.
    [2011-02-25 10:54:57 2051] DEBUG (DevController:97) DevController: writing {'domain': 'vm-linux2', 'frontend': '/local/domain/4/device/vbd/769', 'uuid': '65561f1a-5572-8db5-62fb-fd689e8f9ebc', 'bootable': '1', 'dev': 'hda1', 'state': '1', 'params': 'VG0/xen4vol', 'mode': 'w', 'online': '1', 'frontend-id': '4', 'type': 'phy'} to /local/domain/0/backend/vbd/4/769.
    [2011-02-25 10:54:57 2051] INFO (XendDomainInfo:2367) createDevice: vif : {'bridge': 'eth0', 'mac': '00:16:3e:2e:eb:51', 'uuid': 'f98902a8-2145-b20a-246c-cf81dbc2e63a'}
    [2011-02-25 10:54:57 2051] DEBUG (DevController:95) DevController: writing {'mac': '00:16:3e:2e:eb:51', 'handle': '0', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/4/0'} to /local/domain/4/device/vif/0.
    [2011-02-25 10:54:57 2051] DEBUG (DevController:97) DevController: writing {'bridge': 'eth0', 'domain': 'vm-linux2', 'handle': '0', 'uuid': 'f98902a8-2145-b20a-246c-cf81dbc2e63a', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:2e:eb:51', 'frontend-id': '4', 'state': '1', 'online': '1', 'frontend': '/local/domain/4/device/vif/0'} to /local/domain/0/backend/vif/4/0.
    [2011-02-25 10:54:57 2051] DEBUG (XendDomainInfo:3400) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': 'fe7223ad-3970-8b74-a720-4b21ab5cbc25', 'on_reboot': 'restart', 'start_time': '1298624097.66', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader':
    [2011-02-25 10:54:57 2051] DEBUG (XendDomainInfo:1804) Storing domain details: {'console/ring-ref': '2279622', 'image/entry': '18446744071584121344', 'console/port': '2', 'store/ring-ref': '2279623', 'image/loader': 'generic', 'vm': '/vm/fe7223ad-3970-8b74-a720-4b21ab5cbc25', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '18446603336221196288', 'image/guest-os': 'li
    [2011-02-25 10:54:57 2051] DEBUG (DevController:95) DevController: writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/4/0'} to /local/domain/4/device/console/0.
    [2011-02-25 10:54:57 2051] DEBUG (DevController:97) DevController: writing {'domain': 'vm-linux2', 'frontend': '/local/domain/4/device/console/0', 'uuid': 'd1f9f172-f062-f8fd-d55a-0cd7c33b149b', 'frontend-id': '4', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/4/0.
    [2011-02-25 10:54:57 2051] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch
    [2011-02-25 10:54:57 2051] DEBUG (DevController:139) Waiting for devices vif2.
    [2011-02-25 10:54:57 2051] DEBUG (DevController:139) Waiting for devices vif.
    [2011-02-25 10:54:57 2051] DEBUG (DevController:144) Waiting for 0.
    [2011-02-25 10:54:57 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status.
    [2011-02-25 10:54:57 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status.
    [2011-02-25 10:54:57 2051] DEBUG (DevController:642) hotplugStatusCallback 1.
    [2011-02-25 10:54:57 2051] DEBUG (DevController:139) Waiting for devices vscsi.
    [2011-02-25 10:54:57 2051] DEBUG (DevController:139) Waiting for devices vbd.
    [2011-02-25 10:54:57 2051] DEBUG (DevController:144) Waiting for 769.
    [2011-02-25 10:54:57 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/4/769/hotplug-status.
    [2011-02-25 10:54:57 2051] DEBUG (DevController:642) hotplugStatusCallback 5.
    [2011-02-25 10:54:57 2051] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=4
    [2011-02-25 10:54:57 2051] DEBUG (XendDomainInfo:2411) Destroying device model
    [2011-02-25 10:54:57 2051] DEBUG (XendDomainInfo:2418) Releasing devices
    [2011-02-25 10:54:57 2051] DEBUG (XendDomainInfo:2424) Removing vif/0
    [2011-02-25 10:54:57 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
    [2011-02-25 10:54:57 2051] DEBUG (XendDomainInfo:2424) Removing vbd/769
    [2011-02-25 10:54:57 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/769
    [2011-02-25 10:54:57 2051] DEBUG (XendDomainInfo:2424) Removing console/0
    [2011-02-25 10:54:57 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
    [2011-02-25 10:57:28 2051] DEBUG (XendDomainInfo:101) XendDomainInfo.create(['vm', ['name', 'vm-linux2'], ['memory', 64], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.32-5-xen-amd64'], ['ramdisk', '/boot/initrd.img-2.6.32-5-xen-amd64'], ['root', '/dev/hda1 ro'], ['videoram', 4], ['args', '4'], ['tsc_mode', 0],
    [2011-02-25 10:57:28 2051] DEBUG (XendDomainInfo:2508) XendDomainInfo.constructDomain
    [2011-02-25 10:57:28 2051] DEBUG (balloon:220) Balloon: 2247556 KiB free; need 16384; done.
    [2011-02-25 10:57:28 2051] DEBUG (XendDomain:464) Adding Domain: 5
    [2011-02-25 10:57:28 2051] DEBUG (XendDomainInfo:2818) XendDomainInfo.initDomain: 5 256
    [2011-02-25 10:57:28 2051] DEBUG (XendDomainInfo:2845) _initDomain:shadow_memory=0x0, memory_static_max=0x4000000, memory_static_min=0x0.
    [2011-02-25 10:57:28 2051] INFO (image:182) buildDomain os=linux dom=5 vcpus=1
    [2011-02-25 10:57:28 2051] DEBUG (image:721) domid          = 5
    [2011-02-25 10:57:28 2051] DEBUG (image:722) memsize        = 64
    [2011-02-25 10:57:28 2051] DEBUG (image:723) image          = /boot/vmlinuz-2.6.32-5-xen-amd64
    [2011-02-25 10:57:28 2051] DEBUG (image:724) store_evtchn   = 1
    [2011-02-25 10:57:28 2051] DEBUG (image:725) console_evtchn = 2
    [2011-02-25 10:57:28 2051] DEBUG (image:726) cmdline        = root=/dev/hda1 ro 4
    [2011-02-25 10:57:28 2051] DEBUG (image:727) ramdisk        = /boot/initrd.img-2.6.32-5-xen-amd64
    [2011-02-25 10:57:28 2051] DEBUG (image:728) vcpus          = 1
    [2011-02-25 10:57:28 2051] DEBUG (image:729) features       =
    [2011-02-25 10:57:28 2051] DEBUG (image:730) flags          = 0
    [2011-02-25 10:57:28 2051] DEBUG (image:731) superpages     = 0
    [2011-02-25 10:57:29 2051] INFO (XendDomainInfo:2367) createDevice: vbd : {'uuid': '9c78975e-bc04-d64b-9f8b-bfa16ee72328', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'xvda1', 'uname': 'phy:VG0/xen4vol', 'mode': 'w'}
    [2011-02-25 10:57:29 2051] DEBUG (DevController:95) DevController: writing {'virtual-device': '51713', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/5/51713'} to /local/domain/5/device/vbd/51713.
    [2011-02-25 10:57:29 2051] DEBUG (DevController:97) DevController: writing {'domain': 'vm-linux2', 'frontend': '/local/domain/5/device/vbd/51713', 'uuid': '9c78975e-bc04-d64b-9f8b-bfa16ee72328', 'bootable': '1', 'dev': 'xvda1', 'state': '1', 'params': 'VG0/xen4vol', 'mode': 'w', 'online': '1', 'frontend-id': '5', 'type': 'phy'} to /local/domain/0/backend/vbd/5/51713.
    [2011-02-25 10:57:29 2051] INFO (XendDomainInfo:2367) createDevice: vif : {'bridge': 'eth0', 'mac': '00:16:3e:3b:2a:71', 'uuid': '6e4d2bef-128e-fe4d-ea54-060838781143'}
    [2011-02-25 10:57:29 2051] DEBUG (DevController:95) DevController: writing {'mac': '00:16:3e:3b:2a:71', 'handle': '0', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/5/0'} to /local/domain/5/device/vif/0.
    [2011-02-25 10:57:29 2051] DEBUG (DevController:97) DevController: writing {'bridge': 'eth0', 'domain': 'vm-linux2', 'handle': '0', 'uuid': '6e4d2bef-128e-fe4d-ea54-060838781143', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:3b:2a:71', 'frontend-id': '5', 'state': '1', 'online': '1', 'frontend': '/local/domain/5/device/vif/0'} to /local/domain/0/backend/vif/5/0.
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:3400) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '61ca076e-ce3e-a8a4-38e6-8055838a2e2d', 'on_reboot': 'restart', 'start_time': '1298624249.5', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader': '
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:1804) Storing domain details: {'console/ring-ref': '2279622', 'image/entry': '18446744071584121344', 'console/port': '2', 'store/ring-ref': '2279623', 'image/loader': 'generic', 'vm': '/vm/61ca076e-ce3e-a8a4-38e6-8055838a2e2d', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '18446603336221196288', 'image/guest-os': 'li
    [2011-02-25 10:57:29 2051] DEBUG (DevController:95) DevController: writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/5/0'} to /local/domain/5/device/console/0.
    [2011-02-25 10:57:29 2051] DEBUG (DevController:97) DevController: writing {'domain': 'vm-linux2', 'frontend': '/local/domain/5/device/console/0', 'uuid': '570e31b5-12e8-48f2-67cc-d920f034c0d0', 'frontend-id': '5', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/5/0.
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch
    [2011-02-25 10:57:29 2051] DEBUG (DevController:139) Waiting for devices vif2.
    [2011-02-25 10:57:29 2051] DEBUG (DevController:139) Waiting for devices vif.
    [2011-02-25 10:57:29 2051] DEBUG (DevController:144) Waiting for 0.
    [2011-02-25 10:57:29 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/5/0/hotplug-status.
    [2011-02-25 10:57:29 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/5/0/hotplug-status.
    [2011-02-25 10:57:29 2051] DEBUG (DevController:642) hotplugStatusCallback 1.
    [2011-02-25 10:57:29 2051] DEBUG (DevController:139) Waiting for devices vscsi.
    [2011-02-25 10:57:29 2051] DEBUG (DevController:139) Waiting for devices vbd.
    [2011-02-25 10:57:29 2051] DEBUG (DevController:144) Waiting for 51713.
    [2011-02-25 10:57:29 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/5/51713/hotplug-status.
    [2011-02-25 10:57:29 2051] DEBUG (DevController:642) hotplugStatusCallback 5.
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=5
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:2411) Destroying device model
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:2418) Releasing devices
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:2424) Removing vif/0
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:2424) Removing vbd/51713
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51713
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:2424) Removing console/0
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:2416) No device model
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:2418) Releasing devices
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:2424) Removing vif/0
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:2424) Removing vbd/51713
    [2011-02-25 10:57:29 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51713
    [2011-02-25 11:11:26 2051] DEBUG (XendDomainInfo:101) XendDomainInfo.create(['vm', ['name', 'vm-linux2'], ['memory', 64], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.32-5-xen-amd64'], ['ramdisk', '/boot/initrd.img-2.6.32-5-xen-amd64'], ['root', '/dev/xvda1 ro'], ['videoram', 4], ['args', '4'], ['tsc_mode', 0],
    [2011-02-25 11:11:26 2051] DEBUG (XendDomainInfo:2508) XendDomainInfo.constructDomain
    [2011-02-25 11:11:26 2051] DEBUG (balloon:220) Balloon: 2247556 KiB free; need 16384; done.
    [2011-02-25 11:11:26 2051] DEBUG (XendDomain:464) Adding Domain: 6
    [2011-02-25 11:11:26 2051] DEBUG (XendDomainInfo:2818) XendDomainInfo.initDomain: 6 256
    [2011-02-25 11:11:26 2051] DEBUG (XendDomainInfo:2845) _initDomain:shadow_memory=0x0, memory_static_max=0x4000000, memory_static_min=0x0.
    [2011-02-25 11:11:27 2051] INFO (image:182) buildDomain os=linux dom=6 vcpus=1
    [2011-02-25 11:11:27 2051] DEBUG (image:721) domid          = 6
    [2011-02-25 11:11:27 2051] DEBUG (image:722) memsize        = 64
    [2011-02-25 11:11:27 2051] DEBUG (image:723) image          = /boot/vmlinuz-2.6.32-5-xen-amd64
    [2011-02-25 11:11:27 2051] DEBUG (image:724) store_evtchn   = 1
    [2011-02-25 11:11:27 2051] DEBUG (image:725) console_evtchn = 2
    [2011-02-25 11:11:27 2051] DEBUG (image:726) cmdline        = root=/dev/xvda1 ro 4
    [2011-02-25 11:11:27 2051] DEBUG (image:727) ramdisk        = /boot/initrd.img-2.6.32-5-xen-amd64
    [2011-02-25 11:11:27 2051] DEBUG (image:728) vcpus          = 1
    [2011-02-25 11:11:27 2051] DEBUG (image:729) features       =
    [2011-02-25 11:11:27 2051] DEBUG (image:730) flags          = 0
    [2011-02-25 11:11:27 2051] DEBUG (image:731) superpages     = 0
    [2011-02-25 11:11:27 2051] INFO (XendDomainInfo:2367) createDevice: vbd : {'uuid': '624ccb48-90ec-a014-8ad7-a60c47defd99', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'xvda1', 'uname': 'phy:VG0/xen4vol', 'mode': 'w'}
    [2011-02-25 11:11:27 2051] DEBUG (DevController:95) DevController: writing {'virtual-device': '51713', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/6/51713'} to /local/domain/6/device/vbd/51713.
    [2011-02-25 11:11:27 2051] DEBUG (DevController:97) DevController: writing {'domain': 'vm-linux2', 'frontend': '/local/domain/6/device/vbd/51713', 'uuid': '624ccb48-90ec-a014-8ad7-a60c47defd99', 'bootable': '1', 'dev': 'xvda1', 'state': '1', 'params': 'VG0/xen4vol', 'mode': 'w', 'online': '1', 'frontend-id': '6', 'type': 'phy'} to /local/domain/0/backend/vbd/6/51713.
    [2011-02-25 11:11:27 2051] INFO (XendDomainInfo:2367) createDevice: vif : {'bridge': 'eth0', 'mac': '00:16:3e:55:b7:19', 'uuid': '5432b071-8904-c95c-9c50-4d6683f8d734'}
    [2011-02-25 11:11:27 2051] DEBUG (DevController:95) DevController: writing {'mac': '00:16:3e:55:b7:19', 'handle': '0', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/6/0'} to /local/domain/6/device/vif/0.
    [2011-02-25 11:11:27 2051] DEBUG (DevController:97) DevController: writing {'bridge': 'eth0', 'domain': 'vm-linux2', 'handle': '0', 'uuid': '5432b071-8904-c95c-9c50-4d6683f8d734', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:55:b7:19', 'frontend-id': '6', 'state': '1', 'online': '1', 'frontend': '/local/domain/6/device/vif/0'} to /local/domain/0/backend/vif/6/0.
    [2011-02-25 11:11:27 2051] DEBUG (XendDomainInfo:3400) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '93011d91-9745-dcdc-77f6-0a45963a6e15', 'on_reboot': 'restart', 'start_time': '1298625087.71', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader':
    [2011-02-25 11:11:27 2051] DEBUG (XendDomainInfo:1804) Storing domain details: {'console/ring-ref': '2279622', 'image/entry': '18446744071584121344', 'console/port': '2', 'store/ring-ref': '2279623', 'image/loader': 'generic', 'vm': '/vm/93011d91-9745-dcdc-77f6-0a45963a6e15', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '18446603336221196288', 'image/guest-os': 'li
    [2011-02-25 11:11:27 2051] DEBUG (DevController:95) DevController: writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/6/0'} to /local/domain/6/device/console/0.
    [2011-02-25 11:11:27 2051] DEBUG (DevController:97) DevController: writing {'domain': 'vm-linux2', 'frontend': '/local/domain/6/device/console/0', 'uuid': '69826732-d009-c8e8-42fd-2bb3566ad0f9', 'frontend-id': '6', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/6/0.
    [2011-02-25 11:11:27 2051] DEBUG (DevController:139) Waiting for devices vif2.
    [2011-02-25 11:11:27 2051] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch
    [2011-02-25 11:11:27 2051] DEBUG (DevController:139) Waiting for devices vif.
    [2011-02-25 11:11:27 2051] DEBUG (DevController:144) Waiting for 0.
    [2011-02-25 11:11:27 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status.
    [2011-02-25 11:11:27 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status.
    [2011-02-25 11:11:27 2051] DEBUG (DevController:642) hotplugStatusCallback 1.
    [2011-02-25 11:11:27 2051] DEBUG (DevController:139) Waiting for devices vscsi.
    [2011-02-25 11:11:27 2051] DEBUG (DevController:139) Waiting for devices vbd.
    [2011-02-25 11:11:27 2051] DEBUG (DevController:144) Waiting for 51713.
    [2011-02-25 11:11:27 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/6/51713/hotplug-status.
    [2011-02-25 11:11:27 2051] DEBUG (DevController:642) hotplugStatusCallback 5.
    [2011-02-25 11:11:27 2051] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=6
    [2011-02-25 11:11:28 2051] DEBUG (XendDomainInfo:2411) Destroying device model
    [2011-02-25 11:11:28 2051] DEBUG (XendDomainInfo:2418) Releasing devices
    [2011-02-25 11:11:28 2051] DEBUG (XendDomainInfo:2424) Removing vif/0
    [2011-02-25 11:11:28 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
    [2011-02-25 11:11:28 2051] DEBUG (XendDomainInfo:2424) Removing vbd/51713
    [2011-02-25 11:11:28 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51713
    [2011-02-25 11:11:28 2051] DEBUG (XendDomainInfo:2424) Removing console/0
    [2011-02-25 11:11:28 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
    [2011-02-25 11:14:49 2051] DEBUG (XendDomainInfo:101) XendDomainInfo.create(['vm', ['name', 'vm-linux2'], ['memory', 64], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.32-5-xen-amd64'], ['ramdisk', '/boot/initrd.img-2.6.32-5-xen-amd64'], ['root', '/dev/xvda1 ro'], ['videoram', 4], ['args', '4'], ['tsc_mode', 0],
    [2011-02-25 11:14:49 2051] DEBUG (XendDomainInfo:2508) XendDomainInfo.constructDomain
    [2011-02-25 11:14:49 2051] DEBUG (balloon:220) Balloon: 2247556 KiB free; need 16384; done.
    [2011-02-25 11:14:49 2051] DEBUG (XendDomain:464) Adding Domain: 7
    [2011-02-25 11:14:49 2051] DEBUG (XendDomainInfo:2818) XendDomainInfo.initDomain: 7 256
    [2011-02-25 11:14:49 2051] DEBUG (XendDomainInfo:2845) _initDomain:shadow_memory=0x0, memory_static_max=0x4000000, memory_static_min=0x0.
    [2011-02-25 11:14:49 2051] INFO (image:182) buildDomain os=linux dom=7 vcpus=1
    [2011-02-25 11:14:49 2051] DEBUG (image:721) domid          = 7
    [2011-02-25 11:14:49 2051] DEBUG (image:722) memsize        = 64
    [2011-02-25 11:14:49 2051] DEBUG (image:723) image          = /boot/vmlinuz-2.6.32-5-xen-amd64
    [2011-02-25 11:14:49 2051] DEBUG (image:724) store_evtchn   = 1
    [2011-02-25 11:14:49 2051] DEBUG (image:725) console_evtchn = 2
    [2011-02-25 11:14:49 2051] DEBUG (image:726) cmdline        = root=/dev/xvda1 ro 4
    [2011-02-25 11:14:49 2051] DEBUG (image:727) ramdisk        = /boot/initrd.img-2.6.32-5-xen-amd64
    [2011-02-25 11:14:49 2051] DEBUG (image:728) vcpus          = 1
    [2011-02-25 11:14:49 2051] DEBUG (image:729) features       =
    [2011-02-25 11:14:49 2051] DEBUG (image:730) flags          = 0
    [2011-02-25 11:14:49 2051] DEBUG (image:731) superpages     = 0
    [2011-02-25 11:14:49 2051] INFO (XendDomainInfo:2367) createDevice: vbd : {'uuid': 'c78eb429-ee0b-a2aa-43b8-a626e25d67d8', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'xvda1', 'uname': 'phy:VG0/xen4vol', 'mode': 'w'}
    [2011-02-25 11:14:49 2051] DEBUG (DevController:95) DevController: writing {'virtual-device': '51713', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/7/51713'} to /local/domain/7/device/vbd/51713.
    [2011-02-25 11:14:49 2051] DEBUG (DevController:97) DevController: writing {'domain': 'vm-linux2', 'frontend': '/local/domain/7/device/vbd/51713', 'uuid': 'c78eb429-ee0b-a2aa-43b8-a626e25d67d8', 'bootable': '1', 'dev': 'xvda1', 'state': '1', 'params': 'VG0/xen4vol', 'mode': 'w', 'online': '1', 'frontend-id': '7', 'type': 'phy'} to /local/domain/0/backend/vbd/7/51713.
    [2011-02-25 11:14:49 2051] INFO (XendDomainInfo:2367) createDevice: vif : {'bridge': 'eth0', 'mac': '00:16:3e:54:be:c2', 'uuid': '8cff3749-0ff3-b4f4-197f-6b207b8c8057'}
    [2011-02-25 11:14:49 2051] DEBUG (DevController:95) DevController: writing {'mac': '00:16:3e:54:be:c2', 'handle': '0', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/7/0'} to /local/domain/7/device/vif/0.
    [2011-02-25 11:14:49 2051] DEBUG (DevController:97) DevController: writing {'bridge': 'eth0', 'domain': 'vm-linux2', 'handle': '0', 'uuid': '8cff3749-0ff3-b4f4-197f-6b207b8c8057', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:54:be:c2', 'frontend-id': '7', 'state': '1', 'online': '1', 'frontend': '/local/domain/7/device/vif/0'} to /local/domain/0/backend/vif/7/0.
    [2011-02-25 11:14:49 2051] DEBUG (XendDomainInfo:3400) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '743c3bd7-2348-43d4-e952-6fa1310c8eb3', 'on_reboot': 'restart', 'start_time': '1298625289.73', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader':
    [2011-02-25 11:14:49 2051] DEBUG (XendDomainInfo:1804) Storing domain details: {'console/ring-ref': '2279622', 'image/entry': '18446744071584121344', 'console/port': '2', 'store/ring-ref': '2279623', 'image/loader': 'generic', 'vm': '/vm/743c3bd7-2348-43d4-e952-6fa1310c8eb3', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '18446603336221196288', 'image/guest-os': 'li
    [2011-02-25 11:14:49 2051] DEBUG (DevController:95) DevController: writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/7/0'} to /local/domain/7/device/console/0.
    [2011-02-25 11:14:49 2051] DEBUG (DevController:97) DevController: writing {'domain': 'vm-linux2', 'frontend': '/local/domain/7/device/console/0', 'uuid': '7671c98e-ab0e-64a2-6ba5-53e4e77cfddd', 'frontend-id': '7', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/7/0.
    [2011-02-25 11:14:49 2051] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch
    [2011-02-25 11:14:49 2051] DEBUG (DevController:139) Waiting for devices vif2.
    [2011-02-25 11:14:49 2051] DEBUG (DevController:139) Waiting for devices vif.
    [2011-02-25 11:14:49 2051] DEBUG (DevController:144) Waiting for 0.
    [2011-02-25 11:14:49 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status.
    [2011-02-25 11:14:49 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status.
    [2011-02-25 11:14:49 2051] DEBUG (DevController:642) hotplugStatusCallback 1.
    [2011-02-25 11:14:49 2051] DEBUG (DevController:139) Waiting for devices vscsi.
    [2011-02-25 11:14:49 2051] DEBUG (DevController:139) Waiting for devices vbd.
    [2011-02-25 11:14:49 2051] DEBUG (DevController:144) Waiting for 51713.
    [2011-02-25 11:14:49 2051] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/7/51713/hotplug-status.
    [2011-02-25 11:14:50 2051] DEBUG (DevController:642) hotplugStatusCallback 1.
    [2011-02-25 11:14:50 2051] DEBUG (DevController:139) Waiting for devices ioports.
    [2011-02-25 11:14:50 2051] DEBUG (DevController:139) Waiting for devices irq.
    [2011-02-25 11:14:50 2051] DEBUG (DevController:139) Waiting for devices vkbd.
    [2011-02-25 11:14:50 2051] DEBUG (DevController:139) Waiting for devices vfb.
    [2011-02-25 11:14:50 2051] DEBUG (DevController:139) Waiting for devices console.
    [2011-02-25 11:14:50 2051] DEBUG (DevController:144) Waiting for 0.
    [2011-02-25 11:14:50 2051] DEBUG (DevController:139) Waiting for devices pci.
    [2011-02-25 11:14:50 2051] DEBUG (DevController:139) Waiting for devices tap2.
    [2011-02-25 11:14:50 2051] DEBUG (DevController:139) Waiting for devices tap.
    [2011-02-25 11:14:50 2051] DEBUG (DevController:139) Waiting for devices vusb.
    [2011-02-25 11:14:50 2051] DEBUG (DevController:139) Waiting for devices vtpm.
    [2011-02-25 11:14:50 2051] INFO (XendDomain:1206) Domain vm-linux2 (7) unpaused.
    [2011-02-25 11:14:50 2051] WARNING (XendDomainInfo:2071) Domain has crashed: name=vm-linux2 id=7.
    [2011-02-25 11:14:50 2051] ERROR (XendDomainInfo:2205) VM vm-linux2 restarting too fast (Elapsed time: 0.821460 seconds). Refusing to restart to avoid loops.
    [2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=7
    [2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:2411) Destroying device model
    [2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:2418) Releasing devices
    [2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:2424) Removing vif/0
    [2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
    [2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:2424) Removing vbd/51713
    [2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51713
    [2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:2424) Removing console/0
    [2011-02-25 11:14:50 2051] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
    

    Статистика

    Время первой команды журнала17:24:28 2011- 2-24
    Время последней команды журнала10:14:50 2011- 2-25
    Количество командных строк в журнале100
    Процент команд с ненулевым кодом завершения, %15.00
    Процент синтаксически неверно набранных команд, % 4.00
    Суммарное время работы с терминалом *, час 1.96
    Количество командных строк в единицу времени, команда/мин 0.85
    Частота использования команд
    ls11|==========| 10.78%
    xm9|========| 8.82%
    cat9|========| 8.82%
    grep9|========| 8.82%
    vi6|=====| 5.88%
    date6|=====| 5.88%
    LANG=ru_RU.UTF-85|====| 4.90%
    su5|====| 4.90%
    brctl4|===| 3.92%
    lvdisplay4|===| 3.92%
    chroot3|==| 2.94%
    shutdown3|==| 2.94%
    LANG=ru_RU.UETF-82|=| 1.96%
    mount2|=| 1.96%
    LANG=uk_UA1|| 0.98%
    umount1|| 0.98%
    man1|| 0.98%
    cp1|| 0.98%
    mkfs.ext31|| 0.98%
    reboot1|| 0.98%
    vimtutor1|| 0.98%
    dpkg-reconfigure1|| 0.98%
    echo1|| 0.98%
    apt-get1|| 0.98%
    -*-md64vmlinuz-2.6.32-5-xen-amd64:q!1|| 0.98%
    LANG=ru_RU:UETF-81|| 0.98%
    netmask=1|| 0.98%
    memory1|| 0.98%
    name1|| 0.98%
    what1|| 0.98%
    LANG1|| 0.98%
    g1|| 0.98%
    клавишу1|| 0.98%
    ssh1|| 0.98%
    vgdisplay1|| 0.98%
    pvmove1|| 0.98%
    exit1|| 0.98%
    debootstrap1|| 0.98%
    ____
    *) Интервалы неактивности длительностью 30 минут и более не учитываются

    Справка

    Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
    1. В журнал автоматически попадают все команды, данные в любом терминале системы.

    2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

    3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
      $ l s-l
      bash: l: command not found
      

    4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
      $ test 5 -lt 4
      Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

    5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
      $ find / -name abc
      find: /home/devi-orig/.gnome2: Keine Berechtigung
      find: /home/devi-orig/.gnome2_private: Keine Berechtigung
      find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
      find: /home/devi-orig/.metacity: Keine Berechtigung
      find: /home/devi-orig/.inkscape: Keine Berechtigung
      ^C
      

    6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
      # id
      uid=0(root) gid=0(root) Gruppen=0(root)
      

    7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
      $ vi ~/.bashrc
      2a3,5
      >    if [ -f /usr/local/etc/bash_completion ]; then
      >         . /usr/local/etc/bash_completion
      >        fi
      

    8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
      $ patch ~/.bashrc
      В данном случае изменения применяются к файлу ~/.bashrc

    9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

      Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

    10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

    11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

    12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

    13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

    14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

      $ whoami
      
      user
      
      $ #^ Интересно, кто я?
      
      в журнале это будет выглядеть так:
      $ whoami
      
      user
      
      Интересно, кто я?

    15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

      $ whoami
      
      user
      
      $ cat > /dev/null #^ Интересно, кто я?
      
      Программа whoami выводит имя пользователя, под которым 
      мы зарегистрировались в системе.
      -
      Она не может ответить на вопрос о нашем назначении 
      в этом мире.
      
      В журнале это будет выглядеть так:
      $ whoami
      user
      
      Интересно, кто я?
      Программа whoami выводит имя пользователя, под которым
      мы зарегистрировались в системе.

      Она не может ответить на вопрос о нашем назначении
      в этом мире.
      Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

    16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

    17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
    18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
    19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
      1
          2
      3   
          4
      
      Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

    О программе

    LiLaLo (L3) расшифровывается как Live Lab Log.
    Программа разработана для повышения эффективности обучения Unix/Linux-системам.
    (c) Игорь Чубин, 2004-2008

    $Id$