Skip to content

OCCI CLI

Vlastimil Holer edited this page Jul 15, 2017 · 8 revisions

The OCCI CLI tool is used to control the cloud and depending on the chosen deployment type, must be installed for

  • standalone deployment, on the host alongside the Cloudify CLI (cfy)
  • advanced deployment, on the Cloudify Manager host

The Cloudify OCCI plugin, which is responsible for interaction between the Cloudify and OCCI cloud provider, relies on the availability of the occi script in common search paths.

Install

make

Gromacs blueprint comes with the Makefile to simplify the deployment process. You can try to bootstrap the OCCI CLI via target bootstrap-occi:

make bootstrap-occi

RHEL/CentOS 7.x

yum install -y ruby-devel openssl-devel gcc gcc-c++ ruby rubygems
gem install occi-cli

Debian/Ubuntu family

apt-get install -y ruby rubygems ruby-dev
gem install occi-cli

From repository

In case you have experienced any problem when installing via gem or if you prefer regular operating system packages, the EGI provides OCCI CLI as part of their Application Database. You can find the package repositories for various Linux distributions and versions there.

An example of installing from the CentOS 7.x repository:

# add repository definition
curl -o /etc/yum.repos.d/rocci-cli.repo \
    'http://repository.egi.eu/community/software/rocci.cli/4.3.x/releases/repofiles/centos-7-x86_64.repo'

# install via yum
yum -y install occi-cli

Check

You can now check the OCCI CLI is working:

occi --version
Clone this wiki locally