【云计算】Cloudify-基于TOSCA规范的开源云应用编排系统
1、cloudify-manager-blueprints:https://github.com/cloudify-cosmo/cloudify-manager-blueprints/tree/3.1-build
可以选择simple或者openstack-nova-net版本(需要调整)。
cloudify-nodecellar-example:https://github.com/cloudify-cosmo/cloudify-nodecellar-example
2、手把手安装Cloudify 3.1:http://www.oschina.net/question/2241484_233747
Cloudify3.1环境搭建和插件集成:http://www.oschina.net/question/2355760_236935
3、cloudify主要帮助文档:
http://getcloudify.org/guide/3.1/quickstart.html
http://getcloudify.org/guide/3.1/quickstart-openstack.html
http://getcloudify.org/guide/3.1/plugin-openstack.html
http://getcloudify.org/guide/3.2/getting-started-write-blueprint.html
http://docs.getcloudify.org/3.3.1/blueprints/overview/
cloudify-hello-world-example:https://github.com/cloudify-cosmo/cloudify-hello-world-example 1、安装Cloudify CLI
mkdir cloudify
apt-get install python-pip -y
apt-get install python-dev -y
pip install cloudify==3.1
cfy --version
Cloudify CLI 3.1.0 (build: 85, date: )
===========================================================
CentOS7.1安装:http://docs.getcloudify.org/3.3.1/installation/from-packages/
centos7 关闭firewall安装iptables并配置:http://linux.it.net.cn/CentOS/fast/2015/0110/11567.html
yum install python-pip -y
sudo rpm -i cloudify-centos-Core-cli-3.3.1-sp_b310.x86_64.rpm
source /opt/cfy/env/bin/activate
cfy --version 2、安装Cloudify Manager
apt-get install git -y
git clone https://github.com/cloudify-cosmo/cloudify-manager-blueprints
cd cloudify-manager-blueprints
git checkout tags/3.1
或者:wget https://github.com/cloudify-cosmo/cloudify-manager-blueprints/archive/3.1-build.zip
cfy init
下载必备软件包:cloudify-manager-pkgs/,修改simple.yaml软件包为NGINX本地路径(http://10.5.24.13/static)
cp inputs.json.template inputs.json
修改inputs.json入参
chmod 400 sys_automation.dat
cfy local create-requirements -o requirements.txt -p simple.yaml
sudo pip install -r requirements.txt
cfy bootstrap -p simple.yaml -i inputs.json cd /opt/cloudify-ui/node_modules/cosmo-ui
nohup node cosmoui.js >/dev/null 2>&1 &
cfy use -t 10.5.24.12
cfy status
=============================================================
CentOS7.1安装:http://docs.getcloudify.org/3.3.1/manager/prerequisites/
yum install lrzsz -y
准备simple-manager-blueprint.yaml本地软件包、simple-manager-blueprint-inputs.yaml输入资源
cfy init
cfy bootstrap --install-plugins -p simple-manager-blueprint.yaml -i simple-manager-blueprint-inputs.yaml
bootstrapping complete
management server is up at 10.5.24.124
cfy use -t 10.5.24.124
cfy status
Getting management services status... [ip=10.5.24.124] Services:
+--------------------------------+---------+
| service | status |
+--------------------------------+---------+
| InfluxDB | running |
| Celery Management | running |
| Logstash | running |
| RabbitMQ | running |
| AMQP InfluxDB | running |
| Manager Rest-Service | running |
| Cloudify UI | running |
| Webserver | running |
| Riemann | running |
| Elasticsearch | running |
+--------------------------------+---------+
安装cloudify-blueprint-composer:http://docs.getcloudify.org/3.3.1/composer/installation/
sudo rpm -Uvh cloudify-blueprint-composer-3.3.0-ga-b300.rpm 3、基本功能体验
git clone https://github.com/cloudify-cosmo/cloudify-nodecellar-example
上传工作流:cfy blueprints upload -b monitor -p openstack.yaml
部署工作流:cfy deployments create -b monitor -d monitor --inputs inputs.json
执行工作流:cfy executions start -w install -d monitor
安装GCC:
yum install gcc -y
yum install python-devel -y mkdir -p ~/.pip/
vi ~/.pip/pip.conf
[global]
timeout = 600
index-url = http://10.6.48.4:8080/simple
trusted-host = 10.6.48.4
extra-index-url = https://pypi.python.org/simple 4、与OpenStack对接
Openstack Configuration:http://getcloudify.org/guide/3.1/plugin-openstack.html 5、Cloudify API文档:http://docs.getcloudify.org/api/#cloudify-rest-api-v2
http://10.5.24.12/api/spec.html#!/spec.json/list_0_1 6、参考资料:
手把手安装Cloudify 3.1:http://www.oschina.net/question/2241484_233747?fromerr=Py51zWho
Cloudify3.1环境搭建和插件集成:http://www.oschina.net/question/2355760_236935?fromerr=lXJRj7mt
工作流定义语法:http://getcloudify.org/guide/3.1/dsl-spec-outputs.html
用graphite diamond做监控:http://my.oschina.net/duoduo3369/blog/338142
Python性能监控Graphite:http://www.mincoder.com/article/5074.shtml
使用Grafana+Diamond+Graphite构造完美监控面板:http://www.tuicool.com/articles/Ff6fIfn
rabbitmq启动失败:http://stackoverflow.com/questions/25816918/not-able-to-start-rabbitmq-server-in-centos-7-using-systemctl
使用 Grafana+collectd+InfluxDB 打造现代监控系统:http://www.tuicool.com/articles/VBZvIri
我搭建的3.3版本,openstack nova-net的MySQL+Django应用示例如下:
【云计算】Cloudify-基于TOSCA规范的开源云应用编排系统的更多相关文章
- 基于Odoo框架的开源在线客服系统
cs_base 开源客服系统,基于 Odoo 的客服模块 cs_base 是在强大的 Odoo 框架的基础上实现的一个在线客服应用 基础模块包含完整的 Web 在线客服的接入,坐席管理等,通过扩展可方 ...
- 云上自动化 vs 云上编排
1 摘要 本文介绍了为什么在一个好的公有云或私有云中必须要有一个编排系统来支持云上自动化,以及实现这个编排系统的困难和各家的努力.同时提供了一套实现编排系统的原型,它包括了理论分析及主体插件框架,还给 ...
- 60款开源云应用【Part 2】(60 Open Source Apps You Can Use in the Cloud)
60款开源云应用[Part 2](60 Open Source Apps You Can Use in the Cloud) 本篇翻译自http://www.datamation.com/open-s ...
- 全球首个开放应用模型 OAM 开源 | 云原生生态周报 Vol. 23
作者 | 临石.元毅.冬岛.衷源.天元 业界要闻 全球首个开放应用模型 OAM 开源 2019 年 10 月 17 日,阿里巴巴合伙人.阿里云智能基础产品事业部总经理蒋江伟(花名:小邪)在 Qcon ...
- DolphinScheduler 荣获 2021 中国开源云联盟优秀开源项目奖!
点击上方 蓝字关注我们 好消息,中国开源云联盟(China Open Source Cloud League,简称"COSCL")于近日公布 2021 杰出开源贡献者.优秀开源项目 ...
- 开源云真机平台-Sonic应用实践
前言 Sonic是一款开源.支持分布式部署.在线自动化测试的私有云真机平台.偶然接触到这个平台是源于虫师的一篇公众号文章<基于Linux 部署 Sonic>,于是结合文章内容和官网尝试搭建 ...
- 60款开源云应用【Part 3】(60 Open Source Apps You Can Use in the Cloud)
60款开源云应用[Part 3](60 Open Source Apps You Can Use in the Cloud) 本篇翻译自http://www.datamation.com/open-s ...
- 【原创】基于Docker的CaaS容器云平台架构设计及市场分析
基于Docker的CaaS容器云平台架构设计及市场分析 ---转载请注明出处,多谢!--- 1 项目背景---概述: “在移动互联网时代,企业需要寻找新的软件交付流程和IT架构,从而实现架构平台化,交 ...
- 视频私有云实战:基于Docker构建点播私有云平台
私有云是为一个客户单独使用而构建的,因而提供对数据.安全性和服务质量的最有效控制.前置条件是客户拥有基础设施,并可以使用基础设施在其上部署应用程序.其核心属性是专有的资源.本篇文章将会结合网易云信的实 ...
随机推荐
- shutdown命令用法
首先我们先创建一个txt文件,添加shutdown -r -f -t 0 ,文件点击另存为,选择所有类型,保存格式为“重启.bat”文件. 说明:shutdown命令用法: /r 关闭 ...
- basePath = request.getScheme()+"://"+request.getServerName()+":"+r
basePath = request.getScheme()+"://"+request.getServerName()+":"+r (2014-06-30 1 ...
- Mount挂载命令使用方法
语法: mount -t 类型 -o 挂接方式 源路径 目标路径 -t 详细选项: 光盘或光盘镜像:iso9660 DOS fat16文件系统:msdos Windows 9x fat32文件 ...
- eclipse-4.4.2安装Groovy插件(其他版本eclipse可参考)
步骤 : 1.启动eclipse,点击help -> Install New Software... 在弹出的窗口中点击:Add... Groovy插件的地址:http://dist.sprin ...
- 利用ant脚本 自动构建svn增量/全量 系统程序升级包
首先请允许我这样说,作为开发或测试,你一定要具备这种 本领.你可以手动打包.部署你的工程,但这不是最好的方法.最好的方式就是全自动化的方式.开发人员提交了代码后,可以自动构建.打包.部署到测试环境. ...
- Xcode常用技巧(1)-使用Xcode进行代码分析及GDB调试
1. 使用Xcode分析代码,分析分为静态分析及动态分析 静态分析:(Xcode-Product-Analyze) 检测代码是否有潜在的内存泄露 编译器认为不太合适的代码 运行结果: 若程序有 ...
- [译]Node.js Best Practices - Part 2
原文: https://blog.risingstack.com/node-js-best-practices-part-2/ 统一风格 在大团队开发JS应用, 创建一个风格指南是很有必要的. 推荐看 ...
- ElasticSearch 2 (6) - 插件安装Head、Kopf与Bigdesk
ElasticSearch 2 (6) - 插件安装Head.Kopf与Bigdesk 摘要 安装Elasticsearch插件Head.Kopf与Bigdesk 版本 elasticsearch版本 ...
- gcc 4.8.3 install centos
http://blog.csdn.net/xlx921027/article/details/17382643
- mac os 基本命令
unix 系统命令行 ,仅供参考 目录操作 命令名 功能描述 使用举例 mkdir 创建一个目录 mkdir dirname rmdir 删除一个目录 rmdir dirname ...