CN111949378B - Virtual machine starting mode switching method and device, storage medium and electronic equipment - Google Patents

Virtual machine starting mode switching method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111949378B
CN111949378B CN202010888685.3A CN202010888685A CN111949378B CN 111949378 B CN111949378 B CN 111949378B CN 202010888685 A CN202010888685 A CN 202010888685A CN 111949378 B CN111949378 B CN 111949378B
Authority
CN
China
Prior art keywords
storage
target
virtual machine
volume
storage component
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.)
Active
Application number
CN202010888685.3A
Other languages
Chinese (zh)
Other versions
CN111949378A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010888685.3A priority Critical patent/CN111949378B/en
Publication of CN111949378A publication Critical patent/CN111949378A/en
Application granted granted Critical
Publication of CN111949378B publication Critical patent/CN111949378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/45575Starting, stopping, suspending or resuming virtual machine instances

Abstract

The invention relates to a block storage service provided by a distributed system in a cloud platform. The patent refers to the field of 'electric digital data processing'. The method comprises the following steps: in the case that a target virtual machine using a first starting mode is identified, determining a target storage pool in which a system disk managed by using a first storage component in the first starting mode is located; adjusting the management authority of the target storage pool from the first storage component to a second storage component, wherein the second storage component is a storage component used by the management system disk in a second starting mode; configuring a storage driver for a target storage pool managed by a second storage assembly, and renaming the target storage pool according to the naming mode of the second storage assembly; and adjusting the starting configuration information of the target virtual machine so that the target virtual machine is switched from the first starting mode to the second starting mode. The invention solves the technical problem that the starting mode switching operation provided by the related technology is complex.

Description

