Hi, What I meant it that an external script could monitor each physical host, get the free storage and, if it is lower that a threshold (e.g. 10 or 20 GB) execute a 'onehost disable hostname'.
This way you will prevent the scheduler from sending VMs to that host from that moment onwards. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | [email protected] | @OpenNebula<http://twitter.com/opennebula><[email protected]> 2012/3/14 张光鹏 <[email protected]> > ** > ok,thanks. > But i don't know which host will be scheduled if i want to gather the > storage . I got the info from opennebula ,when i get the hostid ,may be > it's too late. > > ------------------------------ > 张光鹏 > > *发件人:* Carlos Martín Sánchez <[email protected]> > *发送时间:* 2012-03-13 18:15 > *收件人:* 张光鹏 <[email protected]> > *抄送:* users <[email protected]> > *主题:* Re: [one-users] create vm error : No space left on device > Hi, > > You are right, the OpenNebula scheduler does not check the available > storage. > But the scheduler ignores disables hosts, so you can set up a cron job to > gather the storage left in each host and execute 'onehost disable' or > 'enable'. > > Regards. > -- > Carlos Martín, MSc > Project Engineer > OpenNebula - The Open-source Solution for Data Center Virtualization > www.OpenNebula.org | [email protected] | > @OpenNebula<http://twitter.com/opennebula><[email protected]> > > > > 2012/3/9 张光鹏 <[email protected]> > >> ** >> Hi, >> I created a vm on opennebula2.2,but failed .Then i checked the vm.log, >> and i found the reason: >> scp: /one_images/277/images/disk.0: No space left on device >> So,i want to know before opennebula scheduling host ,will it check the >> disk space whether meet the virtual machine . >> In my opinion , if the host space is not enough to assign , it shouldnot >> be scheduled. >> Please masters pointing me . >> ------------------------------ >> 张光鹏 >> tel: 13718913184 >> mail: [email protected] >> 移动互联网事业部 >> 东软集团股份有限公司 >> 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 >> [email protected] >> 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. > > --------------------------------------------------------------------------------------------------- >
<<11635_东软20周年邮件签名(03-14-09-25-18).jpg>>
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
