CN110554906A - virtual machine configuration management method and device - Google Patents

virtual machine configuration management method and device Download PDF

Info

Publication number
CN110554906A
CN110554906A CN201910851584.6A CN201910851584A CN110554906A CN 110554906 A CN110554906 A CN 110554906A CN 201910851584 A CN201910851584 A CN 201910851584A CN 110554906 A CN110554906 A CN 110554906A
Authority
CN
China
Prior art keywords
virtual machine
configuration
machine configuration
information
initial
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
CN201910851584.6A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201910851584.6A priority Critical patent/CN110554906A/en
Publication of CN110554906A publication Critical patent/CN110554906A/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
    • 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
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

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 invention provides a virtual machine configuration management method and a virtual machine configuration management device, wherein the method comprises the following steps: receiving virtual machine configuration information including an operating system version submitted by a user; cloning a virtual machine image according to the version of the operating system to generate an initial configuration virtual machine; and the initial configuration virtual machine performs virtual machine configuration according to the virtual machine configuration information by using a system probe. The invention supplies the virtual machine resources and updates the real-time information of the configured resources at regular time, provides a solution for the resource supply and the subsequent operation and maintenance management of a large-scale virtual machine cluster, and simplifies the virtual machine resource management operation steps of operation and maintenance personnel.

Description

