The following description is provided to assist the understanding of the reader. None of the information provided or references cited is admitted to be prior art.
Virtual computing systems are widely used in a variety of applications. Virtual computing systems include one or more host machines running one or more virtual machines concurrently. The one or more virtual machines utilize the hardware resources of the underlying one or more host machines. Each virtual machine may be configured to run an instance of an operating system. Modern virtual computing systems allow several operating systems and several software applications to be safely run at the same time on the virtual machines of a single host machine, thereby increasing resource utilization and performance efficiency. Each virtual machine is managed by a hypervisor or virtual machine monitor. Occasionally, the virtual machines may be migrated from one host machine to another host machine. Typically, such migration occurs when the virtual machine is not in use. In some instances, live migration of a virtual machine that is in use is done by copying data stored in memory to the second host machine incrementally until a final data copy can be performed.
In accordance with at least some aspects of the present disclosure, a method is disclosed. The method includes receiving a request to migrate a first virtual machine from a first host machine to a second host machine. The first host machine includes the first virtual machine, a first hypervisor running the first virtual machine on the first host machine, and a first memory. The second host machine includes a second hypervisor and a second memory. The first host machine and the second host machine are coupled to a shared host physical storage including first swapped out memory data from the first memory, the first swapped out memory data associated with the first virtual machine, and metadata including location information of the first swapped out memory data on the shared host physical memory and an identity of the associated first virtual machine. The method additionally includes initiating, responsive to receiving the request, the migration of the first virtual machine from the first host machine to the second host machine. The method further includes copying, responsive to initiating the migration, memory data associated with the first virtual machine stored in the first memory to the second memory. The method also includes accessing, by the second hypervisor, the metadata stored in the shared host physical storage to determine location of the first swapped out memory data associated with the first virtual machine.
In accordance with another aspect of the present disclosure, a system is disclosed. The system includes a first host machine comprising a first hypervisor, a first virtual machine, and a first memory. The system further includes a second host machine including a second hypervisor and a second memory. The system also includes a shared host physical storage providing access to both the first hypervisor and the second hypervisor, the shared host physical storage including first swapped out memory data from the first memory, the first swapped out memory data associated with the first virtual machine, and metadata including location information of the first swapped out memory data on the shared host physical memory, and an identity of the associated first virtual machine. The first hypervisor is configured to receive a request for migrating the first virtual machine from the first host machine to the second host machine, and initiate, responsive to the receipt of the request, copying of memory data associated with the first virtual memory stored in the first memory to the second memory. The second hypervisor is configured to access the metadata stored in the shared host physical storage to determine location of the swapped out memory data associated with the first virtual machine.
The foregoing summary is illustrative only and is not intended to be in any way limiting. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features will become apparent by reference to the following drawings and the detailed description.
The foregoing and other features of the present disclosure will become apparent from the following description and appended claims, taken in conjunction with the accompanying drawings. Understanding that these drawings depict only several embodiments in accordance with the disclosure and are, therefore, not to be considered limiting of its scope, the disclosure will be described with additional specificity and detail through use of the accompanying drawings.
In the following detailed description, reference is made to the accompanying drawings, which form a part hereof. In the drawings, similar symbols typically identify similar components, unless context dictates otherwise. The illustrative embodiments described in the detailed description, drawings, and claims are not meant to be limiting. Other embodiments may be utilized, and other changes may be made, without departing from the spirit or scope of the subject matter presented here. It will be readily understood that the aspects of the present disclosure, as generally described herein, and illustrated in the figures, can be arranged, substituted, combined, and designed in a wide variety of different configurations, all of which are explicitly contemplated and make part of this disclosure.
The present disclosure is generally directed to a virtual computing system having a plurality of clusters, with each cluster having a plurality of nodes. Each of the plurality of nodes includes one or more virtual machines managed by an instance of a hypervisor. Occasionally, the one or more virtual machines may be migrated from a first host machine to a second host machine. The virtual machines may be managed by a hypervisor, such as an AHV type of hypervisor provided by Nutanix, Inc.
Migrating a virtual machine from a first host machine to a second host machine includes migrating the data of the first host machine to the second host machine such that when the virtual machine begins operations on the second host machine, the virtual machine has the same configuration and data. In some instances, migration is done when a virtual machine is offline, thereby only necessitating the migration of stored data and configuration settings. However, offline virtual machines result in downtime to a user, which may be unacceptable. Thus, live migration has been implemented to migrate a virtual machine from one host machine to a second host machine. Live migration includes migrating a memory data state from the first host machine to the second host machine such that when the virtual machine operation is transferred to the second host machine, such as via one or more hypervisors, the virtual machine accesses identical memory state data so applications or other processes being executed do not incur errors or faults.
Some live migration processes includes making an initial copy of the memory data to the second host machine memory, then copying changes to the memory data to both location until the virtual machine can be finally migrated at a time to incur minimal downtime. However, such a process can result in lengthy or even impossible live migrations if memory data is frequently changed and/or network data transfer rates are slow. Transfer from a host machine A to a host machine B can include “pre-copy” or “post-copy” transfers. In “pre-copy,” the virtual machine is placed in a “logging mode” and all writes to memory are tracked in a log. The hypervisor then copies the memory from host machine A to host machine B as part of an iteration. It then reads and clears the log, starting a further iteration copying only the parts of memory which got modified since the log was last read. These iterations repeat until the state reaches a “convergence” point (i.e. the amount of memory left to copy is relatively small), at which point the VM is suspended on host machine A, a last state copy takes place and the VM is resumed on host machine B. In “post-copy,” the virtual machine is migrated from host machine A to host machine B where all (or part) of the memory is only present in host machine A. In the background, the memory is copied from A to B. If the VM tries to read memory which still hasn't been copied, the hypervisor blocks the read and prioritizes pulling the required memory from host machine A.
Some live migration processes also include copying memory data that has been swapped out to storage. Memory data can be swapped out to storage, for example, due to space restrictions. Each virtual machine is allocated a portion of a host physical memory. In some instances, the amount of memory used by the virtual machine may exceed the allocation. In such instances, the hypervisor can swap out a portion of the allocated memory to a host physical storage to free up space in the host physical memory and accommodate the additional memory space requested by the virtual machine. The hypervisor can also maintain a mapping table that includes identities of the pages that have been swapped out to the host physical storage. During migration, the live migration process may have to swap in the swapped out pages from the host physical storage back into the host physical memory, and copy the swapped in pages from host machine A to host machine B. However, swapping in the pages to the host physical memory may cause data currently present in the host physical memory to be swapped out to host physical storage. Once the swapped in data is copied to the host machine B, the recently swapped out data would have to be swapped back in to the host physical memory before being copied to host B. As each swap in and swap out operation involves input/output operations to the host physical storage, copying memory that has been swapped out can cause multiple I/O operations to the host physical storage. These multiple I/O operations can result in a delay in the migration of memory data from host machine A to host machine B. In addition, the multiple I/O operations can increase the stress on the host physical storage, thereby increasing the risk of failure of the host physical storage.
Accordingly, the present disclosure provides solutions to the aforementioned technical problems. In particular, the present disclosure provides for sharing the host physical storage over multiple host machines. During migration, the data form the memory at the host machine A is transferred to the memory at the host machine B. However, the memory data that is swapped out to the host physical storage is not swapped back in to the memory of the host machine A before being copied to the memory of the host machine B. Instead, the hypervisor at host machine A can indicate to the hypervisor of the host machine B that the shared host physical storage includes swapped out. The shared host physical storage can store mapping information that when accessed by the hypervisor at the host machine B provides the locations of the memory blocks that store the swapped out memory data from the memory of the host machine A. The hypervisor at the host machine B can update its mapping tables to indicate the identities of the pages that have been swapped out and the locations in the shared host physical memory where the swapped pages reside. In this manner, the swapped out data does not have to be actually transferred from the host machine A to the host machine B. Instead, the swapped out data remains in the shared host physical storage, and is accessed by the hypervisor in the host machine B. By alleviating the need for swapping in the swapped out memory data, the delay in migrating the virtual machine is reduced. In addition, by alleviating the need for swapping in the swapped out memory data, the number of I/O operations on the host physical storage are reduced, thereby reducing the stress on the host physical storage, and reducing the risk of failure of the host physical storage.
Referring now to
The virtual computing system 100 also includes a storage pool 170. The storage pool 170 may include network-attached storage 175 and direct-attached storage 180A, 180B, and 180C. The network-attached storage 175 may be accessible via the network 165 and, in some embodiments, may include cloud storage 185, as well as local storage area network 190. In contrast to the network-attached storage 175, which is accessible via the network 165, the direct-attached storage 180A, 180B, and 180C may include storage components that are provided within each of the first node 105, the second node 110, and the third node 115, respectively, such that each of the first, second, and third nodes may access its respective direct-attached storage without having to access the network 165.
It is to be understood that only certain components of the virtual computing system 100 are shown in
Although three of the plurality of nodes (e.g., the first node 105, the second node 110, and the third node 115) are shown in the virtual computing system 100, in other embodiments, greater than or fewer than three nodes may be used. Likewise, although only two of the user VMs (e.g., the user VMs 120, the user VMs 135, and the user VMs 150) are shown on each of the respective first node 105, the second node 110, and the third node 115, in other embodiments, the number of the user VMs on each of the first, second, and third nodes may vary to include either a single user VM or more than two user VMs. Further, the first node 105, the second node 110, and the third node 115 need not always have the same number of the user VMs (e.g., the user VMs 120, the user VMs 135, and the user VMs 150). Additionally, more than a single instance of the hypervisor (e.g., the hypervisor 125, the hypervisor 140, and the hypervisor 155) and/or the controller/service VM (e.g., the controller/service VM 130, the controller/service VM 145, and the controller/service VM 160) may be provided on the first node 105, the second node 110, and/or the third node 115.
In some embodiments, each of the first node 105, the second node 110, and the third node 115 may be a hardware device, such as a server. For example, in some embodiments, one or more of the first node 105, the second node 110, and the third node 115 may be an NX-1000 server, NX-3000 server, NX-6000 server, NX-8000 server, etc. provided by Nutanix, Inc. or server computers from Dell, Inc., Lenovo Group Ltd. or Lenovo PC International, Cisco Systems, Inc., etc. In other embodiments, one or more of the first node 105, the second node 110, or the third node 115 may be another type of hardware device, such as a personal computer, an input/output or peripheral unit such as a printer, or any type of device that is suitable for use as a node within the virtual computing system 100. In some embodiments, the virtual computing system 100 may be part of a data center.
Each of the first node 105, the second node 110, and the third node 115 may also be configured to communicate and share resources with each other via the network 165. For example, in some embodiments, the first node 105, the second node 110, and the third node 115 may communicate and share resources with each other via the controller/service VM 130, the controller/service VM 145, and the controller/service VM 160, and/or the hypervisor 125, the hypervisor 140, and the hypervisor 155. One or more of the first node 105, the second node 110, and the third node 115 may also be organized in a variety of network topologies, and may be termed as a “host” or “host machine.”
Also, although not shown, one or more of the first node 105, the second node 110, and the third node 115 may include one or more processing units configured to execute instructions. The instructions may be carried out by a special purpose computer, logic circuits, or hardware circuits of the first node 105, the second node 110, and the third node 115. The processing units may be implemented in hardware, firmware, software, or any combination thereof. The term “execution” is, for example, the process of running an application or the carrying out of the operation called for by an instruction. The instructions may be written using one or more programming language, scripting language, assembly language, etc. The processing units, thus, execute an instruction, meaning that they perform the operations called for by that instruction.
The processing units may be operably coupled to the storage pool 170, as well as with other elements of the first node 105, the second node 110, and the third node 115 to receive, send, and process information, and to control the operations of the underlying first, second, or third node. The processing units may retrieve a set of instructions from the storage pool 170, such as, from a permanent memory device like a read only memory (ROM) device and copy the instructions in an executable form to a temporary memory device that is generally some form of random access memory (RAM). The ROM and RAM may both be part of the storage pool 170, or in some embodiments, may be separately provisioned from the storage pool. Further, the processing units may include a single stand-alone processing unit, or a plurality of processing units that use the same or different processing technology.
With respect to the storage pool 170 and particularly with respect to the direct-attached storage 180A, 180B, and 180C, each of the direct-attached storage may include a variety of types of memory devices. For example, in some embodiments, one or more of the direct-attached storage 180A, 180B, and 180C may include, but is not limited to, any type of RAM, ROM, flash memory, magnetic storage devices (e.g., hard disk, floppy disk, magnetic strips, etc.), optical disks (e.g., compact disk (CD), digital versatile disk (DVD), etc.), smart cards, solid state devices, etc. Likewise, the network-attached storage 175 may include any of a variety of network accessible storage (e.g., the cloud storage 185, the local storage area network 190, etc.) that is suitable for use within the virtual computing system 100 and accessible via the network 165. The storage pool 170 including the network-attached storage 175 and the direct-attached storage 180A, 180B, and 180C may together form a distributed storage system configured to be accessed by each of the first node 105, the second node 110, and the third node 115 via the network 165, the controller/service VM 130, the controller/service VM 145, and the controller/service VM 160, and/or the hypervisor 125, the hypervisor 140, and the hypervisor 155. In some embodiments, the various storage components in the storage pool 170 may be configured as virtual disks for access by the user VMs 120, the user VMs 135, and the user VMs 150.
Each of the user VMs 120, the user VMs 135, and the user VMs 150 is a software-based implementation of a computing machine in the virtual computing system 100. The user VMs 120, the user VMs 135, and the user VMs 150 emulate the functionality of a physical computer. Specifically, the hardware resources, such as processing unit, memory, storage, etc., of the underlying computer (e.g., the first node 105, the second node 110, and the third node 115) are virtualized or transformed by the respective hypervisor 125, the hypervisor 140, and the hypervisor 155, respectively, into the underlying support for each of the user VMs 120, the user VMs 135, and the user VMs 150 that may run its own operating system and applications on the underlying physical resources just like a real computer. By encapsulating an entire machine, including CPU, memory, operating system, storage devices, and network devices, the user VMs 120, the user VMs 135, and the user VMs 150 are compatible with most standard operating systems (e.g. Windows, Linux, etc.), applications, and device drivers. Thus, each of the hypervisor 125, the hypervisor 140, and the hypervisor 155 is a virtual machine monitor that allows a single physical server computer (e.g., the first node 105, the second node 110, third node 115) to run multiple instances of the user VMs 120, the user VMs 135, and the user VMs 150, with each user VM sharing the resources of that one physical server computer, potentially across multiple environments. By running the user VMs 120, the user VMs 135, and the user VMs 150 on each of the first node 105, the second node 110, and the third node 115, respectively, multiple workloads and multiple operating systems may be run on a single piece of underlying hardware computer (e.g., the first node, the second node, and the third node) to increase resource utilization and manage workflow.
The user VMs 120, the user VMs 135, and the user VMs 150 are controlled and managed by their respective instance of the controller/service VM 130, the controller/service VM 145, and the controller/service VM 160. The controller/service VM 130, the controller/service VM 145, and the controller/service VM 160 are configured to communicate with each other via the network 165 to form a distributed system 195. Each of the controller/service VM 130, the controller/service VM 145, and the controller/service VM 160 may also include a local management system (e.g., Prism Element from Nutanix, Inc.) configured to manage various tasks and operations within the virtual computing system 100.
The hypervisor 125, the hypervisor 140, and the hypervisor 155 of the first node 105, the second node 110, and the third node 115, respectively, may be configured to run virtualization software, such as, ESXi from VMWare, AHV from Nutanix, Inc., XenServer from Citrix Systems, Inc., etc., for running the user VMs 120, the user VMs 135, and the user VMs 150, respectively, and for managing the interactions between the user VMs and the underlying hardware of the first node 105, the second node 110, and the third node 115. Each of the controller/service VM 130, the controller/service VM 145, the controller/service VM 160, the hypervisor 125, the hypervisor 140, and the hypervisor 155 may be configured as suitable for use within the virtual computing system 100.
The network 165 may include any of a variety of wired or wireless network channels that may be suitable for use within the virtual computing system 100. For example, in some embodiments, the network 165 may include wired connections, such as an Ethernet connection, one or more twisted pair wires, coaxial cables, fiber optic cables, etc. In other embodiments, the network 165 may include wireless connections, such as microwaves, infrared waves, radio waves, spread spectrum technologies, satellites, etc. The network 165 may also be configured to communicate with another device using cellular networks, local area networks, wide area networks, the Internet, etc. In some embodiments, the network 165 may include a combination of wired and wireless communications.
Referring still to
Further, in some embodiments, although not shown, the virtual computing system 100 includes a central management system (e.g., Prism Central from Nutanix, Inc.) that is configured to manage and control the operation of the various clusters in the virtual computing system. In some embodiments, the central management system may be configured to communicate with the local management systems on each of the controller/service VM 130, the controller/service VM 145, and the controller/service VM 160 for controlling the various clusters.
Again, it is to be understood again that only certain components of the virtual computing system 100 are shown and described herein. Nevertheless, other components that may be needed or desired to perform the functions described herein are contemplated and considered within the scope of the present disclosure. It is also to be understood that the configuration of the various components of the virtual computing system 100 described above is only an example and is not intended to be limiting in any way. Rather, the configuration of those components may vary to perform the functions described herein.
Turning to
In some instances, the requested memory size by the first virtual machine 214 can exceed the corresponding allocated size of the portion of the first memory 216. In such instances, the first hypervisor 212 may swap out some of the data from the portion of the first memory 216 allocated to the first virtual machine 214 to the shared host physical storage 260. The swapped out data can correspond to processes that are not currently running on the first virtual machine 214 or may data that is relatively older. Thus, during migration of the first virtual machine 214 from the first host machine 210 to the second host machine 220, merely transferring the data in the first memory 216 associated with the first virtual machine 214 to the second memory 226 may not be sufficient. The second hypervisor 222 may need to know where the swapped out data associated with the first virtual machine 214 is stored in the shared host physical storage 260, so that when the swapped out data is requested by processes running on the migrated first virtual machine 214, the second hypervisor 222 has the ability to swap in that data back into the second memory 226.
In the implementation shown in
The first memory 216 may include, but is not limited to, any permanent memory device like a read only memory (ROM) device, temporary memory device such as random access memory (RAM) any type of magnetic storage devices (e.g., hard disk, floppy disk, magnetic strips, etc.), optical disks (e.g., compact disk (CD), digital versatile disk (DVD), etc.), smart cards, solid state devices, etc. The first host machine 210 can be analogous to host machine 105, 110, 115 discussed with respect to
The second host machine 220 includes a second memory 226 and a second hypervisor 222. The second memory 226 can be similar to the first memory 216 discussed above in relation to the first host machine 210. That is, the second memory 226 can represent a host physical memory for the second host machine 220. The second hypervisor 222 can create and run one or more virtual machines on the second host machine 220, and can allocate portions of the second memory 226 to guest physical memories associated with the one or more virtual machines. The second host machine 220 can be a target host machine, where the first virtual machine 214 can be migrated. The second memory 226 may include, but is not limited to, any permanent memory device like a read only memory (ROM) device, temporary memory device such as random access memory (RAM) any type of magnetic storage devices (e.g., hard disk, floppy disk, magnetic strips, etc.), optical disks (e.g., compact disk (CD), digital versatile disk (DVD), etc.), smart cards, solid state devices, etc.
The shared host physical storage 260 may include, but is not limited to, storage devices, (e.g., hard disk, floppy disk, magnetic strips, etc.), optical disks (e.g., compact disk (CD), digital versatile disk (DVD), etc.), smart cards, solid state devices, etc. The shared host physical storage 260 can be shared with one or more host machines. For example, the shared host physical storage 160 can be shared by the first host machine 210 and the second host machine 220. In particular, both the first hypervisor 212 of the first host machine 210 and the second hypervisor 222 of the second host machine 220 can have read and write access to the shared host physical storage 260. The shared host physical storage 260 can store data associated with the first host machine 210 and data associated with the second host machine 220. The data can include file systems, databases, computer programs, applications, etc. The shared host physical storage 260 can also include the swapped out data from the first memory 216 and the second memory 226 of the first and second host machines 210 and 220, respectively. In some embodiments, the shared host physical storage 260 may include only swapped out memory data 262 from the host machines, and metadata that includes information regarding the locations of the swapped out memory data 262 on the shared host physical storage 260. In some such embodiments, the shared host physical storage 260 can be partition of a larger storage device or pool.
A target hypervisor, such as the second hypervisor 222 of the second host machine 220 can access the metadata 308 of the shared host physical storage 300 to determine the locations of the swapped out memory data associated with the migrated virtual machines. This information can be used by the second hypervisor 222 to update swap tables stored in memory that map the pages that have been swapped out to the location in the shared host physical storage 300 where the swapped out pages are stored. As the shared host physical storage 300 is shared between the source hypervisor and the target hypervisor, the virtual machine can be migrated to the target host machine without having to swap in the memory data from storage into the source memory and then copying the data to the target memory.
In one approach, prior to copying, the first memory data 230 can be copied using a “pre-copy” method. The first virtual machine 214 can be placed in a “logging mode” and all writes to from the first virtual machine 214 to the first memory 216 can be tracked in a log. The first hypervisor 212 can then copy the first memory data 230 from the first memory 216 to the second memory 226 of the second host machine 220. The first hypervisor 212 can then read and clear the log, and begin an iteration of copying only that memory data associated with the first virtual machine 214 that has been modified after the last time the log was read. The first hypervisor 212 can copy the modified data and clear the log again. Thereafter, the first hypervisor 212 can again check for modified data since the last log read to identify modified memory data. The first hypervisor 212 can continue to iteratively copy modified data until the log indicates that no modified data is remaining. At this point, the first virtual machine 214 can be suspended on the first host machine 210, and is resumed on the second host machine 220 along with a last state copy.
In another approach, the first memory data 230 can be copied using a “post-copy” method. The first hypervisor 212 can migrate the first virtual machine 214 from the first host machine 210 to the second host machine 220, such that all or part of the first memory data 230 is retained in the first memory 216 of the first host machine 210. In the background, portions of the first memory data 230 are copied from the first memory 216 to the second memory 226. If the first virtual machine 214, which is now operating on the second host machine 220, tries to read portions of the first memory data 230 that have yet to be copied to the second memory 226, the second hypervisor 222 blocks the reads and prioritizes the copying of the requested portions of the first memory data 230 from the first memory 216 to the second memory 226. Over time, all of the first memory data 230 can be copied to the second memory 226. Other approaches to copying the first memory data 230 from the first memory 216 to the second memory 226 also can be utilized.
In addition to copying the first memory data 230 from the first memory 216 to the second memory 226, the second hypervisor 222 also determines the location on the shared host physical storage 260 where the swapped out data from the first memory 216 is stored. In particular, the second hypervisor 222 can determine the location on the shared host physical storage 260 where the swapped out data associated with the first virtual machine 214 is stored. The second hypervisor 222 can access the shared host physical storage 260 via the network 250 and read the metadata 264. As shown in
The metadata for mapping a page to the block (LBA) is in swapped out memory only, thus it needs to be transmitted by the first hypervisor 212 to the second hypervisor 222. For example, when sending data for page P to the second hypervisor 222, instead of sending the memory contents, the LBA of contents on the shared storage is sent instead. The receiving hypervisor updates the mapping table to point page P to this LBA. At the start of the migration process, the first hypervisor 212 informs the second hypervisor 222 which shared swap device is used for the VM.
Once the second hypervisor 222 identifies the location of the swapped out memory data, the second hypervisor 222 can successfully handle any page faults generated by the migrated first virtual machine 214. That is, a process in the first virtual machine 214 may make a read/write request for an address space in the second memory 226 that has been swapped out to the shared host physical storage 260. This read/write request can generate a page fault. The second hypervisor 222 can determine the location on the shared host physical storage 300 where the swapped out data associated with the requested address space is stored on the shared host physical storage 300. The second hypervisor 222 can swap in the swapped out data to the second memory 226, clear the page fault, and allow the process requesting the data to proceed with the read/write request.
Turning now to
The process 500 includes receiving a request to migrate a first virtual machine from a first host machine to a second host machine, where the first host machine and the second host machine are coupled to a shared host physical storage (502). As an example, the request for the migration can be received by the first host machine 210. Specifically, the request could be received by the first hypervisor 212 or a controller virtual machine (such as the controller/service VM 130 show in
Further, the first host machine and the second host machine are coupled to the shared host physical storage. For example, the first host machine 210 and the second host machine 220 are coupled to the shared host physical storage 260 over the network 250. As discussed above in relation to
The process 500 further includes initiating migration of the first virtual machine from the first host machine to the second host machine (504). As an example, the first hypervisor 212 can receive a request to initiate the migration of the first virtual machine 214 from the first host machine 210 to the second host machine 220. In some embodiments, a controller/service VM, such as the controller/service VMs 130, 140, and 160 can receive a request for migrating one or more virtual machines.
The process 500 also includes copying memory data associated with the first virtual machine stored in the first memory to the second memory (506). For example, as shown in
The process 500 further includes accessing, by the second hypervisor, the metadata stored in the shared host physical storage to determine location of the swapped out memory data (508). As discussed above in relation to
Although the present disclosure has been described with respect to software applications, in other embodiments, one or more aspects of the present disclosure may be applicable to other components of the virtual computing system 100 that may be suitable for real-time monitoring by the user.
It is also to be understood that in some embodiments, any of the operations described herein may be implemented at least in part as computer-readable instructions stored on a computer-readable memory. Upon execution of the computer-readable instructions by a processor, the computer-readable instructions may cause a node to perform the operations.
The herein described subject matter sometimes illustrates different components contained within, or connected with, different other components. It is to be understood that such depicted architectures are merely exemplary, and that in fact many other architectures can be implemented which achieve the same functionality. In a conceptual sense, any arrangement of components to achieve the same functionality is effectively “associated” such that the desired functionality is achieved. Hence, any two components herein combined to achieve a particular functionality can be seen as “associated with” each other such that the desired functionality is achieved, irrespective of architectures or intermedial components. Likewise, any two components so associated can also be viewed as being “operably connected,” or “operably coupled,” to each other to achieve the desired functionality, and any two components capable of being so associated can also be viewed as being “operably couplable,” to each other to achieve the desired functionality. Specific examples of operably couplable include but are not limited to physically mateable and/or physically interacting components and/or wirelessly interactable and/or wirelessly interacting components and/or logically interacting and/or logically interactable components.
With respect to the use of substantially any plural and/or singular terms herein, those having skill in the art can translate from the plural to the singular and/or from the singular to the plural as is appropriate to the context and/or application. The various singular/plural permutations may be expressly set forth herein for sake of clarity.
It will be understood by those within the art that, in general, terms used herein, and especially in the appended claims (e.g., bodies of the appended claims) are generally intended as “open” terms (e.g., the term “including” should be interpreted as “including but not limited to,” the term “having” should be interpreted as “having at least,” the term “includes” should be interpreted as “includes but is not limited to,” etc.). It will be further understood by those within the art that if a specific number of an introduced claim recitation is intended, such an intent will be explicitly recited in the claim, and in the absence of such recitation no such intent is present. For example, as an aid to understanding, the following appended claims may contain usage of the introductory phrases “at least one” and “one or more” to introduce claim recitations. However, the use of such phrases should not be construed to imply that the introduction of a claim recitation by the indefinite articles “a” or “an” limits any particular claim containing such introduced claim recitation to inventions containing only one such recitation, even when the same claim includes the introductory phrases “one or more” or “at least one” and indefinite articles such as “a” or “an” (e.g., “a” and/or “an” should typically be interpreted to mean “at least one” or “one or more”); the same holds true for the use of definite articles used to introduce claim recitations. In addition, even if a specific number of an introduced claim recitation is explicitly recited, those skilled in the art will recognize that such recitation should typically be interpreted to mean at least the recited number (e.g., the bare recitation of “two recitations,” without other modifiers, typically means at least two recitations, or two or more recitations). Furthermore, in those instances where a convention analogous to “at least one of A, B, and C, etc.” is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., “a system having at least one of A, B, and C” would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and/or A, B, and C together, etc.). In those instances where a convention analogous to “at least one of A, B, or C, etc.” is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., “a system having at least one of A, B, or C” would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and/or A, B, and C together, etc.). It will be further understood by those within the art that virtually any disjunctive word and/or phrase presenting two or more alternative terms, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the terms, either of the terms, or both terms. For example, the phrase “A or B” will be understood to include the possibilities of “A” or “B” or “A and B.” Further, unless otherwise noted, the use of the words “approximate,” “about,” “around,” “substantially,” etc., mean plus or minus ten percent.
The foregoing description of illustrative embodiments has been presented for purposes of illustration and of description. It is not intended to be exhaustive or limiting with respect to the precise form disclosed, and modifications and variations are possible in light of the above teachings or may be acquired from practice of the disclosed embodiments. It is intended that the scope of the invention be defined by the claims appended hereto and their equivalents.