Patent ID: 9612853
Date: 2017-04-04
CPC Classifications: G06F,H04L

Claim:
1. A computer program product for monitoring resource usage of a virtual machine comprising a computer-readable storage device having computer readable program code embodied therewith, the computer readable program code comprising: computer readable program code executable by a processing unit to cause the processing unit to instantiate the virtual machine; computer readable program code executable by the processing unit to cause the processing unit to monitor resource usage of the virtual machine to form monitoring data, wherein the monitoring is performed externally from the virtual machine by a hypervisor having capabilities of a monitoring proxy for virtual machines that it hosts; computer readable program code executable by the processing unit to cause the processing unit to suspend the virtual machine; computer readable program code executable by the processing unit to cause the processing unit, responsive to suspending the virtual machine, to format and store the monitoring data, appended by the hypervisor specifically as metadata attached to a virtual machine image in combination with virtual resources associated with the virtual machine, in an image software library, obviating a requirement in monitoring environments to make associations during migration of virtual machines and during configuration changes to applications executing within the virtual machine by maintaining associations between the monitoring data, virtual machine identifiers and virtual machines and tracking changes in virtual machine identifiers, including Internet Protocol IP addresses and media access control addresses of the virtual machine; computer readable program code executable by the processing unit to cause the processing unit to maintain the monitoring data, as the metadata stored in combination with virtual resources, when one of the virtual machine, or a composite application, migrates to a different cloud environment and when moving the virtual machine between cloud infrastructures including a private cloud and a public cloud; and computer readable program code executable by the processing unit to cause the processing unit to access the monitoring data as the metadata while the virtual machine is suspended and stored in the image software library and to enable automated population of monitoring data for cloned virtual machine images.