[one-users] opennebula3.4.1&&vSphere4.0 CPU&&MEM problem
Carlos Martín Sánchez
cmartin at opennebula.org
Tue Jul 10 03:32:18 PDT 2012
Hi,
virsh reports static information for esx guests, instead of the real usage.
That's why we decided to report 0 as the monitorization values, see [1]
Regards
[1]
http://lists.opennebula.org/pipermail/users-opennebula.org/2012-February/007744.html
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
On Fri, Jul 6, 2012 at 4:20 AM, 张光鹏 <zhanggp at neusoft.com> wrote:
> **
> Hi,
> Sorry , I mad a big mistake, I have edited this file
> ..remotes/vmm/vmware/vmware_driver.rb , but i forgot.
>
> In this method " def poll(deploy_id) ",opennebula return
> ""STATE=#{state_short} ",
> Why do you only return to the state, rather than return to the cpu and mem
> .
> I have suggested to use the "virsh dominfo
> -x" to obtain the virtual machine CPU and mem , but was refused.
> Can we use this data below:
>
>
> virsh # dominfo 320
> Id: 320
> Name: cloneWin2008
> UUID: 42114de9-9275-239f-6f4b-9e19d6eab952
> OS Type: hvm
> State: running
> CPU(s): 2
> Max memory: 2097152 kB
> Used memory: 2097152 kB
> Persistent: yes
> Autostart: disable
> Managed save: unknown
>
>
> I intercepted the CPU(s) and Used memory, and return these data. So ,my
> vm can show CPU&&MEM:
>
>
> But before our data are as follows :
>
>
> Hope to be helpful on openenbula .
> ------------------------------
> 张光鹏
>
> *From:* Carlos Martín Sánchez <cmartin at opennebula.org>
> *Date:* 2012-07-06 00:12
> *To:* 张光鹏 <zhanggp at neusoft.com>
> *CC:* users <users at lists.opennebula.org>
> *Subject:* Re: [one-users] opennebula3.4.1&&vSphere4.0 CPU&&MEM problem
> Hi,
>
> Could you please paste the complete output of 'onevm show' and 'onevm show
> -x' ?
>
> Regards
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - The Open-source Solution for Data Center Virtualization
> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>
>
>
> On Thu, Jul 5, 2012 at 6:22 AM, 张光鹏 <zhanggp at neusoft.com> wrote:
>
>> **
>> Hi,all
>> I encountered a strange problem .
>> I use the following template to create a virtual machine.
>>
>> NAME = BCI000000a0
>> MEMORY = 512
>> CPU = 1
>> VCPU = 1.0
>> RANK = FREECPU
>> OS = [ BOOT = hd, ARCH = x86_64 ]
>> DISK = [ IMAGE_ID = 58 ]
>> INPUT = [ TYPE = tablet,BUS = usb ]
>> GRAPHICS = [ TYPE = vnc,LISTEN = 0.0.0.0,PORT = -1 ]
>> NIC = [ MODEL = e1000,NETWORK = 10.150.0.0 ]
>>
>> CONTEXT = [ VM_UUID = $NAME,HOSTNAME = $NAME,ETH0_IP = "$NIC[IP, NETWORK=\"10.150.0.0\"]",ETH0_NETMASK = 255.255.255.0,ETH0_GATEWAY = 10.150.0.254,ETH0_DNS1 = 8.8.8.8,ETH0_DNS2 = 9.9.9.9,ROOT_PASSWD = "zhanggp at 123
>> ",FILES = "/opt/nebula/images/init.sh",TARGET = hdc ]
>> ]
>>
>> Then , i use onevm show command to list the info of this vm :
>>
>> ...
>> CPU="1"
>> MEMORY="512" ...
>>
>> VIRTUAL MACHINE MONITORING
>> NET_TX : 0
>> NET_RX : 0
>> USED MEMORY : 0
>> USED CPU : 0
>>
>>
>> But after a few minutes, a strange thing happened . The info of the vm
>> was changed:
>>
>> CPU="2" ,
>> MEM="1024"
>> MEMORY="512"
>>
>> VIRTUAL MACHINE MONITORING
>> NET_TX : 0
>> NET_RX : 0
>> USED MEMORY : 0
>> USED CPU : 0
>>
>> Please help to explain .
>> ------------------------------
>> 张光鹏
>> tel: 13718913184
>> mail: zhanggp at neusoft.com
>> 移动互联网事业部
>> 东软集团股份有限公司
>> http://www.neusoft.com
>>
>>
>> ---------------------------------------------------------------------------------------------------
>> Confidentiality Notice: The information contained in this e-mail and any
>> accompanying attachment(s)
>> is intended only for the use of the intended recipient and may be
>> confidential and/or privileged of
>> Neusoft Corporation, its subsidiaries and/or its affiliates. If any
>> reader of this communication is
>> not the intended recipient, unauthorized use, forwarding, printing,
>> storing, disclosure or copying
>> is strictly prohibited, and may be unlawful.If you have received this
>> communication in error,please
>> immediately notify the sender by return e-mail, and delete the original
>> message and all copies from
>> your system. Thank you.
>>
>> ---------------------------------------------------------------------------------------------------
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be
> confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
> of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,
> storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original
> message and all copies from
> your system. Thank you.
>
> ---------------------------------------------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120710/bb01c8d9/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 132406 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120710/bb01c8d9/attachment-0009.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 11635 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120710/bb01c8d9/attachment-0010.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 90252 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120710/bb01c8d9/attachment-0011.jpeg>
More information about the Users
mailing list