Re: [one-users] VMWare Server 2.0 and non-persistent images to minimize copy when deploying

2011-02-28 Thread Manish Sapariya

As a alternative I also tried hacking the code
to get the same effect as you have suggested.

1. I changed my nfs clone.sh to do nothing, but
to create empty directory.
2. I changed the remotes/vmware/deploy to modify
   the deployment.0 to refer to my non-persistent
   disk instead of one which ON creates.
3. With above changes when I deploy, ON creates the
   VM and starts it as well.
- The first VM runs fine.
- The second VM however fails, because ESX says
  the image is already in use. This happes because
  libvirt fails to mark the disk that it creates
  as non-persistent.
- If I change that attribute of the failed VM, ESX
  is able to run the VM.

So I think I will run into this same issue with the approach
you suggested as well. I believe this is the inherent lack
of support for non-persistent image by libvirtd. I checked
the libvirt documenation and they have one feature bug open
to support non-persistent disks.

Could you please confirm if my understanding is correct
or am I missing certain subtle point?

Thanks and Regards,
Manish


On 2/28/2011 8:21 PM, Tino Vazquez wrote:

Hi Manish,

You can avoid the copy of the image if you:

  1) Use the dummy TM drivers
  1) Stop using the image catalog, and input the SOURCE of the disks
with the following format

[DATASTORE] relative/path/to/disk

The path is relative wrt the DATASTORE.

hope it helps,

-Tino

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



On Wed, Feb 23, 2011 at 1:39 PM, Manish Sapariya  wrote:

Hi,
We have are using OpenNebula 1.4 using following kind of setup.
The non-persistent disk that I used in OpenNebula 1.4 is not
working in 2.0.

The reason it worked with 1.4 is that it copied the directory as
it is without looking into the directory. My .vmx file was modified
to had a link to non-persistent disk and hence the solution was working.

2.0 specifically copies the vmdk file and then creates a deployment
file. And hence my 1.4 solution is not working with 2.0.

My question is, can I tell opennebula to use specific image on
hypervisor, instead of making a copy of vmdk and using that as the
instance disk.

Thanks and Regards,
Manish

On 9/27/2010 5:02 PM, Manish Sapariya wrote:

Hi All,
I thought somebody will find this useful and hence
sharing it here.

We are using opennebula based setup to test our
collaboration product. We have home grown test framework
which can run clients on different machines to execute
test scenarios. Things were fine until we had only few
users in our test. However as I added more users in test,
the VMs deploying started taking too long because of the
image copying. My frontend is on FC8, with big SATA disk.
The datastore is expored using CIFS. The VMWare Hypervisors
mount the datastore using CIFS to run the VMs.

To minimize the copy of the whole disk on deploy, we
followed solution detailed in 1, which is briefly mentioned
as below.

- Create your base image, call it basevm.
- Modify the disk settings to non-persistent.
- Now create another VM, clone1 , using the disk of
   basevm.
   - Set the new disk as non-persistent.
- Create the vm template pointing to clone1. Note that
   both the basevm and clone1 images should be in your
   exported datastore path.
- Deploy as many VMs as you like, with just few MBs of
   data to copied.

Hope this helps somebody.

1. http://communities.vmware.com/thread/15339


--
Thanks and Regards,
Manish

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
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


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


Re: [one-users] VMWare Server 2.0 and non-persistent images to minimize copy when deploying

2011-02-28 Thread Manish Sapariya

Hi Tino,
Thanks for the inputs.

I did following, but could not deploy the VM.

===
oneadmin@ubuntu:~$ onehost create esxserv1.gslab.com im_vmware 
vmm_vmware tm_dummy

  => Host created successfully

oneadmin@ubuntu:~$ cat vm1-np.template
NAME=VMWareVM
MEMORY=256
CPU=1

OS = [ ARCH = "i686" ]

NIC=[NETWORK="Public"]

DISK=[ source="[kpointstoreubuntu] MyVM_Image/MyVM.vmdk",
   target = "hda",
   clone="yes",
   save="no"
]

oneadmin@ubuntu:~$ onevm create vm1-np.template
oneadmin@ubuntu:~$ onevm deploy 35 5
 => deploy failed. The vm.log shows following error.
--
Tue Mar  1 01:25:37 2011 [DiM][I]: New VM state is ACTIVE.
Tue Mar  1 01:25:37 2011 [LCM][I]: New VM state is PROLOG.
Tue Mar  1 01:25:37 2011 [TM][E]: prolog, error getting driver tm_dummy
Tue Mar  1 01:25:37 2011 [TM][E]: epilog_delete, error getting driver 
vmm_vmware. You may need to manually clean 
esxserv1.gslab.com:/src/cloud/one/var//35/images

Tue Mar  1 01:25:37 2011 [DiM][I]: New VM state is FAILED
--


Do I need to create my host any differently?
What does the error signify?

Thanks and Regards,
Manish


On 2/28/2011 8:21 PM, Tino Vazquez wrote:

Hi Manish,

You can avoid the copy of the image if you:

  1) Use the dummy TM drivers
  1) Stop using the image catalog, and input the SOURCE of the disks
with the following format

[DATASTORE] relative/path/to/disk

The path is relative wrt the DATASTORE.

hope it helps,

-Tino

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



On Wed, Feb 23, 2011 at 1:39 PM, Manish Sapariya  wrote:

Hi,
We have are using OpenNebula 1.4 using following kind of setup.
The non-persistent disk that I used in OpenNebula 1.4 is not
working in 2.0.

The reason it worked with 1.4 is that it copied the directory as
it is without looking into the directory. My .vmx file was modified
to had a link to non-persistent disk and hence the solution was working.

