CN110109732A - A kind of virtual machine management method based on cloud computing - Google Patents

A kind of virtual machine management method based on cloud computing Download PDF

Info

Publication number
CN110109732A
CN110109732A CN201910353381.4A CN201910353381A CN110109732A CN 110109732 A CN110109732 A CN 110109732A CN 201910353381 A CN201910353381 A CN 201910353381A CN 110109732 A CN110109732 A CN 110109732A
Authority
CN
China
Prior art keywords
virtual machine
task
cloud computing
information
method based
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.)
Pending
Application number
CN201910353381.4A
Other languages
Chinese (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.)
Wenzhou Polytechnic
Original Assignee
Wenzhou Polytechnic
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 Wenzhou Polytechnic filed Critical Wenzhou Polytechnic
Priority to CN201910353381.4A priority Critical patent/CN110109732A/en
Publication of CN110109732A publication Critical patent/CN110109732A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to field of cloud computer technology, especially a kind of virtual machine management method based on cloud computing, effective management of virtual machine is completed including input information, storage information, modification host name, reception task, task record and the several steps of execution task, by the name information for modifying virtual machine, to achieve the effect that be grouped for user virtual machine, avoid the problem that identical virtual machine title causes system perturbations, in addition administrative staff are avoided the response of the center to be calculated to service request such as to take a long time, to improve the efficiency of management of virtual machine.

Description

