CN117193936A - Virtual machine management method, device and equipment under super fusion architecture - Google Patents

Virtual machine management method, device and equipment under super fusion architecture Download PDF

Info

Publication number
CN117193936A
CN117193936A CN202311087625.1A CN202311087625A CN117193936A CN 117193936 A CN117193936 A CN 117193936A CN 202311087625 A CN202311087625 A CN 202311087625A CN 117193936 A CN117193936 A CN 117193936A
Authority
CN
China
Prior art keywords
virtual machine
target
plug
shared
vmtools
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
CN202311087625.1A
Other languages
Chinese (zh)
Other versions
CN117193936B (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.)
SmartX Inc
Original Assignee
SmartX Inc
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 SmartX Inc filed Critical SmartX Inc
Priority to CN202311087625.1A priority Critical patent/CN117193936B/en
Publication of CN117193936A publication Critical patent/CN117193936A/en
Application granted granted Critical
Publication of CN117193936B publication Critical patent/CN117193936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a virtual machine management method, device, equipment and medium under a super fusion architecture, comprising the following steps: constructing a target VMToo s software architecture; establishing a shared directory which can be accessed by both a host and a virtual machine based on a target VMToo s software architecture; acquiring the shared directory information and distributing the shared directory information to a target host, and controlling and managing the loading and reading of the acquired shared directory information by a virtual machine; after the catalog information to be shared is uploaded to the shared catalog, the management virtual machine sends the shared catalog information to the shared catalogs of other host machines through a network, and VMToo s agents in the service virtual machine load and operate plugins from the shared catalogs to manage, configure and monitor the virtual machine, so that the flow of managing the virtual machine is greatly simplified, the expansion and the upgrading are convenient, and the efficiency of management and operation and maintenance is improved.

Description

