Jump to: navigation, search


To Install CloudPulse Server

Ubuntu OS Packages

The following required packages are to be installed in ubuntu

  • sudo apt-get update
  • sudo apt-get install python-pip python-dev libmysqlclient-dev

PIP required packages

The required pip modules to be installed

pip install pbr oslo.config pecan keystonemiddleware wsme oslo.concurrency paramiko eventlet oslo.messaging oslo.versionedobjects oslo.db netifaces MySQL-python

Mysql commands

The Mysql commands required for setting up the database .(To be run in the controller)

  • CREATE DATABASE cloudpulse;
  • GRANT ALL PRIVILEGES ON cloudpulse.* TO 'cloudpulse'@'localhost' IDENTIFIED BY 'password';
  • GRANT ALL PRIVILEGES ON cloudpulse.* TO 'cloudpulse'@'%' IDENTIFIED BY 'password';
  • create table `cpulse` ( id int NOT NULL AUTO_INCREMENT, uuid VARBINARY(128), name VARCHAR(128), state VARCHAR(128), created_at timestamp default current_timestamp, updated_at timestamp default 0,testtype VARBINARY(128),result TEXT ,primary key (id));>

Openstack commands

The following services have to be setup to make cloudpulse as a service.

  • openstack user create --password-prompt cloudpulse [prompt will appear asking for password]
  • openstack role add --project service --user cloudpulse admin
  • openstack service create cloudpulse --description "Openstack Health service" --type health
  • openstack endpoint create --publicurl http://controller:9999 --internalurl http://controller:9999 --adminurl http://controller:9999 --region RegionOne cloudpulse

Configuration File Changes

[database] connection = mysql://cloudpulse:password@controller/cpulse?charset=utf8



auth_uri = http://controller:5000/v2.0

project_domain_id = default

project_name = service

user_domain_id = default

password = password

username = cloudpulse

auth_url = http://controller:35357

auth_plugin = password</nowiki>