cloudstack 二次开发内部培训.docx_第1页
cloudstack 二次开发内部培训.docx_第2页
cloudstack 二次开发内部培训.docx_第3页
cloudstack 二次开发内部培训.docx_第4页
免费预览已结束,剩余1页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1 Cloudstack介绍及基础 1.1什么是cloudstack官方:CloudStack is an open source cloud compute platform used to deliver Infrastructure-as-a-ServiceCloudStack is open source software written in java that is designed to deploy and manage large networks of virtual machines, as a highly available, scalable cloud computing platform. CloudStack current supports the most popular hypervisors VMware, Oracle VM, KVM, XenServer and Xen Cloud Platform1.2 Cloudstack组成部分1.2.1整体组成1.2.2官方的系统架构1.3什么是Primary StoragePrimary storage is associated with a cluster, and it stores the disk volumes for all the VMs running on hosts in that cluster. 1.4什么是Second StorageSecondary storage is associated with a zone, and it stores the following: Templates OS images that can be used to boot VMs and can include additional configuration information, such as installed applications ISO images disc images containing data or bootable media for operating systems Disk volume snapshots saved copies of VM data which can be used for data recovery or to create new templates 2架构2.1组件级架构2.2 部署架构3工程结构3.1工程依赖关系说明:util是各个工程的基础工具包,给它们提高诸如网络连接、数据库访问、日志等服务;Api 提供了接口服务;Agent 主要与物理主机交互并完成与server的通信;Server 管理端,将管理的资源持久化,提供UI管理;Core 核心业务实现;Cloud-ovm、cloud-vmware-base 分别为oracle vm及 vmware实现,agent-simulator为测试的模拟器;3.2 工程作用NoProjectPackage NamePurposeNotespriority1utilscloud-util.jarutilities methods that can be used in any projectB2apicloud-api.jarREST API, Agent API, and Java API definitionsA3corecloud-core.jarServerResource implementations.Remember that each ServerResource should be deployable in both a management server and in a remote agent container. Core is also being converted to be one project per ServerResource, as how ovm is done today.A4servercloud-server.jarManagement ServerServer端主要工程A5agentcloud-agent.jarAgent ContainerA6ovmcloud-ovm.jarServerResource for Oracle VMThe future of ServerResource packaging._7agent-simulatorSimulated ServerResource for scale and regression test.Will be very useful if your work does not involve_8vmware-baseServerResource for VmWare_9UIManagement 界面工程包含了 js css images jsp等B10Console-proxy界面控制台代理工程B11Usage使用记录工程B12Build构建工程主要是ant脚本13Deps依赖包工程主要是系统运行依赖的第三方包_14DaemaonizeAgent的守护进程C语言构成_15Scripts脚本工程安装系统时或者系统运行时的shell及python脚本_16Setup安装时资源工程包含了 css xls images shell脚本 db脚本_17Client部署managenment server 的web工程包含了部署server的一些资源文件 web.xml等_18Test测试工程_19Debian系统虚拟机脚本_20Tools工具类包含 ant工具 gcc wafVhdtools_注:编号是红色标示的是我们目前需要关注的项目,优先级按照字典排序由高到低4数据库Cloudstack的数据存储在mysql上总共有2个数据库:数据库名称用户名称密码默认端口cloudcloudcloud3306cloud_usagecloudcloud33064.1 cloud物理数

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论