2.0 specifically copies the vmdk file and then creates a deployment
file. And hence my 1.4 solution is not working with 2.0.

My question is, can I tell opennebula to use specific image on
hypervisor, instead of making a copy of vmdk and using that as the
instance disk.

Thanks and Regards,
Manish

On 9/27/2010 5:02 PM, Manish Sapariya wrote:

Hi All,
I thought somebody will find this useful and hence
sharing it here.

We are using opennebula based setup to test our
collaboration product. We have home grown test framework
which can run clients on different machines to execute
test scenarios. Things were fine until we had only few
users in our test. However as I added more users in test,
the VMs deploying started taking too long because of the
image copying. My frontend is on FC8, with big SATA disk.
The datastore is expored using CIFS. The VMWare Hypervisors
mount the datastore using CIFS to run the VMs.

To minimize the copy of the whole disk on deploy, we
followed solution detailed in 1, which is briefly mentioned
as below.

- Create your base image, call it basevm.
- Modify the disk settings to non-persistent.
- Now create another VM, clone1 , using the disk of
   basevm.
   - Set the new disk as non-persistent.
- Create the vm template pointing to clone1. Note that
   both the basevm and clone1 images should be in your
   exported datastore path.
- Deploy as many VMs as you like, with just few MBs of
   data to copied.

Hope this helps somebody.

1. http://communities.vmware.com/thread/15339


--
Thanks and Regards,
Manish

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
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


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


Re: [one-users] Does Opennebula 2.0.1 support disaster recovery?

2011-02-28 Thread YE LEI
Hi Tino,
Thank you for your quick feedback,
Just one question, do you mean that the ONE redundancy will be only provided by 
opennebula commercial edition from C12G labs, the open source branch will NOT 
go to this direction?


Best Regards, 
YE Lei 


-Original Message-
From: Tino Vazquez [mailto:tin...@opennebula.org] 
Sent: Monday, February 28, 2011 11:05 PM
To: YE LEI
Cc: users@lists.opennebula.org; Manikanta Kattamuri
Subject: Re: [one-users] Does Opennebula 2.0.1 support disaster recovery?

Hi,

The upcoming 2.2 release will be focused on fault tolerance, it will
provide the features covered in [1].

The oned redundacy is being studied on some specific deployments, that
expertise is available through C12G Labs [2].

Regards,

-Tino

[1] http://opennebula.org/documentation:rel2.2:ftguide
[2] http://c12g.com/

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



On Mon, Feb 28, 2011 at 3:00 AM, YE LEI  wrote:
> Hi Tino,
> Do you have the schedule for these new features?
>
> Best Regards,
> YE Lei
>
> -Original Message-
> From: Tino Vazquez [mailto:tin...@opennebula.org]
> Sent: Monday, February 21, 2011 7:48 PM
> To: Manikanta Kattamuri
> Cc: YE LEI; users@lists.opennebula.org
> Subject: Re: [one-users] Does Opennebula 2.0.1 support disaster recovery?
>
> Hi,
>
> comments inline,
>
>
> On Fri, Feb 18, 2011 at 4:52 AM, Manikanta Kattamuri
>  wrote:
>> we have tried some poc's to achieve this sometime back
>>
>> 2011/2/17 Tino Vazquez 
>>>
>>> Hi YE Lei,
>>>
>>> The first issue that I see here is the migration, since it is
>>> impossible to migrate a VM from a host that is down.
>>>
>>> What is possible is the reestablishment of the service in placeB,
>>> where the VM images should be previously placed (to avoid transferring
>>> them, although this is possible as well), so only the VM state (in the
>>> form of snapshots of memory, and deltas of what has changed in the
>>> disk images since the VM was up) needs to be transferred. This
>>> snapshots should reside in a shared filesystem (to avoid losing access
>>> when the host is down), or synced in placeB using DRDB for instance.
>>
>>
>> since place A and place B are quiet distant and we did not want to share the
>> same file system, we used rsync to keep the disks in check. if the file
>> system is a failure at place A then the latest image would used at placeB
>> else the images are synced before starting.
>>>
>>> OpenNebula at place A can detect that the hosts are down and start the
>>> reestablishment of the service talking with the OpenNebula at place B.
>>> This setup can be achieved with some minor adjustments to the
>>> out-of-the-box OpenNebula.
>>>
>> Can you give any pointers on this, as i have achieved it using a script
>> above oned to detect failures and request place B to start the vm's after
>> syncing with the current vm. I would like to know how oned can be configured
>> to talk to placeB ( i suspect you are talking about hooks?).
>
> I was talking about a new set of drivers to enable this kind of behavior.
>
>>
>>>
>>> For extra protection, the OpenNebula at placeA could be running two
>>> instances in different servers, to avoid the fail in the disaster
>>> recovery in case the OpenNebula front-end goes down.
>>>
>> isn't this being discussed in another thread about oned redundancy?. which
>> is presently not present in one.
>
> Sure, this is WIP
>
> Regards,
>
> -Tino
>
> --
> Constantino Vázquez Blanco, MSc
> OpenNebula Major Contributor  / Cloud Researcher
> www.OpenNebula.org | @tinova79
>
>>>
>>> This is an interesting use case, we will be happy to provide
>>> assistance in the setup of this scenario.
>>>
>>> Best regards,
>>>
>>> -Tino
>>>
>>> --
>>> Constantino Vázquez Blanco, MSc
>>> OpenNebula Major Contributor  / Cloud Researcher
>>> www.OpenNebula.org | @tinova79
>>>
>>>
>>>
>>> On Thu, Feb 17, 2011 at 10:22 AM, YE LEI 
>>> wrote:
>>> > For example, we have a product (in VM) running in the servers on placeA,
>>> > and in case disaster happens on placeA, all servers on placeA are
>>> > damaged, could opennebula migrate this product to the severs on
>>> > placeB(thousands miles away from placeA) which are managed by opennebula
>>> > in the cloud?
>>> >
>>> > Best Regards,
>>> > YE Lei
>>> >
>>> > -Original Message-
>>> > From: Ignacio M. Llorente [mailto:imllore...@opennebula.org]
>>> > Sent: Thursday, February 17, 2011 4:55 PM
>>> > To: YE LEI
>>> > Cc: users@lists.opennebula.org
>>> > Subject: Re: [one-users] Does Opennebula 2.0.1 support disaster
>>> > recovery?
>>> >
>>> > Please, could you elaborate on the use case for this? Which
>>> > functionality would you require?
>>> >
>>> > Thanks
>>> >
>>> > On Thu, Feb 17, 2011 at 7:58 AM, YE LEI 
>>> > wrote:
>>> >> Hello,
>>> >>
>>> >> As mentioned in the mail title, does Opennebula 2.0.1 support disaster
>>> >> recovery cross-regional?
>>> >>
>>> >> Best Regards,
>>> >>
>>> >> YE Lei
>>> >>
>>> >> __

