注:本教程的先决条件是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 ovirt-engine-dwh
启动的时候缺乏postgres
网友评论