赞
踩
Mistral is a workflow service. Most business processes consist of multiple distinct interconnected steps that need to be executed in a particular order in a distributed environment. One can describe such process as a set of tasks and task relations and upload such description to Mistral so that it takes care of state management, correct execution order, parallelism, synchronization and high availability. Mistral also provides flexible task scheduling so that we can run a process according to a specified schedule (i.e. every Sunday at 4.00pm) instead of running it immediately. We call such set of tasks and relations between them a workflow.
https://wiki.openstack.org/wiki/Mistral
环境说明:
· Centos7.2.1511
· Openstack Liberty
· Mistral stable/mitaka
[root@controller ~]# git clone -b stable/mitaka https://github.com/openstack/mistral.git
[root@controller ~]# cd mistral/
[root@controller mistral]# pip install -r requirements.txt
[root@controller mistral]# python setup.py install
# 上述步骤完成后,检查下oslo依赖包的版本。oslo.config的版本最好与下面所示一致。(或不低于3.19.0)
[root@controller ~]# pip list|grep -i oslo.config
oslo.config (3.21.0)
# 检查keystonemiddleware的版本,最好与下面所示一致。
[root@controller ~]# pip list|grep -i keystonemiddleware
keystonemiddleware (4.10.0)
[root@controller mistral]# mkdir -p /etc/mistral /var/log/mistral
[root@controller mistral]# cp etc/* /etc/mistral/
参考:http://docs.openstack.org/developer/mistral/guides/installation_guide.html
[root@controller mistral]# oslo-config-generator --config-file tools/config/config-generator.mistral.conf --output-file etc/mistral.conf
[root@controller mistral]# cp etc/mistral.conf /etc/mistral/
# 配置mistral.conf,要在keystone_authtoken session中添加以下
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。