CompatibleOne Debian & Ubuntu packages

CompatibleOne offers a simple and unique interface allowing for the description of user cloud computing needs, in terms of resources, and their subsequent provisioning on the most appropriate cloud provider.

This page describes how to install it on a Debian or Ubuntu platform.

Packages location and sources (last version: 1.0-6)

So far the following distributions are supported:
Please contact me if you need to run CompatibleOne on another Debian/Ubuntu version.

All the packages are GPG signed; if you want to check the packages' authenticity you must import the CompatibleOne Debian packager's key first. You can do so by running the following commands as root:

gpg --keyserver keys.gnupg.net --recv-key 571A3EB2
gpg -a --export 571A3EB2 | apt-key add -

Depending on your Distribution/Version, add the appropriate line in your /etc/apt/sources.list.

apt-get update

Which packages do you need ?

The CompatibleOne framework is compiled into a set of 48 binary packages. They include libraries, libraries development files, daemons, configuration scripts, documentation, etc... Depending on what you want to do a small subset of packages may be enough; to make things even easier we provide metapackages that allow you to have exactly what you need with a single command:

Getting Started with CompatibleOne

The CompatibleOne packages supply some sample and selftest scripts:

# cd /var/lib/accords
# co-command run /usr/share/doc/compatibleone-accords/hello.csp
Hello, World!
#

Checking the currently running CompatibleOne services:

# co-status
-----------------------------
 Accords Platform Components 
-----------------------------
tcp        0      0 0.0.0.0:8097            0.0.0.0:*               LISTEN      16262/osocciprocci
tcp        0      0 0.0.0.0:8098            0.0.0.0:*               LISTEN      16109/onprocci  
tcp        0      0 0.0.0.0:8099            0.0.0.0:*               LISTEN      16166/azprocci  
tcp        0      0 0.0.0.0:8100            0.0.0.0:*               LISTEN      16198/dcprocci  
tcp        0      0 0.0.0.0:8101            0.0.0.0:*               LISTEN      15833/fileserver
tcp        0      0 0.0.0.0:8102            0.0.0.0:*               LISTEN      15918/ezvm      
tcp        0      0 0.0.0.0:8103            0.0.0.0:*               LISTEN      15928/coips     
tcp        0      0 0.0.0.0:8104            0.0.0.0:*               LISTEN      15908/coees     
tcp        0      0 0.0.0.0:8105            0.0.0.0:*               LISTEN      15876/cosched   
tcp        0      0 0.0.0.0:8106            0.0.0.0:*               LISTEN      15938/slam      
tcp        0      0 0.0.0.0:8107            0.0.0.0:*               LISTEN      15948/copaas    
tcp        0      0 0.0.0.0:8108            0.0.0.0:*               LISTEN      15958/conagios  
tcp        0      0 0.0.0.0:8109            0.0.0.0:*               LISTEN      16230/paasprocci
tcp        0      0 0.0.0.0:8086            0.0.0.0:*               LISTEN      15823/publisher 
tcp        0      0 0.0.0.0:8087            0.0.0.0:*               LISTEN      15843/coss      
tcp        0      0 0.0.0.0:8088            0.0.0.0:*               LISTEN      15855/comons    
tcp        0      0 0.0.0.0:8089            0.0.0.0:*               LISTEN      15898/cops      
tcp        0      0 0.0.0.0:8090            0.0.0.0:*               LISTEN      15888/conets    
tcp        0      0 0.0.0.0:8091            0.0.0.0:*               LISTEN      15865/coobas    
tcp        0      0 0.0.0.0:8092            0.0.0.0:*               LISTEN      15968/parser    
tcp        0      0 0.0.0.0:8093            0.0.0.0:*               LISTEN      15978/broker    
tcp        0      0 0.0.0.0:8286            0.0.0.0:*               LISTEN      16274/cosacs    
tcp        0      0 0.0.0.0:8094            0.0.0.0:*               LISTEN      15988/procci    
tcp        0      0 0.0.0.0:8095            0.0.0.0:*               LISTEN      16077/osprocci  
root@vincent:/var/lib/accords# 
selftest.csp cordscript:
# co-command run /usr/share/doc/compatibleone-accords/selftest.csp |head -20
Accords Platform Category List

http://127.0.0.1:8086/publication/287829aa-d00e-4a0b-b38f-0d3e040c0a92
    What: security
     Why: http://127.0.0.1:8087
  Uptime: 408364
     Who: service-coss1
 
http://127.0.0.1:8086/publication/2774181c-88d8-4880-a97b-015c82b601d2
    What: user
     Why: http://127.0.0.1:8087
  Uptime: 408364
     Who: service-coss2
(...more output deleted...)
# 

You can now fill in your cloud provider credentials in the appropriate configuration files and you're ready to use CompatibleOne.
See /usr/share/doc/compatibleone-accords/CompatibleOne-Howto.txt for more details about the various configuration files.

Pointers

Links

To uninstall everything at once, run the following:
dpkg -P $(dpkg -l \*compatibleone\*|grep compatibleone|awk '{print $2}') libcocspi0 libcocspi-dev libcocarrier0 libcocarrier-dev libcocci0 libcocci-dev libcopabr0 libcopabr-dev libcords0 libcords-dev libcorest0 libcorest-dev libcoxml0 libcoxml-dev libocci0 libocci-dev libpubocci0 libpubocci-dev cosacs;rm -rf /var/l{ib,og}/accords /etc/accords
And to forget about CompatibleOne's packages GPG key, run:
sudo apt-key del 571A3EB2

To force the reinstallation of the existing platform, run:
apt-get install --reinstall $(dpkg -l \*compatibleone\*|grep ^ii|awk '{print $2}')

--
Bug reports, questions & Problems: < vrenardias @ citypassenger . com >