Virtual machine configuration management method and device
Technical Field
The invention relates to a computer technology, in particular to a virtual machine configuration management method and device.
Background
With the accelerated development of distributed computing and cloud computing technologies in the IT industry, more and more enterprise software and application solutions are based on a distributed system architecture. The distributed computing comprises: distributed software systems, distributed operating systems, distributed programming and distributed databases, and the like. Distributed programming and distributed databases are mainly described here: distributed programming consists of several independently executable program sub-modules that are distributed over a plurality of intercommunicating computers and are invoked and executed simultaneously. The distributed database is formed by combining a plurality of sub database systems on a plurality of computer nodes, the sub databases on the nodes are controlled by an effective access means, and due to the existence of a plurality of sub databases, the storage process of the database can be synchronously executed in multiple paths, so that the performance and the high availability of the database are improved.
the traditional software application only needs one set of operating system and one database to meet the deployment requirement, but according to the design of a distributed architecture, one application comprises the deployment of the database, and often needs more sets or even dozens of sets of operating systems, and the deployment requirement of the distributed architecture on the operating systems is met by installing virtual machines.
In the traditional computer resource supply process, after a user submits a virtual machine resource application and audits, a brand-new environment suitable for the user is deployed through the operation steps of the method of reinstallation of an operating system or cloning an existing environment, and resource use information including the version, IP (Internet protocol), CPU (Central processing Unit) and memory configuration, users and the like of the virtual machine operating system is registered in an enterprise configuration management system so as to facilitate subsequent operation and maintenance management. However, application projects designed based on a distributed architecture often apply for more than dozens of sets of operating systems, and the traditional method of manually installing one-by-one operating system and registering obviously cannot meet the requirements of operation, maintenance and management efficiency. Aiming at the current large-data distributed virtual machine use scene, the number of virtual machine applications is increased day by day, and the situation that one project applies for more than 32, 64 or even more than 100 virtual machines at one time is very common, so that the traditional manual single-machine allocation is not a feasible scheme any more.
Disclosure of Invention
In order to solve the problem of one-time large-batch application of a user, an embodiment of the present invention provides a method for managing configuration of a virtual machine, including:
receiving virtual machine configuration information including an operating system version submitted by a user;
Cloning a virtual machine image according to the operating system version to generate an initial configuration virtual machine;
and the initial configuration virtual machine performs virtual machine configuration according to the virtual machine configuration information by using a system probe.
In this embodiment of the present invention, the configuration information of the virtual machine further includes: IP address, CPU, memory, hard disk, and file system information.
in this embodiment of the present invention, the virtual machine configuration request further includes: applying for configuring the number of the virtual machines.
In this embodiment of the present invention, the initially configuring the virtual machine by using the system probe according to the virtual machine configuration information includes:
Judging whether the number of the virtual machines subjected to virtual machine configuration is equal to the number of the virtual machines applied for configuration or not;
Determining the number information equal to the number of the virtual machines applied for configuration, and completing configuration;
Otherwise, executing virtual machine image cloning according to the operating system version to generate an initial configuration virtual machine;
And performing virtual machine configuration on the initially configured virtual machine by using a system probe according to the virtual machine configuration demand information.
in this embodiment of the present invention, the initially configuring the virtual machine by using the system probe according to the virtual machine configuration information includes:
The initial configuration virtual machine carries out self-checking according to a preset time parameter by using a system probe, and initial virtual machine configuration information including an operating system version, a CPU, a memory, a hard disk and file system information of the initial configuration virtual machine is obtained;
and comparing the initial virtual machine configuration information with the virtual machine configuration information to configure the virtual machine.
meanwhile, the invention also provides a virtual machine configuration management device, which comprises:
The configuration information receiving module is used for receiving virtual machine configuration information which is submitted by a user and comprises an operating system version;
The mirror image cloning module is used for cloning the mirror image of the virtual machine according to the version of the operating system to generate an initial configuration virtual machine;
And the configuration module is used for carrying out virtual machine configuration on the initial configuration virtual machine by utilizing a system probe according to the virtual machine configuration information.
In the embodiment of the present invention, the configuration module includes:
And the quantity comparison unit is used for judging whether the quantity of the virtual machines subjected to virtual machine configuration is equal to the quantity of the virtual machines applied to configuration.
In the embodiment of the present invention, the configuration module further includes:
The system comprises a self-checking unit, a processing unit and a processing unit, wherein the self-checking unit is used for performing self-checking on the initially configured virtual machine according to a preset time parameter by using a system probe to acquire initial virtual machine configuration information of the initially configured virtual machine, wherein the initial virtual machine configuration information comprises an operating system version, a CPU (central processing unit), a memory, a hard disk and file system information;
and the comparison configuration unit is used for comparing the initial virtual machine configuration information with the virtual machine configuration information to configure the virtual machine.
Meanwhile, the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the method when executing the computer program.
Meanwhile, the invention also provides a computer readable storage medium, and a computer program for executing the method is stored in the computer readable storage medium.
The invention supplies the resources of the virtual machine and updates the real-time information of the configured resources at regular time, provides a brand-new solution idea and method for the resource supply and the subsequent operation and maintenance management of a large-scale virtual machine cluster, simplifies the resource management operation steps of the virtual machine by the operation and maintenance personnel and improves the utilization rate of IT asset virtualization resources.
In order to make the aforementioned and other objects, features and advantages of the invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a virtual machine configuration management method according to the present invention;
Fig. 2 is a block diagram of a virtual machine configuration management apparatus provided in the present invention;
FIG. 3 is a flowchart of an automatic allocation mechanism for virtual machines according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a virtual machine configuration update according to an embodiment of the present invention;
FIG. 5 is a diagram of an electronic device in an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a flowchart of a virtual machine configuration management method provided by the present invention includes:
Step S101, receiving virtual machine configuration information including an operating system version submitted by a user;
Step S102, cloning a virtual machine image according to the version of the operating system to generate an initial configuration virtual machine;
Step S103, the initial configuration virtual machine utilizes the system probe to configure the virtual machine according to the virtual machine configuration information.
in this embodiment of the present invention, the virtual machine configuration information further includes: IP address, CPU, memory, hard disk, and file system information.
In this embodiment of the present invention, the virtual machine configuration request further includes: applying for configuring the number of the virtual machines.
In the embodiment of the present invention, initially configuring a virtual machine by using a system probe to configure the virtual machine according to the virtual machine configuration information includes:
Judging whether the number of the virtual machines subjected to virtual machine configuration is equal to the number of the virtual machines applied for configuration or not;
determining the number information equal to the number of the virtual machines applied for configuration, and completing configuration;
Otherwise, continuing to execute the step S102 and the step S103, namely cloning the virtual machine image according to the operating system version to generate an initial configuration virtual machine; and carrying out virtual machine configuration on the initially configured virtual machine by using a system probe according to the virtual machine configuration demand information.
Meanwhile, the present invention further provides a virtual machine configuration management apparatus, as shown in fig. 2, including:
a configuration information receiving module 201, configured to receive virtual machine configuration information including an operating system version submitted by a user;
the mirror image cloning module 202 is used for cloning the mirror image of the virtual machine according to the version of the operating system to generate an initial configuration virtual machine;
the configuration module 203 is configured to initially configure the virtual machine, and perform virtual machine configuration according to the virtual machine configuration information by using the system probe.
In this embodiment, the configuration module includes:
and the quantity comparison unit is used for judging whether the quantity of the virtual machines subjected to virtual machine configuration is equal to the quantity of the virtual machines applied to configuration. Judging whether the number of the virtual machines subjected to virtual machine configuration is equal to the number of the virtual machines applied for configuration or not; determining the number information equal to the number of the virtual machines applied for configuration, and completing configuration; otherwise, executing the virtual machine mirror cloning according to the version of the operating system again to generate an initial configuration virtual machine; and carrying out virtual machine configuration on the initially configured virtual machine by using a system probe according to the virtual machine configuration demand information.
In the embodiment of the present invention, the configuration module further includes:
the system comprises a self-checking unit, a processing unit and a processing unit, wherein the self-checking unit is used for performing self-checking on the initially configured virtual machine according to a preset time parameter by using a system probe to acquire initial virtual machine configuration information of the initially configured virtual machine, wherein the initial virtual machine configuration information comprises an operating system version, a CPU (central processing unit), a memory, a hard disk and file system information;
and the comparison configuration unit is used for comparing the initial virtual machine configuration information with the virtual machine configuration information to configure the virtual machine. In this embodiment, the IP address is used as a comparison preference, whether the initial virtual machine configuration information and the virtual machine configuration information have the same IP is screened, if not, the power supply of the virtual machine is turned off, an abnormal report is waited to be fed back by an active user, and if yes, the comparison is continued. The other information parameters in the initial virtual machine configuration information are compared with the virtual machine configuration information, and the initial virtual machine configuration information is updated by the virtual machine configuration information for different information.
The technical scheme of the invention is further explained in detail by combining the specific embodiments as follows:
in this embodiment, collecting, by the virtual machine application platform, the virtual machine configuration requirements submitted by the user includes: and key information such as the version of the operating system, the CPU, the memory, the file system, the application quantity and the like is packaged and transmitted to the administrator interface. After the administrator analyzes and collates the actual requirements, in this embodiment, the administrator manually selects a VMware or OpenStack programming interface, fills in information and data such as an actually allocated virtual machine template (existing mirror image), file system information, a CPU memory, and the like, analyzes the information and data into an operating system instruction, transmits the instruction to the programming interface and an IP port, and sets the execution times of serial or parallel virtual machine allocation commands, so that the automatic allocation mechanism of the virtual machine can be repeatedly completed. As for the selected CPU parameters, memory parameters and file system parameters set in the command script, once the virtual machine is successfully distributed, the parameter configuration requirements (non-special requirements) can be met. In this embodiment, the operating system instruction and the command script are both PowerCLI or OpenStack command line instructions (if VMware is selected, the instructions are parsed into PowerCLI instructions).
In an embodiment of the present invention, the reference format of the allocation command is as follows:
The volume-device source, the volume, the id, and the volume (volume-id) of the new type are shown in the figure
id),bootindex=0,size=shutdown=remove--flavor--nic netid=test-gonghang
Sample example:
#nova boot--block-device
source=image,dest=volume,id=4d973e14-4183-4ced-982d-1e90225f092e,voltype=fcda1456-a9ed-40ba
-af55-0a1bd58c724a,bootindex=0,size=100,shutdown=remove--flavor
6c76d5ab-8173-49d7-92ed-5edac4088696--nic net-id=b0bcfd84-60a8-461a-8c78-145f46182e6a
--min-count 10fc2check
and (3) analysis:
image-ID nova image-list template/mirror ID and manifest (determining file system and operating system)
Type of storage of nova volume-type-list
Nova-flag-list default memory/CPU specification list
nic net-id nova net-list/network-list network segment list
-availability-zone nova: dkfzxapp 01com001.domain.tld specifies the computer node to be issued
-min-count:1-MAX batch delivery number
as shown in fig. 3, in the embodiment of the present invention, through an automatic virtual machine allocation mechanism, a user may automatically submit a virtual machine application form to an allocation system, and fill in the form with information such as required virtual machine resource configuration and quantity.
The embodiment can realize the automatic allocation mechanism of the virtual machine, and is realized by linkage of the virtual machine application platform and VMware and OpenStack interface data.
as shown in fig. 3, a user submits a virtual machine application form (including virtual machine configuration, user information, virtual machine number, application, and operating system information), transmits the virtual machine application form to an administrator interface, and after confirming agreement, the administrator selects a VMware or OpenStack programming interface, fills in information and data such as an actually allocated virtual machine template (existing mirror image), file system information, and a CPU memory, and parses the information and data into an operating system instruction.
The embodiment provides an automatic allocation system, which transmits operating system data to a virtualization software Vmware or openstack api programming interface according to an application, and starts a virtual machine image cloning operation. After the cloning of the virtual machine is completed, a set of initially configured virtual machines can be generated, and the automatic distribution system issues configuration information scripts including IP, CPU, internal memory, hard disk, file system and the like through a system probe according to the form information submitted by a user.
And after configuration issuing is completed, checking whether the number of the virtual machines which are applied is met or not, if not, circularly executing the cloning operation of the virtual machines again according to an information form submitted by a user, if so, sending the mail with the allocated IP list information of the virtual machines to the original application user, configuring the virtual machines by the application user according to the IP list information of the virtual machines in the mail, and finishing the automatic allocation process.
the automatic distribution process in the embodiment only needs the operation and maintenance manager to examine and approve the requirements in the whole process, and other operations comprise cloning, configuration and notification, and manual intervention is not needed.
fig. 4 is a flowchart illustrating a virtual machine configuration update according to an embodiment of the present invention. The method comprises the steps that self-checking is carried out on an initially configured virtual machine by using a system probe according to a preset time parameter, and initial virtual machine configuration information including an operating system version, a CPU, a memory, a hard disk and file system information of the initially configured virtual machine is obtained; and comparing the initial virtual machine configuration information with the virtual machine configuration information to configure the virtual machine.
the method and the device send self-checking instructions to all virtual machines provided with system probes in a virtualized resource pool at regular time according to set parameters by a virtual machine configuration continuous updating mechanism.
the instruction scans information such as the os version, IP address, hard disk, memory, and CPU configuration of its own os (i.e., initially configured virtual machine), and stores the information in the temporary database a. The self-checking instruction can be carried out concurrently, so that the completion time is short, and the execution can be set to be completed after half an hour.
starting a comparison process, taking out the first configuration from the temporary database a for comparison, in this embodiment, taking the IP address as a comparison preference, and screening the virtual machines with the same IP address in the enterprise configuration management system through the SQL instruction.
And (3) comparing the process flow 1, namely judging whether the IP? exists in the configuration management system database, if not, closing the power supply of the virtual machine, and waiting for the user to feed back the operation and maintenance manager environment abnormal report, if so, entering a comparison process flow 2.
Comparison scheme 2: and whether the actual virtual machine operating system version is consistent with the registered operating system version in the configuration management system, and if not, updating the configuration management system database. If yes, enter into the comparison scheme 3.
Comparison scheme 3: and whether the actual virtual machine hard disk and the actual virtual machine file system are consistent with the registered hard disk and the registered file system in the configuration management system, and if not, updating the configuration management system database. If yes, enter into the comparison scheme 4.
comparison scheme 4: and whether the actual virtual machine CPU configuration is consistent with the registered operation CPU configuration in the configuration management system, and if not, updating the configuration management system database. If yes, enter into the comparison scheme 5.
Comparison scheme 5: and whether the actual virtual machine memory configuration is consistent with the registered operation memory configuration in the configuration management system, and if not, updating the configuration management system database. If so, determine if it is the last IP in the list. If the IP information is selected, the comparison process is repeated.
The invention fully utilizes the virtualization software interface, links the user application and the enterprise configuration management system in the prior art, automatically supplies virtual machine resources and regularly updates the real-time information of the configured resources. The invention can realize the automatic allocation and configuration updating of the virtual machines, thereby providing a brand-new solution and method for the resource supply and the subsequent operation and maintenance management of large-scale virtual machine clusters, simplifying the resource management operation steps of operation and maintenance personnel and improving the IT asset virtualization resource utilization rate.
Embodiments of the present invention also provide a computer-readable program, where when the program is executed in an electronic device, the program makes a computer execute the virtual machine configuration management function in the electronic device.
an embodiment of the present invention further provides a storage medium storing a computer-readable program, where the computer-readable program enables a computer to execute the virtual machine configuration management function in the electronic device according to the above embodiment.
The present embodiment also provides an electronic device, which may be a desktop computer, a tablet computer, a mobile terminal, and the like, but is not limited thereto. In this embodiment, the electronic device may refer to the foregoing embodiments, and the contents thereof are incorporated herein, and repeated descriptions thereof are omitted.
Fig. 5 is a schematic block diagram of a system configuration of an electronic apparatus 600 according to an embodiment of the present invention. As shown in fig. 5, the electronic device 600 may include a central processor 100 and a memory 140; the memory 140 is coupled to the central processor 100. Notably, this diagram is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
in one embodiment, virtual machine configuration management functions may be integrated into central processor 100. The central processor 100 may be configured to control as follows:
Receiving virtual machine configuration information including an operating system version submitted by a user;
cloning a virtual machine image according to the operating system version to generate an initial configuration virtual machine;
And the initial configuration virtual machine performs virtual machine configuration according to the virtual machine configuration information by using a system probe.
in another embodiment, the virtual machine configuration management apparatus may be configured separately from the central processor 100, for example, the virtual machine configuration management apparatus may be configured as a chip connected to the central processor 100, and the virtual machine configuration management process may be implemented by the control of the central processor.
As shown in fig. 5, the electronic device 600 may further include: communication module 110, input unit 120, audio processing unit 130, display 160, power supply 170. It is noted that the electronic device 600 does not necessarily include all of the components shown in fig. 5; furthermore, the electronic device 600 may also comprise components not shown in fig. 5, which may be referred to in the prior art.
As shown in fig. 5, the central processor 100, sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, the central processor 100 receiving input and controlling the operation of the various components of the electronic device 600.
The memory 140 may be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 100 may execute the program stored in the memory 140 to realize information storage or processing, etc.
The input unit 120 provides input to the cpu 100. The input unit 120 is, for example, a key or a touch input device. The power supply 170 is used to provide power to the electronic device 600. The display 160 is used to display an object to be displayed, such as an image or a character. The display may be, for example, an LCD display, but is not limited thereto.
The memory 140 may be a solid state memory such as Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 140 may also be some other type of device. Memory 140 includes buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application/function storage section 142, and the application/function storage section 142 is used to store application programs and function programs or a flow for executing the operation of the electronic device 600 by the central processing unit 100.
The memory 140 may also include a data store 143, the data store 143 for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by the electronic device. The driver storage portion 144 of the memory 140 may include various drivers of the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging application, address book application, etc.).
The communication module 110 is a transmitter/receiver 110 that transmits and receives signals via an antenna 111. The communication module (transmitter/receiver) 110 is coupled to the central processor 100 to provide an input signal and receive an output signal, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 110 is also coupled to a speaker 131 and a microphone 132 via an audio processor 130 to provide audio output via the speaker 131 and receive audio input from the microphone 132 to implement general telecommunications functions. Audio processor 130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, an audio processor 130 is also coupled to the central processor 100, so that recording on the local can be enabled through a microphone 132, and so that sound stored on the local can be played through a speaker 131.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings. The many features and advantages of the embodiments are apparent from the detailed specification, and thus, it is intended by the appended claims to cover all such features and advantages of the embodiments that fall within the true spirit and scope thereof. Further, since numerous modifications and changes will readily occur to those skilled in the art, it is not desired to limit the embodiments of the invention to the exact construction and operation illustrated and described, and accordingly, all suitable modifications and equivalents may be resorted to, falling within the scope thereof.
as will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
the present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
the principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. a virtual machine configuration management method is characterized by comprising the following steps:
Receiving virtual machine configuration information including an operating system version submitted by a user;
Cloning a virtual machine image according to the operating system version to generate an initial configuration virtual machine;
and the initial configuration virtual machine performs virtual machine configuration according to the virtual machine configuration information by using a system probe.
2. The method for virtual machine configuration management according to claim 1, wherein the virtual machine configuration information further includes: IP address, CPU, memory, hard disk, and file system information.
3. the method for virtual machine configuration management according to claim 1, wherein the virtual machine configuration request further comprises: applying for configuring the number of the virtual machines.
4. The method for virtual machine configuration management according to claim 3, wherein the performing virtual machine configuration by the initial configuration virtual machine according to the virtual machine configuration information using a system probe comprises:
Judging whether the number of the virtual machines subjected to virtual machine configuration is equal to the number of the virtual machines applied for configuration or not;
Determining the number information equal to the number of the virtual machines applied for configuration, and completing configuration;
Otherwise, executing virtual machine image cloning according to the operating system version to generate an initial configuration virtual machine;
and performing virtual machine configuration on the initially configured virtual machine by using a system probe according to the virtual machine configuration demand information.
5. The method for virtual machine configuration management according to claim 2, wherein the performing virtual machine configuration by the initial configuration virtual machine according to the virtual machine configuration information using a system probe comprises:
the initial configuration virtual machine carries out self-checking according to a preset time parameter by using a system probe, and initial virtual machine configuration information including an operating system version, a CPU, a memory, a hard disk and file system information of the initial configuration virtual machine is obtained;
and comparing the initial virtual machine configuration information with the virtual machine configuration information to configure the virtual machine.
6. A virtual machine configuration management apparatus, comprising:
the configuration information receiving module is used for receiving virtual machine configuration information which is submitted by a user and comprises an operating system version;
the mirror image cloning module is used for cloning the mirror image of the virtual machine according to the version of the operating system to generate an initial configuration virtual machine;
And the configuration module is used for carrying out virtual machine configuration on the initial configuration virtual machine by utilizing a system probe according to the virtual machine configuration information.
7. The virtual machine configuration management apparatus according to claim 6, wherein the virtual machine configuration information further includes: IP address, CPU, memory, hard disk, and file system information.
8. the virtual machine configuration management apparatus according to claim 6, wherein the virtual machine configuration request further comprises: applying for configuring the number of the virtual machines.
9. the virtual machine configuration management apparatus according to claim 8, wherein the configuration module comprises:
And the quantity comparison unit is used for judging whether the quantity of the virtual machines subjected to virtual machine configuration is equal to the quantity of the virtual machines applied to configuration.
10. The virtual machine configuration management apparatus according to claim 7, wherein the configuration module further comprises:
the system comprises a self-checking unit, a processing unit and a processing unit, wherein the self-checking unit is used for performing self-checking on the initially configured virtual machine according to a preset time parameter by using a system probe to acquire initial virtual machine configuration information of the initially configured virtual machine, wherein the initial virtual machine configuration information comprises an operating system version, a CPU (central processing unit), a memory, a hard disk and file system information;
and the comparison configuration unit is used for comparing the initial virtual machine configuration information with the virtual machine configuration information to configure the virtual machine.
11. a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 5 when executing the computer program.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 5.
CN201910851584.6A 2019-09-10 2019-09-10 virtual machine configuration management method and device Pending CN110554906A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910851584.6A CN110554906A (en) 2019-09-10 2019-09-10 virtual machine configuration management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910851584.6A CN110554906A (en) 2019-09-10 2019-09-10 virtual machine configuration management method and device

