CN105511952A - Resource self-migration method and system based on cloud computing platform - Google Patents

Resource self-migration method and system based on cloud computing platform Download PDF

Info

Publication number
CN105511952A
CN105511952A CN201410487099.2A CN201410487099A CN105511952A CN 105511952 A CN105511952 A CN 105511952A CN 201410487099 A CN201410487099 A CN 201410487099A CN 105511952 A CN105511952 A CN 105511952A
Authority
CN
China
Prior art keywords
resource
storage resources
virtual machine
physical machine
computational resource
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
CN201410487099.2A
Other languages
Chinese (zh)
Other versions
CN105511952B (en
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.)
NANJING SUNING ELECTRONIC INFORMATION TECHNOLOGY Co.,Ltd.
Original Assignee
Suning Commerce Group 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 Suning Commerce Group Co Ltd filed Critical Suning Commerce Group Co Ltd
Priority to CN201410487099.2A priority Critical patent/CN105511952B/en
Publication of CN105511952A publication Critical patent/CN105511952A/en
Application granted granted Critical
Publication of CN105511952B publication Critical patent/CN105511952B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a resource self-migration method and system based on a cloud computing platform, belongs to the cloud computing technical field, and can solve the problems that an existing cloud computing resource equalization mechanism cannot ensure computing resource and storage resource to be dispatched on a same physical machine; the resource self-migration method comprises the following steps: mirroring the computing resource and storage resource, configured to a virtual machine, to the corresponding physical machine; checking whether the computing resource and storage resource configured to the virtual machine are mirrored to the same physical machine or not; if not, locating the physical machine with the storage resource, and self-migrating the computing resource to the physical machine with the storage resource.

Description

