- 1、本文档共5页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
cloudstack 二次开发内部培训
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 project?B2apicloud-api.jarREST API, Agent API, and Java API definitions?A3corecloud-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 Server?Server端主要工程A5agentcloud-agent.jarAgent Container?A6ovm?cloud-ovm.jarServerResource for Oracle VMThe future of ServerResource packaging._7agent-simulator?Simulated ServerResource for scale and regression test.?Will be very useful if your work
文档评论(0)