Publications (1)

Publication Number Publication Date
CN110554906A true CN110554906A (en) 2019-12-10

Family

ID=68739769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910851584.6A Pending CN110554906A (en) 2019-09-10 2019-09-10 virtual machine configuration management method and device

Country Status (1)

Country Link
CN (1) CN110554906A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111064747A (en) * 2019-12-30 2020-04-24 奇安信科技集团股份有限公司 Information processing method and system, server, electronic device, medium, and product

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799464A (en) * 2012-06-25 2012-11-28 北京奇虎科技有限公司 Virtual machine creation method, virtual machine creation system, virtual machine resetting method and virtual machine resetting system
CN103309682A (en) * 2012-03-07 2013-09-18 上海聚耘信息科技有限公司 Fast start and allocation method for virtual machine
CN105159750A (en) * 2015-09-14 2015-12-16 浪潮集团有限公司 Virtual machine creation method and apparatus
CN105677444A (en) * 2015-12-31 2016-06-15 联想(北京)有限公司 Method and device for starting virtual machine
CN106155759A (en) * 2015-03-26 2016-11-23 华为软件技术有限公司 virtual machine batch creation method and device
CN106933650A (en) * 2017-03-03 2017-07-07 北方工业大学 load management method and system of cloud application system
CN108170508A (en) * 2017-12-12 2018-06-15 顺丰科技有限公司 Batch creates method, apparatus, equipment and its storage medium of virtual machine
CN109918096A (en) * 2019-03-20 2019-06-21 浪潮商用机器有限公司 A kind of installation method of server operating system, system and associated component

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309682A (en) * 2012-03-07 2013-09-18 上海聚耘信息科技有限公司 Fast start and allocation method for virtual machine
CN102799464A (en) * 2012-06-25 2012-11-28 北京奇虎科技有限公司 Virtual machine creation method, virtual machine creation system, virtual machine resetting method and virtual machine resetting system
CN106155759A (en) * 2015-03-26 2016-11-23 华为软件技术有限公司 virtual machine batch creation method and device
CN105159750A (en) * 2015-09-14 2015-12-16 浪潮集团有限公司 Virtual machine creation method and apparatus
CN105677444A (en) * 2015-12-31 2016-06-15 联想(北京)有限公司 Method and device for starting virtual machine
CN106933650A (en) * 2017-03-03 2017-07-07 北方工业大学 load management method and system of cloud application system
CN108170508A (en) * 2017-12-12 2018-06-15 顺丰科技有限公司 Batch creates method, apparatus, equipment and its storage medium of virtual machine
CN109918096A (en) * 2019-03-20 2019-06-21 浪潮商用机器有限公司 A kind of installation method of server operating system, system and associated component

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111064747A (en) * 2019-12-30 2020-04-24 奇安信科技集团股份有限公司 Information processing method and system, server, electronic device, medium, and product
CN111064747B (en) * 2019-12-30 2022-07-08 奇安信科技集团股份有限公司 Information processing method and system, server, electronic device, medium, and product