Virtual machine starting mode switching method and device, storage medium and electronic equipment
Technical Field
The invention relates to the field of computers, in particular to a virtual machine starting mode switching method and device, a storage medium and electronic equipment.
Background
In an Openstack-based cloud platform, a Ceph distributed system is typically used to provide block storage services. Currently, various virtual machine startup modes are provided in the native Openstack system, such as starting a virtual machine from an image, starting a virtual machine from a volume snapshot, and the like. In the virtual machine in the mirror image starting mode, a system disk belongs to nova component management, and a data disk belongs to a finder component management; the virtual machine, the system disk and the data disk in the volume starting mode belong to the management of the shader component. Due to the fact that large data storage differences exist in different starting modes, the existence of multiple virtual machine starting modes brings challenges to subsequent development and operation and maintenance of the cloud platform, for example, brings great challenges to compatible development. That is, developers are often required to design different schemes for different boot modes, respectively, resulting in a problem of increased development costs.
In order to overcome the above problems, it is necessary to unify the virtual machine start modes for the cloud platform. If the volume start mode is adopted, the common modes in the related art are as follows: creating a user mirror image for a mirror image starting virtual machine, wherein the user mirror image contains data of a system disk of an original virtual machine, the user mirror image is utilized to start and create a virtual machine of the virtual machine from a volume, and the system disk data of the volume-started virtual machine is the same as the system disk data of the original virtual machine; the data disk on the original virtual machine is unloaded and then mounted on the new virtual machine, so that the volume-started virtual machine has the same data disk and system disk as the original mirror image-started virtual machine.
However, in the above manner, both the ID and the IP address of the virtual machine started by the newly created volume have changed, so that the user also has to modify the service information for adaptation. That is, the virtual machine start mode switching method provided by the related art requires the user to provide other related modification operations at the same time, thereby causing a problem of increasing the complexity of the operation.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a virtual machine starting mode switching method and device, a storage medium and electronic equipment, and aims to at least solve the technical problem that starting mode switching operation provided by the related technology is complex.
According to an aspect of the embodiments of the present invention, a method for switching a virtual machine start mode is provided, including: under the condition that a target virtual machine using a first starting mode is identified, determining a target storage pool in which a system disk managed by using a first storage component in the first starting mode is located; adjusting the management authority of the target storage pool from the first storage component to a second storage component, wherein the second storage component is a storage component used by a management system disk in a second starting mode; configuring a storage driver for the target storage pool managed by the second storage component, and renaming the target storage pool according to a naming mode of the second storage component, wherein the storage driver is used for managing a system disk by using the second storage component in the second boot mode; and adjusting the starting configuration information of the target virtual machine so that the target virtual machine is switched from the first starting mode to the second starting mode.
According to another aspect of the embodiments of the present invention, there is also provided a virtual machine start mode switching apparatus, including: the storage management system comprises a determining unit, a storage management unit and a storage management unit, wherein the determining unit is used for determining a target storage pool where a system disk managed by a first storage component in a first starting mode is located under the condition that a target virtual machine using the first starting mode is identified; an adjusting unit, configured to adjust the management authority of the target storage pool from the first storage component to a second storage component, where the second storage component is a storage component used by the management system disk in a second startup mode; a configuration unit, configured to configure a storage driver for the target storage pool managed by the second storage component, and rename the target storage pool according to a naming method of the second storage component, where the storage driver is configured to manage a system disk using the second storage component in the second boot mode; a switching unit, configured to adjust startup configuration information of the target virtual machine, so that the target virtual machine is switched from the first startup mode to the second startup mode.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the above virtual machine startup mode switching method when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the virtual machine startup mode switching method through the computer program.
In the embodiment of the invention, the management authority of the target storage pool where the system disk managed by using the first storage component in the first starting mode is located is changed by detecting and identifying the target virtual machine using the first starting mode, and the management authority is adjusted from the management of the first storage component to the management of the second storage component. Here the second storage component is the storage component used by the management system disk in the second boot mode. And configuring a storage driver for a target storage pool managed by the second storage assembly, renaming the target storage pool according to the naming mode of the second storage assembly, and adjusting the starting configuration information of the target virtual machine so as to enable the target virtual machine to be directly switched from the first starting mode to the second starting mode on line. The method and the device have the advantages that extra storage resources do not need to be consumed, and the user does not need to change service information, so that the quick and efficient switching process of the virtual machine starting mode is completed under the condition that the user does not sense, the aim of improving the switching efficiency is fulfilled, and the problem that the virtual machine starting mode switching operation is complex in the related technology is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of a network architecture of an alternative virtual machine startup mode switching method according to an embodiment of the present invention;
FIG. 2 is a flowchart of an alternative method for switching the boot mode of a virtual machine according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an alternative method for switching between virtual machine boot modes according to the related art;
fig. 4 is a schematic diagram of an application architecture of an alternative virtual machine startup mode switching method according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an alternative method for switching the boot mode of a virtual machine according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating an alternative virtual machine boot mode switching method according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating an alternative method for switching the virtual machine boot mode according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating an alternative method for switching the virtual machine boot mode according to an embodiment of the present invention;
FIG. 9 is a diagram illustrating an alternative method for switching the virtual machine boot mode according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an alternative virtual machine start mode switching apparatus according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The following technical terms will be referred to in the embodiments of the present application:
OpenStack: the method is an open-source cloud computing management platform project and is a combination of a series of software open-source projects. The cloud computing management platform is simple to implement, can be expanded in a large scale, is rich and has a unified standard.
Ceph: the distributed storage system is an open-source distributed storage system and can simultaneously provide storage services of objects, blocks and files.
Nova: is a component in Openstack that manages the lifecycle of a virtual machine.
And (3) a Cinder: the system is a component for providing block storage in Openstack and mainly used for a virtual machine as a disk.
Rbd: is a block device service provided by Ceph, and is called rados block device.
Cloud technology (Cloud technology: a hosting technology for unifying series resources such as hardware, software and network in a wide area network or a local area network to realize data calculation, storage, processing and sharing, a general term of network technology, information technology, integration technology, management platform technology, application technology and the like based on Cloud computing business model application can form a resource pool to be used as required and is flexible and convenient, the Cloud computing technology becomes an important support, background services of a technical network system need a large amount of calculation and storage resources such as video websites, picture websites and more portal websites, along with the high development and application of the internet industry, each article possibly has an own identification mark and needs to be transmitted to a background system for logic processing, data at different levels can be processed separately, and various industrial data all need strong system support, can only be achieved by cloud computing.
Cloud storage (cloud storage): the distributed cloud storage system (hereinafter referred to as a storage system) refers to a storage system which integrates a large number of storage devices (storage devices are also referred to as storage nodes) of different types in a network through application software or application interfaces to cooperatively work through functions of cluster application, grid technology, distributed storage file systems and the like, and provides data storage and service access functions to the outside.
The storage method of the current storage system comprises the following steps: logical volumes are created, and when created, each logical volume is allocated physical storage space, which may be the disk composition of a certain storage device or of several storage devices. The client stores data on a certain logical volume, that is, the data is stored on a file system, the file system divides the data into a plurality of parts, each part is an object, the object not only contains the data but also contains additional information such as data identification (ID, ID entry), the file system writes each object into a physical storage space of the logical volume, and the file system records storage location information of each object, so that when the client requests to access the data, the file system can allow the client to access the data according to the storage location information of each object.
The process of allocating physical storage space for the logical volume by the storage system specifically includes: physical storage space is divided in advance into stripes according to a group of capacity measures of objects stored in a logical volume (the measures often have a large margin with respect to the capacity of the actual objects to be stored) and Redundant Array of Independent Disks (RAID), and one logical volume can be understood as one stripe, thereby allocating physical storage space to the logical volume.
Database (Database), which can be regarded as an electronic file cabinet in short, a place for storing electronic files, a user can add, query, update, delete, etc. to data in files. A "database" is a collection of data that is stored together in a manner that can be shared by multiple users, has as little redundancy as possible, and is independent of the application. A Database Management System (DBMS) is a computer software System designed for managing a Database, and generally has basic functions of storage, interception, security assurance, backup, and the like. The database management system may classify the database according to the database model it supports, such as relational, XML (Extensible Markup Language); or classified according to the type of computer supported, e.g., server cluster, mobile phone; or sorted according to the Query Language used, such as SQL (Structured Query Language), XQuery, or sorted according to performance impulse emphasis, such as max size, maximum operating speed, or other sorting.
Hybrid Cloud (Hybrid Cloud) blends Public Cloud (Public Cloud) and Private Cloud (Private Cloud), which is the main mode and development direction of Cloud computing in recent years. The private cloud is mainly oriented to enterprise users, for safety, enterprises prefer to store data in the private cloud, but meanwhile hope to obtain computing resources of the public cloud, in the situation, the hybrid cloud is adopted more and more, the public cloud and the private cloud are mixed and matched to obtain the best effect, and the personalized solution achieves the purposes of saving money and being safe.
The Private Cloud (Private Cloud) is created by creating a Cloud infrastructure and software and hardware resources in a firewall, so that each department in an organization or enterprise can share resources in a data center. A private cloud is created, typically with cloud equipment as a Service (IaaS) software in addition to hardware resources. The private cloud computing also comprises three layers of cloud hardware, a cloud platform and cloud service. In contrast, the cloud hardware is the user's own personal computer or server, not the cloud computing vendor's data center. Cloud computing vendors build data centers to provide public cloud services for millions of users, and therefore need to have tens of millions of servers. Private cloud computing serves only friends and relatives for an individual and the employees and customers and suppliers of the enterprise for the enterprise, so that the personal computer or server of the individual or enterprise is sufficient to provide cloud services.
The Public Cloud (Public Cloud) generally refers to a Cloud that can be used and provided by a third-party provider for a user, the Public Cloud can be generally used through the Internet and can be free or low-cost, and the core attribute of the Public Cloud is a shared resource service. There are many instances of such a cloud that can provide services throughout the open public network today.
According to an aspect of the embodiments of the present invention, a method for switching a virtual machine starting mode is provided, and optionally, as an optional implementation manner, the method for switching a virtual machine starting mode may be applied to, but is not limited to, a network architecture as shown in fig. 1. The network architecture mainly comprises four layers:
the first layer is the business layer 102: the system mainly comprises a service platform which can be directly operated by a user, for example, the self-service platform 1022 is an interface for providing the user with application for resources, the monitoring platform 1026 is an interface for monitoring the use condition of all resources of the whole platform, and the operation and maintenance platform 1024 is an interface operated by an administrator, and can perform operations such as migration of some hosts.
The second layer is the cloud gateway layer 104: the system mainly includes venus 1042, DB 1044, IP system 1046, and Role-Based right Access Control (Rbac) 1048, where venus 1042 provides a uniform original platform resource interface, IP system 1046 manages network resources such as IP of each network device, and Rbac 1048 is used for authentication. Here, in Rbac, rights are associated with roles, and users gain rights to these roles by becoming members of the appropriate roles.
The third layer is the base cloud layer 106: the method mainly comprises the steps that an open source Openstack provides Iaas service, and in a virtual machine in a volume starting mode: nova 1062 is used to manage the life cycle of the virtual machine, and circle 1064 is used to manage the life cycle of the virtual machine data disk and the system disk.
The fourth layer is the storage layer 108: the block storage service provided by the Ceph cluster storage is used. Such as system disk pool 1082 and data disk pool 1084.
Optionally, in this embodiment, the cloud device in the network architecture, for example, the server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, a middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform. As another example, the terminal may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, or the like, but is not limited thereto. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
Optionally, as an optional implementation manner, as shown in fig. 2, the virtual machine starting mode switching method includes:
s202, under the condition that a target virtual machine using a first starting mode is identified, determining a target storage pool where a system disk managed by using a first storage assembly in the first starting mode is located;
s204, adjusting the management authority of the target storage pool from the first storage assembly to a second storage assembly, wherein the second storage assembly is used for managing the system disk in a second starting mode;
s206, configuring a storage driver for the target storage pool managed by the second storage assembly, and renaming the target storage pool according to the naming mode of the second storage assembly, wherein the storage driver is used for managing a system disk by using the second storage assembly in a second starting mode;
s208, adjusting the starting configuration information of the target virtual machine so that the target virtual machine is switched from the first starting mode to the second starting mode.
Optionally, in this embodiment, the virtual machine start mode switching method may be applied, but not limited to, to a cloud computing product based on open source OpenStack software development, and may implement a private cloud or a cloud-based cloud product based on a hybrid cloud. The virtual machine starting mode may include, but is not limited to: mirror starting a virtual machine, starting a virtual machine from a volume snapshot, and the like. Further, the above storage module includes: nova components and finder components. This is an example and is not intended to be limiting in this embodiment.
In the embodiment of the present application, the management authority of the target storage pool where the system disk managed by using the first storage component in the first boot mode is located is changed by detecting and identifying the target virtual machine using the first boot mode, and the management authority is adjusted from being managed by the first storage component to being managed by the second storage component. Here the second storage component is the storage component used by the management system disk in the second boot mode. And configuring a storage driver for a target storage pool managed by the second storage assembly, renaming the target storage pool according to the naming mode of the second storage assembly, and adjusting the starting configuration information of the target virtual machine so as to enable the target virtual machine to be directly switched from the first starting mode to the second starting mode on line. The method and the device have the advantages that extra storage resources do not need to be consumed, and the user does not need to change service information, so that the quick and efficient switching process of the virtual machine starting mode is completed under the condition that the user does not sense, the aim of improving the switching efficiency is fulfilled, and the problem that the virtual machine starting mode switching operation is complex in the related technology is solved.
Specifically, it is assumed that the first boot mode is a mirror boot mode (system disk is managed by Nova components, and data disk is managed by finder components), and the second boot mode is a volume boot mode (system disk and data disk are managed by finder components).
In the related art, the manner of switching the mirror boot mode to the volume boot mode may refer to the procedure shown in fig. 3: a user image is created for the virtual machine 302 that is started using the image start mode, and this user image 304 includes the system disk data 3042 in the original virtual machine 302. This user image 304 is then utilized to create a virtual machine 306 that uses volume boot mode. Here, the data in the system disk 306-1 of the virtual machine 306 is the same as the data in the system disk 302-1 of the original virtual machine 302. Next, the data disk 302-2 on virtual machine 302 is unloaded and then re-mounted onto virtual machine 306 as its data disk 306-2. Thus, newly created virtual machine 306 has the same system disk and data disk as original virtual machine 302.
However, in the process, the method is not transparent to the user, a new virtual machine is created, the ID of the virtual machine is changed, and the subsequently operated virtual machines are not the same; in addition, creating a user image and a new virtual machine would require additional storage resources to be consumed. Moreover, although the disk data of the new virtual machine is still retained, the data in the memory during the operation of the virtual machine is lost, and the new virtual machine generally has an IP different from that of the original virtual machine, so that it may be necessary for the user to modify service information, such as DNS information and the like.
Therefore, in order to overcome the above problems, the method provided in this embodiment is provided, in which a virtual machine in a mirror image boot mode is detected and identified, and is automatically switched to a volume boot mode on line, so that a boot mode in which a system disk and a data disk both use the same storage component for resource management is switched to without user perception, no additional storage resource is consumed, and no user change of service information is required, thereby achieving the purposes of simplifying the virtual machine boot mode switching operation and improving the switching efficiency without user perception.
Optionally, in this embodiment, an application scenario of the virtual machine start mode switching method may be, but is not limited to, applied to an automatic switching service architecture shown in fig. 4, where the architecture performs data interaction through a plurality of control nodes to complete a switching process, and the process may be as follows:
the identification service 4022 in the control node 402 is configured to identify a virtual machine that is image-started in the cloud platform. Here, the control node 402 will also interact with Nova 400 to package each image-started virtual machine in the cloud platform into individual tasks to be submitted to the task queue 404. In order to concurrently run multiple handover operations, each of control nodes 406 through 410 will run one handover service, respectively. That is, control node 406 includes handover service 4062, control node 408 includes handover service 4082, and control node 410 includes handover service 4102. The architecture design here is an example, and the number of each control node is not limited in this embodiment.
Further, in each switching service, the mirror virtual machine to be switched is obtained from the task queue, and then interaction is performed through the shader 412 and the database DB 414, so as to implement switching the mirror boot mode to the volume boot mode. Here, the switching service mainly accomplishes the following tasks: firstly, completing the management of a system disk of a virtual machine by a shader component and a mirror image; secondly, completing the nanotube mounting information of the shader component; and thirdly, completing the nanotube mounting cloud hard disk of the Nova component.
Further, the configuration in the switching service may be as shown in fig. 5, and the switching service 502 includes a backend controller 5022, a storage controller 5024, and a storage controller 5026. The backend controller 5022 is used for performing permission change on a target storage pool where a system disk in a target virtual machine is located according to the received task request to perform configuration preprocessing; the storage controller 5024 is used for changing the system disk to be managed by the second storage component; the spooling controller 5026 is used to complete configuration information for other related initiations. The management authority of the first storage component to the system disk in the target virtual machine is changed to the second storage component through the combined use of the controllers, the storage driver is configured for the target storage pool where the system disk is located, and then the storage driver is renamed, so that the operation is started directly according to the switched second starting mode.
Specifically, the method for switching the virtual machine start mode is fully described with reference to fig. 6: assume that the target virtual machine is in a physical machine that includes DB 602, Nova 604, circle 606, and Ceph cluster 608. Among them, Ceph cluster 608 includes system disk pool 6082 and data disk pool 6084, which both include block device service rbd. The circle 606 is provided with an rbd driver 6062.
As shown in fig. 6(a), the target virtual machine uses a first boot mode (e.g., mirror boot mode) before switching, and the corresponding DB 602 indicates that the system disk uses the Nova component, the data disk uses the shader component, i.e., the system disk pool 6082 is managed by the Nova 604, and the data disk pool 6084 is managed by the shader 606 using the rbd driver 6062.
When the acquired task request indicates that switching from a first starting mode (such as a mirror starting mode) to a second starting mode (such as a volume starting mode) is requested, namely, the storage pool corresponding to the storage back end of the system disk is changed to use a renderer component. Specifically, the management authority of the system disk pool 6082 is changed by using the combination of the backend controller, the storage controller, and the winding controller from Nova 604 to circle 606. As shown in fig. 6(b), the DB 602 indicates that the system disk is changed to use the slicer component, and the data disk still uses the slicer component, i.e., the system disk pool 6082 and the data disk pool 6084 are managed by the slicer 606. Here the corresponding storage drive (i.e., vms drive 6064 shown in the figure) will be added to render 606 and renamed as indicated by the dashed arrow in the figure for the system disk pool 6082 for subsequent application of the second boot mode directly to the target virtual machine.
According to the embodiment provided by the application, the target virtual machine using the first starting mode is identified through detection, the management authority of the target storage pool where the system disk managed by using the first storage component in the first starting mode is located is changed, and management of the first storage component is adjusted to management of the second storage component. Here the second storage component is the storage component used by the management system disk in the second boot mode. And configuring a storage driver for a target storage pool managed by the second storage assembly, renaming the target storage pool according to the naming mode of the second storage assembly, and adjusting the starting configuration information of the target virtual machine so as to enable the target virtual machine to be directly switched from the first starting mode to the second starting mode on line. The method and the device have the advantages that extra storage resources do not need to be consumed, and the user does not need to change service information, so that the quick and efficient switching process of the virtual machine starting mode is completed under the condition that the user does not sense, the aim of improving the switching efficiency is fulfilled, and the problem that the virtual machine starting mode switching operation is complex in the related technology is solved.
As an alternative, adjusting the administrative authority of the target storage pool from the first storage component to the second storage component comprises:
and S1, adding volume storage information of the target volume corresponding to the target storage pool in the management record of the second storage component, wherein the volume storage information includes the volume identifier of the target volume, the storage location of the target volume and the storage space occupied by the target volume.
Optionally, in this embodiment, the management authority to change the target storage pool may be, but is not limited to, adding volume storage information of its corresponding target volume to the management record of the second storage component. Since the renderer component used in the volume startup mode manages resources on a volume-by-volume basis, it is possible to add, but not limited to, corresponding volume record information to the renderer management record when changing the management authority. The volume record information here includes: volume identification, volume storage position, volume occupation space and other attribute information.
According to the embodiment provided by the application, the volume storage information of the target volume corresponding to the target storage pool is added in the management record of the second storage component, so that the management authority of the target storage pool where the system disk is located is directly modified on line without extra consumption of storage resources, the switching operation is simplified under the condition of being transparent to a user, meanwhile, the unnecessary waste of the storage resources in the target virtual machine is reduced, and the utilization rate in a certain time period is improved.
As an optional scheme, after configuring the storage driver for the target storage pool managed by the second storage component, the method further includes:
s1, a volume type label is created for the target volume, wherein the second storage component uses the volume type label to call resources in the target volume when managing the system disk.
It should be noted that, for the purpose of management, the folder startup mode finder component also creates a corresponding type flag, namely, volume _ type, for the target volume, so that the newly added target volume can be used through the volume _ type. Creating volume _ type is similar to the following command:
cinder type-create ceph_vms
cinder type-key ceph_vms set volume_backend_name=ceph_vms
the above commands are examples, and this is not limited in this embodiment.
Through the embodiment provided by the application, the type mark is created for the newly added target volume of the second storage component, so that the storage resources of the target volume can be managed and called quickly and effectively, and unnecessary waiting time is avoided.
As an optional solution, adjusting the boot configuration information of the target virtual machine so that the target virtual machine switches from the first boot mode to the second boot mode includes:
1) adding starting information used for starting the target virtual machine in the first starting mode into a target volume managed by the second storage component;
2) setting a target volume managed by the second storage component as a starting volume;
3) adding a first mounting information record in a database corresponding to the second storage component, wherein the first mounting information record is used for indicating that the target volume is mounted on a target virtual machine using the second storage component as a system disk, and the target volume is adjusted to be in a mounted state;
4) and modifying a second mounting information record in the database corresponding to the first storage component, wherein the second mounting information record indicates that the system disk managed by the first storage component has changed the management authority.
The description is made with reference to the example shown in fig. 7: still taking the first boot mode as the mirror boot mode, the second boot mode as the volume boot mode as an example, the first storage component used in the corresponding first boot mode is the Nova component, and the second storage component used in the corresponding second boot mode is the shader component. The volume management controller 5026 in the switching service 502 corresponding to the target virtual machine includes the following four processors to implement adjustment processing on the startup configuration information of the target virtual machine:
(1) image metadata processor 702(Image metadata handler): the method mainly comprises the steps that starting information (such as mirror image information) of a target virtual machine is filled in a target volume which is just managed by a renderer;
(2) circle metadata processor 704 (circle metadata handler): mainly setting the target volume of the managed volume as a starting volume (which is a mark for starting the virtual machine by the volume);
(3) circle DB processor 706 (circle DB holder): adding a mounting information record in a shader database for indicating that a managed target volume is already mounted on a target virtual machine as a system disk and modifying the managed target volume into a mounted state;
(4) nova DB processor 708(Nova DB handler): the mount information of the target virtual machine in the nova database is mainly modified, and a system disk originally managed by the nova component is changed into a target volume managed by the shader nano-tube.
According to the embodiment provided by the application, the success rate of online adjustment of the starting mode of the virtual machine is further ensured by performing relevant adjustment on the relevant starting configuration information required by the virtual machine starting, so that the target virtual machine completes the whole configuration process of starting mode switching under the condition of no need of restarting and transparency to a user, and the effects of simplifying switching operation and improving switching efficiency are achieved.
As an optional scheme, in a case that the first startup mode is a mirror startup mode, before determining a target storage pool in which a system disk managed by using the first storage component in the first startup mode is located, the method further includes:
s1, acquiring detailed description information of each virtual machine in the cloud platform;
and S2, identifying the virtual machine with the mirror image attribute being identified as non-empty in the detail description information as the target virtual machine.
Optionally, for a case that the first boot mode is the mirror boot mode, it may be, but is not limited to, directly checking the mirror attribute identifier in the description details of the virtual machine, and if the mirror attribute identifier is not null, it indicates that the current virtual machine is a mirror-booted virtual machine; otherwise, if the image attribute flag is null, it indicates that the current virtual machine is a virtual machine that is not image-started, such as a volume-started virtual machine or a virtual machine in another starting mode. For example, in conjunction with the identification service 4022 in the control node 402 shown in fig. 4, the target virtual machine that needs to switch the boot mode is identified in the above manner, and is switched from the mirror boot mode to the volume boot mode.
According to the embodiment provided by the application, the target virtual machine needing to adjust the starting mode can be quickly and efficiently detected and identified through the mirror image attribute identification in the detail description information of the virtual machine.
As an optional scheme, after identifying, as the target virtual machine, the virtual machine whose mirror image attribute is identified as non-empty in the detailed description information, the method further includes:
s1, packaging the target virtual machine into a task request, wherein the task request is used for requesting to switch the target virtual machine from a first starting mode to a second starting mode;
s2, submitting the task request to a task queue, wherein the task queue comprises task requests corresponding to a plurality of target virtual machines;
s3, the control nodes in the physical machine of the target virtual machine process the task requests in the task queue in parallel.
In order to complete the switching of the startup modes of the virtual machines quickly and efficiently, the parallel switching control may be performed on a plurality of identified virtual machines using the first startup mode. Namely, each virtual machine using the first starting mode is packaged into a task request respectively and submitted into the task queue, so as to wait for the switching service to read the task request from the task queue and execute the switching operation.
For example, suppose that three control nodes including the control node 406 to the control node 410 as shown in fig. 4 respectively process one task request by the switching service provided in each of the control nodes, thereby realizing simultaneous parallel processing of a plurality of task requests in the task queue.
According to the embodiment provided by the application, synchronous switching processing of the multiple virtual machines is realized by establishing the task queue, so that the switching efficiency of the starting modes of the multiple virtual machines is improved.
In particular, in connection with each switching service (as shown in the switching service 502) shown in fig. 5 and 8, including the backend controller 5022, the nanotube controller 5024 and the volume controller 5026 shown in fig. 5, these controllers will perform the following operations:
(1) the rear-end controller 5022: after receiving the task request of the virtual machine in the mirror image startup mode to modify the startup mode, the switching service 502 needs to add the Ceph pool where the original system disk of the virtual machine is located as a backend storage drive of the shader, so that the subsequent admission is facilitated, add a storage backend by modifying the shader configuration (for example, the pool of the original mirror image startup virtual machine system disk is vms and is changed to Ceph _ vms), and then create a backend corresponding volume _ type, so that the storage backend of the just new volume can be used through the volume _ type.
(2) The nanotube controller 5024: the method mainly comprises the steps that a system disk of an original mirror image starting virtual machine is subjected to circle management, and after the circle management, operations such as snapshot making can be carried out on a cloud hard disk. Nanotube is also a command that interacts with the circular, like:
Figure BDA0002656291120000161
the above described volume hosting process can be as shown in FIG. 8, assuming that before switching virtual machine 802 manages the rbd volume { virtual machine id } _ disk in system disk pool 8042 in Ceph cluster 804 through vda driver and rdb in data disk pool 8044 in Ceph cluster 804 through vdb driver, as shown in FIG. 8 (a). After the switch, as shown by the dashed arrow in FIG. 8(b), the name of the rbd volume in system disk pool 8042 in ceph cluster 804 is modified: the rbd volume name of the system disk started by the original mirror image is { virtual machine id } _ disk, renaming is carried out according to the naming mode of the shader component after the virtual machine is managed, the rbd volume name becomes volume- { volume id }, and the virtual machine started by the mirror image is managed to the shader component through the management controller 5024.
(3) The roll controller 5026: mainly by filling in some of the information needed by the nova and shader components for volume startup.
Although the system disk of the virtual machine is renamed, the virtual machine still uses the previously opened connection to read and write data from and to the system disk, so the data stream of the virtual machine still runs normally. Further, after the switching process shown in fig. 8 is completed, the target virtual machine starts the target virtual machine directly using the switched second start mode (i.e. the volume start mode) after performing the hard restart according to fig. 9(a) - (b).
In the embodiment of the application, the system disk of the mirror image starting virtual machine on the cloud platform is managed to the client on line through realizing the identification service and the switching service at the control node, and the management surface and the data surface modify the virtual machine in the mirror image starting mode to the virtual machine in the roll starting mode on line. Therefore, unified starting management of the virtual machines of the cloud platform is achieved, and transparency of users and no influence on services are achieved. The unified cloud platform virtual machine starting mode can improve the operability and the maintainability of the platform and provides powerful guarantee for the development of high-level functions behind the platform.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the present invention, there is also provided a virtual machine start mode switching apparatus for implementing the virtual machine start mode switching method. As shown in fig. 10, the apparatus includes:
1) a determining unit 1002, configured to, if a target virtual machine using a first startup mode is identified, determine a target storage pool in which a system disk managed by using a first storage component in the first startup mode is located;
2) a tuning unit 1004, configured to tune the management authority of the target storage pool from the first storage component to a second storage component, where the second storage component is a storage component used by the management system disk in the second startup mode;
3) a configuration unit 1006, configured to configure a storage driver for a target storage pool managed by a second storage component, and rename the target storage pool according to a naming manner of the second storage component, where the storage driver is configured to manage a system disk using the second storage component in a second boot mode;
4) a switching unit 1008, configured to adjust the boot configuration information of the target virtual machine, so that the target virtual machine switches from the first boot mode to the second boot mode.
Optionally, in this embodiment, the virtual machine start mode switching method may be applied, but not limited to, to a cloud computing product based on open source OpenStack software development, and may implement a private cloud or a cloud-based cloud product based on a hybrid cloud. The virtual machine starting mode may include, but is not limited to: mirror starting a virtual machine, starting a virtual machine from a volume snapshot, and the like. Further, the above storage module includes: nova components and finder components. This is an example and is not intended to be limiting in this embodiment.
For specific embodiments, reference may be made to the above method embodiments, which are not described in detail in this embodiment.
As an alternative, the adjusting unit 1004 includes:
1) and the adding module is used for adding volume storage information of the target volume corresponding to the target storage pool in the management record of the second storage component, wherein the volume storage information comprises the volume identifier of the target volume, the storage position of the target volume and the storage space occupied by the target volume.
For specific embodiments, reference may be made to the above method embodiments, which are not described in detail in this embodiment.
As an optional scheme, the method further comprises the following steps:
1) a creating unit for creating a volume type label for the target volume after configuring the storage driver for the target storage pool managed by the second storage component, wherein the second storage component uses the volume type label to call resources in the target volume when managing the system disk.
For specific embodiments, reference may be made to the above method embodiments, which are not described in detail in this embodiment.
As an optional solution, the switching unit 1008 includes:
1) the first processing module is used for adding starting information used for starting the target virtual machine in the first starting mode into a target volume managed by the second storage component;
2) the second processing module is used for setting the target volume managed by the second storage assembly as a starting volume;
3) a third processing module, configured to add a first mount information record in a database corresponding to the second storage component, where the first mount information record is used to indicate that the target volume has been mounted as a system disk onto a target virtual machine using the second storage component, and the target volume is adjusted to be in a mounted state;
4) and the fourth processing module is used for modifying a second mounting information record in the database corresponding to the first storage assembly, wherein the second mounting information record indicates that the system disk managed by the first storage assembly has changed management authority.
For specific embodiments, reference may be made to the above method embodiments, which are not described in detail in this embodiment.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the virtual machine start mode switching method, where the electronic device is described in this embodiment by taking a server as an example. As shown in fig. 11, the electronic device comprises a memory 1102 and a processor 1104, wherein the memory 1102 stores a computer program and the processor 1104 is arranged to execute the steps of any of the above method embodiments by means of the computer program.
Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, in the case that the target virtual machine using the first starting mode is identified, determining the target storage pool where the system disk managed by using the first storage component in the first starting mode is located;
s2, adjusting the management authority of the target storage pool from the first storage component to a second storage component, wherein the second storage component is used for managing the system disk in the second starting mode;
s3, configuring a storage driver for the target storage pool managed by the second storage component, and renaming the target storage pool according to the naming mode of the second storage component, wherein the storage driver is used for managing the system disk by using the second storage component in the second starting mode;
and S4, adjusting the start-up configuration information of the target virtual machine so that the target virtual machine is switched from the first start-up mode to the second start-up mode.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 11 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 11 is a diagram illustrating a structure of the electronic device. For example, the electronics may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 11, or have a different configuration than shown in FIG. 11.
The memory 1102 may be used to store software programs and modules, such as program instructions/modules corresponding to the virtual machine start mode switching method and apparatus in the embodiments of the present invention, and the processor 1104 executes various functional applications and data processing by running the software programs and modules stored in the memory 1102, that is, the virtual machine start mode switching method is implemented. The memory 1102 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1102 can further include memory located remotely from the processor 1104 and such remote memory can be coupled to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1102 may be specifically, but not limited to, used for storing information such as sample characteristics of the item and the target virtual resource account number. As an example, as shown in fig. 11, the memory 1102 may include, but is not limited to, a determining unit 1002, an adjusting unit 1004, a configuring unit 1006, and a switching unit 1008 in the virtual machine starting mode switching apparatus. In addition, the virtual machine starting mode switching apparatus may further include, but is not limited to, other module units in the virtual machine starting mode switching apparatus, which is not described in detail in this example.
Optionally, the transmitting device 1106 is used for receiving or transmitting data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1106 includes a Network adapter (NIC) that can be connected to a router via a Network cable to communicate with the internet or a local area Network. In one example, the transmission device 1106 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In addition, the electronic device further includes: a display 1108 for displaying the switched result; and a connection bus 1110 for connecting the respective module components in the above-described electronic apparatus.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. Nodes can form a Peer-To-Peer (P2P, Peer To Peer) network, and any type of computing device, such as a server, a terminal, and other electronic devices, can become a node in the blockchain system by joining the Peer-To-Peer network.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to execute the virtual machine starting mode switching method. Wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, in the case that the target virtual machine using the first starting mode is identified, determining the target storage pool where the system disk managed by using the first storage component in the first starting mode is located;
s2, adjusting the management authority of the target storage pool from the first storage component to a second storage component, wherein the second storage component is used for managing the system disk in the second starting mode;
s3, configuring a storage driver for the target storage pool managed by the second storage component, and renaming the target storage pool according to the naming mode of the second storage component, wherein the storage driver is used for managing the system disk by using the second storage component in the second starting mode;
and S4, adjusting the start-up configuration information of the target virtual machine so that the target virtual machine is switched from the first start-up mode to the second start-up mode.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A virtual machine starting mode switching method is characterized by comprising the following steps:
in the case that a target virtual machine using a first starting mode is identified, determining a target storage pool in which a system disk managed by using a first storage component in the first starting mode is located;
adjusting the management authority of the target storage pool from the first storage component to a second storage component, wherein the second storage component is a storage component used by a management system disk in a second starting mode;
configuring a storage driver for the target storage pool managed by the second storage component, and renaming the target storage pool according to the naming mode of the second storage component, wherein the storage driver is used for managing a system disk by using the second storage component in the second starting mode;
adding startup information used by the target virtual machine to start in the first startup mode to a target volume managed by the second storage component, and setting the target volume managed by the second storage component as a startup volume, so that the target virtual machine is switched from the first startup mode to the second startup mode.
2. The method of claim 1, wherein adjusting the administrative authority of the target storage pool from the first storage component to a second storage component comprises:
and adding volume storage information of a target volume corresponding to the target storage pool in a management record of the second storage component, wherein the volume storage information includes a volume identifier of the target volume, a storage location of the target volume, and a storage space occupied by the target volume.
3. The method of claim 2, further comprising, after configuring storage drives for the target storage pool managed by the second storage component:
creating a volume type label for the target volume, wherein the second storage component uses the volume type label to invoke resources in the target volume when managing system disks.
4. The method of claim 2, wherein setting the target volume managed by the second storage component as a boot volume further comprises:
adding a first mount information record in a database corresponding to the second storage component, wherein the first mount information record is used for indicating that the target volume is mounted on the target virtual machine using the second storage component as a system disk, and the target volume is adjusted to be in a mounted state;
and modifying a second mounting information record in a database corresponding to the first storage assembly, wherein the second mounting information record indicates that a system disk managed by the first storage assembly has changed management authority.
5. The method according to any of claims 1 to 4, wherein in case that the first boot-up mode is a mirror boot-up mode, before the determining the target storage pool in which the system disk managed by the first storage component in the first boot-up mode is located, further comprising:
acquiring detailed description information of each virtual machine in the cloud platform;
and identifying the virtual machine with the mirror image attribute identified as non-empty in the detailed description information as the target virtual machine.
6. The method according to claim 5, wherein after identifying the virtual machine whose mirror image attribute is identified as non-empty in the detailed description information as the target virtual machine, further comprising:
encapsulating the target virtual machine into a task request, wherein the task request is used for requesting to switch the target virtual machine from the first starting mode to a second starting mode;
submitting the task request to a task queue, wherein the task queue comprises task requests corresponding to the target virtual machines;
and respectively processing the task requests in the task queue in parallel through a plurality of control nodes in the physical machine of the target virtual machine.
7. A virtual machine start mode switching apparatus, comprising:
the storage management system comprises a determining unit, a storage management unit and a storage management unit, wherein the determining unit is used for determining a target storage pool where a system disk managed by a first storage component in a first starting mode is located under the condition that a target virtual machine using the first starting mode is identified;
a regulating unit, configured to regulate the management authority of the target storage pool from the first storage component to a second storage component, where the second storage component is a storage component used by the management system disk in a second startup mode;
a configuration unit, configured to configure a storage driver for the target storage pool managed by the second storage component, and rename the target storage pool according to a naming manner of the second storage component, where the storage driver is configured to manage a system disk using the second storage component in the second boot mode;
a switching unit, configured to add startup information used for starting up the target virtual machine in the first startup mode to a target volume managed by the second storage component, and set the target volume managed by the second storage component as a startup volume, so that the target virtual machine is switched from the first startup mode to the second startup mode.
8. The apparatus of claim 7, wherein the adjusting unit comprises:
and an adding module, configured to add volume storage information of a target volume corresponding to the target storage pool in a management record of the second storage component, where the volume storage information includes a volume identifier of the target volume, a storage location of the target volume, and a storage space occupied by the target volume.
9. A computer-readable storage medium comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 6.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 6 by means of the computer program.
CN202010888685.3A 2020-08-28 2020-08-28 Virtual machine starting mode switching method and device, storage medium and electronic equipment Active CN111949378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010888685.3A CN111949378B (en) 2020-08-28 2020-08-28 Virtual machine starting mode switching method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010888685.3A CN111949378B (en) 2020-08-28 2020-08-28 Virtual machine starting mode switching method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111949378A CN111949378A (en) 2020-11-17
CN111949378B true CN111949378B (en) 2021-09-10

