
云计算
文章平均质量分 70
草上的虫子
熟悉java,php,python,C#,ruby语言,对于云计算paas平台有一定的掌握,目前专注于云计算PAAS,DAAS平台的部署以及架构设计。
展开
-
Cloud Foundry Service Node源码分析及实现
Cloud Foundry Services源码分析之Node引言Service结构在Cloud Foundry中Service的结构不是太复杂,由两个组件组成——Gateway、Node。如图1展示了Service相关的几个主要组件,每个组件有十分明确的分工:图 1 Service相关主要组件Gateway其它组件(Cloud原创 2013-07-30 10:48:40 · 1542 阅读 · 0 评论 -
cloudfoundry添加Django的支持
本文通过给cloudfoundry添加Django的支持,简要介绍添加Framework的方法.(如何添加Runtime请阅读http://oldfritters.iteye.com/blog/1867876) 首先,向blobstore中添加Django以及相关的包,方法同前文中添加Python. 其次,添加package packaging:cf-转载 2013-12-24 12:11:29 · 1217 阅读 · 0 评论 -
给基于bosh安装的cloudfoundry添加python支持
前言: 最近由于项目需要,建立了一个基于cloudfoundry的PaaS云,由于基于bosh安装的cloudfoundry官方代码中未提供对python的支持,所以就必须自己实现了,也就有了本文, 至于使用Django的用户,请参照添加python的方法添加Django. 1.在blobstore中添加python的安装包 这里,我选择了建立一个转载 2013-12-24 12:09:38 · 1135 阅读 · 0 评论 -
解剖cloudfoundry(八)--vmc 的使用
部署好了以后我们很迫不及待的想要试试是不是能够正常的运行,这个时候我们需要一个工具,能够部署应用到CF上面的工具。sudo gem install vmcvmc target http://api.envcloud.nju.edu.cn --target到router的域名。vmc regitser Email:79674293@qq.compassword:123456vmc lo原创 2013-11-29 11:17:03 · 1040 阅读 · 0 评论 -
揭破cloudfoundry(七) --部署遇到的种种问题
1.部署CF时,healthmanager节点部署不上去,总是报Error 400007:‘health_manager/0’ is not running after update.错误。 这个错误刚刚开始的时候也困扰了我好久,去网上搜索了很多资料,比如在cloudfoundry.yml中修改配置文件中的属性,在health_manager节点加上disk等等属性。后来还是没有解决,原创 2013-11-29 11:00:44 · 1626 阅读 · 0 评论 -
cloudfoundry.yml
--- name: testcfdirector_uuid: 13c71e48-b749-48d4-b66a-e3b3ebb924c4release: name: appcloud version: 131 compilation: workers: 4 network: default cloud_properties: ra原创 2013-11-25 18:30:52 · 1355 阅读 · 0 评论 -
揭破cloudfoundry(六)--安装cloudfoundry
前面做了那么多,就是为了这一步,虽说不是很难,却是步步惊心,一路bug.还好楼主大多自己解决了! bosh target 192.168.1.23 git clone git@github.com:cloudfoundry/cf-release.git cd cf-release bosh upload stemcell stemcells/bosh-s原创 2013-11-25 17:45:00 · 1188 阅读 · 0 评论 -
解剖cloudfoundry(五)--bosh的安装。
更新的比较慢,因为属于第一次自己部署,所以会遇到很多问题,然后解决,都需要问题。bosh的安装不算难,但是也有几个蛋疼的地方。首先熟悉下大概步骤。 git clone git@github.com:cloudfoundry/bosh-release.git cd bosh-release git checkout 9e0b649da80a563b原创 2013-11-25 11:24:41 · 1894 阅读 · 0 评论 -
解剖cloudfoundry(四) --micro bosh安装
bosh_cli安装好了以后,接下来就可以安装micro bosh了,首先是下载stemcell% mkdir -p ~/stemcells% cd stemcells% bosh public stemcells ...... To download use 'bosh download public stemcell '.% bosh download public stemcell原创 2013-11-23 11:28:14 · 2022 阅读 · 0 评论 -
解剖cloudfoundry(二)--之前准备的工作
本章节主要讲cloudfoundry的部署之前的准备工作,一般的生产环境需要两台主机,但是公司现在只有一台IBM3650测试机可以用,所以我暂且在这个上开始我的cf的旅程。 首先是vcenter以及vsphere client的安装,可以都装在一台win2008R2的物理机上面,通过vsphere client连接vcenter,通过vcenter管理,创建虚拟机集群,vcent原创 2013-11-22 11:08:57 · 1317 阅读 · 0 评论 -
bosh.yml
--- name: bosh-dev11 director_uuid: 2c672754-f4b5-4898-9f05-cd739a3199a2release: name: bosh version: 11 networks: - name: default subnets: - reserved: - 192.168.1.10 -原创 2013-11-23 17:50:13 · 1256 阅读 · 0 评论 -
解剖cloudfoundry(三) --bosh_cli的安装
上一篇介绍了ubuntu10.04的系统安装以后的一些问题,本编主要着重介绍安装依耐包的安装,使用ruby的工具bundler来完成这个任务。 首先参考 http://blog.youkuaiyun.com/kent45/article/details/16883747 完成ruby的安装以及rvm的安装。 1.$sudo apt-get -y install libsqlit原创 2013-11-22 15:50:43 · 2124 阅读 · 0 评论 -
解剖cloudfoundry(一)
最近由于种种原因,目前公司的cloudfoundry需要我来接手,刚刚来公司的时候接触过半个月,并且部署过测试版本,写了一个helloword部署上去了,不过也只是了解下,并没有升入的了解,后期由于工作任务变动,也就没有继续研究下去,本人只有一点点的ruby基础,所以源代码看起来不是那么容易,但是从总体架构在掌握,我想会好很多,原创 2013-11-21 10:32:02 · 1880 阅读 · 0 评论 -
warden安装启动以及部署python应用总结
最近一阶段时间研究了warden的应用,对于warden代码,本人还没有熟读,不过在部署过程中还是遇到了许多的麻烦,今天拿来个大家分享。 首先我们warden启动的时候原创 2013-08-16 15:01:43 · 1315 阅读 · 5 评论 -
cloudfundry 中warden搭建python2.7环境
最近一段时间对warden深入的了解和研究,发现了不少问题,由于cloudfundry推出比较早,始于(2011年4月12日),warden作为核心的资源隔离容器,更是在第二版本中才推出。很长一段时间觉得warden是一个虚拟的linux环境。这样理解本没有什么错误,但是仔细想想,warden容器可以创建很多的Container,其实每一个Container才真正是一个虚拟的linux环境,其原创 2013-08-19 12:58:11 · 1024 阅读 · 0 评论 -
基于vsphere的bosh部署cloudfoundry
本篇为自己部署的记录,有写的不明确的欢迎指正 1.在其中一台主机上安装虚拟机BoshCli(ubuntu10操作系统),使用一台PC亦可 2.BoshCli上安装ruby环境 参见 http://oldfritters.iteye.com/blog/1824841 3.安装bosh_cli Shell代码 sudo apt-ge转载 2013-12-24 12:14:58 · 1501 阅读 · 0 评论