A kind of virtual machine management method based on cloud computing
Technical field
The present invention relates to field of cloud computer technology more particularly to a kind of virtual machine management methods based on cloud computing.
Background technique
" cloud computing is spread in the time of a few years lives closely bound up every nook and cranny with people, virtualizes skill Art have safely, the advantage that is easily managed, while the features such as provide flexibility and diversity for user, in cloud meter in large scale It calculates in environment, the virtual machine of different tissues is likely distributed on same physical host, under cloud computing, uses virtual machine mould Plate creates that virtual machine is very convenient, can batch fast construction working environment, and all configurations are the same;But In the environment of certain domain controls, the identical confusion that will cause domain keyholed back plate reason of host name, or even all cannot successfully be added in domain, at this Under kind scene, it is necessary to which template has when batch creates virtual machine, energy designated virtual machine host name, in addition, many centralized Cloud computing management system used when managing virtual machine or synchronization process scheme, such scheme user experience is very poor, Because some Virtual Machine Manager operations are very time-consuming, responding a request and need several minutes, user can only wait during this period, And it is also possible to system returns to processing failure after equal some times, start from scratch again when re-operating, then inferior To.
Summary of the invention
The purpose of the present invention is to solve identical host name of virtual machine exists in the prior art to cause managerial confusion and pipe It manages and operates the shortcomings that time-consuming, and a kind of virtual machine management method based on cloud computing proposed.
To achieve the goals above, present invention employs following technical solutions:
A kind of virtual machine management method based on cloud computing is designed, is included the following steps;
Step 1: input information, it will be in the name information input cloud computing system of virtual machine;
Step 2: the name information of the virtual machine received is stored into corresponding configuration script, then starts by storage information Virtual machine parses corresponding configuration script;
Step 3: modification host name understands the format and hardware configuration of the file of virtual machine, rationally according to the script information of parsing Modify to the title of virtual machine;
Step 4: receiving task, cloud computing system receives Virtual Machine Manager task requests, then asks the Virtual Machine Manager task Order is asked to be converted to Virtual Machine Manager task;
Step 5: logger task, cloud computing system is by the Virtual Machine Manager task record being converted in task register;
Step 6: executing task, cloud computing system executes order, then, cloud by the way that corresponding management role delivering is corresponding Computing system execution meets the Virtual Machine Manager task that predetermined scheduling rule is scheduled;
Preferably, in step 1, when inputting the operation of name information of virtual machine, it can be user by recording manually Enter, while automatic input can also be carried out according to the title recording program of the virtual machine of setting, wherein what is specifically inputted is virtual The mode of the name information of machine is diversity, mainly has user independently to select.
Preferably, in step 2, during the name information of storage input virtual machine, when virtual machine creating, outside Portion inputs the name information of host name, that is, virtual machine host name of virtual machine, and these name informations are saved in and are matched accordingly It sets in script meeting, meanwhile, under cloud computing, the quantity of the virtual machine of building is different according to actual use situation, so, It is noted that corresponding relationship with each self virtualizing machine, avoids configuration script information from existing chaotic when saving the name information of virtual machine.
Preferably, in step 2, after the process of the configuration script information of cloud computer parsing virtual machine, start virtual machine When configured, then the file of configuration is parsed, wherein parsing includes parsing to the format of configuration file Deng being available for the file format and configuration content instruction of virtual machine configuration after parsing, while corresponding including the virtual machine Hostname.
Preferably, in step 3, after cloud computer completes the parsing to configuration script, system is automatically to virtual machine Title is modified, and mainly by the host name information in the configuration script after parsing, the host name of virtual machine is closed Reason modification, this completes under cloud computing environment, name to the virtual machine of creation has reached carried out for user virtual machine in this way The effect of grouping avoids the problem that identical virtual machine title causes system perturbations.
Preferably, in step 4, it during cloud computing system receives Virtual Machine Manager task requests, needs to be managed The scheduling of task, according to predetermined scheduling rule scheduling virtual machine management role, wherein the management role of virtual machine can be a variety of The management role of type creates virtual machine, deletes virtual machine, updates virtual machine, starting void including several basic management roles Quasi- machine closes virtual machine, restarts virtual machine, and still, the management role of virtual machine is not limited thereto,;In addition, further including to void The further managerial role of quasi- machine, the benefit of task schedule is to can reduce the performance consumption of Automatic dispatching, makes system Treatment effeciency maximizes, and significantly improves the treatment effeciency of distributed system because multithreading can be used for task schedule.
Preferably, in steps of 5, during by Virtual Machine Manager task record in task register, once virtually Machine management role records successfully, then can return success, and continue to execute subsequent step;If Virtual Machine Manager is remembered Record failure, system returns to failure information immediately, wherein failure information includes failure cause, and by the parsing information of failure cause It returns, meanwhile, cloud computer system not only receives the request of single virtual machine management role, can also receive multiple virtual machines in batches Management role request, then each Virtual Machine Manager task requests are converted into a Virtual Machine Manager task, and each void The corresponding business object of quasi- machine management role is associated, without applying remote communication in the task register step, Not complicated service logic, treatment process are stable and efficient.
Preferably, in step 6, when executing the management role of virtual machine, scheduler can be handled by task to dispatch Thread is handled with the task is controlled, wherein number of threads should be the managed multiple for calculating centric quantity, in this way in load balancing In the case where, managed each calculating center can provide service simultaneously, and task processor can be according to the difference of task type The task processing method for calling corresponding types, in a specific task processing method, task processor can be specified with task Distal end calculating center communicated, call its provide remote service, will through reorganization Virtual Machine Manager task hair Calculating center and wait-for-response are given, first records response data after receiving response, then again to calling at thread return Manage result.
A kind of virtual machine management method based on cloud computing proposed by the present invention, beneficial effect are:
1, the name information of cloud computing typing virtual machine of the present invention then by system analysis, and can modify the name of virtual machine Information is claimed to avoid identical virtual machine title from causing system perturbations to achieve the effect that be grouped for user virtual machine The problem of;,
2, the present invention can help administrative staff to retry automatically when encountering Network Abnormal and service request being caused to fail, and support to criticize Initiating business request is measured, while administrative staff being avoided the response of the center to be calculated to service request such as to take a long time, thus Improve the efficiency of management of virtual machine.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the virtual machine management method based on cloud computing proposed by the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.
Referring to Fig.1, a kind of virtual machine management method based on cloud computing, includes the following steps;
Step 1: input information, it will be in the name information input cloud computing system of virtual machine;
Step 2: the name information of the virtual machine received is stored into corresponding configuration script, then starts by storage information Virtual machine parses corresponding configuration script;
Step 3: modification host name understands the format and hardware configuration of the file of virtual machine, rationally according to the script information of parsing Modify to the title of virtual machine;
Step 4: receiving task, cloud computing system receives Virtual Machine Manager task requests, then asks the Virtual Machine Manager task Order is asked to be converted to Virtual Machine Manager task;
Step 5: logger task, cloud computing system is by the Virtual Machine Manager task record being converted in task register;
Step 6: executing task, cloud computing system executes order, then, cloud by the way that corresponding management role delivering is corresponding Computing system execution meets the Virtual Machine Manager task that predetermined scheduling rule is scheduled;
Wherein, in step 1, when inputting the operation of name information of virtual machine, it can be user by carrying out typing manually, Automatic input can also be carried out according to the title recording program of the virtual machine of setting simultaneously, wherein the virtual machine specifically inputted The mode of name information be diversity, mainly there is user independently to select;In step 2, in the title of storage input virtual machine In information process, when virtual machine creating, in the name information of host name, that is, virtual machine host name of external input virtual machine, And these name informations are saved in corresponding configuration script meeting, meanwhile, under cloud computing, the quantity root of the virtual machine of building Factually border service condition is different, so, when saving the name information of virtual machine it is noted that corresponding with each self virtualizing machine Relationship avoids configuration script information from existing chaotic.
In step 2, cloud computer parsing virtual machine configuration script information process after, start virtual machine when need into Row configuration, then parses the file of configuration, wherein parsing includes parsing etc. to the format of configuration file, parsing It is available for the file format and configuration content instruction of virtual machine configuration afterwards, while including the corresponding host name of the virtual machine Claim;In step 3, after cloud computer completes the parsing to configuration script, system automatically modifies to the title of virtual machine, Mainly by the host name information in the configuration script after parsing, the host name of virtual machine is rationally modified, this is with regard to complete At under cloud computing environment, name to the virtual machine of creation has achieved the effect that be grouped for user virtual machine in this way, keep away Exempt from the problem of identical virtual machine title causes system perturbations.
In step 4, during cloud computing system receives Virtual Machine Manager task requests, need to be managed the tune of task Degree, according to predetermined scheduling rule scheduling virtual machine management role, wherein the management role of virtual machine can be a plurality of types of pipes Reason task creates virtual machine, deletes virtual machine, update virtual machine, starting virtual machine, close including several basic management roles It closes virtual machine, restart virtual machine, still, the management role of virtual machine is not limited thereto,;In addition, further including to virtual machine Further managerial role, the benefit of task schedule are to can reduce the performance consumption of Automatic dispatching, imitate the processing of system Rate maximizes, and significantly improves the treatment effeciency of distributed system because multithreading can be used for task schedule;In steps of 5, During by Virtual Machine Manager task record in task register, once the success of Virtual Machine Manager task record, then It can return success, and continue to execute subsequent step;If Virtual Machine Manager record failure, system returns immediately unsuccessfully to be believed Breath, wherein failure information includes failure cause, and the parsing information of failure cause is returned, meanwhile, cloud computer system is not only The request of single virtual machine management role is received, multiple Virtual Machine Manager task requests can also be received in batches, it is then each virtual The request of machine management role is converted into a Virtual Machine Manager task, and the industry that each Virtual Machine Manager task is corresponding Object of being engaged in is associated, without applying remote communication in the task register step, also not no complicated service logic, and treatment process It is stable and efficient.
In step 6, when executing the management role of virtual machine, scheduler can be handled by task to dispatch and control this Task handles thread, wherein number of threads should be the managed multiple for calculating centric quantity, in this way the load balancing the case where Under, managed each calculating center can provide service simultaneously, and task processor can be according to the different calling pair of task type The task processing method for answering type, in a specific task processing method, task processor can with task specify distal end Calculating center is communicated, the remote service for calling it to provide, and will be sent to meter by the Virtual Machine Manager task reorganized Calculation center and wait-for-response first record response data after receiving response, then return to processing result to calling thread again.
The present invention can help administrative staff to retry automatically when encountering Network Abnormal and service request being caused to fail, and support Batch initiating business request, while administrative staff being avoided the response of the center to be calculated to service request such as to take a long time, from And improve the efficiency of management of virtual machine.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto, Anyone skilled in the art in the technical scope disclosed by the present invention, according to the technique and scheme of the present invention and its Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.

