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, 张光鹏 <zhan...@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 <tin...@opennebula.org> > *发送时间:* 2012-06-08 17:30 > *收件人:* 张光鹏 <zhan...@neusoft.com> > *抄送:* users <users@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, 张光鹏 <zhan...@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: zhan...@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@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. > > --------------------------------------------------------------------------------------------------- >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org