Re: [one-users] Opennebula - Adding esx host

2011-06-22 Thread Tino Vazquez
Hi Arun,

Let's try the driver by hand. Type the following and hit return

$ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb

The program will expect a message from the standard input:

MONITOR 0 10.209.34.135 -

Please send the output from this.

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79


On Wed, Jun 22, 2011 at 6:19 AM, Arun Vadakepatenna Thekepat 
atheke...@sapient.com wrote:

 **
 Hi Tino,

 Please find the oned logs below:

 Tue Jun 21 20:09:04 2011 [ReM][D]: HostPoolInfo method invoked
 Tue Jun 21 20:09:04 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
 Tue Jun 21 20:09:14 2011 [InM][I]: Monitoring host 10.209.47.26 (0)
 Tue Jun 21 20:09:15 2011 [InM][D]: Host 0 successfully monitored.
 *Tue Jun 21 20:09:15 2011 [ONE][E]: syntax error, unexpected $end,
 expecting VARIABLE at line 2, columns 1:2
 *Tue Jun 21 20:09:15 2011 [InM][E]: Error parsing host information:
 Tue Jun 21 20:09:57 2011 [InM][I]: --Mark--
 Tue Jun 21 20:10:02 2011 [ReM][D]: HostPoolInfo method invoked
 Tue Jun 21 20:10:03 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
 Tue Jun 21 20:10:21 2011 [ReM][D]: VirtualNetworkPoolInfo method invoked
 Tue Jun 21 20:10:32 2011 [ReM][D]: HostPoolInfo method invoked
 Tue Jun 21 20:10:32 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
 Tue Jun 21 20:10:37 2011 [ReM][D]: ImagePoolInfo method invoked
 Tue Jun 21 20:10:53 2011 [InM][I]: Monitoring host 10.209.34.135 (1)
 Tue Jun 21 20:10:54 2011 [InM][D]: Host 1 successfully monitored.
 *Tue Jun 21 20:10:54 2011 [ONE][E]: syntax error, unexpected $end,
 expecting VARIABLE at line 2, columns 1:2
 *Tue Jun 21 20:10:54 2011 [InM][E]: Error parsing host information:

 I have checked many threads regarding this error on users lists, but not
 able to resolve it. Is it a mismatch in syntax for vmware addon 2.2?

 Regards,
 Arun

  --
 *From:* Tino Vazquez [mailto:tin...@opennebula.org]
 *Sent:* Tuesday, June 21, 2011 10:02 PM

 *To:* Arun Vadakepatenna Thekepat
 *Cc:* users@lists.opennebula.org
 *Subject:* Re: [one-users] Opennebula - Adding esx host

 Hi,

 Could you send the contents of $ONE_LOCATION/var/oned.log?

 Regards,

 -Tino

 --
 Constantino Vázquez Blanco, MSc
 OpenNebula Major Contributor
 www.OpenNebula.org | @tinova79


 On Tue, Jun 21, 2011 at 6:18 PM, Arun Vadakepatenna Thekepat 
 atheke...@sapient.com wrote:

 **
 Hi Tino,

 Thank you very much.

 I am able to add the host, but state is error.

 oneadmin@ubuntu10:~$ onehost list
   ID  NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEMFMEM
 STAT