Based on the resource of cloud computing platform from moving method and system
Technical field
The invention belongs to field of cloud computer technology, be specifically related to a kind of resource based on cloud computing platform from moving method and system.
Background technology
The resources balance mechanism of CloudStack (cloud computing): when creating on cloud computing platform, start or restart virtual machine, need to distribute corresponding computational resource and storage resources to virtual machine, because cloud computing can monitor the service condition of resource in real time, and according to the result monitored, suitable physical machine is selected to dispose computational resource and the storage resources of virtual machine respectively, so the computational resource of virtual machine and storage resources are often deployed in different physical machine.
Virtual machine live migration technology: thermophoresis, is called again dynamic migration or real-time migration, makes IT operation maintenance personnel operating virtual machine can be moved to another physical machine from a physical machine, does not need time out.It is by the running status of whole virtual machine from a physical machine thermophoresis to another physical machine, and after migration, virtual machine is smoothness run still, and user can not perceive any difference.
AutoCS (cloud management platform): this is based on CloudStackAPI (ApplicationProgrammingInterface, application programming interface) secondary development carrying out, with the addition of more management function, and shield some concrete operations of bottom, the environment for use that the friendly interface provided for final user is powerful.
Inventor finds that in prior art, at least there are the following problems: the resources balance of cloud computing mechanism can not ensure that the computational resource that distributes and storage resources are in same physical machine, if computational resource and storage resources can not bring the operation of physical machine slow on Same Physical machine, cause the efficiency of IO lower simultaneously.
Summary of the invention
Technical matters to be solved by this invention comprises, for the above-mentioned problem that the resources balance mechanism of existing cloud computing exists, there is provided a kind of ensure to apply for the computational resource of virtual machine and storage resources in same physical machine, maximize the efficiency of IO, do not destroy again the resource based on cloud computing platform of the original function of shared storage from moving method and system simultaneously.
Solve technical scheme that the technology of the present invention problem adopts be a kind of resource based on cloud computing platform from moving method, it is characterized in that, comprising:
The computational resource of the configuration for virtual machine and storage resources are mirrored in corresponding physical machine;
Whether the computational resource that inquiry is virtual machine configuration and management resource are mirrored on Same Physical machine, and if not, the physical machine at storage resources place, location, by computational resource in the physical machine moving to storage resources place.
Preferably, the described computational resource of the configuration for virtual machine and storage resources being mirrored in corresponding physical machine also comprises before:
Create cluster virtual machine, and be each virtual machine configuration computational resource and storage resources.
Preferably, for each virtual machine configuration computational resource and storage resources specifically comprise:
Be each virtual machine configuration computational resource and storage resources by cloud computing application programming interfaces.
Preferably, described when the computational resource of virtual machine and storage resources are mirrored in corresponding physical machine, also comprise:
The address of the physical machine that the record address of virtual machine and computational resource and storage resources are mirrored to respectively, to locate the physical machine at storage resources place.
Preferably, the described computational resource of virtual machine and storage resources being mirrored in corresponding physical machine also comprises before:
The loading condition of each physical machine is detected, mirror image virtual machine from the lightest physical machine of load by cloud management platform.
Further preferably, computational resource is from the physical machine that load is the lightest in the physical machine moving to storage resources place, carries out from migration the computational resource of virtual machine institute mirror image.
Preferably, the computational resource of described inquiry virtual machine and management resource whether on Same Physical machine, if virtual machine normally works, if not computational resource in the physical machine moving to storage resources place after also comprise:
Periodically the computational resource of each virtual machine and the mirror image situation of storage resources is detected by cloud management platform.
Solve technical scheme that the technology of the present invention problem adopts be a kind of resource based on cloud computing platform from migratory system, it comprises:
Resource management module, for configuring corresponding computational resource and storage resources for each virtual machine;
Whether resources detection module, be mirrored to the physical machine corresponding with it for the computational resource and storage resources detecting each virtual machine;
Resource migration module, moves for the computational resource that detected by resources detection module and the carrying out of storage resources not on Same Physical machine, computational resource is migrated in the physical machine at storage resources place.
Preferably, resource record module, for recording the address of each virtual machine, and the computational resource of each virtual machine and management resource are being mirrored to the address in physical machine.
Beneficial effect of the present invention:
Resource based on cloud computing platform of the present invention from moving method and system according to the actual requirements, the resources balance mechanism solving cloud computing can not ensure computational resource and the problem of storage resources in same physical machine of distribution, the computational resource of the virtual machine of guarantee application and storage resources are in same physical machine, maximize the efficiency of IO, do not destroy again to share storing original function simultaneously.
Accompanying drawing explanation
Fig. 1 is the process schematic from migration of embodiments of the invention 1;
Fig. 2 is that the resource based on cloud computing platform of embodiments of the invention 1 is from the process flow diagram of moving method.
Embodiment
For making those skilled in the art understand technical scheme of the present invention better, below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
The scene of the present embodiment application mainly comprises following four kinds:
The first, when user creates virtual machine time, the resources balance mechanism of cloud computing can make computational resource and storage resources be assigned in different physical machine (HOST).
The second, when user restarts virtual machine time, cloud computing will the computational resource of balanced virtual machine and storage resources again, and now computational resource and storage resources are assigned in different physical machine.
3rd, under some abnormal conditions, such as fissure, the computational resource of virtual machine may occur from migration.
4th, when the physical machine of storage virtual machine mirror image delays machine, the storage resources of virtual machine also may occur from migration.
Wherein, the position fixing process of storage resources is in the present embodiment: according to the existing mechanism of Glusterfs, it is by a hash algorithm by the UUID of stochastic generation (general unique identifier), then obtain a physical machine list, thus determine the physical machine position at storage resources place.And in the present embodiment, be by before being called by hash algorithm at the UUID generated, its value is intercepted and captured, is saved in database.Call the API that Glusterfs provides again, with the UUID intercepted and captured for parameter, go to obtain the physical machine list at storage resources place thus complete the location of storage resources, after having located, by thermophoresis, computational resource having been moved on storage resources.Based on the interface exploitation API that the file system (as GFS, GoogleFileSystem, Google's file system) of other types provides, the location of storage resources also can be carried out.
Moving method and the system of concrete resource are as described below.
Embodiment 1:
Shown in Fig. 1 and 2, the present embodiment provides a kind of resource based on cloud computing platform from moving method, and it comprises the steps:
Step one, establishment cluster virtual machine, and be each virtual machine configuration computational resource and storage resources.
What this step was concrete can be: cloud computing platform detects computational resource and the storage resources of virtual machine image, analyze each physical machine loading condition, from the physical machine that load is the lightest, start virtual machine, user calls cloud computing API (application programming interfaces) by cloud management platform configures corresponding computational resource and storage resources for each virtual machine.
Step 2, the computational resource of virtual machine and storage resources to be mirrored in corresponding physical machine.
While this step is carried out, cloud management platform will record the address of the physical machine that the address of virtual machine and computational resource and storage resources are mirrored to respectively automatically, middlely judges computational resource and storage resources whether by through expecting in same physical machine so that follow-up.
Step 3, by the cloud management platform inquiry computational resource of virtual machine and management resource whether on Same Physical machine, if then perform next step, then after computational resource is in the physical machine moving to storage resources place, perform next step more if not.
Wherein, when occurring in time moving, be from the virtual machine corresponding to the lightest physical machine of load from migration, computational resource and storage resources are moved on Same Physical.
Step 4, virtual machine normally work.
Step 5, cloud computing platform will periodic queries mechanism, periodically detect the computational resource of virtual machine and the position of storage resources, if both are not in same physical machine, immediately trigger computational resource from migration.
The method of the present embodiment, according to the actual requirements, the resources balance mechanism solving cloud computing can not ensure computational resource and the problem of storage resources in same physical machine of distribution, the computational resource of the virtual machine of guarantee application and storage resources are in same physical machine, maximize the efficiency of IO, do not destroy again to share storing original function simultaneously.Simultaneously, based on cloud computing RESTAPI, and Glusterfs (a kind of file system of Gluster company research and development, it is the combination on various different storage server, these servers are merged mutually by Ethernet or infinite bandwidth technology Infiniband and remote direct memory access RDMA, the parallel file system network that final of being formed is large) the monitoring API that provides, utilize the distribution situation of cloud management platform monitors computational resource and storage resources in the whole life cycle of virtual machine, real-time Adjustable calculation distribution of resource, to reach the object that computational resource and storage resources coexist in same physical machine.
Embodiment 2:
The present embodiment provides a kind of resource of cloud computing platform from migratory system, and it comprises:
Resource management module, for configuring corresponding computational resource and storage resources for each virtual machine; Whether resources detection module, be mirrored to the physical machine corresponding with it for the computational resource and storage resources detecting each virtual machine; Resource migration module, moves for the computational resource that detected by resources detection module and the carrying out of storage resources not on Same Physical machine, computational resource is migrated in the physical machine at storage resources place.
When the resource based on cloud computing platform of the present embodiment also comprises from migratory system: resource record module, for recording the address of each virtual machine, and the computational resource of each virtual machine and management resource are being mirrored to the address in physical machine.
The system of the present embodiment can carry out work according to the method described in embodiment 1, be not described in detail at this.
Be understandable that, the illustrative embodiments that above embodiment is only used to principle of the present invention is described and adopts, but the present invention is not limited thereto.For those skilled in the art, without departing from the spirit and substance in the present invention, can make various modification and improvement, these modification and improvement are also considered as protection scope of the present invention.

Claims (9)

1. based on the resource of cloud computing platform from a moving method, it is characterized in that, comprising:
The computational resource of the configuration for virtual machine and storage resources are mirrored in corresponding physical machine;
Whether the computational resource that inquiry is virtual machine configuration and management resource are mirrored on Same Physical machine, and if not, the physical machine at storage resources place, location, by computational resource in the physical machine moving to storage resources place.
2. the resource based on cloud computing platform according to claim 1 is from moving method, it is characterized in that, the described computational resource of the configuration for virtual machine and storage resources being mirrored in corresponding physical machine also comprises before:
Create cluster virtual machine, and be each virtual machine configuration computational resource and storage resources.
3. the resource based on cloud computing platform according to claim 2 is from moving method, it is characterized in that, for each virtual machine configuration computational resource and storage resources specifically comprise:
Be each virtual machine configuration computational resource and storage resources by cloud computing application programming interfaces.
4. the resource based on cloud computing platform according to claim 1 is from moving method, it is characterized in that, described when the computational resource of virtual machine and storage resources being mirrored in corresponding physical machine, also comprises:
The address of the physical machine that the record address of virtual machine and computational resource and storage resources are mirrored to respectively, to locate the physical machine at storage resources place.
5. the resource based on cloud computing platform according to claim 1 is from moving method, it is characterized in that, the described computational resource of virtual machine and storage resources being mirrored in corresponding physical machine also comprises before:
The loading condition of each physical machine is detected, mirror image virtual machine from the lightest physical machine of load by cloud management platform.
6. the resource based on cloud computing platform according to claim 4 is from moving method, it is characterized in that, computational resource is from the physical machine that load is the lightest in the physical machine moving to storage resources place, carries out from migration the computational resource of virtual machine institute mirror image.
7. the resource based on cloud computing platform as claimed in any of claims 1 to 6 is from moving method, it is characterized in that, also comprises:
Cloud management platform periodically detects the computational resource of each virtual machine and the mirror image situation of storage resources.
8. based on the resource of cloud computing platform from a migratory system, it is characterized in that, comprising:
Resource management module, for configuring corresponding computational resource and storage resources for each virtual machine;
Whether resources detection module, be mirrored to the physical machine corresponding with it for the computational resource and storage resources detecting each virtual machine;
Resource migration module, moves for the computational resource that detected by resources detection module and the carrying out of storage resources not on Same Physical machine, computational resource is migrated in the physical machine at storage resources place.
9. the resource based on cloud computing platform according to claim 8 is from migratory system, it is characterized in that, also comprises:
Resource record module, for recording the address of each virtual machine, and the computational resource of each virtual machine and management resource are being mirrored to the address in physical machine.
CN201410487099.2A 2014-09-22 2014-09-22 Resource self-migration method and system based on cloud computing platform Active CN105511952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410487099.2A CN105511952B (en) 2014-09-22 2014-09-22 Resource self-migration method and system based on cloud computing platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410487099.2A CN105511952B (en) 2014-09-22 2014-09-22 Resource self-migration method and system based on cloud computing platform

Publications (2)

Publication Number Publication Date
CN105511952A true CN105511952A (en) 2016-04-20
CN105511952B CN105511952B (en) 2020-02-04

Family

ID=55719958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410487099.2A Active CN105511952B (en) 2014-09-22 2014-09-22 Resource self-migration method and system based on cloud computing platform

Country Status (1)

Country Link
CN (1) CN105511952B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112130955A (en) * 2020-09-02 2020-12-25 中国电子科技网络信息安全有限公司 Virtual machine scheduling method based on converged framework cloud platform
CN112241304A (en) * 2020-10-12 2021-01-19 北京计算机技术及应用研究所 Scheduling method and device for super-converged resources in Loongson cluster and Loongson cluster
CN113467941A (en) * 2021-06-25 2021-10-01 北京汇钧科技有限公司 Method and device for sharing information

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546735A (en) * 2011-01-04 2012-07-04 中兴通讯股份有限公司 Cloud computing system, cloud computing method and cloud
CN102801806A (en) * 2012-08-10 2012-11-28 薛海强 Cloud computing system and cloud computing resource management method
CN103002044A (en) * 2012-12-18 2013-03-27 武汉大学 Method for improving processing capability of multi-platform intelligent terminal
WO2013097147A1 (en) * 2011-12-29 2013-07-04 华为技术有限公司 Cloud computing system and method for managing storage resources therein
CN103248659A (en) * 2012-02-13 2013-08-14 北京华胜天成科技股份有限公司 Method and system for dispatching cloud computed resources
CN103595780A (en) * 2013-11-08 2014-02-19 中国人民解放军理工大学 Cloud computing resource scheduling method based on repeat removing
CN103593226A (en) * 2013-11-04 2014-02-19 国云科技股份有限公司 Method for improving IO performance of disc of virtual machine
CN103856502A (en) * 2012-11-29 2014-06-11 北京华胜天成科技股份有限公司 Method and NAS cluster system for realizing mirror image document thermal migration of virtual machine
CN104008002A (en) * 2014-06-17 2014-08-27 电子科技大学 Target host selection method for deploying virtual machine under cloud platform environment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546735A (en) * 2011-01-04 2012-07-04 中兴通讯股份有限公司 Cloud computing system, cloud computing method and cloud
WO2013097147A1 (en) * 2011-12-29 2013-07-04 华为技术有限公司 Cloud computing system and method for managing storage resources therein
CN103248659A (en) * 2012-02-13 2013-08-14 北京华胜天成科技股份有限公司 Method and system for dispatching cloud computed resources
CN102801806A (en) * 2012-08-10 2012-11-28 薛海强 Cloud computing system and cloud computing resource management method
CN103856502A (en) * 2012-11-29 2014-06-11 北京华胜天成科技股份有限公司 Method and NAS cluster system for realizing mirror image document thermal migration of virtual machine
CN103002044A (en) * 2012-12-18 2013-03-27 武汉大学 Method for improving processing capability of multi-platform intelligent terminal
CN103593226A (en) * 2013-11-04 2014-02-19 国云科技股份有限公司 Method for improving IO performance of disc of virtual machine
CN103595780A (en) * 2013-11-08 2014-02-19 中国人民解放军理工大学 Cloud computing resource scheduling method based on repeat removing
CN104008002A (en) * 2014-06-17 2014-08-27 电子科技大学 Target host selection method for deploying virtual machine under cloud platform environment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
RUIQI SUN1,2,JIE YANG2: "A virtual machine based task scheduling approach to improving data locality for virtualized Hadoop", 《2014 IEEE/ACIS 13TH INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCE (ICIS)》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112130955A (en) * 2020-09-02 2020-12-25 中国电子科技网络信息安全有限公司 Virtual machine scheduling method based on converged framework cloud platform
CN112241304A (en) * 2020-10-12 2021-01-19 北京计算机技术及应用研究所 Scheduling method and device for super-converged resources in Loongson cluster and Loongson cluster
CN112241304B (en) * 2020-10-12 2023-09-26 北京计算机技术及应用研究所 Loongson cluster super-fusion resource scheduling method and device and Loongson cluster
CN113467941A (en) * 2021-06-25 2021-10-01 北京汇钧科技有限公司 Method and device for sharing information

Also Published As

Publication number Publication date
CN105511952B (en) 2020-02-04

Similar Documents

Publication Publication Date Title
CN107689953B (en) Multi-tenant cloud computing-oriented container security monitoring method and system
US10652119B2 (en) Automatic recovery engine with continuous recovery state machine and remote workflows
CN110865867B (en) Method, device and system for discovering application topological relation
CN105631026B (en) Safety data analysis system
CN102694868B (en) A kind of group system realizes and task dynamic allocation method
CN103677967B (en) A kind of remote date transmission system of data base and method for scheduling task
JP5458308B2 (en) Virtual computer system, virtual computer system monitoring method, and network device
EP2838228B1 (en) Alarm correlation analysis method, apparatus, and system
CN103812699A (en) Monitoring management system based on cloud computing
US20140282526A1 (en) Managing and controlling a distributed network service platform
CN107547273B (en) Method and system for guaranteeing high availability of virtual instance of power system
CN107544832B (en) Method, device and system for monitoring process of virtual machine
CN102664747B (en) Cloud calculating platform system
CN105376251A (en) Intrusion detection method and intrusion detection system based on cloud computing
US20150006459A1 (en) Alarm Correlation Analysis Method, Apparatus and System
US20160323160A1 (en) Detection of node.js memory leaks
US20130111018A1 (en) Passive monitoring of virtual systems using agent-less, offline indexing
CN103929502A (en) Cloud platform safe monitor system and method based on virtual machine introspection technology
KR20120025658A (en) Cache system and caching service providing method using structure of cache cloud
CN103399791A (en) Method and device for migrating virtual machines on basis of cloud computing
CN105511952A (en) Resource self-migration method and system based on cloud computing platform
CN111418187A (en) Scalable statistics and analysis mechanism in cloud networks
CN103902401A (en) Virtual machine fault tolerance method and device based on monitoring
US20190243953A1 (en) Enhanced security for multiple node computing platform
EP3306471B1 (en) Automatic server cluster discovery

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20191105

Address after: No. 1-1 Suning Avenue, Xuzhuang Software Park, Xuanwu District, Nanjing City, Jiangsu Province, 210000

Applicant after: Suning cloud computing Co., Ltd

Address before: 210042 Jiangsu, Xuanwu District, Nanjing, Nanjing Road, No. 1, building No. 15

Applicant before: Yun Shang Group Plc of Suning

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201117

Address after: No.1-9 Suning Avenue, Xuanwu District, Nanjing City, Jiangsu Province

Patentee after: NANJING SUNING ELECTRONIC INFORMATION TECHNOLOGY Co.,Ltd.

Address before: No. 1-1 Suning Avenue, Xuzhuang Software Park, Xuanwu District, Nanjing City, Jiangsu Province, 210000

Patentee before: Suning Cloud Computing Co.,Ltd.

TR01 Transfer of patent right