CN102497410A - 一种云计算系统计算资源动态分区的方法 - Google Patents

一种云计算系统计算资源动态分区的方法 Download PDF

Info

Publication number
CN102497410A
CN102497410A CN2011104057344A CN201110405734A CN102497410A CN 102497410 A CN102497410 A CN 102497410A CN 2011104057344 A CN2011104057344 A CN 2011104057344A CN 201110405734 A CN201110405734 A CN 201110405734A CN 102497410 A CN102497410 A CN 102497410A
Authority
CN
China
Prior art keywords
virtual machine
computational resource
physical
machine
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011104057344A
Other languages
English (en)
Other versions
CN102497410B (zh
Inventor
樊兴军
李绍辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WUXI CITY CLOUD COMPUTING CENTER CO.,LTD.
Original Assignee
Dawning Information Industry Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dawning Information Industry Beijing Co Ltd filed Critical Dawning Information Industry Beijing Co Ltd
Priority to CN201110405734.4A priority Critical patent/CN102497410B/zh
Publication of CN102497410A publication Critical patent/CN102497410A/zh
Application granted granted Critical
Publication of CN102497410B publication Critical patent/CN102497410B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

本发明提供了一种云计算系统计算资源动态分区的方法,S1,系统初始化时,在服务器上部署支持虚拟机的操作系统,操作系统被抽象成物理机计算资源,并被划分到物理机计算资源分区进行管理;S2,当系统需要增加虚拟机计算资源时,系统根据分区管理策略从物理机计算资源分区中,选择合适的操作系统,然后系统基于这些操作系统创建虚拟机,并抽象成虚拟机计算资源,系统将创建成功的虚拟机组织成新的虚拟机计算资源分区;S3,当系统需要减少虚拟机计算资源时,系统根据分区策略在虚拟机计算资源分区中选择合适的虚拟机进行删除,当服务器上的虚拟机全部删除后,服务器上只部署了物理操作系统,该操作系统被划分到物理机计算资源分区中,并无需重新部署物理操作系统。

Description

一种云计算系统计算资源动态分区的方法
技术领域
本发明涉及云计算系统管理,特别涉及一种对云计算系统计算资源动态分区的方法。
背景技术
云计算系统中,物理服务器是必不可少的系统资源。在物理服务器上部署操作系统作为物理机资源,在物理服务器上部署虚拟机作为虚拟机资源。物理机资源与虚拟机资源都可以提供计算能力,共同组成了系统的计算资源。
对计算资源的管理,可以将物理机资源与虚拟机资源分为不同的分区,并分别进行管理。这种管理方式的问题是,无法根据系统运行情况,实时的调整物理机资源与虚拟机资源的资源比例,导致有些资源不够用,另外一些资源却闲置。若系统实现对物理机资源与虚拟机资源之间的重新分配,则管理实现上潜在的问题是,重新分配的流程较复杂,很容易形成物理机资源与虚拟机资源之间的空缺,即系统资源(物理服务器)没有被归为物理机资源,也没有归为虚拟机资源,导致物理服务器没有办法被利用,造成系统资源的浪费。
发明内容
为解决上述系统缺陷,本发明提供了一种云计算系统计算资源动态分区的方法。
一种云计算系统计算资源动态分区的方法,所述方法步骤如下:
S1,系统初始化时,在服务器上部署支持虚拟机的操作系统,操作系统被抽象成物理机计算资源,并被划分到物理机计算资源分区进行管理;
S2,当系统需要增加虚拟机计算资源时,系统根据分区管理策略从物理机计算资源分区中,选择合适的操作系统,然后系统基于这些操作系统创建虚拟机,并抽象成虚拟机计算资源,系统将创建成功的虚拟机组织成新的虚拟机计算资源分区;
S3,当系统需要减少虚拟机计算资源时,系统根据分区策略在虚拟机计算资源分区中选择合适的虚拟机进行删除,当服务器上的虚拟机全部删除后,服务器上只部署了物理操作系统,该操作系统被划分到物理机计算资源分区中,并无需重新部署物理操作系统。
优选的,所述操作系统可以提供计算服务,并支持创建虚拟机。
优选的,所述虚拟机计算资源与物理机计算资源在重新分配时,只需要修改操作系统属性,标明该资源属于虚拟机计算资源还是物理机计算资源。
优选的,所述操作系统同时具有虚拟机和物理机属性时,虚拟技术型具有高优先级。
本发明解决了云计算系统中,重新分配物理机资源与虚拟机资源时,管理流程不完善导致的资源空闲问题,从而提供一种物理机资源与虚拟机资源动态调整的分区管理方法,将两种资源进行分区,虚拟机资源分区建立在物理机资源分区之上。
附图说明
以下,结合附图来详细说明本发明的实施例,其中:
图1为资源分区示意图;
具体实施方式
本发明提供一种物理机资源与虚拟机资源动态调整的分区管理方法,将两种资源进行分区,虚拟机资源分区建立在物理机资源分区之上。
下面结合附图和具体实施方式对本发明的方法进行说明。
系统将所有的计算资源分为物理机计算资源与虚拟机计算资源两类。物理机计算资源是指在物理服务器上部署操作系统,提供计算能力的资源。虚拟机计算资源是指在物理服务器上部署可以创建虚拟机的操作系统,提供计算能力的资源。
在本发明中,系统初始化时,服务器上部署了可以创建虚拟机的操作系统。这些操作系统不仅可以创建虚拟机,也可以作为普通的操作系统提供计算能力。这些操作系统被抽象成物理机计算资源并被划分到物理机计算资源分区进行管理。即系统将所有的可管理的物理服务器全部部署操作系统并抽象成物理机计算资源。
属于物理机计算资源分区的操作系统,在系统中具有物理机计算资源的属性。在系统中通过字符串“PhysicalCompute”定义。
当系统接收到请求,需要增加虚拟机计算资源时,系统根据系统资源分区管理策略,从该物理机计算资源分区中,选择出合适的操作系统。这些操作系统被组织成新的虚拟机计算资源分区。系统根据请求,基于这些操作系统创建所需的虚拟机,并将这些虚拟机抽象成虚拟机计算资源。
当系统在某个操作系统上创建完所需的虚拟机时,会将该操作系统在系统中的属性修改为虚拟机计算资源。在系统中通过字符串“VirtualCompute”定义。
系统根据策略,依次在所选择的操作系统上创建虚拟机。成功则修改操作系统属性为虚拟机计算资源,否则不修改其属性,即操作系统属性仍为物理机计算资源。但会对该操作系统加上标签,记录这一操作过程。
步骤3)、当系统需要减少虚拟机计算资源时,系统根据分区策略在虚拟机计算资源分区中选择合适的虚拟机进行删除,当服务器上的虚拟机全部删除后,服务器上只部署了物理操作系统,该操作系统被划分到物理机计算资源分区中,无需重新部署物理操作系统。