Similar Documents

Publication Publication Date Title
CN108536519B (en) Method for automatically building Kubernetes main node and terminal equipment
US10757197B2 (en) Self-extending cloud
WO2019237586A1 (en) Method and apparatus for managing scheduled tasks, computer device and storage medium
US10754708B2 (en) Orchestrator and console agnostic method to deploy infrastructure through self-describing deployment templates
WO2017114361A1 (en) Method and apparatus for configuring accelerator
CN111984269B (en) Method for providing application construction service and application construction platform
CN107967140B (en) Software modification initiating method, metadata publishing method and device
US10594800B2 (en) Platform runtime abstraction
CN114244717B (en) Configuration method and device of virtual network card resources, computer equipment and medium
US10324701B1 (en) Rapid deployment of computing instances
CN111984270A (en) Application deployment method and system
CN113495732A (en) Server deployment method, device, equipment and readable storage medium
US10341181B2 (en) Method and apparatus to allow dynamic changes of a replica network configuration in distributed systems
WO2021120180A1 (en) Virtual workspace experience visualization and optimization
CN109144523A (en) Software deployment management method and server, management client, normal client end
US20230221784A1 (en) System and method for power state enforced subscription management
CN111638961A (en) Resource scheduling system and method, computer system, and storage medium
CN104104701A (en) Online service configuration updating method and system
CN115686500A (en) Exposing cloud APIs based on supported hardware
TW202008154A (en) Software container based systems and methods for providing cloud services
CN110554906A (en) virtual machine configuration management method and device
US9191445B2 (en) Systems and methods for managing emulation sessions
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
CN113268272B (en) Application delivery method, device and system based on private cloud
US11757976B2 (en) Unified application management for heterogeneous application delivery

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191210