Re: [one-users] VM with multiple CPUs in template ?

2011-02-28 Thread Javier Fontan
Use VCPU to specify the number of cpus for the machine, like:

VCPU=4

On Mon, Feb 28, 2011 at 7:46 PM, Steffen Neumann  wrote:
> Hi,
>
> On Mon, 2011-02-28 at 13:56 +0100, Steffen Neumann wrote:
>> Question: How do I specify a dual/quad CPU in template.one ?
>
> I was able to specify a quad-CPU VM using virt-manager,
> and that's also used after deployment via ONE.
>
> The original question remains, is it possible
> to specify the number of processors afterwards
> in the VM template ?
>
> Yours,
> Steffen
>
> --
> IPB Halle                    AG Massenspektrometrie & Bioinformatik
> Dr. Steffen Neumann          http://www.IPB-Halle.DE
> Weinberg 3                   http://msbi.bic-gh.de
> 06120 Halle                  Tel. +49 (0) 345 5582 - 1470
>                                  +49 (0) 345 5582 - 0
> sneumann(at)IPB-Halle.DE     Fax. +49 (0) 345 5582 - 1409
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VM with multiple CPUs in template ?

2011-02-28 Thread Steffen Neumann
Hi,

On Mon, 2011-02-28 at 13:56 +0100, Steffen Neumann wrote:
> Question: How do I specify a dual/quad CPU in template.one ?

I was able to specify a quad-CPU VM using virt-manager,
and that's also used after deployment via ONE.

The original question remains, is it possible 
to specify the number of processors afterwards 
in the VM template ?

Yours,
Steffen

-- 
IPB HalleAG Massenspektrometrie & Bioinformatik
Dr. Steffen Neumann  http://www.IPB-Halle.DE
Weinberg 3   http://msbi.bic-gh.de
06120 Halle  Tel. +49 (0) 345 5582 - 1470
  +49 (0) 345 5582 - 0
sneumann(at)IPB-Halle.DE Fax. +49 (0) 345 5582 - 1409

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


Re: [one-users] tm_context bug

2011-02-28 Thread Javier Fontan
tm_context.sh for ssh uses these lines to distinguish both kinds of
installation:

--8<--
if [ -z "$ONE_LOCATION" ]; then
   TMP_DIR="/var/lib/one/$DST_HASH"
else
   TMP_DIR="$ONE_LOCATION/var/$DST_HASH"
fi
-->8--

So it should work. Am I missing something?

On Mon, Feb 28, 2011 at 2:51 PM, Olivier Sallou  wrote:
> Hi,
> there is an issue with tm_context.sh when using contextualisation.
> As shown below tmp dir used is:
>
> TMP_DIR="$ONE_LOCATION/var/$DST_HASH"
>
> However, in open nebula system-wide install, this is set to /var/ and
> opennebula user does not have rights to create dirs in /var (or user should
> be root).
>
> This should be set to a /var/opennebula/ where one user would have
> access to /var/opennebula
>
>
> Regards
>
> Olivier
>
> --
> gpg key id: 4096R/326D8438  (pgp.mit.edu)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] SunStone - First Look

2011-02-28 Thread Héctor Sanjuán
El 28/02/11 13:23, Toens Bueker escribió:
> Hi *,
> 
> just to spark the discussion about SunStone I'd like to deliver my
> first impressions 
> 
> - fast and snappy experience
> - clear navigation
> - nice popups for error messages and infos
> - comprehensive dialogues for the creation of VMs, networks, etc. I
>   really like that you can paste the one-template in the "advanced"
>   section.
> 
> What I'd like to see:
> - A sensible use of the dashboard. The information, which is displayed
>   there right now, could be presented in a more compact form, instead of
>   the five boxes. Which would leave some space for more interesting data
>   like some Ganglia graphs, critical logs, monitoring events, etc.
>   
> - The same goes for the "detailed information pane" in the lower half
>   of the display, which could contain "richer" information. E. g.
>   it would be nice to have more detailed graphs concerning the
>   respective host, the leases in a virtual network linked to their
>   respective VMs (a click would bring me to the respective VM-page),
>   etc.
>   
> So far for now.
> 
> Kind regards,
> Töns

First of all, thank you for your possitive comments. We are keen to get
feedback from the community about the brand new SunStone component.