Claims (8)

1. a kind of virtual machine management method based on cloud computing, which is characterized in that include the following steps;
Step 1: input information, it will be in the name information input cloud computing system of virtual machine;
Step 2: the name information of the virtual machine received is stored into corresponding configuration script, then starts by storage information Virtual machine parses corresponding configuration script;
Step 3: modification host name understands the format and hardware configuration of the file of virtual machine, rationally according to the script information of parsing Modify to the title of virtual machine;
Step 4: receiving task, cloud computing system receives Virtual Machine Manager task requests, then asks the Virtual Machine Manager task Order is asked to be converted to Virtual Machine Manager task;
Step 5: logger task, cloud computing system is by the Virtual Machine Manager task record being converted in task register;
Step 6: executing task, cloud computing system executes order, then, cloud by the way that corresponding management role delivering is corresponding Computing system execution meets the Virtual Machine Manager task that predetermined scheduling rule is scheduled.
2. a kind of virtual machine management method based on cloud computing according to claim 1, which is characterized in that in step 1, When inputting the operation of name information of virtual machine, user can be by carrying out typing manually, while can also be according to setting The title recording program of virtual machine carry out automatic input, wherein the mode of the name information of the virtual machine specifically inputted is Diversity mainly has user independently to select.
3. a kind of virtual machine management method based on cloud computing according to claim 1, which is characterized in that in step 2, It is void in the host name of external input virtual machine when virtual machine creating during the name information of storage input virtual machine The name information of the host name of quasi- machine, and these name informations are saved in corresponding configuration script meeting, meanwhile, in cloud computing Under, the quantity of the virtual machine of building is different according to actual use situation, so, it is wanted when saving the name information of virtual machine Pay attention to the corresponding relationship of each self virtualizing machine, avoid configuration script information from existing chaotic.
4. a kind of virtual machine management method based on cloud computing according to claim 1, which is characterized in that in step 2, After cloud computer parses the process of the configuration script information of virtual machine, configured when starting virtual machine, then to configuration File parsed, wherein parsing includes parsing etc. to the format of configuration file, is available for after parsing virtual The file format and configuration content instruction of machine configuration, while including the corresponding Hostname of the virtual machine.
5. a kind of virtual machine management method based on cloud computing according to claim 1, which is characterized in that in step 3, After cloud computer completes the parsing to configuration script, system automatically modifies to the title of virtual machine, mainly passes through solution Host name information in configuration script after analysis, the host name of virtual machine is rationally modified, and this completes cloud computing rings Under border, name to the virtual machine of creation has achieved the effect that be grouped for user virtual machine in this way, avoids identical virtual The problem of machine title causes system perturbations.
6. a kind of virtual machine management method based on cloud computing according to claim 1, which is characterized in that in step 4, It during cloud computing system receives Virtual Machine Manager task requests, needs to be managed the scheduling of task, is advised according to predetermined scheduling Then scheduling virtual machine management role, wherein the management role of virtual machine can be a plurality of types of management roles, including several bases This management role creates virtual machine, deletes virtual machine, update virtual machine, starting virtual machine, close virtual machine, restart virtually Machine, still, the management role of virtual machine are not limited thereto,;In addition, further including times further managed to virtual machine Business, the benefit of task schedule is to can reduce the performance consumption of Automatic dispatching, maximizes the treatment effeciency of system, because of task Dispatch the treatment effeciency that multithreading can be used and significantly improve distributed system.
7. a kind of virtual machine management method based on cloud computing according to claim 1, which is characterized in that in steps of 5, During by Virtual Machine Manager task record in task register, once the success of Virtual Machine Manager task record, then It can return success, and continue to execute subsequent step;If Virtual Machine Manager record failure, system returns immediately unsuccessfully to be believed Breath, wherein failure information includes failure cause, and the parsing information of failure cause is returned, meanwhile, cloud computer system is not only The request of single virtual machine management role is received, multiple Virtual Machine Manager task requests can also be received in batches, it is then each virtual The request of machine management role is converted into a Virtual Machine Manager task, and the industry that each Virtual Machine Manager task is corresponding Object of being engaged in is associated, without applying remote communication in the task register step, also not no complicated service logic, and treatment process It is stable and efficient.
8. a kind of virtual machine management method based on cloud computing according to claim 1, which is characterized in that in step 6, When executing the management role of virtual machine, scheduler can be handled by task and handle thread to dispatch and control the task, wherein Number of threads should be the managed multiple for calculating centric quantity, in this way in the case where load balancing, in managed each calculating The heart can provide service simultaneously, and task processor can be according to the different task processing sides for calling corresponding types of task type Method, in a specific task processing method, the distal end calculating center that task processor can be specified with task is communicated, and is adjusted With the remote service that it is provided, it will be sent to calculating center and wait-for-response by the Virtual Machine Manager task reorganized, received First response data is recorded after to response, then returns to processing result to calling thread again.
CN201910353381.4A 2019-04-29 2019-04-29 A kind of virtual machine management method based on cloud computing Pending CN110109732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910353381.4A CN110109732A (en) 2019-04-29 2019-04-29 A kind of virtual machine management method based on cloud computing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910353381.4A CN110109732A (en) 2019-04-29 2019-04-29 A kind of virtual machine management method based on cloud computing

