Re: [one-users] VMs stuck in PEND state

2010-11-11 Thread Jaime Melis
Hi Fernando, you are probably missing the KERNEL and INITRD attributes in your VM template. Take a look at this: http://opennebula.org/documentation:rel2.0:template#os_and_boot_options_section Regards, Jaime On Wed, Nov 10, 2010 at 5:39 PM, Fernando Morgenstern < ferna...@consultorpc.com> wrote:

Re: [one-users] Making scheduler allocation aware

2010-11-11 Thread opennebula
Hallo Shashank. I'm having the same problem in 1.4. You must workaround it by youself, so instead of using onevm directly, use it with a wrapper script who looks and waits for deploy if a VM is pending. I hope this behaviour is fixed on 2.0 (Hallo developers??) Best regards Marlon Zitat von

Re: [one-users] Making scheduler allocation aware

2010-11-11 Thread Ruben S. Montero
Hi, Regarding capacity (CPU, Memory), it is updated every time a VM is submitted, so no overcommitment is possible (beyond that specified by the CPU attribute in the VM template). This also works in 1.4 Cheers Ruben On Thu, Nov 11, 2010 at 10:08 AM, wrote: > Hallo Shashank. > I'm having the

Re: [one-users] Making scheduler allocation aware

2010-11-11 Thread Shashank Rachamalla
Hi Thanks for the reply. I agree that a VM will not be allowed to use more than what has been specified in its template during creation but I was referring to a scenario where memory available on the host is over committed. I guess the problem here is with allowing multiple VMs to be dispatched on

Re: [one-users] Making scheduler allocation aware

2010-11-11 Thread Ruben S. Montero
Hi, We use the total memory to allocate VM's, this is not going to change between monitoring events. Right now, we are able to schedule multiple VMs in the same scheduling step, to the same host without overcommitting memory. Cheers On Thu, Nov 11, 2010 at 10:42 AM, Shashank Rachamalla wrote: >

Re: [one-users] Making scheduler allocation aware

2010-11-11 Thread opennebula
Hi Rubens. I'm sure the RANK=-RUNNING_VMS will not apply in such a scenario, because the scheduler does not update the RUNNING_VMS after the creation of the VM but just after monitoring the host! So between this events the RUNNING_VMS value stays unchanged and by my experience this Host wil

Re: [one-users] Making scheduler allocation aware

2010-11-11 Thread Shashank Rachamalla
Hi What Marlon said regarding RANK=RUNNING_VMS is the exact concern. However, I will check out the source code once. We are using opennebula 1.4 with the following template: ( Note that the value of PRIORITY is calculated using FREEMEMORY, FREECPU and RUNNING_VMS ) DISK=[ clone=no,

Re: [one-users] Making scheduler allocation aware

2010-11-11 Thread Ruben S. Montero
Hi Yes that is true for 1.4, OpenNebula 2.0 also updates the running vms each time a VM is scheduled... Cheers Ruben On Thu, Nov 11, 2010 at 12:58 PM, Shashank Rachamalla wrote: > Hi > > What Marlon said regarding RANK=RUNNING_VMS is the exact concern. However, I > will check out the source co

Re: [one-users] Making scheduler allocation aware

2010-11-11 Thread Javier Fontan
Hello, Are you sure that those are the exact values for the host? OpenNebula counts "real" (from probes) and allocated (from database) memory so that should not happen. Snippet from a onehost show: --8<-- USED MEM (REAL) : 0 USED MEM (ALLOCATED) : 65536 -->8-- I am now working on

Re: [one-users] Fail-over from dead HV node

2010-11-11 Thread Tino Vazquez
Dear Oscar, We are working on an extension of the hooks mechanism, so when a host gets into the ERROR state a script can be triggered with information about the (allegedly) running VMs in that host, so it can resume them elsewhere. Best regards, -Tino -- Constantino Vázquez Blanco | dsa-researc

Re: [one-users] VMs stuck in PEND state

2010-11-11 Thread Fernando Morgenstern
Hello, Yes, i'm indeed not setting it. Were you able to make the ttylinux image working with Xen? If yes, do you mind sending me a sample configuration? As this is my first time using opennebula, i'm still not aware of how to create VMs properly. Unfortunately, i cannot find any guide or sampl

Re: [one-users] Fail-over from dead HV node

2010-11-11 Thread SZÉKELYI Szabolcs
On 2010. November 11. 15:25:33 Tino Vazquez wrote: > We are working on an extension of the hooks mechanism, so when a host > gets into the ERROR state a script can be triggered with information > about the (allegedly) running VMs in that host, so it can resume them > elsewhere. How do you plan to

[one-users] sparse files as partitions in OpenNebula?

2010-11-11 Thread Steven Timm
I have a user who has a need for 250GB of disk storage (eventually) that he would like to migrate around with his VM. NFS isn't suitable for this application. This is an application which will start with a file base and then gradually grow. On Amazon this could be a use case for EBS but ONE do

[one-users] [one] opennebula with VMware server 2.0

2010-11-11 Thread Tej
All, I am trying to Installing opennebula with following combinations Opennebula 2.0 (Ubuntu 10.04) - NFS - VMware server 2.0 I have followed the VMware Driver Guide and installed Libvirt 0.8.3, VMware Server and OpenNebula http://opennebula.org/documentation:rel2.0:evmwareg Now when I am tr

[one-users] Examples for using Ruby API

2010-11-11 Thread KONGQUERLABS
Hi, I am new to opennebula and trying to understand how to use ruby api. I know little scripting. I am looking for some basic examples for opennebula setup info like onehost list, onevm list etc using ruby api. My goal is to build basic web frontend to automate certain cli task using ruby api.

Re: [one-users] Examples for using Ruby API

2010-11-11 Thread Łukasz Oleś
On Thursday 11 November 2010 20:42:00 KONGQUERLABS wrote: > Hi, > > I am new to opennebula and trying to understand how to use ruby api. I > know little scripting. I am looking for some basic examples for > opennebula setup info like onehost list, onevm list etc using ruby api. All of them are al

Re: [one-users] Examples for using Ruby API

2010-11-11 Thread KONQUER LABS
I realize that , how can i use the ruby api from remote systems. On Fri, Nov 12, 2010 at 3:02 AM, Łukasz Oleś wrote: > On Thursday 11 November 2010 20:42:00 KONGQUERLABS wrote: > > Hi, > > > > I am new to opennebula and trying to understand how to use ruby api. I > > know little scripting. I am

Re: [one-users] Examples for using Ruby API

2010-11-11 Thread John Dewey
If you are using OpenNebula 2.0 you can use the oca gem in your ruby project. https://rubygems.org/gems/oca The API is documented to a certain degree, but missing examples. You can always look at the oca source in the git repo (src/oca/ruby/test/). John On Thu, Nov 11, 2010 at 6:31 PM, KONQUE

Re: [one-users] Making scheduler allocation aware

2010-11-11 Thread Shashank Rachamalla
Hi As Ruben pointed out, every time a VM is dispatched, host share counter ( mem_usage ) gets incremented. Thus there is no way for opennebula to allow over committing. However, the problem lies in the following piece of code from VirtualMachine.cc where cpu, memory and disk are set to 0 when a VM

Re: [one-users] Making scheduler allocation aware

2010-11-11 Thread Shashank Rachamalla
The lines if(scpu=="") { scpu="0"; } were accidentally introduced by me in the code. please ignore them. On 12 November 2010 12:56, Shashank Rachamalla < shashank.rachama...@hexagrid.com> wrote: > Hi > > As Ruben pointed out, every time a VM is dispatched, host share counter