Virtual machine management method, device and equipment under super fusion architecture
Technical Field
The present invention relates to the field of virtual machines, and in particular, to a method, an apparatus, and a device for managing a virtual machine under a super fusion architecture.
Background
A large number of virtual machines are deployed in a super-converged cluster (cloud platform), and we sometimes need to: (1) obtain virtual machine guest OS information, such as: collecting network configuration, disk, performance data, etc.; (2) configuring a virtual machine guest OS, such as: configuring a network, freezing a file system to make consistent snapshots and the like; (3) verifying availability of the virtual machine guest OS. (4) realizing file sharing of the virtual machine and the host; (5) monitoring the virtual machine, etc. These functions must be implemented by means of agent (VM tools) installed inside the guest OS, i.e. the cloud platform may communicate with VMTools through socket, network, etc. and send related instructions to agents to control the virtual machines, or VMTools send related data to the cloud platform through RPC, virtual serial port, etc.
VMTools is essentially a virtual machine auxiliary software that can enhance the functionality of a virtual machine, facilitating the management of the virtual machine. The general architecture and usage method is that VMTools are installed in a guest OS, which calls an OS API to perform various functions, and for some scenarios, such as VMTools reporting virtual machine information to a host, VMTools may actively transmit data to the host through a serial port or other virtual machine device, and in addition, the host may send instructions to VMTools in the guest OS in an RPC-like manner, and then VMTools perform corresponding operations.
It can be seen that these schemes are basically a C/S architecture, and VMTools can either send data or commands to the host as clients or process requests from the host as servers. However, the user can only use the limited functions existing in VMTools, and different requirements of the user cannot be met.
The main function of VMTools is to manage virtual machines and enhance virtual machine functions. The VMTools software on the market only has the following drawbacks.
(1) Limited functions, and can not be conveniently expanded
In the existing implementation scheme, VMTools bear all functions, which must be installed in each virtual machine, and then the user uses VMTools with fixed and limited functions, which cannot meet various needs of the user and cannot conveniently expand functions, for example: the VMTools only collect disk capacity information of the guest OS, but the user also needs disk usage information, in which case the user can only place demands like VMTools manufacturer, then manufacturer develops and releases new version of VMTools, and finally the user upgrades VMTools. It can be seen that this link is very long, severely impacting the user experience and usage.
(2) Inconvenience of VMTools management and upgrade
VMTools software is installed in each virtual machine, which can cause some virtual machines to be uninstalled. Some virtual machines are provided with different versions, and functions contained in different VMTools versions, even bugs, are generally different, so that the installation and upgrading to a certain version are inconvenient, and in the worst case, each virtual machine is manually installed and upgraded one by one, so that the workload is huge.
In view of the foregoing, it is necessary to provide a virtual machine management method under a super-fusion architecture to overcome the above-mentioned drawbacks.
Disclosure of Invention
The invention aims to provide a virtual machine management method, device and equipment under a super fusion architecture, and provides a brand-new VMTools software architecture which can greatly simplify the process of virtual machine management, facilitate expansion and upgrading and improve the efficiency of management and operation and maintenance.
The invention provides a virtual machine management method under a super fusion architecture, which comprises the following steps:
constructing a target VMTools software architecture;
establishing a shared directory which can be accessed by both a host and a virtual machine based on a target VMTools software architecture;
acquiring the shared directory information and distributing the shared directory information to a target host, and controlling and managing the loading and reading of the acquired shared directory information by a virtual machine;
responding to a service request of a user, running corresponding service according to the service request of the user, loading and reading data in a shared directory based on a VMTools agent in a service virtual machine, and performing automatic running;
storing the result obtained by operation to a database or a remote network for super fusion reading by the VMTools agent;
in the working mode, after the directory information to be shared is uploaded to the shared directory, the management virtual machine sends the shared directory information to the shared directories of other hosts through a network.
Preferably, the shared directory includes a target plugin and a shared file.
Preferably, the establishing the shared directory that is accessible to both the host and the virtual machine based on the target VMTools software architecture includes:
dynamically loading a target plug-in based on the plug-in framework;
the method comprises the steps that a target plug-in is configured to manage, monitor and configure a virtual machine, when the IP of the virtual machine is configured, the target plug-in continuously stores and reads instructions and data from a database or a remote network, wherein the instructions are config_ip, mac addresses, IP addresses, subnet masks and gateways of network cards corresponding to the target virtual machine are specified by the data;
the plug-in frame and the target plug-in are matched with each other to achieve the expected result.
Preferably, the establishing the shared directory that is accessible to both the host and the virtual machine based on the target VMTools software architecture includes:
configuring a target plug-in according to a function, wherein the function realized by the target plug-in at least comprises the step of collecting OS network configuration information;
acquiring the target plug-in and distributing the target plug-in to shared catalogs of different host machines through the management virtual machine;
when the VMtools agent in the corresponding service virtual machine detects that an updated target plug-in is available, loading the updated target plug-in;
and operating the target plug-in on the basis of VM tools to manage, monitor and configure the virtual machine, and storing an operation result to a database, a file or other remote network storage so as to read data from the virtual machine by the super fusion platform.
Preferably, the target VMTools software architecture includes:
configuring a target plug-in on a user interface according to functional requirements;
managing the target plugins according to the granularity of the target plugins;
the target plug-in is a so or dll file.
Preferably, the target VMTools software architecture only needs to add or modify target plug-ins to add functions or repair existing functional bugs in the event that a functional bug occurs.
Preferably, the target insert includes: the first functional plug-in is used for acquiring the attribute, information and performance data of the guest OS of the target virtual machine; a second functional plug-in configured to configure attributes of a target virtual machine guest OS to create a consistent snapshot, the attribute network configuration of the target virtual machine guest OS, a hostname, and a frozen file system; a third functional plug-in for monitoring availability of a destination virtual machine, guest OS, to implement an OS-type HA; a fourth functional plug-in, configured to monitor an application inside the gust OS; and a fifth function plug-in for enhancing the functions of the virtual machine.
The embodiment of the invention also provides a virtual machine management device under the super fusion architecture, wherein the super fusion architecture comprises a plurality of hosts connected through a network, and the management device configured in the hosts comprises:
the shared directory is used for constructing a target VMTools software architecture; establishing a shared directory which can be accessed by both a host and a virtual machine based on a target VMTools software architecture; acquiring the shared directory information and distributing the shared directory information to a target host, and controlling and managing the loading and reading of the acquired shared directory information by a virtual machine;
the management virtual machine is used for acquiring the shared directory information and distributing the shared directory information to the target host machine, and controlling the target virtual machine to load and read the acquired shared directory information;
the service virtual machine is used for responding to the service request of the user, running corresponding service according to the service request of the user, loading and reading data in the shared directory based on the VMTools agent in the service virtual machine and automatically running;
the VMtools agent is used for storing the result obtained by operation into a database or a remote network for super fusion reading;
in the working mode, after the directory information to be shared is uploaded to the shared directory, the management virtual machine sends the shared directory information to the shared directories of other hosts through a network.
The invention also provides an electronic device, comprising:
a memory for storing a processing program;
and the processor is used for realizing the virtual machine management method under the super fusion architecture when executing the processing program.
The invention also provides a computer readable storage medium, wherein a processing program is stored on the computer readable storage medium, and when the processing program is executed by a processor, the virtual machine management method under the super fusion architecture according to the embodiment of the invention is realized.
Aiming at the prior art, the invention has the following beneficial effects:
according to the virtual machine management method under the super fusion architecture, the process of managing the virtual machine can be greatly simplified through the construction of the target VMTools software architecture, the expansion and the upgrading are convenient, and the management and operation efficiency is improved.
The invention provides a VMTools software architecture and a mode for managing a virtual machine in a super fusion environment. The software user can customize the functions of VMTools, add new functions or repair the existing function bug at any time, unlike the existing software with fixed VMTool functions, the user can completely develop and customize own VMTools. The software integrally adopts a central architecture, the release and the upgrade of the VMTools function are completed by a center (management virtual machine), the VMTools service function in the virtual machine is not required to be manually upgraded one by one, all the virtual machines in the cluster in the super-fusion environment can be uniformly managed, and the operation and maintenance efficiency is greatly improved.
Drawings
FIG. 1 is a flow chart of a virtual machine management method under a super fusion architecture according to an embodiment of the invention;
FIG. 2 is a diagram of a VMTools software architecture for an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating steps of a virtual machine management method under a super fusion architecture according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
As shown in FIG. 1, the present invention provides a virtual machine management method under a super-fusion architecture, in which a super-fusion cluster has a plurality of hosts connected through a network. Each host machine is pre-allocated with a shared directory, which can be accessed by both the host machine and the virtual machine, and the shared directory mainly contains plug-ins (plug in) and configuration files, and mainly defines which plug-ins are loaded.
Each host in a cluster runs multiple virtual machines, one of which is a management virtual machine (VM-mgt), mainly responsible for managing distribution plug-ins and (normal) files. There is a yaml format of configuration file defining specific distribution rules in the management virtual machine. The configuration file records the nodes in the cluster, and an uploading file program in the management virtual machine transmits the file, namely the target plug-in and the like, to a specific directory of other nodes through scp. The configuration file may also define which plug-ins, files are specifically distributed to which hosts.
A business virtual machine (VM-uni) runs at each node in the cluster, where various business programs of the user are run, including VMTools resident services as well. And a fuse server is arranged on the host machine node and provides file system side access for the service virtual machines, processes the file system requests of the service virtual machines, and can operate the files in the shared directory through the host machine file system. A virtual_fs.ko kernel module is arranged in a service virtual machine and is used as a FUSE client, and a virtual device is used for exchanging messages and data between the service virtual machine and the client to bear a FUSE protocol, wherein the FUSE is a technology for realizing file system operation in a user space and can provide stronger flexibility and safety for operating files. In order to further improve the I/O performance, the hypervisor of the virtual machine may utilize mmap (map_shared) technology to mmap a process memory address space of the hypervisor and enable different service virtual machines to access the memory space by using DAX technology, so that the kernel buffer and the kernel file system layer are bypassed to directly access the data in the memory, and the purpose that different service virtual machines access the same file data is achieved.
The above-mentioned description introduces the principle that the service virtual machine on the host machine accesses the file in the shared directory, i.e. the target plug-in, and the plug-in management module of the VMTools service monitors the change of the file based on Linux inotify, when the file is newly added, modified or deleted, the VMTools loads or unloads the plug-in, and the plug-in is a dynamic link library file in the so format, and if the function is to be added or the existing function bug is to be repaired, only the relevant plug-in needs to be added or modified.
The development of the plug-in has great flexibility, such as where the result after execution is saved, where to obtain the data from, what language the plug-in is developed in, etc. can be decided by the developer, but an entry function named func_main must be defined in the plug-in, and after VMTools load the plug-in, the func_main will be called to point to the relevant function.
S1: constructing a target VMTools software architecture; referring to fig. 2, the target VMTools service adopted in the present embodiment is a new framework, not the original VMTools virtual machine auxiliary software, and specific functions are implemented by the target plugin. The target plug-in is a so or dll file, and if it is desired to add a function or repair an existing function bug, only the relevant plug-in needs to be added or modified. The functions of the target plugin mainly include, but are not limited to, the following:
(1) Acquiring guest OS attribute, information, performance data and the like of a virtual machine operating system by using a posix API;
(2) Configuring attributes of the virtual machine guest OS, such as network configuration, hostname, frozen file system to create consistent snapshots, etc., using the posix API;
(3) When power-related operations occur, such as powering on, powering off, restarting the virtual machine, some hook function functions are performed.
(4) Monitoring availability of a virtual machine guest OS to implement an OS-type HA;
(5) Monitoring applications inside the guest OS;
(6) Other enhancements to virtual machine functionality. VMTools will monitor the shared directory and dynamically load, reload, and unload plug-ins when they are added, modified, and deleted. The core functions of the VMTools are all of the target plug-in granularity, so the whole VMTools service cannot be upgraded by modifying a certain function, and the VMTools service only comprises few functions of loading, running plug-ins and the like so as to ensure that the service is stable enough, but has the highest execution authority. The work flow of the software architecture is specifically described by the following two examples of the process of loading the plug-in by the virtual machine and collecting the network configuration information and configuring the virtual machine IP.
S2: the shared directory which can be accessed by both the host and the virtual machine is established based on the target VMTools software architecture, the shared directory of the host and the virtual machine can be realized based on the virtiofs technology, and the virtiofs scheme uses the FUSE protocol to communicate between host and gust. A FUSE server is implemented at the host end to operate the file on the host, and then the FUSE is mounted in the FUSE by taking the FUSE kernel as a FUSE client, and a virtual is used between the server and the client to carry the FUSE protocol instead of the traditional structural/dev/FUSE equipment. In order to support the same file of mmap (MAP_SHARED) in different guests at the same time, virtio-fs puts the file mmap into the process address space of qemu and lets different guests access the memory space by using DAX, so that the purpose that different guests access the same data is achieved by bypassing the guests page cache, meanwhile, memory is SHARED among a plurality of guests, and memory resources are saved. In a super fusion cluster, there are multiple hosts connected through a network. Each host machine can be pre-allocated with a shared directory, and both the host machine and the virtual machine can access the shared directory, wherein the shared directory mainly comprises a target plug-in (plug in) and a shared file. The target plugin includes: the first functional plug-in is used for acquiring the attribute, information and performance data of the guest OS of the target virtual machine; a second functional plug-in configured to configure attributes of a target virtual machine guest OS to create a consistent snapshot, the attribute network configuration of the target virtual machine guest OS, a hostname, and a frozen file system; a third functional plug-in, configured to monitor availability of a destination virtual machine guest OS to implement an OS-type dual-machine cluster HA; a fourth functional plug-in, configured to monitor an application inside the gust OS; and a fifth function plug-in for enhancing the functions of the virtual machine.
Specifically, the establishing the shared directory accessible to both the host and the virtual machine based on the target VMTools software architecture in step S2 includes:
dynamically loading a target plug-in based on the plug-in framework;
writing a target plug-in to manage, monitor and configure the virtual machine, and when configuring the IP of the virtual machine, continuously storing and reading instructions and data from a database or a remote network by the target plug-in, wherein the instructions are config_ip, and the data designates a mac address, an IP address, a subnet mask and a gateway of a network card corresponding to the target virtual machine;
the plug-in frame and the target plug-in are matched with each other to complete the expected result, a simple plug-in frame is written to dynamically load the plug-in, a plug-in for collecting network configuration information is written, and the plug-in frame and the plug-in are matched with each other to complete the expected target.
The present embodiment configures a description of how virtual machine IP manages virtual machines based on the framework:
(1) Writing a plug-in, wherein the plug-in continuously reads instructions and data from a database or other places, and the instructions are config_ip and data which specify the mac address, IP address, subnet mask and gateway of a certain network card of a certain virtual machine;
(2) Issuing the plug-in to each service virtual machine;
(3) The VMTools agent in the business virtual machine detects the plug-in and operates;
(4) The user stores the instruction and the data into a database through the super fusion platform;
(5) The plug-in the corresponding virtual machine detects that new instructions and data exist in the database, and then the instructions are executed;
(6) After the execution is completed, the result is stored in a database, and the super fusion platform can access the database to obtain the result.
The format and storage of the above instructions and data may be automatically determined by the plug-in developer.
S3: acquiring the shared directory information and distributing the shared directory information to a target host, and controlling and managing the loading and reading of the acquired shared directory information by a virtual machine; it can be understood that it is mainly responsible for managing distribution target plugins and common/shared files; deciding which target plugins and shared files to distribute specifically to which hosts may also decide which virtual machines the plugins are loaded by and which virtual machines the files are read by.
S4: responding to a service request of a user, running corresponding service according to the service request of the user, loading and reading data in a shared directory based on a VMTools agent in a service virtual machine, and automatically running all plugins in the loaded shared directory;
s5: storing the result obtained by operation to a database or a remote network for super fusion reading by the VMTools agent;
in the working mode, after the directory information to be shared is uploaded to the shared directory, the management virtual machine sends the shared directory information to the shared directories of other hosts through a network, so that the corresponding service virtual machine can timely discover the target plugins and the shared files, and the directory information to be shared is the target plugins and the shared files.
As will be appreciated by those skilled in the art, there are multiple virtual machines running on each host in a cluster, one of which is the managing virtual machine (VM-mgt), primarily responsible for managing the distribution plug-ins and (normal) files. The management virtual machine can decide which target plug-ins and shared files are distributed to which hosts, and can also decide which virtual machines the target plug-ins are loaded by and which virtual machines the shared files are read by. After the target plugins and the shared files are uploaded to the shared directory, the management virtual machine can send the target plugins and the files to the shared directories of other hosts through the network, so that the service virtual machine can find the target plugins and the shared files. In the cluster, there are multiple service virtual machines (VM-uni), running related services, and in the service virtual machines, there is a VMTools (VM tools agent) resident service running, which reads all the plug-ins in the load sharing directory.
Taking loading plug-ins and collecting network configuration information as an example, the whole flow is illustrated in fig. 3:
the establishing the shared directory accessible to both the host and the virtual machine based on the target VMTools software architecture further includes:
configuring a target plug-in according to a function, wherein the function realized by the target plug-in at least comprises the step of collecting OS network configuration information;
acquiring the target plug-in and distributing the target plug-in to shared catalogs of different host machines through the management virtual machine;
when the VMtools agent in the corresponding service virtual machine detects that an updated target plug-in is available, loading the updated target plug-in;
and (3) managing, monitoring and configuring the virtual machine based on the VM tools, and storing the operation result to a database, a file or other remote network storage, such as NFS (network File System) and ISCSI (Internet Small computer System interface), so that the super fusion platform can read data from the virtual machine.
The technology of the invention is not limited by the existing functions of VMTools, a user can perform secondary development to rapidly develop and iterate the existing functions, the whole VMTools does not need to be upgraded under the architecture, only certain functions need to be updated, and the target VMTools software architecture comprises:
configuring a target plug-in on a user interface according to functional requirements;
managing the target plugins according to the granularity of the target plugins;
the target plug-in is a so or dll file.
The target VMTools software architecture only needs to add or modify target plug-ins to add functions or repair existing functional bugs in case of functional bugs.
The invention provides a novel VMTools software architecture and a mode for managing virtual machines in a super fusion environment. The software user can customize the functions of VMTools, add new functions or repair the existing function bug at any time, unlike the existing software with fixed VMTool functions, the user can completely develop and customize own VMTools. The software integrally adopts a central architecture, the release and the upgrade of the VMTools function are completed by a center (management virtual machine), the VMTools service function in the virtual machine is not required to be manually upgraded one by one, all the virtual machines in the cluster in the super-fusion environment can be uniformly managed, and the operation and maintenance efficiency is greatly improved.
Example two
Based on the same conception, the invention provides a virtual machine management device under a super fusion architecture, wherein the super fusion architecture comprises a plurality of hosts connected through a network, and the management device configured in the hosts comprises:
the shared directory is used for constructing a target VMTools software architecture; establishing a shared directory which can be accessed by both a host and a virtual machine based on a target VMTools software architecture; acquiring the shared directory information and distributing the shared directory information to a target host, and controlling and managing the loading and reading of the acquired shared directory information by a virtual machine;
the management virtual machine is used for acquiring the shared directory information and distributing the shared directory information to the target host machine, and controlling the target virtual machine to load and read the acquired shared directory information;
the service virtual machine is used for responding to the service request of the user, running corresponding service according to the service request of the user, loading and reading data in the shared directory based on the VMTools agent in the service virtual machine and automatically running;
the VMtools agent is used for storing the result obtained by operation into a database or a remote network for super fusion reading;
in the working mode, after the directory information to be shared is uploaded to the shared directory, the management virtual machine sends the shared directory information to the shared directories of other hosts through a network.
The specific contents and implementation methods of the shared directory, the management virtual machine, and the service virtual machine are as described in the first embodiment, and are not described herein.
Example III
Based on the same conception, the electronic equipment provided by the invention comprises:
a memory for storing a processing program;
and the processor is used for realizing the virtual machine management method under the super fusion architecture when executing the processing program.
The readable storage medium is stored with a processing program, and when the processing program is executed by a processor, the virtual machine management method under the super fusion architecture according to the embodiment of the invention is realized.
The virtual machine management device under the super fusion architecture may vary greatly in configuration or performance, and may include one or more processors (central processing units, CPU) and memory, one or more storage media (e.g., one or more mass storage devices) storing applications or data. The memory and storage medium may be transitory or persistent. The program stored on the storage medium may include one or more modules, each of which may include a series of instruction operations in a virtual machine management device under a super-fusion architecture.
Further, the processor may be configured to communicate with a storage medium and execute a series of instruction operations in the storage medium on a virtual machine managed device in a super-fusion architecture.
The virtual machine management device under the super-fusion architecture may also include one or more power supplies, one or more wired or wireless network interfaces, one or more input/output interfaces, and/or one or more operating systems, such as Windows Server, vista, etc.
The present invention also provides a computer readable storage medium having a computer program stored thereon, which when executed by one or more processors, implements a virtual machine management method under a super fusion architecture as in the first embodiment of the present invention. The modules in the second embodiment may be stored in a computer-readable storage medium if implemented as software functional modules and sold or used as a separate product. Based on such understanding, the technical solution of the present invention may be embodied in software in essence or a part or all of the technical solution contributing to the prior art, and the computer readable storage medium may be a non-volatile computer readable storage medium, and the computer readable storage medium may also be a volatile computer readable storage medium. The computer readable storage medium has instructions stored therein that, when executed on a computer, cause the computer to perform the steps of virtual machine management under the super fusion architecture of embodiment one.
It will be appreciated by those skilled in the art that aspects of the present invention, in essence, or portions thereof, or all or part of the aspects of the present invention may be embodied in software, which is stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of a method according to embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, or other various media capable of storing program codes. It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A virtual machine management method under a super fusion architecture is characterized by comprising the following steps:
constructing a target VMTools software architecture;
establishing a shared directory which can be accessed by both a host and a virtual machine based on a target VMTools software architecture;
acquiring the shared directory information and distributing the shared directory information to a target host, and controlling and managing the loading and reading of the acquired shared directory information by a virtual machine;
responding to a service request of a user, running corresponding service according to the service request of the user, loading and reading data in a shared directory based on a VMTools agent in a service virtual machine, and performing automatic running;
storing the result obtained by operation to a database or a remote network for super fusion reading by the VMTools agent;
in the working mode, after the directory information to be shared is uploaded to the shared directory, the management virtual machine sends the shared directory information to the shared directories of other hosts through a network.
2. The method of virtual machine management under a super fusion architecture as recited in claim 1, wherein the shared directory includes a target plugin and a shared file.
3. The method for managing virtual machines under the super fusion architecture as set forth in claim 1, wherein said establishing a shared directory accessible to both host and virtual machines based on the target VMTools software architecture comprises:
dynamically loading a target plug-in based on the plug-in framework;
writing a target plug-in to manage, monitor and configure the virtual machine, and when configuring the IP of the virtual machine, continuously storing and reading instructions and data from a database or a remote network by the target plug-in, wherein the instructions are config_ip, and the data designates a mac address, an IP address, a subnet mask and a gateway of a network card corresponding to the target virtual machine;
the plug-in frame and the target plug-in are matched with each other to achieve the expected result.
4. The method for managing virtual machines under the super fusion architecture as set forth in claim 1, wherein said establishing a shared directory accessible to both host and virtual machines based on the target VMTools software architecture comprises:
configuring a target plug-in according to a function, wherein the function realized by the target plug-in at least comprises the step of collecting OS network configuration information;
acquiring the target plug-in and distributing the target plug-in to shared catalogs of different host machines through the management virtual machine;
when the VMtools agent in the corresponding service virtual machine detects that an updated target plug-in is available, loading the updated target plug-in;
and operating the target plug-in on the basis of VM tools to manage, monitor and configure the virtual machine, and storing an operation result to a database, a file or other remote network storage so as to read data from the virtual machine by the super fusion platform.
5. The virtual machine management method under the super fusion architecture of claim 1, wherein said target VMTools software architecture comprises:
configuring a target plug-in on a user interface according to functional requirements;
managing the target plugins according to the granularity of the target plugins;
the target plug-in is a so or dll file.
6. The virtual machine management method according to claim 2, wherein the target VMTools software architecture only needs to add or modify target plug-ins to add functions or repair existing functional bugs in case of a functional bug.
7. The virtual machine management method under the super fusion architecture according to claim 2, wherein the target plugin includes: the first functional plug-in is used for acquiring the attribute, information and performance data of the guest OS of the target virtual machine; a second functional plug-in configured to configure attributes of a target virtual machine guest OS to create a consistent snapshot, the attribute network configuration of the target virtual machine guest OS, a hostname, and a frozen file system; a third functional plug-in for monitoring availability of a destination virtual machine, guest OS, to implement an OS-type HA; a fourth functional plug-in, configured to monitor an application inside the gust OS; and a fifth function plug-in for enhancing the functions of the virtual machine.
8. The utility model provides a virtual machine management device under super fusion framework, its characterized in that includes a plurality of hosts that connect through the network under the super fusion framework, disposes the management device in the host machine and includes:
the shared directory is used for constructing a target VMTools software architecture; establishing a shared directory which can be accessed by both a host and a virtual machine based on a target VMTools software architecture; acquiring the shared directory information and distributing the shared directory information to a target host, and controlling and managing the loading and reading of the acquired shared directory information by a virtual machine;
the management virtual machine is used for acquiring the shared directory information and distributing the shared directory information to the target host machine, and controlling the target virtual machine to load and read the acquired shared directory information;
the service virtual machine is used for responding to the service request of the user, running corresponding service according to the service request of the user, loading and reading data in the shared directory based on the VMTools agent in the service virtual machine and automatically running;
the VMtools agent is used for storing the result obtained by operation into a database or a remote network for super fusion reading;
in the working mode, after the directory information to be shared is uploaded to the shared directory, the management virtual machine sends the shared directory information to the shared directories of other hosts through a network.
9. An electronic device, comprising:
a memory for storing a processing program;
a processor, when executing the processing program, implementing the virtual machine management method under the super fusion architecture as defined in any one of claims 1 to 7.
10. A computer readable storage medium, wherein a processing program is stored on the computer readable storage medium, and when the processing program is executed by a processor, the processing program implements the virtual machine management method under the super fusion architecture of any one of claims 1 to 7.
CN202311087625.1A 2023-08-28 2023-08-28 Virtual machine management method, device and equipment under super fusion architecture Active CN117193936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311087625.1A CN117193936B (en) 2023-08-28 2023-08-28 Virtual machine management method, device and equipment under super fusion architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311087625.1A CN117193936B (en) 2023-08-28 2023-08-28 Virtual machine management method, device and equipment under super fusion architecture

