<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><DIV>FYI news from CompatibleOne</DIV> <DIV> </DIV> <DIV><FONT color=#990099>-----</FONT></DIV> <DIV>To : compatible general </DIV> <DIV>from : Jamie Marshall </DIV> <DIV>Date : 11/12/2011 08:05PM<BR></DIV> <DIV> <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: black 2px solid; MARGIN-RIGHT: 0px"> <DIV dir=ltr>Dear All,<BR><BR> <DIV><!--Notes ACF <meta http-equiv="Content-Type" content="text/html; charset=unicode">-->Yesterday morning, Friday the 11th of November 2011, I put the final touches to the integration of the Open Nebula Client within the OpenNebula Procci for use by the Accords brokering and provisioning platform of CompatibleOne.<BR> <DIV dir=ltr><BR>I provide all you with a copy of the manifest and the instance data concerning the two provisioned compute instances, one on the OpenNebula platform at TSP and the other on the OpenStack platform at eNovance. <BR><BR>It is a great moment to actually see that which we have been hoping and working for over these past months actually operational at last.<BR><BR>Looking forward to your remarks and observations, and I would like to add that it has been an great pleasure to work with you all on this project.<BR><BR>Sincerely<BR>Jamie<BR><BR>(ps: the source is published on the ow2 gitorious under the accords platform project )<BR>---------------------------------------------------------------------------------------------------------------------------------------------------------<BR>CompatibleOne : Cloud Agregation Proof of Concept ( IJM, 11/10/2011 )<BR>---------------------------------------------------------------------------------------------------------------------------------------------------------<BR>1) Here is the mixed operation manifest where in red you can see the explicite declaration of use of <FONT color=#c00000>opennebula </FONT>as the provider for the SqlDatabase node, and of <FONT color=#c00000>openstack</FONT> as the provider for the Xwiki node.<BR><BR><FONT color=#76923c><?xml version="1.0" encoding="UTF8"?></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c><manifest name="POCXWIKI" xmlns="http://www.compatibleone.fr/schemes/cords.xsd"></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>        <description></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>        This file contains the description of the X-Wiki System for the Compatible One</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>        Proof of Concept of Automatic Provisioning and Configuration</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>        </description></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>        <node name="sqldatabase" provider="<FONT color=#ff0000>opennebula</FONT>" ></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>                <infrastructure name="dualcore"/></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>                <image name="mysql"/></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>        </node></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>        <node name="xwiki1" provider="<FONT color=#ff0000>openstack</FONT>"></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>                <infrastructure name="quadcore"/></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>                <image name="xwiki"/></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>        </node></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>        <configuration name="pocxwiki"></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>                <action name="connectxwiki1"</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>                        type="cordscript"</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>                        expression="<FONT color=#548dd4>xwiki1.configure(sqldatabase.hostname)</FONT>;"/></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>        </configuration></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>        <account name="compatibleOnePocXwiki"></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>                <user name="jamie"/></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>                <user name="fabio"/></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>                <user name="jeanpierre"/></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>        </account></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>        <security name="public" level="public"/></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c></manifest></FONT><FONT color=#76923c><BR></FONT><BR>2) Here is the information retrieved from the OpenNebula platform concerning the SqlDatabase virtual machine:<BR><BR><FONT color=#76923c>GET /compute/664 HTTP/1.1</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>HTTP/1.1 200 OK</FONT><FONT color=#76923c><BR><BR></FONT><FONT color=#76923c><COMPUTE href="http://localhost:4567/compute/664"></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c><ID>664</ID></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c><NAME>sqldatabase</NAME></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c><INSTANCE_TYPE>small</INSTANCE_TYPE></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c><STATE>ACTIVE</STATE></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c><DISK></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c><STORAGE href="http://localhost:4567/storage/64" name="compatibleOne"/></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c><TYPE>DISK</TYPE></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c><TARGET>hda</TARGET></DISK></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c><NIC></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c><NETWORK href="http://localhost:4567/network/68" name="LAN_Jamie"/></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c><IP>10.142.40.4</IP></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c><MAC>02:00:0a:8e:28:04</MAC></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c></NIC></FONT><FONT color=#76923c><BR></FONT><FONT color=#548dd4><NIC></FONT><FONT color=#548dd4><BR></FONT><FONT color=#548dd4><NETWORK href="http://localhost:4567/network/66" name="PUB_Compatible"/></FONT><FONT color=#548dd4><BR></FONT><FONT color=#548dd4><IP><FONT color=#ff0000>157.159.249.199</FONT></IP></FONT><FONT color=#548dd4><BR></FONT><FONT color=#548dd4><MAC>02:00:9d:9f:f9:c7</MAC></FONT><FONT color=#548dd4><BR></FONT><FONT color=#548dd4></NIC></FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c></COMPUTE></FONT><FONT color=#76923c><BR></FONT><BR>you can see the two network interfaces, the second as its name suggests is the Public interface and the IP address<BR>in red is retrieved by the OnProcci to use as the hostname value for use by the configuration instrcution<BR><FONT color=#76923c><FONT color=#548dd4><BR>       xwiki1.configure(sqldatabase.hostname)</FONT></FONT><BR><BR>from the above manifest.<BR><BR>3) Here is the information retrieved from the OpenStack platform describing the Xwiki virtual machine:<BR><BR><FONT color=#76923c>GET /compute/347</FONT><FONT color=#76923c> HTTP/1.1</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>HTTP/1.1 200 OK</FONT><BR><BR><FONT color=#76923c>{ "server":</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>{ "status":"ACTIVE", "updated":"2011-11-11T09:28:33Z", "hostId":"be5522dad4a1cac65089dbf3b8dde8765d6e5ef9d936a7f78e091622", "user_id":"jamie.marshall", "name":"xwiki1", "links":</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>[</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>{ "href":"http://94.143.114.137:8774/v1.1/prologue/servers/347", "rel":"self"},</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>{ "href":"http://94.143.114.137:8774/prologue/servers/347", "rel":"bookmark"}], "addresses":</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>{ "private":</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>[</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>{ "version":"4", "addr":"10.42.9.5"}]}, "tenant_id":"prologue", "image":</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>{ "id":"39", "links":</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>[</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>{ "href":"http://94.143.114.137:8774/prologue/images/39", "rel":"bookmark"}]}, "created":"2011-11-11T09:28:24Z", "uuid":"25dccf0d-d146-4650-b5b0-f3b3283ce230", "accessIPv4":"", "accessIPv6":"", "key_name":"null", "progress":"100", "flavor":</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>{ "id":"12", "links":</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>[</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>{ "href":"http://94.143.114.137:8774/prologue/flavors/12", "rel":"bookmark"}]}, "config_drive":"", "id":"347", "metadata":</FONT><FONT color=#76923c><BR></FONT><FONT color=#76923c>{ "publisher":"http://127.0.0.1:8086", "ServerName":"xwiki1", "contract":"http://127.0.0.1:8095/openstack/a2a99723-62ea-417f-a35e-3237eca8a118", "<FONT color=#366092>sqldatabase_hostname</FONT>":"<FONT color=#ff0000>157.159.249.199</FONT>"}}}</FONT><FONT color=#76923c><BR><BR><FONT color=#000000>In blue and red you can see that the meta data has been created by the sqldatabase_hostname instruction using the </FONT><FONT color=#000000><BR></FONT><FONT color=#000000>public IP address of the SqlDatabase machine on the OpenNebula platform.</FONT><FONT color=#000000><BR></FONT></FONT><BR>---------------------------------------------------------------------------------------------------------------------------------------------------------<BR>End of Proof of Concept<BR>---------------------------------------------------------------------------------------------------------------------------------------------------------<BR><FONT color=#76923c><FONT color=#000000></FONT></FONT><BR></DIV></DIV></DIV></BLOCKQUOTE></DIV> <DIV></DIV></font>