It is a very good idea to improve the dashboard and the detailed info
panels in the ways you describe. In order to keep track of your
proposals I have opened two feature request tickets:

http://dev.opennebula.org/issues/504
http://dev.opennebula.org/issues/503

Thanks again for your feedback,
-- 
Héctor Sanjuan
OpenNebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] help understand one_xmlrpc.log

2011-02-28 Thread Shi Jin
Thank you. It is probably OK this way and I found my error message in the
oned.log.
Although it would be nice to have a place to log in detail the XML message
sent and received, if turned on.

Thanks.
Shi

2011/2/28 Carlos Martín Sánchez 

> Hi Shi Jin,
>
> That log is created by the xmlrpc-c library [1]; so not so helpful
> information about OpenNebula itself is logged.
> The Request Manager component logs are written in oned.log file. We could
> move that logs to a separate file with extended information if the community
> think this is needed.
>
> Regards,
> Carlos.
>
> [1] http://xmlrpc-c.sourceforge.net/
> --
> Carlos Martín, MSc
> Project Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org  | cmar...@opennebula.org
>
>
> On 26 February 2011 23:38, Shi Jin  wrote:
>
>> Hi there,
>>
>> I wonder where I can find more information on what is logged
>> into one_xmlrpc.log
>>
>> For example, I have
>> 192.168.2.103:37253 - no_user - [18/Feb/2011:16:12:59 +0700] "POST" 200
>> 431
>> 127.0.0.1:13984 - no_user - [18/Feb/2011:16:13:23 +0700] "POST" 200 472
>> 127.0.0.1:13984 - no_user - [18/Feb/2011:16:13:23 +0700] "POST" 200 468
>>
>> First of all, what do the lines mean?
>> Secondly, can we log more information in this file, especially when the
>> XML_RPC call fails?
>>
>> Thank you very much.
>> Shi
>>
>>
>> --
>> Shi Jin, Ph.D.
>>
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>


-- 
Shi Jin, Ph.D.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] cannot have two VNETs created by uid=0 on a single VM by another user

2011-02-28 Thread Shi Jin
Thanks. I just replied your redmine case.
So is it true to say that since 2.0, if a VNET is created by oneadmin
(uid=0) and not published (the default), it cannot be used by other users?
I actually find it is still usable by other users if there is only one VNET
in the VM.

FYI, my uid=0 is called cloudadmin instead of oneadmin but I don't think it
should create any problem, right?

Thank you very much.

Shi
2011/2/28 Carlos Martín Sánchez 

> Hi again,
>
> I haven't been able to reproduce the error, in either one 2.0 or 2.2
> branches. Unless all vnets are public, the authorization rejects the new VM.
>
> On the other hand, we may have confused you with this documentation quote:
> > Virtual Networks created by oneadmin can be used by every other user.
>
> That was how VNets were shared in OpenNebula 1.4. Since 2.0, oneadmin's
> VNets are shared using the 'onevnet publish' command, just like any other
> user's. The guide is now fixed, sorry for the confusion.
>
> Regards,
> Carlos.
>
> --
> Carlos Martín, MSc
> Project Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org  | cmar...@opennebula.org
>
>
> 2011/2/28 Carlos Martín Sánchez 
>
> Thanks for the report, we'll take a look and check what's going on.
>> You can follow the resolution in redmine:
>> http://dev.opennebula.org/issues/502
>>
>> Regards,
>> Carlos.
>> --
>> Carlos Martín, MSc
>> Project Major Contributor
>> OpenNebula - The Open Source Toolkit for Cloud Computing
>> www.OpenNebula.org  | cmar...@opennebula.org
>>
>>
>> On 27 February 2011 01:01, Shi Jin  wrote:
>>
>>> By the way, this is a new problem in OpenNebula 2.x. I had similar setup
>>> working on version 1.4 without issue.
>>>
>>> Shi
>>>
>>>
>>> On Sat, Feb 26, 2011 at 4:59 PM, Shi Jin  wrote:
>>>
 Hi there,

 From the documentation, it says
 >  Virtual Networks created by oneadmin can be used by every other user.

 I have created two vNETs, intranet-office and LAN-1, both created by the
 oneadmin user (uid=0) and as the document says, any other user can use 
 these
 vnets, at least in my experience, one VNET per VM.

 But I found that if another user wants to deploy a VM with two NICs,
 both owned by uid=0, then we will get a permission error:
 > Sat Feb 26 16:51:44 2011 [ReM][E]: [VirtualMachineAllocate] User [6]
 not authorized to perform CREATE on VM Pool
 If I publish any one of the VNET, the dual NIC setup would work again.

 I think this is probably a bug, right?
 --
 Shi Jin, Ph.D.


>>>
>>>
>>> --
>>> Shi Jin, Ph.D.
>>>
>>>
>>> ___
>>> Users mailing list
>>> Users@lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>


-- 
Shi Jin, Ph.D.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] 2.2

2011-02-28 Thread Ruben S. Montero
Hi,

We are solving some last-minute licensing issues

On Mon, Feb 28, 2011 at 3:08 PM, Zeeshan Ali Shah  wrote:

> Any news about 2.2 ? is it delayed ?
>
> --
> Regards
>
> Zeeshan Ali Shah
> System Administrator
> PDC-Center for High Performance Computing
> KTH-Royal Institute of Technology , Sweden
> +46 8 790 9115
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Dr. Ruben Santiago Montero
Associate Professor (Profesor Titular), Complutense University of Madrid

URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] about hooks ?

2011-02-28 Thread Zeeshan Ali Shah
Hi, in case of remote hooks both for vm and host ..  I think ruby has to 
be installed  on vm and or host ?


am I right ?

