[one-users] one3.4 & vmware hypervisor 's virtual machine & cpu=0&mem=0

Tino Vazquez tinova at opennebula.org
Mon Jun 11 02:55:55 PDT 2012


Hi,

The reason behind the VM representation (which is the OCA representation of
a VM) in the script shows 0 in both cpu and mem is because libvirt doesn't
provide it.

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
Project Engineer
OpenNebula - The Open-Source Solution for Data Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula


On Mon, Jun 11, 2012 at 6:37 AM, zhanggp <zhanggp at neusoft.com> wrote:

> **
> Hi,
> I know how  the ruby script ""../ONE/var/remotes/im/vmware.d/vmware.rb"
> work .  The script get vm's  info (such as cpu and mem) from database by
> the host .
> And i didnot change the script , my vm's cpu and mem shown "0".
>
> So i want to know how  openenebula3.4 use CLI , and where can i find it ?
> I want to check if openenbula calling CLI correctly ?
>
> Thanks.
>
> ------------------------------
> zhanggp
>
>  *发件人:* Tino Vazquez <tinova at opennebula.org>
> *发送时间:* 2012-06-08 21:50
> *收件人:* 张光鹏 <zhanggp at neusoft.com>
> *抄送:* users <users at lists.opennebula.org>
> *主题:* Re: Re: [one-users] one3.4 & vmware hypervisor 's virtual machine &
> cpu=0&mem=0
>  Hi,
>
> What does "vms" contain?
>
> Regards,
>
> -Tino
>
> --
> Constantino Vázquez Blanco, MSc
> Project Engineer
> OpenNebula - The Open-Source Solution for Data Center Virtualization
> www.OpenNebula.org | @tinova79 | @OpenNebula
>
>
> On Fri, Jun 8, 2012 at 12:15 PM, 张光鹏 <zhanggp at neusoft.com> wrote:
>
>> **
>> Hi,
>> how can i get vm's value.
>> I checked this ruby file  "../ONE/var//remotes/im/vmware.d/vmware.rb",and
>> this line return nil "vms = VirtualMachinePool.new(client) ", so the next
>> cmd will not be used.
>>
>> can you help he resolve this problem?
>>
>> ------------------------------
>> 张光鹏
>>
>>  *发件人:* Tino Vazquez <tinova at opennebula.org>
>> *发送时间:* 2012-06-08 17:30
>> *收件人:* 张光鹏 <zhanggp at neusoft.com>
>> *抄送:* users <users at lists.opennebula.org>
>> *主题:* Re: [one-users] one3.4 & vmware hypervisor 's virtual machine &
>> cpu=0&mem=0
>>   Hi,
>>
>> The values shown in the CLI are for dynamic, current consumption of the
>> VM. Using virsh is not possible to obtain such values, just the maximum
>> values, that's why 0 is shown.
>>
>> Regards,
>>
>> -Tino
>>
>> --
>> Constantino Vázquez Blanco, MSc
>> Project Engineer
>> OpenNebula - The Open-Source Solution for Data Center Virtualization
>> www.OpenNebula.org | @tinova79 | @OpenNebula
>>
>>
>> On Fri, Jun 8, 2012 at 5:03 AM, 张光鹏 <zhanggp at neusoft.com> wrote:
>>
>>> **
>>> Hi
>>> I use openenbula3.4 management vmware hypervisor 。My host state are on
>>> , my vm state are "runn", but vms's cpu and mem are 0:
>>>
>>> this file "../ONE/var/remotes/im/vmware.d/vmware.rb"  looks like the
>>> script to detect virtual machine data , but it can not work .
>>> My esx4.1 are all not install ruby.
>>> I know a way to detect virtual machine data ,so could   opennebula do
>>> some work for that?
>>>
>>> Thanks.
>>> ------------------------------
>>>  张光鹏
>>> 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.
>>
>> ---------------------------------------------------------------------------------------------------
>>
>
>
> ---------------------------------------------------------------------------------------------------
> 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/20120611/d2aa0978/attachment-0003.htm>


More information about the Users mailing list