0 10.209.47.26  default0  0 0
 100 0K0K*err
 *   1 10.209.34.135 default   0  0 0
 100 0K0K *err*

 Sunstone logs:

 10.209.47.48 - - [21/Jun/2011 09:49:21] GET /vm?timeout=true HTTP/1.1
 200 22 0.0062
 10.209.47.48 - - [21/Jun/2011 09:49:21] GET /vm?timeout=true HTTP/1.1
 200 22 0.0073
 10.209.47.48 - - [21/Jun/2011 09:49:33] GET /image?timeout=true HTTP/1.1
 200 25 0.0065
 10.209.47.48 - - [21/Jun/2011 09:49:33] GET /image?timeout=true HTTP/1.1
 200 25 0.0075
 10.209.47.48 - - [21/Jun/2011 09:49:33] GET /vnet?timeout=true HTTP/1.1
 200 24 0.0048
 10.209.47.48 - - [21/Jun/2011 09:49:33] GET /vnet?timeout=true HTTP/1.1
 200 24 0.0057
 10.209.47.48 - - [21/Jun/2011 09:49:33] GET /host?timeout=true HTTP/1.1
 200 1442 0.0153
 10.209.47.48 - - [21/Jun/2011 09:49:33] GET /host?timeout=true HTTP/1.1
 200 1442 0.0162
 10.209.47.48 - - [21/Jun/2011 09:49:45] GET /cluster?timeout=true
 HTTP/1.1 200 170 0.0066
 10.209.47.48 - - [21/Jun/2011 09:49:45] GET /cluster?timeout=true
 HTTP/1.1 200 170 0.0075

 Please advice.

 Regards,
 Arun


  --
 *From:* Tino Vazquez [mailto:tin...@opennebula.org]
 *Sent:* Monday, June 20, 2011 4:55 PM
 *To:* Arun Vadakepatenna Thekepat

 *Cc:* users@lists.opennebula.org
 *Subject:* Re: [one-users] Opennebula - Adding esx host

   Hi Arun,

 You can add an ESX host using the onehost command:

 $ onehost add im_vmware vmm_vmware tm_vmware

 We'll take a look into the missing option in Sunstone.

 Regards,

 -Tino

 --
 Constantino Vázquez Blanco, MSc
 OpenNebula Major Contributor
 www.OpenNebula.org | @tinova79


 On Mon, Jun 20, 2011 at 6:03 AM, Arun Vadakepatenna Thekepat 
 atheke...@sapient.com wrote:


 Hi,

 I have installed opennebula 2.2  ( system wide) in ubuntu 10.10 ( ESX
 VM). I installed vmware addon also. But I am not able to add ESX host to
 opennebula. Passowrdless  authentication is enabled.

 I followed the link *
 http://www.opennebula.org/documentation:rel2.2:evmwareg*http://www.opennebula.org/documentation:rel2.2:evmwaregto
  configure it.

 I tried from sunstone GUI, but there is no option to add vmware host in
 the drop down list.  The  create new host dialog has options for KVM, XEN,
 EC2 and Dummy only.

 Please advice.

 Regards,
 Arun.


 

[one-users] Live migrate VMs in a non-shared storage environment?

2011-06-22 Thread Belmiro Moreira
Hello,
since qemu 0.12.x it's possible to live migrate kvm VMs in a environment
with non shared storage. Using virsh we can select if we want an
incremental or full disk copy.

Now I'm trying to live migrate kvm VMs managed by opennebula in the same
environment. Is this possible?
If yes, how can I define the type of disk copy between hosts?

In virsh:
--copy-storage-all  migration with non-shared storage with full disk
copy
--copy-storage-inc  migration with non-shared storage with incremental
copy

but in opennebula I only have the flat onevm livemigrate vm_id host_id
option.

thank you in advance,
Belmiro Moreira
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Error: Connection reset by peer.

2011-06-22 Thread Carlos Martín Sánchez
Hi there,

Could you please be more specific? Is that the output of onevnet, or is it a
message in oned.log?
Please provide more information like the relevant part of oned.log, detail
which onevnet command you were executing, etc.

Regards.

--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org


2011/6/20 宁宁 董 dn...@yahoo.com.cn

 I use two pc to install opennebula. one as front-end without xen ,the other
 as Node with xen . I have installed opennebula and xen succesfully. And
 now,there is error when I was configure vnet using onevnet. My OS is Ubuntu.

 Error: Connection reset by peer.

 Is there any one met this problem?
 PLS give me any possible solutions ,thx.

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Resource Allocation Policy

2011-06-22 Thread Vivek Shrivastava
Hi fanttazio,

Please go through :-- http://opennebula.org/documentation:rel2.2:schg


On Tue, Jun 21, 2011 at 7:15 PM, fanttazio fantta...@gmail.com wrote:

 If in VM's template there is no requirement specification and there are
 more than one host to run the VM in them, on what basis ONE chooses a host
 to deploy the VM on that? what is the default policy for resource
 allocation?

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




-- 
*Regards,

Vivek Shrivastava,*
*
*
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] opennebula on virtual box

2011-06-22 Thread Carlos Martín Sánchez
Hi,

Could it be that your front-end lost connection to the node for a moment?
Please check that oneadmin can still ssh passwordless from the front-end to
the node.

In this thread [1] you'll find a great how-to on bridge set up.

Regards,
Carlos.

[1]
http://lists.opennebula.org/pipermail/users-opennebula.org/2011-May/005423.html

--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org