second what is the mostly usefull technique i.e. to execute hook on 
Frontend or on VM/host ?


--
Regards

Zeeshan Ali Shah
System Administrator
PDC-Center for High Performance Computing
KTH-Royal Institute of Technology , Sweden
+46 8 790 9115

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


Re: [one-users] Does Opennebula 2.0.1 support disaster recovery?

2011-02-28 Thread Tino Vazquez
Hi,

The upcoming 2.2 release will be focused on fault tolerance, it will
provide the features covered in [1].

The oned redundacy is being studied on some specific deployments, that
expertise is available through C12G Labs [2].

Regards,

-Tino

[1] http://opennebula.org/documentation:rel2.2:ftguide
[2] http://c12g.com/

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



On Mon, Feb 28, 2011 at 3:00 AM, YE LEI  wrote:
> Hi Tino,
> Do you have the schedule for these new features?
>
> Best Regards,
> YE Lei
>
> -Original Message-
> From: Tino Vazquez [mailto:tin...@opennebula.org]
> Sent: Monday, February 21, 2011 7:48 PM
> To: Manikanta Kattamuri
> Cc: YE LEI; users@lists.opennebula.org
> Subject: Re: [one-users] Does Opennebula 2.0.1 support disaster recovery?
>
> Hi,
>
> comments inline,
>
>
> On Fri, Feb 18, 2011 at 4:52 AM, Manikanta Kattamuri
>  wrote:
>> we have tried some poc's to achieve this sometime back
>>
>> 2011/2/17 Tino Vazquez 
>>>
>>> Hi YE Lei,
>>>
>>> The first issue that I see here is the migration, since it is
>>> impossible to migrate a VM from a host that is down.
>>>
>>> What is possible is the reestablishment of the service in placeB,
>>> where the VM images should be previously placed (to avoid transferring
>>> them, although this is possible as well), so only the VM state (in the
>>> form of snapshots of memory, and deltas of what has changed in the
>>> disk images since the VM was up) needs to be transferred. This
>>> snapshots should reside in a shared filesystem (to avoid losing access
>>> when the host is down), or synced in placeB using DRDB for instance.
>>
>>
>> since place A and place B are quiet distant and we did not want to share the
>> same file system, we used rsync to keep the disks in check. if the file
>> system is a failure at place A then the latest image would used at placeB
>> else the images are synced before starting.
>>>
>>> OpenNebula at place A can detect that the hosts are down and start the
>>> reestablishment of the service talking with the OpenNebula at place B.
>>> This setup can be achieved with some minor adjustments to the
>>> out-of-the-box OpenNebula.
>>>
>> Can you give any pointers on this, as i have achieved it using a script
>> above oned to detect failures and request place B to start the vm's after
>> syncing with the current vm. I would like to know how oned can be configured
>> to talk to placeB ( i suspect you are talking about hooks?).
>
> I was talking about a new set of drivers to enable this kind of behavior.
>
>>
>>>
>>> For extra protection, the OpenNebula at placeA could be running two
>>> instances in different servers, to avoid the fail in the disaster
>>> recovery in case the OpenNebula front-end goes down.
>>>
>> isn't this being discussed in another thread about oned redundancy?. which
>> is presently not present in one.
>
> Sure, this is WIP
>
> Regards,
>
> -Tino
>
> --
> Constantino Vázquez Blanco, MSc
> OpenNebula Major Contributor  / Cloud Researcher
> www.OpenNebula.org | @tinova79
>
>>>
>>> This is an interesting use case, we will be happy to provide
>>> assistance in the setup of this scenario.
>>>
>>> Best regards,
>>>
>>> -Tino
>>>
>>> --
>>> Constantino Vázquez Blanco, MSc
>>> OpenNebula Major Contributor  / Cloud Researcher
>>> www.OpenNebula.org | @tinova79
>>>
>>>
>>>
>>> On Thu, Feb 17, 2011 at 10:22 AM, YE LEI 
>>> wrote:
>>> > For example, we have a product (in VM) running in the servers on placeA,
>>> > and in case disaster happens on placeA, all servers on placeA are
>>> > damaged, could opennebula migrate this product to the severs on
>>> > placeB(thousands miles away from placeA) which are managed by opennebula
>>> > in the cloud?
>>> >
>>> > Best Regards,
>>> > YE Lei
>>> >
>>> > -Original Message-
>>> > From: Ignacio M. Llorente [mailto:imllore...@opennebula.org]
>>> > Sent: Thursday, February 17, 2011 4:55 PM
>>> > To: YE LEI
>>> > Cc: users@lists.opennebula.org
>>> > Subject: Re: [one-users] Does Opennebula 2.0.1 support disaster
>>> > recovery?
>>> >
>>> > Please, could you elaborate on the use case for this? Which
>>> > functionality would you require?
>>> >
>>> > Thanks
>>> >
>>> > On Thu, Feb 17, 2011 at 7:58 AM, YE LEI 
>>> > wrote:
>>> >> Hello,
>>> >>
>>> >> As mentioned in the mail title, does Opennebula 2.0.1 support disaster
>>> >> recovery cross-regional?
>>> >>
>>> >> Best Regards,
>>> >>
>>> >> YE Lei
>>> >>
>>> >> ___
>>> >> Users mailing list
>>> >> Users@lists.opennebula.org
>>> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Ignacio M. Llorente, PhD, MBA
>>> > Project co-Lead and Director
>>> > OpenNebula - The Open Source Toolkit for Cloud Computing
>>> > www.OpenNebula.org | imllore...@opennebula.org
>>> > ___
>>> > Users mailing list
>>> > Users@lists.opennebula.org
>>>

