[one-users] VM Migration between two open nebula clouds

2013-11-25 Thread aok pan
Dear All,
I need to apply the following steps to do migration between two open nebula
clouds
i need assistance to do the following:
create a compute instance using OCCI after executing the curl command you
should see a response in your terminal indicating the information related
to the VM.

If the action is success you have to see that in the graphic console.
If you are able to create machines in OpenNebula instance using occi, you
will be able to snapshot a VM.
Afterword, to migrate a VM you need to snapshot it and generate a new xml
file describing the disk.
Create a storage instance based on the realized snapshot using occi in the
2nd OpenNebula instance. Generate a new vm.xml file describing the new
compute instance in the 2nd OpenNebula instance. Then run the curl command
targeting this 2nd instance to create your VM. And finally you need to
cancel the original VM in the first OpenNebula instance.

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


Re: [one-users] Fwd: VM migration between clouds (Tino Vazquez)

2013-10-29 Thread aok pan
Dear Tino ,
Actually i am having the two open nebula clouds installed on my two laptops
(Dell 1 Terra hard Ram 8 GB Core I7) yes both are on the same network .
actually i am doing this migration as it is a task ( project that is needed
from me to implement at college) but as i have no experience i used open
Nebula help.
so please be patient with me as i am i need to do this migration of the VM
by this i will be finished from my task.
i tried to do the following please tell em if right or wrong. and if right
pleaase tell me how i can solve the problem .

   1. first step: $ su
   2. then enter the password of the server
   3. in our case : amira30
   4. then $ su - oneadmin
   5. this will appear :[oneadmin@localhost ~]
   6. then write the following command :oneuser show
   7. this will appear :

USER 0
INFORMATION
ID : 0
NAME   : oneadmin
GROUP  : oneadmin
PASSWORD   : b1b3773a05c0ed0176787a4f1574ff0075f7521e
AUTH_DRIVER: core
ENABLED: Yes
USER
TEMPLATE
RESOURCE USAGE & QUOTAS

su
to go to the root and then write the following command
$vim /var/lib/one/.one/occi_auth
the file will appear for you  press insert
and then write :oneadmin:b1b3773a05c0ed0176787a4f1574ff0075f7521e
the after theh one admin is the 
after you finish to save what you have added press 

then
$ occi-server start

then $install yum install curl

now to create vm.xml file write the following:
$vim vm.xml
the white screen of the file will open
press i
then paste the following data:
///
  
  test
  medium
  
 
  
  
 x86_64
  
  
  
  
  
  vnc
  -1
  0.0.0.0
  
  
//

then esc
then : then x then press enter
the the last line .
curl -X POST -u oneadmin:password http://localhost:5678/compute -T vm.xml
didn't show the on the cloud.




On Tue, Oct 29, 2013 at 3:18 PM, Tino Vazquez  wrote:

> Hi,
>
> I'm afraid this is a novel development, it has not been done before.
> You will need to first consider what is the connectivity between these
> two datacenters: do they share networking, are they in the same
> administrative domain?
>
> Regards,
>
> -Tino
> --
> OpenNebula - Flexible Enterprise Cloud Made Simple
>
> --
> Constantino Vázquez Blanco, PhD, MSc
> Senior Infrastructure Architect at C12G Labs
> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>
> --
> Confidentiality Warning: The information contained in this e-mail and
> any accompanying documents, unless otherwise expressly indicated, is
> confidential and privileged, and is intended solely for the person
> and/or entity to whom it is addressed (i.e. those identified in the
> "To" and "cc" box). They are the property of C12G Labs S.L..
> Unauthorized distribution, review, use, disclosure, or copying of this
> communication, or any part thereof, is strictly prohibited and may be
> unlawful. If you have received this e-mail in error, please notify us
> immediately by e-mail at ab...@c12g.com and delete the e-mail and
> attachments and any copy from your system. C12G thanks you for your
> cooperation.
>
>
> On Tue, Oct 29, 2013 at 1:37 PM, aok pan  wrote:
> > Dear Tino,
> > Can you please advice how it is done (extending the OCCI API or the
> native
> > XMLRPC interface in
> > OpenNebula to implement ONE2ONE migration) or if some one or paper or
> > document that made this task before .
> > i will be highly appreciated.
> > B.rgds
> > Amira
> >
> >
> > On Tue, Oct 29, 2013 at 2:17 PM, Tino Vazquez  wrote:
> >>
> >> Hi,
> >>
> >> On Tue, Oct 29, 2013 at 12:58 PM, aok pan  wrote:
> >> > Dear Tino,
> >> > Many thanks again for your reply .
> >> > please clarify what do you mean by a development (do you mean creating
> >> > API
> >> > or what)?
> >>
> >> Yes, I mean extending the OCCI API or the native XMLRPC interface in
> >> OpenNebula to implement ONE2ONE migration. This is not an easy task.
> >>
> >> > I am not familiar with AppMarket add-on can you please advice a link
> or
> >> > an
> >> > address i can read from in order to be familiar with as you mentioned
> it
> >> > can
> >> > help me with my request.
> >>
> >> AppMarket has been recently turned into an OpenNebula add-on. You can
> >> read about it here: https://github.com/OpenNebula/addon-appmarket
> >>
> >> Regards,
> >>
> >> -Tino
> >>
> >>
> >> > B.rgds
> >> > Amira
> >> &g