2011/6/20 alph inf infopo...@gmail.com

 Hi,
 Thanks Calros for the answer.

 But I'm trying to install open nebula express using VBox and i couldn't
 figure out exactly how to fix bridging within such a config.
 I'm using 2 VMs, a worker and a head installed into 2 VBox machines.
 Could you specify the right commands.

 Regards.

 2011/6/20 Carlos Martín Sánchez cmar...@opennebula.org

 Hi Ami,

 Depending on what you are trying achieve, you may find easier to just use
 the dummy drivers.
 Uncomment the three of them (im_, vmm_, tm_) in /etc/one/oned.conf. This
 way you can fake Host monitoring, and deploy and manage VMs.

 Regards.

 --
 Carlos Martín, MSc
 Project Major Contributor
 OpenNebula - The Open Source Toolkit for Cloud Computing
 www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org


 On Mon, Jun 20, 2011 at 9:50 AM, alph inf infopo...@gmail.com wrote:

 Hi,

 I'm trying to install opennebula on two VM instances , a header and a
 worker, on VBox within my laptop to run few test.
 The problem is that when i execute brctl addbr br0 and try to configure
 the bridge, the stat of the worker withonehost list became err
 I wonder if it is feasible to install opennebula on such a config.

 Regards

 Ami

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Pending state issues

2011-06-22 Thread Carlos Martín Sánchez
Hi Madhurranjan,

Regarding your first question, you can't modify an existing VM. You'll have
to modify the source template, and then shutdown the current VM and create a
new one.

About the second one, your proposal seems reasonable. I'd say that the
optimal values depend basically on your infrastructure and the kind of
workload you'll have to deal with; so I can't really help here.


Regards,
Carlos.
--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org


On Tue, Jun 21, 2011 at 10:57 AM, Madhurranjan Mohaan 
moha...@thoughtworks.com wrote:

 Hi All,

 I have had VMs in the pending state for a while and I went through this
 thread(
 http://lists.opennebula.org/pipermail/users-opennebula.org/2011-April/004680.html)
 and basically figured out that there are no CPUs left to allocate VMs,
 though there is plenty of RAM. Manual deployment works  I had 2 questions
 regarding this scenario:

 1. I have close to 20VMs on one of the boxes and had allocated 1 CPU each ,
 so that has taken up 20CPUs. Overall the system has 16CPUs(4 CPUs  , each
 being a quad core). Now , can I re-allocate CPUs for these VMs to 50% or
 less than what they are currently ? Can I do this at all in the first place
 ? Require your thoughts on this point.

 2. What is a good allocation number for CPUs ,if I want to create something
 like Small , Medium and Big VMs ? I can do this with RAM since the box
 has good amount of RAM but not sure what parameters I should take for CPU.
 The CPU in my case seems to be the factor that doesn't allow more VMs to be
 allocated by the scheduler. Can I have for eg,
 Small VM - 0.25 CPU
 Medium VM = 0.5 CPU
 Large VM - 1 CPU

 thanks

 Madhurranjan

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Need some How To's

2011-06-22 Thread Tino Vazquez
Hi Alok,

On Tue, Jun 21, 2011 at 12:59 AM, Alok Shrivastwa 
alokshrivas...@hotmail.com wrote:

  Hi Team,

 Sorry if I am being redundant here. I am a beginner and am just starting to
 learn to use the Cloud Nebula product and I want to use it with VMWare
 ESX/ESXi. Now, I was wondering as to what was needed. I will put in my
 understanding here (after going through the wiki) and please point me in the
 right direction if I am mistaken.

 In order to do this

 1. VM - Running Ubuntu 10 for the Front End
 2. Bare Metal x64 Arch box - Running ESX/ESXi (For Node)

 Now, here are a few questions

 1. Do I need a SAN architecuture for this testing ?


No, you just need a NFS server (it can be the same ONE front-end). Also, if
you are not aware, you will need the VMware Driver Addon [1].


 2. I am kind of confused with the image and storage terminologies used in
 the wiki.


The terminology can be confusing since there might be inconsistencies. In
general storage means the container of images.



 If I have an OVF template, that I want to deploy on the ESX server with
 help of the Open Nebula. How do I host the OVF (and the VMDK and other
 stuff), where will the virtual hard drive of the VM instance be stored in
 this case?


As of now, OpenNebula doesn't support OVFs. You will need to

  1) Register the VMDK files using oneimage
  2) Create a VM template referencing the disk id obatined in step 1)



 I was reading about the fact you had to export some volumes as NFS before
 and add them in datastore, all this confused me, so if anyone has
 implemented some thing like this, using Open nebula/SAN/ESX, some pointers
 will be great.