Re: [one-users] OpenNebula 2.0 with default vmware drivers

2011-02-28 Thread Tino Vazquez
Hi Manish,

OpenNebula doesn't ship with the old VMware drivers anymore. The
combination would work (although this is not tested), but it is not
recommended since the new drivers feature a much better integration
with ONE and VMware.

I've answered to the other thread with a possible solution, hope it helps.

Regards,

-Tino

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



On Mon, Feb 28, 2011 at 1:03 PM, Manish Sapariya  wrote:
> Hi,
> I am facing issues using non-persistent vmware disks with,
> OpenNebula 2.0 and vmware addon.
>
> I want to know if OpenNebula 2.0 has the older (ON 1.4) VMware
> driver and will the combination work?
>
> --
> Thanks and Regards,
> Manish
>
> ___
> 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] cannot have two VNETs created by uid=0 on a single VM by another user

2011-02-28 Thread Carlos Martín Sánchez
Hi again,

I haven't been able to reproduce the error, in either one 2.0 or 2.2
branches. Unless all vnets are public, the authorization rejects the new VM.

On the other hand, we may have confused you with this documentation quote:
> Virtual Networks created by oneadmin can be used by every other user.

That was how VNets were shared in OpenNebula 1.4. Since 2.0, oneadmin's
VNets are shared using the 'onevnet publish' command, just like any other
user's. The guide is now fixed, sorry for the confusion.

Regards,
Carlos.

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


2011/2/28 Carlos Martín Sánchez 

> Thanks for the report, we'll take a look and check what's going on.
> You can follow the resolution in redmine:
> http://dev.opennebula.org/issues/502
>
> Regards,
> Carlos.
> --
> Carlos Martín, MSc
> Project Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org  | cmar...@opennebula.org
>
>
> On 27 February 2011 01:01, Shi Jin  wrote:
>
>> By the way, this is a new problem in OpenNebula 2.x. I had similar setup
>> working on version 1.4 without issue.
>>
>> Shi
>>
>>
>> On Sat, Feb 26, 2011 at 4:59 PM, Shi Jin  wrote:
>>
>>> Hi there,
>>>
>>> From the documentation, it says
>>> >  Virtual Networks created by oneadmin can be used by every other user.
>>>
>>> I have created two vNETs, intranet-office and LAN-1, both created by the
>>> oneadmin user (uid=0) and as the document says, any other user can use these
>>> vnets, at least in my experience, one VNET per VM.
>>>
>>> But I found that if another user wants to deploy a VM with two NICs, both
>>> owned by uid=0, then we will get a permission error:
>>> > Sat Feb 26 16:51:44 2011 [ReM][E]: [VirtualMachineAllocate] User [6]
>>> not authorized to perform CREATE on VM Pool
>>> If I publish any one of the VNET, the dual NIC setup would work again.
>>>
>>> I think this is probably a bug, right?
>>> --
>>> Shi Jin, Ph.D.
>>>
>>>
>>
>>
>> --
>> Shi Jin, Ph.D.
>>
>>
>> ___
>> 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] VMWare Server 2.0 and non-persistent images to minimize copy when deploying

2011-02-28 Thread Tino Vazquez
Hi Manish,

You can avoid the copy of the image if you:

 1) Use the dummy TM drivers
 1) Stop using the image catalog, and input the SOURCE of the disks
with the following format

   [DATASTORE] relative/path/to/disk

The path is relative wrt the DATASTORE.

hope it helps,

-Tino

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



On Wed, Feb 23, 2011 at 1:39 PM, Manish Sapariya  wrote:
> Hi,
> We have are using OpenNebula 1.4 using following kind of setup.
> The non-persistent disk that I used in OpenNebula 1.4 is not
> working in 2.0.
>
> The reason it worked with 1.4 is that it copied the directory as
> it is without looking into the directory. My .vmx file was modified
> to had a link to non-persistent disk and hence the solution was working.
>
> 2.0 specifically copies the vmdk file and then creates a deployment
> file. And hence my 1.4 solution is not working with 2.0.
>
> My question is, can I tell opennebula to use specific image on
> hypervisor, instead of making a copy of vmdk and using that as the
> instance disk.
>
> Thanks and Regards,
> Manish
>
> On 9/27/2010 5:02 PM, Manish Sapariya wrote:
>
> Hi All,
> I thought somebody will find this useful and hence
> sharing it here.
>
> We are using opennebula based setup to test our
> collaboration product. We have home grown test framework
> which can run clients on different machines to execute
> test scenarios. Things were fine until we had only few
> users in our test. However as I added more users in test,
> the VMs deploying started taking too long because of the
> image copying. My frontend is on FC8, with big SATA disk.
> The datastore is expored using CIFS. The VMWare Hypervisors
> mount the datastore using CIFS to run the VMs.
>
> To minimize the copy of the whole disk on deploy, we
> followed solution detailed in 1, which is briefly mentioned
> as below.
>
> - Create your base image, call it basevm.
> - Modify the disk settings to non-persistent.
> - Now create another VM, clone1 , using the disk of
>   basevm.
>   - Set the new disk as non-persistent.
> - Create the vm template pointing to clone1. Note that
>   both the basevm and clone1 images should be in your
>   exported datastore path.
> - Deploy as many VMs as you like, with just few MBs of
>   data to copied.
>
> Hope this helps somebody.
>
> 1. http://communities.vmware.com/thread/15339
>
>
> --
> Thanks and Regards,
> Manish
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> ___
> 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
>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] How about an OpenNebula image market place? was: sample linux image beside ttylinux?

2011-02-28 Thread Tino Vazquez
Dear Carsten,