Re: [one-users] Fwd: VM migration between clouds (Tino Vazquez)

2013-10-29 Thread aok pan
Dear Tino,
Can you please advice how it is done (extending the OCCI API or the native
XMLRPC interface in
OpenNebula to implement ONE2ONE migration) or if some one or paper or
document that made this task before .
i will be highly appreciated.
B.rgds
Amira


On Tue, Oct 29, 2013 at 2:17 PM, Tino Vazquez  wrote:

> Hi,
>
> On Tue, Oct 29, 2013 at 12:58 PM, aok pan  wrote:
> > Dear Tino,
> > Many thanks again for your reply .
> > please clarify what do you mean by a development (do you mean creating
> API
> > or what)?
>
> Yes, I mean extending the OCCI API or the native XMLRPC interface in
> OpenNebula to implement ONE2ONE migration. This is not an easy task.
>
> > I am not familiar with AppMarket add-on can you please advice a link or
> an
> > address i can read from in order to be familiar with as you mentioned it
> can
> > help me with my request.
>
> AppMarket has been recently turned into an OpenNebula add-on. You can
> read about it here: https://github.com/OpenNebula/addon-appmarket
>
> Regards,
>
> -Tino
>
>
> > B.rgds
> > Amira
> >
> >
> >
> > Hi,
> >
> > Well, the OCCI interface doesn't take migration between cloud
> > environments into account, so a development would need to be made in
> > order to support such feature.
> >
> > Are you familiar with the AppMarket add-on [1] ?  It could be a start
> > for an image based federation, to be extended afterwards (OCCI can fit
> > here, it can be extended to take into account this migration feature).
> >
> > Regards,
> >
> > -Tino
> >
> > [1] https://github.com/OpenNebula/addon-appmarket/blob/master/README.md
> >
> > On Mon, Oct 28, 2013 at 2:14 PM, Tino Vazquez  wrote:
> >> fyi
> >>
> >>
> >> -- Forwarded message --
> >> From: aok pan 
> >> Date: Mon, Oct 28, 2013 at 1:00 PM
> >> Subject: Re: [one-users] VM migration between clouds
> >> To: Tino Vazquez 
> >>
> >>
> >> Dear Tino ,
> >> Thanks your Reply.
> >> I have no idea about cold or hot migration but it is requested from me
> >> to do migration of VM from one cloud to the other using OCCI API can
> >> this be done in any way pls advice .
> >> B.rgds
> >> Amira
> >>
> >>
> >> On Mon, Oct 28, 2013 at 1:54 PM, Tino Vazquez 
> wrote:
> >>>
> >>> Hi Aok,
> >>>
> >>> By default there is no support for VM migration between two clouds.
> >>> But it is very interesting for us, in planning this feature mid to
> >>> long term support, to better understand what is expected of this type
> >>> of federation.
> >>>
> >>> Could you elaborate a bit more on what type of migration are you
> >>> expecting. Are we talking hot or cold migration? Or just simply image
> >>> sharing?
> >>>
> >>> Regards,
> >>>
> >>> -Tino
> >>> --
> >
> >
> > ___
> > 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] Fwd: VM migration between clouds (Tino Vazquez)

2013-10-29 Thread aok pan
Dear Tino,
Many thanks again for your reply .
please clarify what do you mean by a development (do you mean creating API
or what)?
I am not familiar with AppMarket add-on can you please advice a link or an
address i can read from in order to be familiar with as you mentioned it
can help me with my request.
B.rgds
Amira



Hi,

Well, the OCCI interface doesn't take migration between cloud
environments into account, so a development would need to be made in
order to support such feature.

Are you familiar with the AppMarket add-on [1] ?  It could be a start
for an image based federation, to be extended afterwards (OCCI can fit
here, it can be extended to take into account this migration feature).

Regards,

-Tino

[1] https://github.com/OpenNebula/addon-appmarket/blob/master/README.md

