-
Notifications
You must be signed in to change notification settings - Fork 0
OCCI CLI
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.
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
yum install -y ruby-devel openssl-devel gcc gcc-c++ ruby rubygems
gem install occi-cli
apt-get install -y ruby rubygems ruby-dev
gem install occi-cli
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
You can now check the OCCI CLI is working:
occi --version