Yes, you basically need to export $ONE_LOCATION/var in the front-end using
NFS, and mount it in the ESX host as a DATASTORE. The name of the DATASTORE
needs to be sert in $ONE_LOCATION/etc/vmm_sh/vmm_sh_vmware.conf



 Sorry for such an open ended question and pardon my ignorance.


 Thanks,

 Alok


Best regards,

-Tino

[1] http://opennebula.org/documentation:rel2.2:evmwareg



 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Requirements for installing Open Nebula

2011-06-22 Thread Robert Schweikert



On 06/22/2011 08:07 AM, Joydipto Banerjee wrote:

Hello - I am planning to build a private cloud with Open Nebula (
personal use , non-commercial ).
I believe a minimum of two physical machines are required :

1. Front End - virtualized Linux image
2. Cluster Node - has to be a physical machine running a Hypervisor.

Is the above correct ?


That'll work.


Also, what are the minimum CPU, RAM, Disk requirements for Front End and
the Cluster Node ?


That depends on the performance you expect and the Hypervisor you use. 
If you build the cloud based on KVM you need a CPU that has 
virtualization instructions. If you want to use Xen you can get away 
with a CPU that does not have virtualization instructions.


If you plan to run 64 bit VMs you'll need an x86-64 box, if you are only 
running 32 bit VMs you can run on a 32 bit CPU.


RAM depends on the number of VMs you expect to run and what is inside 
the VMs. Disk requirements depends on the number of images you anticipate.


No real answers I know, but it all depends

Robert


--
Robert Schweikert   MAY THE SOURCE BE WITH YOU
SUSE-IBM Software Integration Center   LINUX
Tech Lead
rschweik...@novell.com
rschweik...@ca.ibm.com
781-464-8147
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Opennebula - Adding esx host

2011-06-22 Thread Arun Vadakepatenna Thekepat
hi,

oneadmin@ubuntu10:~$mailto:oneadmin@ubuntu10:~$ ruby -dw 
/usr/lib/one/mads/one_im_sh.rb
internal:lib/rubygems/defaults:24: warning: statement not reached
internal:lib/rubygems/defaults:76: warning: statement not reached
/usr/lib/one/ruby/ActionManager.rb:277: warning: mismatched indentations at 
'end' with 'def' at 260
MONITOR 0 10.209.34.135 -
MONITOR SUCCESS 0

^CException `Interrupt' at /usr/lib/ruby/1.9.1/thread.rb:71 -
/usr/lib/ruby/1.9.1/thread.rb:71:in `sleep': Interrupt
from /usr/lib/ruby/1.9.1/thread.rb:71:in `wait'
from /usr/lib/one/ruby/ActionManager.rb:168:in `block in start_listener'
from internal:prelude:10:in `synchronize'
from /usr/lib/one/ruby/ActionManager.rb:166:in `start_listener'
from /usr/lib/one/ruby/OpenNebulaDriver.rb:73:in `start_driver'
from /usr/lib/one/mads/one_im_sh.rb:85:in `main'

Regards,
Arun


From: Tino Vazquez [mailto:tin...@opennebula.org]
Sent: Wednesday, June 22, 2011 2:15 PM
To: Arun Vadakepatenna Thekepat
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Opennebula - Adding esx host

Hi Arun,

Let's try the driver by hand. Type the following and hit return

$ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb

The program will expect a message from the standard input:

MONITOR 0 10.209.34.135 -

Please send the output from this.

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.orghttp://www.OpenNebula.org | @tinova79


On Wed, Jun 22, 2011 at 6:19 AM, Arun Vadakepatenna Thekepat 
atheke...@sapient.commailto:atheke...@sapient.com wrote:
Hi Tino,

Please find the oned logs below:

Tue Jun 21 20:09:04 2011 [ReM][D]: HostPoolInfo method invoked
Tue Jun 21 20:09:04 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Tue Jun 21 20:09:14 2011 [InM][I]: Monitoring host 10.209.47.26 (0)
Tue Jun 21 20:09:15 2011 [InM][D]: Host 0 successfully monitored.
Tue Jun 21 20:09:15 2011 [ONE][E]: syntax error, unexpected $end, expecting 
VARIABLE at line 2, columns 1:2
Tue Jun 21 20:09:15 2011 [InM][E]: Error parsing host information:
Tue Jun 21 20:09:57 2011 [InM][I]: --Mark--
Tue Jun 21 20:10:02 2011 [ReM][D]: HostPoolInfo method invoked
Tue Jun 21 20:10:03 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Tue Jun 21 20:10:21 2011 [ReM][D]: VirtualNetworkPoolInfo method invoked
Tue Jun 21 20:10:32 2011 [ReM][D]: HostPoolInfo method invoked
Tue Jun 21 20:10:32 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Tue Jun 21 20:10:37 2011 [ReM][D]: ImagePoolInfo method invoked
Tue Jun 21 20:10:53 2011 [InM][I]: Monitoring host 10.209.34.135 (1)
Tue Jun 21 20:10:54 2011 [InM][D]: Host 1 successfully monitored.
Tue Jun 21 20:10:54 2011 [ONE][E]: syntax error, unexpected $end, expecting 
VARIABLE at line 2, columns 1:2
Tue Jun 21 20:10:54 2011 [InM][E]: Error parsing host information:

I have checked many threads regarding this error on users lists, but not able 
to resolve it. Is it a mismatch in syntax for vmware addon 2.2?

Regards,
Arun

From: Tino Vazquez [mailto:tin...@opennebula.orgmailto:tin...@opennebula.org]
Sent: Tuesday, June 21, 2011 10:02 PM

To: Arun Vadakepatenna Thekepat
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Opennebula - Adding esx host

Hi,

Could you send the contents of $ONE_LOCATION/var/oned.log?

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.orghttp://www.OpenNebula.org | @tinova79


On Tue, Jun 21, 2011 at 6:18 PM, Arun Vadakepatenna Thekepat 
atheke...@sapient.commailto:atheke...@sapient.com wrote:
Hi Tino,

Thank you very much.

I am able to add the host, but state is error.

oneadmin@ubuntu10:~$mailto:oneadmin@ubuntu10:~$ onehost list
  ID  NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEMFMEM STAT
   0 10.209.47.26  default0  0 0 100
 0K0Kerr
   1 10.209.34.135 default   0  0 0 100 
0K0K err

Sunstone logs:

10.209.47.48 - - [21/Jun/2011 09:49:21] GET /vm?timeout=true HTTP/1.1 200 22 
0.0062
10.209.47.48 - - [21/Jun/2011 09:49:21] GET /vm?timeout=true HTTP/1.1 200 22 
0.0073
10.209.47.48 - - [21/Jun/2011 09:49:33] GET /image?timeout=true HTTP/1.1 200 
25 0.0065
10.209.47.48 - - [21/Jun/2011 09:49:33] GET /image?timeout=true HTTP/1.1 200 
25 0.0075
10.209.47.48 - - [21/Jun/2011 09:49:33] GET /vnet?timeout=true HTTP/1.1 200 
24 0.0048
10.209.47.48 - - [21/Jun/2011 09:49:33] GET /vnet?timeout=true HTTP/1.1 200 
24 0.0057
10.209.47.48 - - [21/Jun/2011 09:49:33] GET /host?timeout=true HTTP/1.1 200 
1442 0.0153
10.209.47.48 - - [21/Jun/2011 09:49:33] GET /host?timeout=true HTTP/1.1 200 
1442 0.0162
10.209.47.48 - - [21/Jun/2011 09:49:45] GET /cluster?timeout=true HTTP/1.1 
200 170 0.0066
10.209.47.48 - - [21/Jun/2011 09:49:45] GET /cluster?timeout=true HTTP/1.1 
200 170 

Re: [one-users] Installing opennebula on Ubuntu 10.10

2011-06-22 Thread florian.feldhaus
Hi Arun,

a couple of month ago I created a workshop on setting up OpenNebula with Ubuntu 
10.10. I'm currently extending and rewriting it to cover all the new features 
introduced in OpenNebula 3.0. Until that is released you find the workshop for 
Ubuntu 10.10 and OpenNebula 2.2.1 here:
http://hpc.uamr.de/wissen/opennebula-workshop/

Cheers,
Florian

Von: Arun Vadakepatenna Thekepat 
atheke...@sapient.commailto:atheke...@sapient.com
Datum: Wed, 22 Jun 2011 20:46:58 +0530
An: users@lists.opennebula.orgmailto:users@lists.opennebula.org 
users@lists.opennebula.orgmailto:users@lists.opennebula.org
Betreff: [one-users] Installing opennebula on Ubuntu 10.10