On Mon, Oct 28, 2013 at 2:14 PM, Tino Vazquez  wrote:
> fyi
>
>
> -- Forwarded message ----------
> From: aok pan 
> Date: Mon, Oct 28, 2013 at 1:00 PM
> Subject: Re: [one-users] VM migration between clouds
> To: Tino Vazquez 
>
>
> Dear Tino ,
> Thanks your Reply.
> I have no idea about cold or hot migration but it is requested from me
> to do migration of VM from one cloud to the other using OCCI API can
> this be done in any way pls advice .
> B.rgds
> Amira
>
>
> On Mon, Oct 28, 2013 at 1:54 PM, Tino Vazquez  wrote:
>>
>> Hi Aok,
>>
>> By default there is no support for VM migration between two clouds.
>> But it is very interesting for us, in planning this feature mid to
>> long term support, to better understand what is expected of this type
>> of federation.
>>
>> Could you elaborate a bit more on what type of migration are you
>> expecting. Are we talking hot or cold migration? Or just simply image
>> sharing?
>>
>> Regards,
>>
>> -Tino
>> --
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] VM migration between clouds

2013-10-28 Thread aok pan
Dear All,
can you please advice if the migration of VM between two clouds (open
nebula clouds) can happen or not .
Also please if this can happen please advice how?
B.rgds
Amira
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Inter operability VM Migration between Two open nebula clouds

2013-10-21 Thread aok pan
Dear Sir ,
I sent my request before but you didn't reply.
waiting your reply.
I am a master student at the Arab Academy for science and technology
.Alexandria ,Egypt.

I am doing a project on cloud computing interoperability.

I already installed two centos operating systems on my two machines and
then installed open nebula cloud with sunstone GUI.

It is requested from me to do migration of Virtual machines between the two
clouds using the occi.

What i did is as follows:

   1. first step: $ su
   2. then enter the password of the server
   3. in our case : amira30
   4. then $ su - oneadmin
   5. this will appear :[oneadmin@localhost ~]
   6. then write the following command :oneuser show
   7. this will appear :

USER 0
INFORMATION
ID : 0
NAME   : oneadmin
GROUP  : oneadmin
PASSWORD   : b1b3773a05c0ed0176787a4f1574ff0075f7521e
AUTH_DRIVER: core
ENABLED: Yes
USER
TEMPLATE
RESOURCE USAGE & QUOTAS

su
to go to the root and then write the following command
$vim /var/lib/one/.one/occi_auth
the file will appear for you  press insert
and then write :oneadmin:b1b3773a05c0ed0176787a4f1574ff0075f7521e
the after theh one admin is the 
after you finish to save what you have added press 

then
$ occi-server start

then $install yum install curl

now to create vm.xml file write the following:
$vim vm.xml
the white screen of the file will open
press i
then paste the following data:
///
  
  test
  medium
  
 
  
  
 x86_64
  
  
  
  
  
  vnc
  -1
  0.0.0.0
  
  
//

then esc
then : then x then press enter
the the last line .
curl -X POST -u oneadmin:password http://localhost:5678/compute -T vm.xml
didn't show the on the cloud.

so please tell me what is the nest step for migration.



Your reply will be highly appreciated.

B.rgds

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


[one-users] Request

2013-10-19 Thread aok pan
Dear sir,

I am a master student at the Arab Academy for science and technology
.Alexandria ,Egypt.

I am doing a project on cloud computing interoperability.

I already installed two centos operating systems on my two machines and
then installed open nebula cloud with sunstone GUI.

It is requested from me to do migration of Virtual machines between the two
clouds using the occi.

What i did is as follows:

   1. first step: $ su
   2. then enter the password of the server
   3. in our case : amira30
   4. then $ su - oneadmin
   5. this will appear :[oneadmin@localhost ~]
   6. then write the following command :oneuser show
   7. this will appear :

USER 0
INFORMATION
ID : 0
NAME   : oneadmin
GROUP  : oneadmin
PASSWORD   : b1b3773a05c0ed0176787a4f1574ff0075f7521e
AUTH_DRIVER: core
ENABLED: Yes
USER
TEMPLATE
RESOURCE USAGE & QUOTAS

su
to go to the root and then write the following command
$vim /var/lib/one/.one/occi_auth
the file will appear for you  press insert
and then write :oneadmin:b1b3773a05c0ed0176787a4f1574ff0075f7521e
the after theh one admin is the 
after you finish to save what you have added press 

then
$ occi-server start

then $install yum install curl

now to create vm.xml file write the following:
$vim vm.xml
the white screen of the file will open
press i
then paste the following data:
///
  
  test
  medium
  
 
  
  
 x86_64
  
  
  
  
  
  vnc
  -1
  0.0.0.0
  
  
//

then esc
then : then x then press enter
the the last line .
curl -X POST -u oneadmin:password http://localhost:5678/compute -T vm.xml
didn't show the on the cloud.

so please tell me what is the nest step for migration.



Your reply will be highly appreciated.

B.rgds

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


[one-users] Installing Open Nebula for the first time

2013-06-07 Thread aok pan
Dear All,
can you please advice what i can do to install open nebula cloud i need the
instructions and what is needed to be installed.
can some one please advice me.
B.rgds
Amira okasha
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org