Claims (4)

1.一种云计算系统计算资源动态分区的方法,其特征在于:所述方法步骤如下:
S1,系统初始化时,在服务器上部署支持虚拟机的操作系统,操作系统被抽象成物理机计算资源,并被划分到物理机计算资源分区进行管理;
S2,当系统需要增加虚拟机计算资源时,系统根据分区管理策略从物理机计算资源分区中,选择合适的操作系统,然后系统基于这些操作系统创建虚拟机,并抽象成虚拟机计算资源,系统将创建成功的虚拟机组织成新的虚拟机计算资源分区;
S3,当系统需要减少虚拟机计算资源时,系统根据分区策略在虚拟机计算资源分区中选择合适的虚拟机进行删除,当服务器上的虚拟机全部删除后,服务器上只部署了物理操作系统,该操作系统被划分到物理机计算资源分区中,并无需重新部署物理操作系统。
2.如权利要求1所述的方法,其特征在于:所述操作系统可以提供计算服务,并支持创建虚拟机。
3.如权利要求1所述的方法,其特征在于:所述虚拟机计算资源与物理机计算资源在重新分配时,只需要修改操作系统属性,标明该资源属于虚拟机计算资源还是物理机计算资源。
4.如权利要求3所述的方法,其特征在于:所述操作系统同时具有虚拟机和物理机属性时,虚拟技术型具有高优先级。
CN201110405734.4A 2011-12-08 2011-12-08 一种云计算系统计算资源动态分区的方法 Active CN102497410B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110405734.4A CN102497410B (zh) 2011-12-08 2011-12-08 一种云计算系统计算资源动态分区的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110405734.4A CN102497410B (zh) 2011-12-08 2011-12-08 一种云计算系统计算资源动态分区的方法

