CentOS7 minimal ovirt ovirt-engine-dwh 开发环境搭建

注:本教程的先决条件是CentOS7 minimal ovirt engine 开发环境搭建

  • 设置数据库

create user ovirt_engine_history password 'ovirt_engine_history';
create database ovirt_engine_history owner ovirt_engine_history template template0 encoding 'UTF8' lc_collate 'en_US.UTF-8' lc_ctype 'en_US.UTF-8';

  • 依赖

yum install dom4j apache-commons-collections postgresql-jdbc

  • clone 项目(使用coretek用户)

cd "$HOME/git"
git clone git://gerrit.ovirt.org/ovirt-dwh

  • 编译

make clean install-dev PREFIX="$HOME/ovirt-engine"

  • setup

engine-setup的时候配置ovirt_engine_history

  • 启动

$HOME/ovirt-engine/share/ovirt-engine-dwh/services/ovirt-engine-dwhd/ovirt-engine-dwhd.py start


注:先启动本服务,再启动ovirt-engine

  • 打包

make dist

引用:oVirt DWH开发环境

  • 问题

ovirt ovirt-engine-dwh启动的时候缺乏postgres

How to write patches for DWH
Talend DI各版本

dwh数据统计:Build oVirt Reports Using Grafana

你可能感兴趣的:(CentOS7 minimal ovirt ovirt-engine-dwh 开发环境搭建)