Publications (1)

Publication Number Publication Date
CN110109732A true CN110109732A (en) 2019-08-09

Family

ID=67487433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910353381.4A Pending CN110109732A (en) 2019-04-29 2019-04-29 A kind of virtual machine management method based on cloud computing

Country Status (1)

Country Link
CN (1) CN110109732A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778679A (en) * 2021-09-06 2021-12-10 北京字节跳动网络技术有限公司 Resource scheduling method, resource scheduling device, electronic device and readable storage medium
CN114363334A (en) * 2021-12-30 2022-04-15 阿里巴巴(中国)有限公司 Network configuration method, device and equipment for cloud system and cloud desktop virtual machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019849A (en) * 2012-12-31 2013-04-03 无锡城市云计算中心有限公司 Method for managing virtual machine in cloud computing environment
CN103034527A (en) * 2013-01-09 2013-04-10 上海交通大学 Hybrid virtualization cloud computing resource optimal control method and system
CN105373417A (en) * 2015-11-04 2016-03-02 浪潮(北京)电子信息产业有限公司 Method and system for virtual machine management in cloud computing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019849A (en) * 2012-12-31 2013-04-03 无锡城市云计算中心有限公司 Method for managing virtual machine in cloud computing environment
CN103034527A (en) * 2013-01-09 2013-04-10 上海交通大学 Hybrid virtualization cloud computing resource optimal control method and system
CN105373417A (en) * 2015-11-04 2016-03-02 浪潮(北京)电子信息产业有限公司 Method and system for virtual machine management in cloud computing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778679A (en) * 2021-09-06 2021-12-10 北京字节跳动网络技术有限公司 Resource scheduling method, resource scheduling device, electronic device and readable storage medium
CN113778679B (en) * 2021-09-06 2023-03-10 抖音视界有限公司 Resource scheduling method, resource scheduling device, electronic device and readable storage medium
CN114363334A (en) * 2021-12-30 2022-04-15 阿里巴巴(中国)有限公司 Network configuration method, device and equipment for cloud system and cloud desktop virtual machine
CN114363334B (en) * 2021-12-30 2024-04-02 阿里巴巴(中国)有限公司 Cloud system, network configuration method, device and equipment of cloud desktop virtual machine

