Jump to: navigation, search

Difference between revisions of "Cloudpulse/DeveloperNotes"

(Created page with "== To Install CloudPulse Server == === Ubuntu OS Packages === The following required packages are to be installed in ubuntu --> apt-get update --> apt-get install python-pip...")
 
(Ubuntu OS Packages)
Line 4: Line 4:
 
The following required packages are to be installed in ubuntu
 
The following required packages are to be installed in ubuntu
  
--> apt-get update
+
* sudo apt-get update
--> apt-get install python-pip python-dev libmysqlclient-dev
+
* sudo apt-get install python-pip python-dev libmysqlclient-dev
 
 
  
 
=== PIP required packages ===
 
=== PIP required packages ===

Revision as of 11:04, 8 June 2015

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 'cisco123'; GRANT ALL PRIVILEGES ON cloudpulse.* TO 'cloudpulse'@'%' IDENTIFIED BY 'cisco123'; 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 openstack role add --project service --user cloudpulse admin openstack service create --name cloudpulse --description "Openstack Health service" health openstack endpoint create --publicurl http://controller:9999 --internalurl http://controller:9999 --adminurl http://controller:9999 --region RegionOne health

Configuration File Changes

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

[keystone_authtoken] ... auth_uri = http://controller:5000/v2.0 project_domain_id = default project_name = service user_domain_id = default password = cisco123 username = cloudpulse auth_url = http://controller:35357 auth_plugin = password