Hi,

Can anyone provide me the complete steps to install opennebula (any version) as 
oneadmin user in ubuntu 10.10?

I have already installed opennebula 2.2 realease (with vmware 2.2 addon ) 
system wide on ubuntu 10.10 with sunstone. I am able to add one ESX host to 
nebula, but it is in ERR state. If anyone can provide step by step procedure ( 
already follwed opennebula 2.2 documentation from the website, but no luck), I 
would appreciate it. I have already spent one week on this but nothing worked 
other than the installation. I would appreciate your help.


Regards,
Arun

___ Users mailing list 
Users@lists.opennebula.orgmailto:Users@lists.opennebula.org 
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Vm creating problem

2011-06-22 Thread fanttazio
I had Opennebula up and running perfectly and I wanted to add the ebtables
feature to it. After adding ebtables to it gave me errors and did not work
so I roll back the oned.conf to work without ebtables but since then I
cannot create and deploy VM. I have ssh connection to hosts without
passwords and and I cant get connected to kvm locally. does anyone have any
idea about this problem. one thing strange is I think I have to see the mac
address of VM in deployment file but I dont see it although I specified the
network in VM template.

*VM logs:*

Wed Jun 22 17:50:40 2011 [DiM][I]: New VM state is ACTIVE.
Wed Jun 22 17:50:40 2011 [LCM][I]: New VM state is PROLOG.
Wed Jun 22 17:50:40 2011 [VM][I]: Virtual Machine has no context
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh:
front-end:/srv/cloud/images/ttylinux.img
node03:/srv/cloud/one/var//139/images/disk.0
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: DST:
/srv/cloud/one/var//139/images/disk.0
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Creating directory
/srv/cloud/one/var//139/images
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Executed mkdir -p
/srv/cloud/one/var//139/images.
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Executed chmod a+w
/srv/cloud/one/var//139/images.
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Cloning
/srv/cloud/images/ttylinux.img
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Executed cp -r
/srv/cloud/images/ttylinux.img /srv/cloud/one/var//139/images/disk.0.
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Executed chmod a+rw
/srv/cloud/one/var//139/images/disk.0.
Wed Jun 22 17:50:40 2011 [LCM][I]: New VM state is BOOT
Wed Jun 22 17:50:40 2011 [VMM][I]: Generating deployment file:
/srv/cloud/one/var/139/deployment.0
Wed Jun 22 17:50:40 2011 [VMM][I]: Command execution fail: 'if [ -x
/var/tmp/one/vmm/kvm/deploy ]; then /var/tmp/one/vmm/kvm/deploy
/srv/cloud/one/var//139/images/deployment.0; else
   exit 42; fi'
Wed Jun 22 17:50:40 2011 [VMM][I]: STDERR follows.
Wed Jun 22 17:50:40 2011 [VMM][I]: error: cannot recv data: Connection reset
by peer
Wed Jun 22 17:50:41 2011 [VMM][I]: error: failed to connect to the
hypervisor
Wed Jun 22 17:50:41 2011 [VMM][I]: ExitCode: 255
Wed Jun 22 17:50:41 2011 [VMM][E]: Error deploying virtual machine: error:
cannot recv data: Connection reset by peer
Wed Jun 22 17:50:41 2011 [DiM][I]: New VM state is FAILED
Wed Jun 22 17:50:41 2011 [TM][W]: Ignored: LOG - 139 tm_delete.sh: Deleting
/srv/cloud/one/var//139/images

Wed Jun 22 17:50:41 2011 [TM][W]: Ignored: LOG - 139 tm_delete.sh: Executed
rm -rf /srv/cloud/one/var//139/images.

Wed Jun 22 17:50:41 2011 [TM][W]: Ignored: TRANSFER SUCCESS 139 -



*and deployment file*

domain type='kvm'
 nameone-134/name
memory1048576/memory
os
 type arch='x86_64'hvm/type
boot dev='hd'/
 /os
devices
emulator/usr/bin/kvm/emulator
 disk type='file' device='disk'
source file='/srv/cloud/one/var//134/images/disk.0'/
 target dev='hda' bus='ide'/
driver name='qemu' type='raw'/
 /disk
/devices
features
 acpi/
/features
 /domain

Regards
Fanttazio
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Vm creating problem