This is indeed a very interesting proposal. Currently we evaluating
alternatives on how to implement this, we will let the community know
as soon as it is ready.

Regads,

-Tino

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



On Tue, Feb 22, 2011 at 12:12 AM,   wrote:
> It would be great if OpenNebula could host a space where users can upload and 
> share OS images and templates for use in OpenNebula.
>
> carsten
>
> -Original Message-
> From: users-boun...@lists.opennebula.org 
> [mailto:users-boun...@lists.opennebula.org] On Behalf Of Zeeshan Ali Shah
> Sent: Monday, 21 February 2011 19:38
> To: users@lists.opennebula.org
> Subject: [one-users] sample linux image beside ttylinux?
>
> Hi ,
> 1) how to get linux image beside ttylinux for example : centos, ubuntu
> to try with opennebula ?
> 2) the standard image is runnable out of the box in opennebula ?
>
> --
> Regards
>
> Zeeshan Ali Shah
> System Administrator
> PDC-Center for High Performance Computing
> KTH-Royal Institute of Technology , Sweden
> +46 8 790 9115
>
> ___
> 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
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] 2.2

2011-02-28 Thread Zeeshan Ali Shah

Any news about 2.2 ? is it delayed ?

--
Regards

Zeeshan Ali Shah
System Administrator
PDC-Center for High Performance Computing
KTH-Royal Institute of Technology , Sweden
+46 8 790 9115

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


[one-users] tm_context bug

2011-02-28 Thread Olivier Sallou

Hi,
there is an issue with tm_context.sh when using contextualisation.
As shown below tmp dir used is:

TMP_DIR="$ONE_LOCATION/var/$DST_HASH"

However, in open nebula system-wide install, this is set to /var/ 
and opennebula user does not have rights to create dirs in /var (or user 
should be root).


This should be set to a /var/opennebula/ where one user would have 
access to /var/opennebula



Regards

Olivier

--
gpg key id: 4096R/326D8438  (pgp.mit.edu)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


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


[one-users] VM with multiple CPUs in template ?

2011-02-28 Thread Steffen Neumann
Hi,

Our applications benefit from SMP with multiple CPUs.

Question: How do I specify a dual/quad CPU in template.one ?

The documentation http://www.opennebula.org/documentation:rel2.0:template
mentions fractions (e.g. 0.5) but a value of CPU=2.0 does not 
create a 2CPU system. I also tried two CPU=1.0 entries, also no luck.

(We're running one-2.0 with KVM) 

Yours,
Steffen

-- 
IPB HalleAG Massenspektrometrie & Bioinformatik
Dr. Steffen Neumann  http://www.IPB-Halle.DE
Weinberg 3   http://msbi.bic-gh.de
06120 Halle  Tel. +49 (0) 345 5582 - 1470
  +49 (0) 345 5582 - 0
sneumann(at)IPB-Halle.DE Fax. +49 (0) 345 5582 - 1409

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


[one-users] SunStone - First Look

2011-02-28 Thread Toens Bueker
Hi *,

just to spark the discussion about SunStone I'd like to deliver my
first impressions 

- fast and snappy experience
- clear navigation
- nice popups for error messages and infos
- comprehensive dialogues for the creation of VMs, networks, etc. I
  really like that you can paste the one-template in the "advanced"
  section.

What I'd like to see:
- A sensible use of the dashboard. The information, which is displayed
  there right now, could be presented in a more compact form, instead of
  the five boxes. Which would leave some space for more interesting data
  like some Ganglia graphs, critical logs, monitoring events, etc.
  
- The same goes for the "detailed information pane" in the lower half
  of the display, which could contain "richer" information. E. g.
  it would be nice to have more detailed graphs concerning the
  respective host, the leases in a virtual network linked to their
  respective VMs (a click would bring me to the respective VM-page),
  etc.
  
So far for now.

Kind regards,
Töns
-- 
There is no safe distance.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] OpenNebula 2.0 with default vmware drivers

2011-02-28 Thread Manish Sapariya

Hi,
I am facing issues using non-persistent vmware disks with,
OpenNebula 2.0 and vmware addon.

I want to know if OpenNebula 2.0 has the older (ON 1.4) VMware
driver and will the combination work?

--
Thanks and Regards,
Manish

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


Re: [one-users] help understand one_xmlrpc.log

2011-02-28 Thread Carlos Martín Sánchez
Hi Shi Jin,

That log is created by the xmlrpc-c library [1]; so not so helpful
information about OpenNebula itself is logged.
The Request Manager component logs are written in oned.log file. We could
move that logs to a separate file with extended information if the community
think this is needed.

Regards,
Carlos.

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


On 26 February 2011 23:38, Shi Jin  wrote:

> Hi there,
>
> I wonder where I can find more information on what is logged
> into one_xmlrpc.log
>
> For example, I have
> 192.168.2.103:37253 - no_user - [18/Feb/2011:16:12:59 +0700] "POST" 200
> 431
> 127.0.0.1:13984 - no_user - [18/Feb/2011:16:13:23 +0700] "POST" 200 472
> 127.0.0.1:13984 - no_user - [18/Feb/2011:16:13:23 +0700] "POST" 200 468
>
> First of all, what do the lines mean?
> Secondly, can we log more information in this file, especially when the
> XML_RPC call fails?
>
> Thank you very much.
> Shi
>
>
> --
> Shi Jin, Ph.D.
>
>
> ___
> 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] cannot have two VNETs created by uid=0 on a single VM by another user

2011-02-28 Thread Carlos Martín Sánchez
Thanks for the report, we'll take a look and check what's going on.
You can follow the resolution in redmine:
http://dev.opennebula.org/issues/502

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


