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

aok pan aokpan at gmail.com
Mon Oct 21 05:28:44 PDT 2013


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 at 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 <password we got from oneuser show 0
command up>
after you finish to save what you have added press <escape button then x>

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:
///////////////////////////////////////////////////////////
  <COMPUTE>
      <NAME>test</NAME>
      <INSTANCE_TYPE>medium</INSTANCE_TYPE>
      <DISK>
         <STORAGE href='0'/>
      </DISK>
      <OS>
         <ARCH>x86_64</ARCH>
      </OS>
      <NIC>
          <NETWORK href='0'/>
      </NIC>
      <GRAPHICS>
          <TYPE>vnc</TYPE>
          <PORT>-1</PORT>
          <LISTEN>0.0.0.0</LISTEN>
      </GRAPHICS>
  </COMPUTE>
//////////////////////////////////////////////////////////////////

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131021/2bcb0de3/attachment-0001.htm>


More information about the Users mailing list