Publications (2)

Publication Number Publication Date
CN117193936A true CN117193936A (en) 2023-12-08
CN117193936B CN117193936B (en) 2024-06-11

Family

ID=88989713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311087625.1A Active CN117193936B (en) 2023-08-28 2023-08-28 Virtual machine management method, device and equipment under super fusion architecture

Country Status (1)

Country Link
CN (1) CN117193936B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117762572A (en) * 2024-01-03 2024-03-26 北京火山引擎科技有限公司 Unloading method and equipment for host and virtual machine shared directory file system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124535A (en) * 2019-12-06 2020-05-08 济南浪潮数据技术有限公司 Function expansion method, device, equipment and storage medium of cloud host QGA
US10664357B1 (en) * 2016-12-20 2020-05-26 EMC IP Holding Company LLC Single agent backup for cloud networks
CN111966462A (en) * 2020-08-14 2020-11-20 苏州浪潮智能科技有限公司 Hybrid cloud management system
CN113127853A (en) * 2019-12-31 2021-07-16 奇安信科技集团股份有限公司 Method and device for safely processing virtual machine file
CN115658221A (en) * 2022-10-13 2023-01-31 深信服科技股份有限公司 State detection method, service virtual machine, equipment and medium
CN116483517A (en) * 2023-04-27 2023-07-25 安芯网盾(北京)科技有限公司 Virtual machine control method, device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10664357B1 (en) * 2016-12-20 2020-05-26 EMC IP Holding Company LLC Single agent backup for cloud networks
CN111124535A (en) * 2019-12-06 2020-05-08 济南浪潮数据技术有限公司 Function expansion method, device, equipment and storage medium of cloud host QGA
CN113127853A (en) * 2019-12-31 2021-07-16 奇安信科技集团股份有限公司 Method and device for safely processing virtual machine file
CN111966462A (en) * 2020-08-14 2020-11-20 苏州浪潮智能科技有限公司 Hybrid cloud management system
CN115658221A (en) * 2022-10-13 2023-01-31 深信服科技股份有限公司 State detection method, service virtual machine, equipment and medium
CN116483517A (en) * 2023-04-27 2023-07-25 安芯网盾(北京)科技有限公司 Virtual machine control method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴海洲;: "基于VMware vSphere5.0的服务器虚拟化实践――以《全国报刊索引》服务平台为例", 图书馆杂志, no. 03, 15 March 2015 (2015-03-15), pages 96 - 101 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117762572A (en) * 2024-01-03 2024-03-26 北京火山引擎科技有限公司 Unloading method and equipment for host and virtual machine shared directory file system