On 27 February 2011 01:01, Shi Jin  wrote:

> By the way, this is a new problem in OpenNebula 2.x. I had similar setup
> working on version 1.4 without issue.
>
> Shi
>
>
> On Sat, Feb 26, 2011 at 4:59 PM, Shi Jin  wrote:
>
>> Hi there,
>>
>> From the documentation, it says
>> >  Virtual Networks created by oneadmin can be used by every other user.
>>
>> I have created two vNETs, intranet-office and LAN-1, both created by the
>> oneadmin user (uid=0) and as the document says, any other user can use these
>> vnets, at least in my experience, one VNET per VM.
>>
>> But I found that if another user wants to deploy a VM with two NICs, both
>> owned by uid=0, then we will get a permission error:
>> > Sat Feb 26 16:51:44 2011 [ReM][E]: [VirtualMachineAllocate] User [6] not
>> authorized to perform CREATE on VM Pool
>> If I publish any one of the VNET, the dual NIC setup would work again.
>>
>> I think this is probably a bug, right?
>> --
>> Shi Jin, Ph.D.
>>
>>
>
>
> --
> Shi Jin, Ph.D.
>
>
> ___
> 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] can oneadmin (uid=0) create a VNET that is owned by another account?

2011-02-28 Thread Carlos Martín Sánchez
Hi,

That's a functionality we definitely want to add to OpenNebula, along with a
more advanced user management see [1]. We've opened a ticket with you
request:
http://dev.opennebula.org/issues/501

Regards,
Carlos.

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


On 27 February 2011 05:35, Shi Jin  wrote:

> Hi there,
>
> The admin typically runs as the oneadmin and may not want to set something
> up as a user, especially if he/she has to do this frequently for many
> different users. Is there a way to specify the owner in the VNET template
> file or let the onevnet command to have some functionality of changing
> ownership, similar to the "chown" Unix command?
>
> Thanks.
> Shi
>
> --
> Shi Jin, Ph.D.
>
>
> ___
> 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] PUT GET base64 encoded string contextualization mechanism

2011-02-28 Thread Daniel Molina Aranda
Hi,

The method that OpenNebula provides to give configuration parameters
to a new virtual machine is using an ISO image (OVF recommendation).
The OCCI and EC2 servers also use this kind of contextualization.
Therefore, if you want to get this information you will have to use
the context scripts that are explained here [1]

* In the EC2 case, you can define a value:
$ ./econe-run-instance -d Myvalue ami-0023
And this value will be base64 encoded and accesible inside the context
script of the virtual machine, in a variable called EC2_USER_DATA.

* In the OCCI case, you can define the following template:
$ cat ./template.occi

  vmtest
  small
  
192.168.0.5
192.168.4.9
  


$ ./occi-compute create template.occi
or
$ curl -u oneuser:sha1_pass http://localhost:4567/compute -d
"vmtest...small"
In this case you will find two variables inside the context.sh script
called IP and DNS.

OpenNebula does not implement the EC2 user data system, where you can
get your variables from a server using GET HTTP from curl. As
explained before all the contextualization in OpenNebula is made using
an ISO image.

[1] http://www.opennebula.org/documentation:rel2.0:cong

Hope this helps.

On 23 February 2011 12:12, Mihajlo Mudrinic  wrote:
>
>
> Hello
>
> I have working installation of OpenNebula small private cloud IaaS. Currently 
> I am using
>
> an ISO image as contextualization mechanism. OCCI-server and ECONE-server are 
> working and
>
> I have been testing occi-compute, occi-storage, occi-network and OpenNebula 
> EC2 API.
>
> I would like to use base64 encoded string contextualization mechanisms for 
> user-data
>
> 1.) Could you post one example how to use flag -d in
>
> econe-run-instances
>
> --user-data, -d
>
> Specifies Base64-encoded MIME user data to be made
>
> available to the instance
>
> 2.) If I understood correctly the only way to access user data defined by 
> econe-run-instances is over ISO context made by OpenNebula VM template?
>
> 3.) What I am looking for is to get Base64-encoded MIME user data from within 
> VM using GET HTTP from sinatra (for example curl/PERL) and avoid using  ISO 
> image as contextualization mechanism.
>
> 4.) I am looking now at OCCI Specification
>
> http://opennebula.org/documentation:rel2.0:occidd
>
> context block in XMLSchema/occi contain
>
> 
>
> value
>
> another value
>
> abc
>
> 
>
> Could you post one example how to to create a compute using curl with a few 
> simple attribute in context block and one liner curl how to read the same 
> attribute from sinatra?
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



--
Daniel Molina, Cloud Technology Engineer/Researcher
DSA Research Group: web http://dsa-research.org and blog
http://blog.dsa-research.org
OpenNebula Open Source Toolkit for Cloud Computing: http://www.OpenNebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] EC2 interface and user data question

2011-02-28 Thread Daniel Molina Aranda
Hi Oliver,

Yes, the user data is added to the context tag. This information will be
placed in a variable called EC2_USER_DATA, that you can get using the
CONTEXT system of OpenNebula.

Regards.

On 28 February 2011 08:11, Olivier Sallou  wrote:

> Hi,
> the EC2 interface allow the use of user data.
> How is "mapped" the EC2 user data to Open Nebula ? Is it automatically
> added to context tag ?
>
> Thanks
>
> Olivier
>
> --
> gpg key id: 4096R/326D8438  (pgp.mit.edu)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Daniel Molina, Cloud Technology Engineer/Researcher
DSA Research Group: web http://dsa-research.org and blog
http://blog.dsa-research.org
OpenNebula Open Source Toolkit for Cloud Computing:
http://www.OpenNebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org