Family

ID=73366853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010888685.3A Active CN111949378B (en) 2020-08-28 2020-08-28 Virtual machine starting mode switching method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111949378B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314257B (en) * 2022-07-12 2024-03-12 天翼云科技有限公司 File system authentication method and device, electronic equipment and computer storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102132251A (en) * 2008-07-17 2011-07-20 Lsi公司 Systems and methods for booting a bootable virtual storage appliance on a virtualized server platform
US9146769B1 (en) * 2015-04-02 2015-09-29 Shiva Shankar Systems and methods for copying a source machine to a target virtual machine
CN106557355A (en) * 2016-12-01 2017-04-05 北京奇虎科技有限公司 The generation method and generating means of virtual machine image
CN106993064A (en) * 2017-06-03 2017-07-28 山东大学 A kind of system and its construction method and application that the storage of mass data scalability is realized based on Openstack cloud platforms
CN108234175A (en) * 2016-12-21 2018-06-29 ***通信有限公司研究院 A kind of cloud platform storage switching method and cloud platform based on container
CN109634718A (en) * 2018-12-13 2019-04-16 无锡华云数据技术服务有限公司 The method and system of cloud platform creation mirror image
CN111026510A (en) * 2019-12-12 2020-04-17 北京中电普华信息技术有限公司 Cross-storage thermal migration method for virtual machine in cloud environment
CN111090498A (en) * 2019-12-13 2020-05-01 腾讯科技(深圳)有限公司 Virtual machine starting method and device, computer readable storage medium and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110009B (en) * 2009-12-28 2014-06-11 ***通信集团公司 Method for deploying application in virtual platform and virtual platform manager
US9027087B2 (en) * 2013-03-14 2015-05-05 Rackspace Us, Inc. Method and system for identity-based authentication of virtual machines
CN106775924B (en) * 2016-11-07 2018-08-07 北京百度网讯科技有限公司 Virtual machine starts method and apparatus
US10929195B2 (en) * 2017-08-07 2021-02-23 Dynavisor, Inc. Method and system for cloud virtualization

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102132251A (en) * 2008-07-17 2011-07-20 Lsi公司 Systems and methods for booting a bootable virtual storage appliance on a virtualized server platform
US9146769B1 (en) * 2015-04-02 2015-09-29 Shiva Shankar Systems and methods for copying a source machine to a target virtual machine
CN106557355A (en) * 2016-12-01 2017-04-05 北京奇虎科技有限公司 The generation method and generating means of virtual machine image
CN108234175A (en) * 2016-12-21 2018-06-29 ***通信有限公司研究院 A kind of cloud platform storage switching method and cloud platform based on container
CN106993064A (en) * 2017-06-03 2017-07-28 山东大学 A kind of system and its construction method and application that the storage of mass data scalability is realized based on Openstack cloud platforms
CN109634718A (en) * 2018-12-13 2019-04-16 无锡华云数据技术服务有限公司 The method and system of cloud platform creation mirror image
CN111026510A (en) * 2019-12-12 2020-04-17 北京中电普华信息技术有限公司 Cross-storage thermal migration method for virtual machine in cloud environment
CN111090498A (en) * 2019-12-13 2020-05-01 腾讯科技(深圳)有限公司 Virtual machine starting method and device, computer readable storage medium and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
vTCM:一种基于物理可信计算环境虚拟化的虚拟可信密码模块;胡俊等;《山东大学学报(理学版)》;20190731;第54卷(第7期);第77-88页 *
基于软件定义存储的OpenStack云平台设计与实现;朱叶;《中国优秀硕士学位论文全文数据库信息科技辑》;20200215;第2020年卷(第2期);I137-89 *