Publications (2)

Publication Number Publication Date
CN102497410A true CN102497410A (zh) 2012-06-13
CN102497410B CN102497410B (zh) 2014-08-27

Family

ID=46189195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110405734.4A Active CN102497410B (zh) 2011-12-08 2011-12-08 一种云计算系统计算资源动态分区的方法

Country Status (1)

Country Link
CN (1) CN102497410B (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581214A (zh) * 2012-07-20 2014-02-12 中国电信股份有限公司 云硬盘容量伸缩的方法和装置
WO2014140954A1 (en) * 2013-03-12 2014-09-18 International Business Machines Corporation Encapsulating virtual server in hypervisor subpartition
US10817506B2 (en) 2018-05-07 2020-10-27 Microsoft Technology Licensing, Llc Data service provisioning, metering, and load-balancing via service units
CN111857960A (zh) * 2020-07-27 2020-10-30 浪潮云信息技术股份公司 一种计算资源的统一管理方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060206891A1 (en) * 2005-03-10 2006-09-14 International Business Machines Corporation System and method of maintaining strict hardware affinity in a virtualized logical partitioned (LPAR) multiprocessor system while allowing one processor to donate excess processor cycles to other partitions when warranted
CN101163133A (zh) * 2006-10-10 2008-04-16 中国科学院计算技术研究所 一种多机虚拟环境下实现资源共享的通信系统及通信方法
US20080222633A1 (en) * 2007-03-08 2008-09-11 Nec Corporation Virtual machine configuration system and method thereof
CN101398768A (zh) * 2008-10-28 2009-04-01 北京航空航天大学 一种分布式虚拟机监视器系统的构建方法
CN101938416A (zh) * 2010-09-01 2011-01-05 华南理工大学 一种基于动态重配置虚拟资源的云计算资源调度方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060206891A1 (en) * 2005-03-10 2006-09-14 International Business Machines Corporation System and method of maintaining strict hardware affinity in a virtualized logical partitioned (LPAR) multiprocessor system while allowing one processor to donate excess processor cycles to other partitions when warranted
CN101163133A (zh) * 2006-10-10 2008-04-16 中国科学院计算技术研究所 一种多机虚拟环境下实现资源共享的通信系统及通信方法
US20080222633A1 (en) * 2007-03-08 2008-09-11 Nec Corporation Virtual machine configuration system and method thereof
CN101398768A (zh) * 2008-10-28 2009-04-01 北京航空航天大学 一种分布式虚拟机监视器系统的构建方法
CN101938416A (zh) * 2010-09-01 2011-01-05 华南理工大学 一种基于动态重配置虚拟资源的云计算资源调度方法

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XIAOJUN CHEN等: "《A Resource Management Methodology for Collaborative Computing System over Multiple Virtual Machines》", 《JOURNAL OF SOFTWARE》 *
李双权等: "《云计算中服务器虚拟化技术探讨》", 《邮电设计技术》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581214A (zh) * 2012-07-20 2014-02-12 中国电信股份有限公司 云硬盘容量伸缩的方法和装置
WO2014140954A1 (en) * 2013-03-12 2014-09-18 International Business Machines Corporation Encapsulating virtual server in hypervisor subpartition
US9152450B2 (en) 2013-03-12 2015-10-06 International Business Machines Corporation Offloading service requests to a second guest hypervisor in a logical partition shared by a plurality of guest hypervisors
GB2524925A (en) * 2013-03-12 2015-10-07 Ibm Encapsulating virtual server in hypervisor subpartition
US9158571B2 (en) 2013-03-12 2015-10-13 International Business Machines Corporation Offloading service requests to a second guest hypervisor in a logical partition shared by a plurality of guest hypervisors
GB2524925B (en) * 2013-03-12 2020-06-10 Ibm Encapsulating a virtual server in a hypervisor subpartition
US10817506B2 (en) 2018-05-07 2020-10-27 Microsoft Technology Licensing, Llc Data service provisioning, metering, and load-balancing via service units
US10885018B2 (en) 2018-05-07 2021-01-05 Microsoft Technology Licensing, Llc Containerization for elastic and scalable databases
US10970270B2 (en) 2018-05-07 2021-04-06 Microsoft Technology Licensing, Llc Unified data organization for multi-model distributed databases
US10970269B2 (en) 2018-05-07 2021-04-06 Microsoft Technology Licensing, Llc Intermediate consistency levels for database configuration
US11030185B2 (en) 2018-05-07 2021-06-08 Microsoft Technology Licensing, Llc Schema-agnostic indexing of distributed databases
US11321303B2 (en) 2018-05-07 2022-05-03 Microsoft Technology Licensing, Llc Conflict resolution for multi-master distributed databases
US11379461B2 (en) 2018-05-07 2022-07-05 Microsoft Technology Licensing, Llc Multi-master architectures for distributed databases
US11397721B2 (en) 2018-05-07 2022-07-26 Microsoft Technology Licensing, Llc Merging conflict resolution for multi-master distributed databases
CN111857960A (zh) * 2020-07-27 2020-10-30 浪潮云信息技术股份公司 一种计算资源的统一管理方法及系统

Also Published As

Publication number Publication date
CN102497410B (zh) 2014-08-27

Similar Documents

Publication Publication Date Title
US10572285B2 (en) Method and apparatus for elastically scaling virtual machine cluster
CN106033373A (zh) 一种云计算平台中虚拟机资源调度方法和调度系统
CN104461744A (zh) 一种资源分配方法及装置
CN106293868A (zh) 一种云计算环境中虚拟机扩缩容方法及扩缩容系统
CN103064717B (zh) 一种集群系统并行安装软件的装置和方法
CN104572274A (zh) 跨云点迁移系统及方法
CN102932408A (zh) 一种服务器集群的管理方法和平台
CN103067425A (zh) 虚拟机创建方法、虚拟机管理系统及相关设备
CN104679594B (zh) 一种中间件分布式计算方法
WO2022105440A1 (zh) 一种量子与经典混合云平台以及任务执行方法
CN103927305B (zh) 一种对内存溢出进行控制的方法和设备
CN102497410B (zh) 一种云计算系统计算资源动态分区的方法
CN102123084B (zh) 云计算操作系统中资源调度方法及系统
CN101799773A (zh) 并行计算的内存访问方法
WO2015149514A1 (zh) 一种虚拟机的部署方法及装置
CN103297499A (zh) 一种基于云平台的调度方法及系统
CN103310460A (zh) 图像特征提取的方法及系统
CN106201660A (zh) 一种虚拟机自动升级虚拟硬件和软件的方法
CN102609305A (zh) 一种服务器集群中内存共享方法
WO2018196462A1 (zh) 资源调度装置、资源调度系统和资源调度方法
CN113918281A (zh) 一种提升容器云资源扩展效率的方法
CN106326226A (zh) 一种公有云上启动数据库服务的方法及系统
CN113127150A (zh) 云原生系统的快速部署方法、装置、电子设备和存储介质
WO2017107483A1 (zh) 一种虚拟化网管文件下载负载均衡的方法及网管服务器
CN105528371A (zh) 一种执行写任务的方法、装置及系统

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: WUXI CITY CLOUD COMPUTER CENTER CO., LTD.

Effective date: 20150608

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150608

Address after: 100084 Beijing Haidian District City Mill Street No. 64

Patentee after: Dawning Information Industry (Beijing) Co., Ltd.

Patentee after: Wuxi City Cloud Computer Center Co.,Ltd.

Address before: 100084 Beijing Haidian District City Mill Street No. 64

Patentee before: Dawning Information Industry (Beijing) Co., Ltd.

TR01 Transfer of patent right

Effective date of registration: 20220110

Address after: Cetus B-2, National Software Park, No.18 Zhenze Road, New District, Wuxi City, Jiangsu Province, 214135

Patentee after: WUXI CITY CLOUD COMPUTING CENTER CO.,LTD.

Address before: 100084 Beijing Haidian District City Mill Street No. 64

Patentee before: Dawning Information Industry (Beijing) Co.,Ltd.

Patentee before: Wuxi City Cloud Computing Center Co., Ltd

TR01 Transfer of patent right