Similar Documents

Publication Publication Date Title
CN103593236B (en) Computer equipment, method and device for scheduling service process
CN105893157B (en) A kind of open distributed system resource management and task scheduling system and method
CN107508901A (en) Distributed data processing method, apparatus, server and system
CN103377407B (en) Cloud method for processing business and relevant apparatus and system
CN108108225B (en) A kind of method for scheduling task towards cloud computing platform
BR102018002638A2 (en) SYSTEM FOR OPTIMIZING PROCESS DISTRIBUTION OF AN AUTOMATED PROCESS
CN105095327A (en) Distributed ELT system and scheduling method
CN107918556A (en) A kind of timed task performs method and apparatus in the parallel of multiple servers
CN107943577A (en) Method and apparatus for scheduler task
CN101464810A (en) Service program processing method and server
CN103023980B (en) A kind of method and system of cloud platform processes user service request
CN111338791A (en) Method, device and equipment for scheduling cluster queue resources and storage medium
CN110109732A (en) A kind of virtual machine management method based on cloud computing
CN106815063B (en) Control platform of automation equipment with multiple interaction channels
CN110336859A (en) Task scheduling system under multi-tenant environment
CN109947532A (en) A kind of big data method for scheduling task in education cloud platform
CN112363913B (en) Parallel test task scheduling optimizing method, device and computing equipment
CN110458407A (en) A kind of method for allocating tasks, device and computer readable storage medium
CN104820616B (en) A kind of method and device of task scheduling
US8140552B2 (en) Method and apparatus for optimizing lead time for service provisioning
CN106897124A (en) A kind of multi-tenant request processing method, device and equipment
JP2021005371A5 (en)
CN1327656C (en) Method for updating system apparatus
CN105227648B (en) A kind of subway comprehensive monitoring system time sequence triggering method based on time bucket
CN109446641B (en) Multi-stage reliability modeling analysis method of cloud computing service system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190809

RJ01 Rejection of invention patent application after publication