Also Published As

Publication number Publication date
CN111949378A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
US11625281B2 (en) Serverless platform request routing
US9304697B2 (en) Common contiguous memory region optimized virtual machine migration within a workgroup
CN108513657B (en) Data conversion method and backup server
US20160092119A1 (en) Data migration between different types of storage systems
US9350682B1 (en) Compute instance migrations across availability zones of a provider network
US9521194B1 (en) Nondeterministic value source
US10129357B2 (en) Managing data storage in distributed virtual environment
CN112104723B (en) Multi-cluster data processing system and method
US11199989B2 (en) Methods, apparatuses and computer program products for supporting and performing data replication of virtual machine
US10754741B1 (en) Event-driven replication for migrating computing resources
WO2012113336A1 (en) System for managing resources in virtualized environment and implementation method therefor
US11716406B2 (en) Data caching for cloud services
WO2009143187A2 (en) Systems and methods for remoting multimedia plugin calls
US20140109095A1 (en) Seamless extension of local computing power
US9021478B1 (en) Provisioning virtual machines from template by splitting and building index for locating content portions via content-centric network
CN113746641B (en) ODX protocol processing method based on distributed storage
US11636139B2 (en) Centralized database system with geographically partitioned data
CN111949378B (en) Virtual machine starting mode switching method and device, storage medium and electronic equipment
US11093477B1 (en) Multiple source database system consolidation
US20230023945A1 (en) Orchestrating and Automating Product Deployment Flow and Lifecycle Management
US11297065B2 (en) Technology for computing resource liaison
US11853783B1 (en) Identifying hosts for dynamically enabling specified features when resuming operation of a virtual compute instance
EP4068091A1 (en) Hybrid approach to performing a lazy pull of container images
US20240152372A1 (en) Virtual representations of endpoints in a computing environment
CN117749813A (en) Data migration method based on cloud computing technology and cloud management platform

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
GR01 Patent grant
GR01 Patent grant