当前位置:   article > 正文

Mistral部署与使用_mistral本地部署linux

mistral本地部署linux

What is Mistral?

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

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/
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14

生成配置文件

参考: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中添加以下
  • 1
  • 2
  • 3
  • 4
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/614958
推荐阅读
相关标签
  

闽ICP备14008679号