2011-06-22 Thread fanttazio
I forgot to mention that if I dont use qemu with ssh in kvmrc ONE creates VM
but I will not have livemigration!
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Odd behaviour of oned

2011-06-22 Thread Carsten.Friedrich
I had the following odd behaviour yesterday on my OpenNebula installation 
(2.0.1):

* A user sent a suspend command to a VM. The VM got stuck in state 
SAVE-SUSPEND. No error in oned.log, vm.log, or /var/log messages and syslog
* From that moment on until a restart of oned any newly created VM would get 
stuck in state BOOT and not proceed beyond that.
* After restarting oned I could send the VMs stuck in BOOT a restart command 
and they are now running.
* The VM stuck in SAVE-SUSPEND is still in that STATE (more than 12h later).

In case it helps this is the images directors of the stuck VM:

oneadmin@nebnode01:~/var/214/images$ ls -al
total 2590848
drwxrwxrwx 2 oneadmin cloud   2048 2011-06-21 17:46 .
drwxrwxrwx 3 oneadmin cloud   2048 2011-06-21 17:44 ..
-rw-rw-rw- 1 root root1756 2011-06-21 17:46 checkpoint
-rw-r--r-- 1 oneadmin cloud962 2011-06-21 17:44 deployment.0
-rw-rw-rw- 1 oneadmin cloud  505151488 2011-06-21 17:45 disk.0
-rw-rw-rw- 1 oneadmin cloud 2147483649 2011-06-21 17:44 disk.1
-rw-r--r-- 1 oneadmin cloud 372736 2011-06-21 17:44 disk.2

Carsten

[cid:image001.gif@01CC318A.9E8F96C0]http://www.csiro.au/

Carsten Friedrich
Research Team leader
ICT Centre, GPO Box 664,Canberra, ACT 2601
Phone: +61 2 6216 7019
Email: carsten.friedr...@csiro.aumailto:carsten.friedr...@csiro.au
Web:   http://www.csiro.au/org/ICT.html



inline: image001.gif___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Opennebula - Adding esx host

2011-06-22 Thread Arun Vadakepatenna Thekepat
Hi Tino,

Thank you very much for guiding me  to resolve the issue. Please find the logs 
below:


oneadmin@ubuntu10:~$mailto:oneadmin@ubuntu10:~$ /usr/lib/one/mads/one_im_sh
MONITOR 0 10.209.34.135 -

MONITOR SUCCESS 0
^C




oneadmin@ubuntu10:~$mailto:oneadmin@ubuntu10:~$ ruby -dw 
/usr/lib/one/mads/one_im_sh.rb
internal:lib/rubygems/defaults:24: warning: statement not reached
internal:lib/rubygems/defaults:76: warning: statement not reached
/usr/lib/one/ruby/ActionManager.rb:277: warning: mismatched indentations at 
'end' with 'def' at 260
MONITOR 0 10.209.34.135 -

MONITOR SUCCESS 0
^CException `Interrupt' at /usr/lib/ruby/1.9.1/thread.rb:71 -
/usr/lib/ruby/1.9.1/thread.rb:71:in `sleep': Interrupt
from /usr/lib/ruby/1.9.1/thread.rb:71:in `wait'
from /usr/lib/one/ruby/ActionManager.rb:168:in `block in start_listener'
from internal:prelude:10:in `synchronize'
from /usr/lib/one/ruby/ActionManager.rb:166:in `start_listener'
from /usr/lib/one/ruby/OpenNebulaDriver.rb:73:in `start_driver'
from /usr/lib/one/mads/one_im_sh.rb:85:in `main'

oneadmin@ubuntu10:~$mailto:oneadmin@ubuntu10:~$
Regards,
Arun.

From: Tino Vazquez [mailto:tin...@opennebula.org]
Sent: Wednesday, June 22, 2011 10:52 PM
To: Arun Vadakepatenna Thekepat
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Opennebula - Adding esx host

Hi Arun,

Ok, so looks like the problem is not in the general configuration files, let's 
try now with the wrapper:

# $ONE_LOCATION/lib/mads/one_im_sh

MONITOR 0 10.209.34.135 -

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.orghttp://www.OpenNebula.org | @tinova79


On Wed, Jun 22, 2011 at 5:10 PM, Arun Vadakepatenna Thekepat 
atheke...@sapient.commailto:atheke...@sapient.com wrote:
hi,

