<div dir="ltr"><p class="" id="yui_3_13_0_rc_1_1_1382180088154_2714" style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">
<span id="yui_3_13_0_rc_1_1_1382180088154_2713" style="font-family:'Comic Sans MS'">Dear sir,</span></p><p class="" id="yui_3_13_0_rc_1_1_1382180088154_2712" style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">
<span id="yui_3_13_0_rc_1_1_1382180088154_2711" style="font-family:'Comic Sans MS'">I am a master student at the Arab Academy for science and technology .Alexandria ,Egypt.</span></p><p class="" id="yui_3_13_0_rc_1_1_1382180088154_2710" style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">
<span id="yui_3_13_0_rc_1_1_1382180088154_2709" style="font-family:'Comic Sans MS'">I am doing a project on cloud computing interoperability.</span></p><p class="" id="yui_3_13_0_rc_1_1_1382180088154_2708" style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">
<span id="yui_3_13_0_rc_1_1_1382180088154_2707" style="font-family:'Comic Sans MS'">I already installed two centos operating systems on my two machines and then installed open nebula cloud with sunstone GUI.</span></p>
<p class="" id="yui_3_13_0_rc_1_1_1382180088154_2706" style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">
<span id="yui_3_13_0_rc_1_1_1382180088154_2705" style="font-family:'Comic Sans MS'">It is requested from me to do migration of Virtual machines between the two clouds using the occi.</span></p><p class="" id="yui_3_13_0_rc_1_1_1382180088154_2704" style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">
<span id="yui_3_13_0_rc_1_1_1382180088154_2703" style="font-family:'Comic Sans MS'">What i did is as follows:</span></p><ol start="1" type="1" id="yui_3_13_0_rc_1_1_1382180088154_2692" style="list-style-position:initial;margin:1em 0px 0in;padding:0px 0px 0px 40px;color:rgb(0,0,0);font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">
<li class="" id="yui_3_13_0_rc_1_1_1382180088154_2702" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span id="yui_3_13_0_rc_1_1_1382180088154_2701" style="font-family:'Comic Sans MS'">first step: $ su</span></li>
<li class="" id="yui_3_13_0_rc_1_1_1382180088154_2698" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span id="yui_3_13_0_rc_1_1_1382180088154_2699" style="font-family:'Comic Sans MS'">then enter the password of the server</span></li>
<li class="" id="yui_3_13_0_rc_1_1_1382180088154_2697" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span id="yui_3_13_0_rc_1_1_1382180088154_2700" style="font-family:'Comic Sans MS'">in our case : amira30</span></li>
<li class="" id="yui_3_13_0_rc_1_1_1382180088154_2716" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span id="yui_3_13_0_rc_1_1_1382180088154_2715" style="font-family:'Comic Sans MS'">then $ su - oneadmin</span></li>
<li class="" id="yui_3_13_0_rc_1_1_1382180088154_2696" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span id="yui_3_13_0_rc_1_1_1382180088154_2695" style="font-family:'Comic Sans MS'">this will appear :[oneadmin@localhost ~]</span></li>
<li class="" id="yui_3_13_0_rc_1_1_1382180088154_2694" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span id="yui_3_13_0_rc_1_1_1382180088154_2693" style="font-family:'Comic Sans MS'">then write the following command :oneuser show</span></li>
<li class="" id="yui_3_13_0_rc_1_1_1382180088154_2691" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span id="yui_3_13_0_rc_1_1_1382180088154_2690" style="font-family:'Comic Sans MS'">this will appear :</span></li>
</ol><p class="" id="yui_3_13_0_rc_1_1_1382180088154_2593" style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">
<span id="yui_3_13_0_rc_1_1_1382180088154_2689" style="font-family:Helvetica,sans-serif">USER 0 INFORMATION <br>ID : 0 <br>NAME : oneadmin <br>
GROUP : oneadmin <br>PASSWORD : b1b3773a05c0ed0176787a4f1574ff0075f7521e<br>AUTH_DRIVER : core <br>ENABLED : Yes <br>USER TEMPLATE <br>
RESOURCE USAGE & QUOTAS <br><br></span><span id="yui_3_13_0_rc_1_1_1382180088154_2717" style="font-family:'Comic Sans MS'">su<br>to go to the root and then write the following command<br>$vim /var/lib/one/.one/occi_auth<br>
the file will appear for you press insert <br>and then write :oneadmin:b1b3773a05c0ed0176787a4f1574ff0075f7521e<br>the after theh one admin is the <password we got from oneuser show 0 command up><br>after you finish to save what you have added press <escape button then x><br>
</span><span style="font-family:Helvetica,sans-serif"><br></span><span style="font-family:'Comic Sans MS'">then <br>$ occi-server start<br><br>then $install yum install curl<br><br>now to create vm.xml file write the following:<br>
$vim vm.xml<br>the white screen of the file will open <br>press i<br>then paste the following data:<br></span><span id="yui_3_13_0_rc_1_1_1382180088154_2727" style="font-family:Helvetica,sans-serif">///////////////////////////////////////////////////////////<br>
<COMPUTE><br> <NAME>test</NAME><br> <INSTANCE_TYPE>medium</INSTANCE_TYPE><br> <DISK><br> <STORAGE href='0'/><br> </DISK><br> <OS><br>
<ARCH>x86_64</ARCH><br> </OS><br> <NIC><br> <NETWORK href='0'/><br> </NIC><br> <GRAPHICS><br> <TYPE>vnc</TYPE><br>
<PORT>-1</PORT><br> <LISTEN>0.0.0.0</LISTEN><br> </GRAPHICS><br> </COMPUTE><br>//////////////////////////////////////////////////////////////////<br><br></span><span style="font-family:'Comic Sans MS'">then esc<br>
</span><span id="yui_3_13_0_rc_1_1_1382180088154_2725" style="font-family:Helvetica,sans-serif">then : then x then press enter<br>the the last line .<br>curl -X POST -u oneadmin:password <a rel="nofollow" target="_blank" href="http://localhost:5678/compute" style="margin:0px;padding:0px;background-color:rgba(0,0,0,0);color:purple;outline:none">http://localhost:5678/compute</a> -T vm.xml<br>
didn't show the on the cloud.<br><br></span><span id="yui_3_13_0_rc_1_1_1382180088154_2718" style="font-family:'Comic Sans MS'">so please tell me what is the nest step for migration.</span></p><p class="" id="yui_3_13_0_rc_1_1_1382180088154_2719" style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">
<span style="font-family:'Comic Sans MS'"> </span></p><p class="" id="yui_3_13_0_rc_1_1_1382180088154_2721" style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">
<span id="yui_3_13_0_rc_1_1_1382180088154_2720" style="font-family:'Comic Sans MS'">Your reply will be highly appreciated.</span></p><p class="" id="yui_3_13_0_rc_1_1_1382180088154_2722" style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">
<span style="font-family:'Comic Sans MS'">B.rgds</span></p><p class="" id="yui_3_13_0_rc_1_1_1382180088154_2723" style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">
<span style="font-family:'Comic Sans MS'">Amira</span></p></div>