<DIV>Hi  Tino:</DIV>
<DIV> </DIV>
<DIV>Frist£¬Thanks for your reply.<BR>this is my log:</DIV>
<DIV> Fri May 27 03:35:48 2011 [DiM][I]: New VM state is ACTIVE.<BR>Fri May 27 03:35:48 2011 [LCM][I]: New VM state is PROLOG.<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: opennebula-front-end:/srv/cloud/one/var/images/a484ba01058c4c52d5667637f8dd6cc50c0c048b node1:/home/oneadmin/srv/cloud/one/var/1/images/disk.0<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: DST: /home/oneadmin/srv/cloud/one/var/1/images/disk.0<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: Creating directory /home/oneadmin/srv/cloud/one/var/1/images<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh node1 mkdir -p /home/oneadmin/srv/cloud/one/var/1/images".<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: Cloning opennebula-front-end:/srv/cloud/one/var/images/a484ba01058c4c52d5667637f8dd6cc50c0c048b<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/scp opennebula-front-end:/srv/cloud/one/var/images/a484ba01058c4c52d5667637f8dd6cc50c0c048b node1:/home/oneadmin/srv/cloud/one/var/1/images/disk.0".<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh node1 chmod a+rw /home/oneadmin/srv/cloud/one/var/1/images/disk.0".<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_context.sh: Executed "mkdir -p /srv/cloud/one/var/8cb0d8405f05fb752454afa484903917/isofiles".<BR>Fri May 27 03:35:48 2011 [DiM][I]: New VM state is ACTIVE.<BR>Fri May 27 03:35:48 2011 [LCM][I]: New VM state is PROLOG.<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: opennebula-front-end:/srv/cloud/one/var/images/a484ba01058c4c52d5667637f8dd6cc50c0c048b node1:/home/oneadmin/srv/cloud/one/var/1/images/disk.0<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: DST: /home/oneadmin/srv/cloud/one/var/1/images/disk.0<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: Creating directory /home/oneadmin/srv/cloud/one/var/1/images<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh node1 mkdir -p /home/oneadmin/srv/cloud/one/var/1/images".<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: Cloning opennebula-front-end:/srv/cloud/one/var/images/a484ba01058c4c52d5667637f8dd6cc50c0c048b<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/scp opennebula-front-end:/srv/cloud/one/var/images/a484ba01058c4c52d5667637f8dd6cc50c0c048b node1:/home/oneadmin/srv/cloud/one/var/1/images/disk.0".<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh node1 chmod a+rw /home/oneadmin/srv/cloud/one/var/1/images/disk.0".<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_context.sh: Executed "mkdir -p /srv/cloud/one/var/8cb0d8405f05fb752454afa484903917/isofiles".<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_context.sh: Executed "cp -R /srv/cloud/one/var/1/context.sh /srv/cloud/one/var/8cb0d8405f05fb752454afa484903917/isofiles".<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_context.sh: Executed "/usr/bin/mkisofs -o /srv/cloud/one/var/8cb0d8405f05fb752454afa484903917/disk.1 -J -R /srv/cloud/one/var/8cb0d8405f05fb752454afa484903917/isofiles".<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_context.sh: Executed "/usr/bin/scp /srv/cloud/one/var/8cb0d8405f05fb752454afa484903917/disk.1 node1:/home/oneadmin/srv/cloud/one/var/1/images/disk.1".<BR>Fri May 27 03:36:18 2011 [TM][I]: tm_context.sh: Executed "rm -rf /srv/cloud/one/var/8cb0d8405f05fb752454afa484903917".<BR>Fri May 27 03:36:19 2011 [LCM][I]: New VM state is BOOT<BR>Fri May 27 03:36:19 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/1/deployment.0<BR>Fri May 27 03:36:20 2011 [LCM][I]: New VM state is RUNNING<BR>Fri May 27 03:38:17 2011 [LCM][I]: New VM state is SAVE_STOP<BR>Fri May 27 03:39:17 2011 [LCM][I]: New VM state is EPILOG_STOP<BR>Fri May 27 03:39:47 2011 [TM][I]: tm_mv.sh: Moving /home/oneadmin/srv/cloud/one/var/1/images<BR>Fri May 27 03:39:47 2011 [TM][I]: tm_mv.sh: Executed "/usr/bin/ssh opennebula-front-end mkdir -p /srv/cloud/one/var".<BR>Fri May 27 03:39:47 2011 [TM][I]: tm_mv.sh: Executed "/usr/bin/scp -r node1:/home/oneadmin/srv/cloud/one/var/1/images opennebula-front-end:/srv/cloud/one/var/1".<BR>Fri May 27 03:39:47 2011 [TM][I]: tm_mv.sh: Executed "/usr/bin/ssh node1 rm -rf /home/oneadmin/srv/cloud/one/var/1/images".<BR>Fri May 27 03:39:47 2011 [DiM][I]: New VM state is STOPPED<BR>Fri May 27 03:40:05 2011 [DiM][I]: New VM state is PENDING.<BR>Fri May 27 03:40:23 2011 [DiM][I]: New VM state is ACTIVE.<BR>Fri May 27 03:40:23 2011 [LCM][I]: New VM state is PROLOG.<BR>Fri May 27 03:40:48 2011 [TM][I]: tm_mv.sh: Moving /srv/cloud/one/var/1/images<BR>Fri May 27 03:40:48 2011 [TM][I]: tm_mv.sh: Executed "/usr/bin/ssh node1 mkdir -p /home/oneadmin/srv/cloud/one/var/1".<BR>Fri May 27 03:40:48 2011 [TM][I]: tm_mv.sh: Executed "/usr/bin/scp -r opennebula-front-end:/srv/cloud/one/var/1/images node1:/home/oneadmin/srv/cloud/one/var/1/images".<BR>Fri May 27 03:40:48 2011 [TM][I]: tm_mv.sh: Executed "/usr/bin/ssh opennebula-front-end rm -rf /srv/cloud/one/var/1/images".<BR>Fri May 27 03:40:49 2011 [LCM][I]: New VM state is BOOT<BR>Fri May 27 03:40:55 2011 [LCM][I]: New VM state is RUNNING<BR>Fri May 27 03:46:23 2011 [VMM][D]: Monitor Information:<BR>        CPU   : 99<BR>        Memory: 2097152<BR>        Net_TX: 300<BR>        Net_RX: 224843<BR>Fri May 27 03:56:23 2011 [VMM][D]: Monitor Information:<BR>        CPU   : 99<BR>        Memory: 2097152<BR>        Net_TX: 300<BR>        Net_RX: 668575<BR>Fri May 27 04:06:23 2011 [VMM][D]: Monitor Information:<BR>        CPU   : 99<BR>        Memory: 2097152<BR>        Net_TX: 300<BR>        Net_RX: 1167316             </DIV>
<DIV> </DIV>
<DIV>At node1,vm's xml config file:</DIV>
<DIV><domain type='kvm'><BR>        <name>one-1</name><BR>        <memory>2097152</memory><BR>        <currentMemory>2097152</currentMemory><BR>        <vcpu>1</vcpu><BR>        <os><BR>                <type arch='x86_64'>hvm</type><BR>                <boot dev='hd'/><BR>        </os><BR>        <devices><BR>                <emulator>/usr/bin/kvm</emulator><BR>                <disk type='file' device='disk'><BR>                        <source file='/home/oneadmin/srv/cloud/one/var/1/images/disk.0'/><BR>                        <target dev='vda' bus='virtio'/><BR>                        <driver name='qemu' type='raw'/><BR>                </disk><BR>                <interface type='bridge'><BR>                        <source bridge='br0'/><BR>                        <mac address='02:00:ac:10:fe:d4'/><BR>                </interface><BR>                <graphics type='vnc' listen='127.0.0.1' port='-1'/><BR>        </devices><BR></domain><BR>I tested  vm's xml config file,kvm's bridge have Problems.</DIV>
<DIV>if interface is:</DIV>
<DIV>    <interface type='network'><BR>      <mac address='52:54:00:20:5d:7f'/><BR>      <source network='default'/><BR>      <model type='virtio'/><BR>    </interface></DIV>
<DIV>vm resumed that cpu used normal.</DIV>
<DIV>my kvm's bridge have problems?how config?</DIV>
<DIV>Waiting for your reply.Thanks!</DIV><PRE><BR>At 2011-05-30 17:58:23£¬"Tino Vazquez" <tinova@opennebula.org> wrote:

>Hi there,
>
>Could you please send the contents of $ONE_LOCATION/var/1/vm.log?
>
>Also, it would be helpful if you could try to ssh to the machine, or,
>even better, connect to it through VNC. For this, you should include
>the following in the VM template:
>
>GRAPHICS = [
>  TYPE    = "vnc",
>  LISTEN  = "0.0.0.0",
>  PORT    = "1"]
>
>Regards,
>
>-Tino
>
>--
>Constantino V¨¢zquez Blanco, MSc
>OpenNebula Major Contributor
>www.OpenNebula.org | @tinova79
>
>
>
>2011/5/27 ddd <xrchina2008@163.com>:
>> Hi,all
>>       I 'm useing 2.2.ttylinux image can save and resume normal.My
>> ubuntu10.04.1 image can save normal,but I can,t resume normal.cpu's
>> percentage is 100.ubuntu is 32 bit.
>>      config file image.one:
>>          NAME          = "Ubuntu10.04.1 test"
>>          PATH          = /root/images/ubuntu10.04_32bit_2G.img
>>          PUBLIC        = YES
>>          DESCRIPTION   = "Ubuntu10.04.1 for test."
>>          TYPE          = OS
>>      config file ubuntu.one:
>>           NAME   = test
>>           CPU    = 1
>>           MEMORY = 2048
>>           DISK = [ image = "Ubuntu10.04.1 test"]
>>           FEATURES=[ acpi="no" ]
>>           NIC = [network = "Small network"]
>>           GRAPHICS = [ type="vnc", listen="127.0.0.1", port="-1" ]
>>           CONTEXT = [
>>                 hostname   = "$NAME$VMID",
>>                 ip_public  = "$NIC[IP, NETWORK=\"Small network\"]",
>>                 files      = "/root/oneconfig/init.sh
>> /root/.ssh/id_rsa.pub",
>>                 target     ="sdb",
>>                 root_pubkey = "id_rsa.pub",
>>                user_pubkey = "id_rsa.pub"
>>           ]
>>
>>           #onevm resume 1
>>           #onevm list
>>           ID     USER       NAME  STAT  CPU     MEM        HOSTNAME
>> TIME
>>            0     oneadmin ttylinux  runn     2
>>  64M          node1          00 22:12:08
>>            1     oneadmin   test     runn   100      2G
>> node1          00 00:30:45
>>
>> can you help me? thanks !
>>
>> ----rong  xiong
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
</PRE><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>