oneadmin@ubuntu10:~$mailto:oneadmin@ubuntu10:~$ ruby -dw 
/usr/lib/one/mads/one_im_sh.rb
internal:lib/rubygems/defaults:24: warning: statement not reached
internal:lib/rubygems/defaults:76: warning: statement not reached
/usr/lib/one/ruby/ActionManager.rb:277: warning: mismatched indentations at 
'end' with 'def' at 260

MONITOR 0 10.209.34.135 -
MONITOR SUCCESS 0

^CException `Interrupt' at /usr/lib/ruby/1.9.1/thread.rb:71 -
/usr/lib/ruby/1.9.1/thread.rb:71:in `sleep': Interrupt
from /usr/lib/ruby/1.9.1/thread.rb:71:in `wait'
from /usr/lib/one/ruby/ActionManager.rb:168:in `block in start_listener'
from internal:prelude:10:in `synchronize'
from /usr/lib/one/ruby/ActionManager.rb:166:in `start_listener'
from /usr/lib/one/ruby/OpenNebulaDriver.rb:73:in `start_driver'
from /usr/lib/one/mads/one_im_sh.rb:85:in `main'

Regards,
Arun


From: Tino Vazquez [mailto:tin...@opennebula.orgmailto:tin...@opennebula.org]
Sent: Wednesday, June 22, 2011 2:15 PM

To: Arun Vadakepatenna Thekepat
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Opennebula - Adding esx host

Hi Arun,

Let's try the driver by hand. Type the following and hit return

$ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb

The program will expect a message from the standard input:

MONITOR 0 10.209.34.135 -

Please send the output from this.

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.orghttp://www.OpenNebula.org | @tinova79


On Wed, Jun 22, 2011 at 6:19 AM, Arun Vadakepatenna Thekepat 
atheke...@sapient.commailto:atheke...@sapient.com wrote:
Hi Tino,

Please find the oned logs below:

Tue Jun 21 20:09:04 2011 [ReM][D]: HostPoolInfo method invoked
Tue Jun 21 20:09:04 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Tue Jun 21 20:09:14 2011 [InM][I]: Monitoring host 10.209.47.26 (0)
Tue Jun 21 20:09:15 2011 [InM][D]: Host 0 successfully monitored.
Tue Jun 21 20:09:15 2011 [ONE][E]: syntax error, unexpected $end, expecting 
VARIABLE at line 2, columns 1:2
Tue Jun 21 20:09:15 2011 [InM][E]: Error parsing host information:
Tue Jun 21 20:09:57 2011 [InM][I]: --Mark--
Tue Jun 21 20:10:02 2011 [ReM][D]: HostPoolInfo method invoked
Tue Jun 21 20:10:03 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Tue Jun 21 20:10:21 2011 [ReM][D]: VirtualNetworkPoolInfo method invoked
Tue Jun 21 20:10:32 2011 [ReM][D]: HostPoolInfo method invoked
Tue Jun 21 20:10:32 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Tue Jun 21 20:10:37 2011 [ReM][D]: ImagePoolInfo method invoked
Tue Jun 21 20:10:53 2011 [InM][I]: Monitoring host 10.209.34.135 (1)
Tue Jun 21 20:10:54 2011 [InM][D]: Host 1 successfully monitored.
Tue Jun 21 20:10:54 2011 [ONE][E]: syntax error, unexpected $end, expecting 
VARIABLE at line 2, columns 1:2
Tue Jun 21 20:10:54 2011 [InM][E]: Error parsing host information:

I have checked many threads regarding this error on users lists, but not able 
to resolve it. Is it a mismatch in syntax for vmware addon 2.2?

Regards,
Arun

From: Tino 

[one-users] Does OpenNebula work or replace VMware vCenter?

2011-06-22 Thread Derrick LIN
Hi guys,

My institute is running a cloud platform which is VMware vSphere based with
its Enterprise Plus license. We also have a vCenter server for managing the
platform.

I have been seeking a way to allow me to automate the VM deployment process
and contextualize the Linux VMs.

OpenNebula seems to be a solution. I have read through some documentations
as well as the VMware Driver Addon guide. But I still not quite understand
many basic aspects of OpenNebula, particularly:

1) What's the position for OpenNebula in a VMware based platform that
vCenter already exists?
2) Our Enterprise Plus license gives us full features of the vSphere
platform, work with the vCenter, does OpenNebula interact with those
features as well?

I'd keen to hear from anyone who has the experience on this.

Thanks in advance.
Derrick
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org