Also Published As

Publication number Publication date
CN117193936B (en) 2024-06-11

Similar Documents

Publication Publication Date Title
US10896070B2 (en) Stateless content management system
JP5681465B2 (en) Information processing system, information processing apparatus, preparation method, program, and recording medium
US9274824B2 (en) Network technology standard operating environment
US8606886B2 (en) System for conversion between physical machines, virtual machines and machine images
US20100325624A1 (en) Method and System for Application Portability
US20140007092A1 (en) Automatic transfer of workload configuration
CN108089913B (en) Virtual machine deployment method of super-fusion system
US20140325513A1 (en) Dynamic Configuration of Virtual Appliances
CN110908753A (en) Intelligent fusion cloud desktop server, client and system
KR102524540B1 (en) Apparatus and method for multi-cloud service platform
US11029932B2 (en) Hydration of applications
CN117193936B (en) Virtual machine management method, device and equipment under super fusion architecture
US20140109089A1 (en) System to rebuild difference virtual hard disk for updating operation system and method thereof
WO2023098052A1 (en) Server operation and maintenance method and apparatus, and device and storage medium
US7668938B1 (en) Method and system for dynamically purposing a computing device
JP2019120974A (en) Computer system, baseboard management controller, OS installation method, and program
EP3786797A1 (en) Cloud resource marketplace
CN112948008A (en) Ironic based physical bare computer management method
CN115357198B (en) Mounting method and device of storage volume, storage medium and electronic equipment
CN117075925B (en) Libvirt control surface unloading method, device, equipment and medium
CN112468349B (en) Main node suitable for FT2000+ platform to deploy Ceph
US20220405236A1 (en) Apparatus and method for managing in-memory container storage
US11921582B2 (en) Out of band method to change boot firmware configuration
US20230359533A1 (en) User Triggered Virtual Machine Cloning for Recovery/Availability/Scaling
US20210124765A1 (en) System and method for catalog service

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
CB02 Change of applicant information

Country or region after: China

Address after: 8b, building 1, No. 48, Zhichun Road, Haidian District, Beijing 100098

Applicant after: Beijing Zhiling Haina Technology Co.,Ltd.

Address before: 8b, building 1, No. 48, Zhichun Road, Haidian District, Beijing 100098

Applicant before: Beijing zhilinghaina Technology Co.,Ltd.

Country or region before: China

CB02 Change of applicant information
GR01 Patent grant