[one-users] vm resume cpu 100
ddd
xrchina2008 at 163.com
Mon May 30 18:32:25 PDT 2011
Hi Tino:
Frist,Thanks for your reply.
this is my log:
Fri May 27 03:35:48 2011 [DiM][I]: New VM state is ACTIVE.
Fri May 27 03:35:48 2011 [LCM][I]: New VM state is PROLOG.
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
Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: DST: /home/oneadmin/srv/cloud/one/var/1/images/disk.0
Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: Creating directory /home/oneadmin/srv/cloud/one/var/1/images
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".
Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: Cloning opennebula-front-end:/srv/cloud/one/var/images/a484ba01058c4c52d5667637f8dd6cc50c0c048b
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".
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".
Fri May 27 03:36:18 2011 [TM][I]: tm_context.sh: Executed "mkdir -p /srv/cloud/one/var/8cb0d8405f05fb752454afa484903917/isofiles".
Fri May 27 03:35:48 2011 [DiM][I]: New VM state is ACTIVE.
Fri May 27 03:35:48 2011 [LCM][I]: New VM state is PROLOG.
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
Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: DST: /home/oneadmin/srv/cloud/one/var/1/images/disk.0
Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: Creating directory /home/oneadmin/srv/cloud/one/var/1/images
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".
Fri May 27 03:36:18 2011 [TM][I]: tm_clone.sh: Cloning opennebula-front-end:/srv/cloud/one/var/images/a484ba01058c4c52d5667637f8dd6cc50c0c048b
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".
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".
Fri May 27 03:36:18 2011 [TM][I]: tm_context.sh: Executed "mkdir -p /srv/cloud/one/var/8cb0d8405f05fb752454afa484903917/isofiles".
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".
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".
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".
Fri May 27 03:36:18 2011 [TM][I]: tm_context.sh: Executed "rm -rf /srv/cloud/one/var/8cb0d8405f05fb752454afa484903917".
Fri May 27 03:36:19 2011 [LCM][I]: New VM state is BOOT
Fri May 27 03:36:19 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/1/deployment.0
Fri May 27 03:36:20 2011 [LCM][I]: New VM state is RUNNING
Fri May 27 03:38:17 2011 [LCM][I]: New VM state is SAVE_STOP
Fri May 27 03:39:17 2011 [LCM][I]: New VM state is EPILOG_STOP
Fri May 27 03:39:47 2011 [TM][I]: tm_mv.sh: Moving /home/oneadmin/srv/cloud/one/var/1/images
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".
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".
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".
Fri May 27 03:39:47 2011 [DiM][I]: New VM state is STOPPED
Fri May 27 03:40:05 2011 [DiM][I]: New VM state is PENDING.
Fri May 27 03:40:23 2011 [DiM][I]: New VM state is ACTIVE.
Fri May 27 03:40:23 2011 [LCM][I]: New VM state is PROLOG.
Fri May 27 03:40:48 2011 [TM][I]: tm_mv.sh: Moving /srv/cloud/one/var/1/images
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".
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".
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".
Fri May 27 03:40:49 2011 [LCM][I]: New VM state is BOOT
Fri May 27 03:40:55 2011 [LCM][I]: New VM state is RUNNING
Fri May 27 03:46:23 2011 [VMM][D]: Monitor Information:
CPU : 99
Memory: 2097152
Net_TX: 300
Net_RX: 224843
Fri May 27 03:56:23 2011 [VMM][D]: Monitor Information:
CPU : 99
Memory: 2097152
Net_TX: 300
Net_RX: 668575
Fri May 27 04:06:23 2011 [VMM][D]: Monitor Information:
CPU : 99
Memory: 2097152
Net_TX: 300
Net_RX: 1167316
At node1,vm's xml config file:
<domain type='kvm'>
<name>one-1</name>
<memory>2097152</memory>
<currentMemory>2097152</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch='x86_64'>hvm</type>
<boot dev='hd'/>
</os>
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
<source file='/home/oneadmin/srv/cloud/one/var/1/images/disk.0'/>
<target dev='vda' bus='virtio'/>
<driver name='qemu' type='raw'/>
</disk>
<interface type='bridge'>
<source bridge='br0'/>
<mac address='02:00:ac:10:fe:d4'/>
</interface>
<graphics type='vnc' listen='127.0.0.1' port='-1'/>
</devices>
</domain>
I tested vm's xml config file,kvm's bridge have Problems.
if interface is:
<interface type='network'>
<mac address='52:54:00:20:5d:7f'/>
<source network='default'/>
<model type='virtio'/>
</interface>
vm resumed that cpu used normal.
my kvm's bridge have problems?how config?
Waiting for your reply.Thanks!
At 2011-05-30 17:58:23,"Tino Vazquez" <tinova at 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 at 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 at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110531/aa638e70/attachment-0003.htm>
More information about the Users
mailing list