WO2013090066A1 - Providing update notifications on distributed application objects - Google Patents

Providing update notifications on distributed application objects Download PDF

Info

Publication number
WO2013090066A1
WO2013090066A1 PCT/US2012/067814 US2012067814W WO2013090066A1 WO 2013090066 A1 WO2013090066 A1 WO 2013090066A1 US 2012067814 W US2012067814 W US 2012067814W WO 2013090066 A1 WO2013090066 A1 WO 2013090066A1
Authority
WO
WIPO (PCT)
Prior art keywords
template
objects
virtual
virtual disk
notification
Prior art date
Application number
PCT/US2012/067814
Other languages
French (fr)
Inventor
Alan Shi
Srivatsan Parthasarathy
Biddappa Nanaiah BERERA
Rajeet NAIR
Rakesh Malhotra
Michael Michael
Eric Joseph Winner
Original Assignee
Microsoft Corporation
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 Microsoft Corporation filed Critical Microsoft Corporation
Priority to JP2014547280A priority Critical patent/JP6077562B2/en
Priority to KR1020147016135A priority patent/KR102008037B1/en
Priority to EP12858340.8A priority patent/EP2791793B1/en
Publication of WO2013090066A1 publication Critical patent/WO2013090066A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • 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
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • 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/45579I/O management, e.g. providing access to device drivers or storage

Definitions

  • Computer systems and related technology affect many aspects of society. Indeed, the computer system's ability to process information has transformed the way we live and work. Computer systems now commonly perform a host of tasks (e.g., word processing, scheduling, accounting, etc.) that prior to the advent of the computer system were performed manually. More recently, computer systems have been coupled to one another and to other electronic devices to form both wired and wireless computer networks over which the computer systems and other electronic devices can transfer electronic data. Accordingly, the performance of many computing tasks are distributed across a number of different computer systems and/or a number of different computing environments.
  • tasks e.g., word processing, scheduling, accounting, etc.
  • a virtual machine can include a specified number of processors, a specified amount of memory, one or more virtual storage devices, applications or other components to be stored on the virtual storage devices, etc.
  • a virtual machine can include a specified number of processors, a specified amount of memory, one or more virtual storage devices, applications or other components to be stored on the virtual storage devices, etc.
  • One or more users specify the desired configuration for the virtual machine. This configuration can include setting a number of properties on a virtual machine instance such as a property that references a particular virtual storage device.
  • a virtual hard drive is a virtual storage device whereas the content of a virtual hard drive is referred to as a virtual hard disk.
  • a virtual hard drive is represented as a property on a virtual machine whereas a virtual hard disk is a file containing data such as an operating system used by the virtual machine.
  • virtual CD or DVD drives are represented as properties on a virtual machine whereas a virtual CD or virtual DVD is represented as a file (e.g. a .ISO for the contents of a DVD).
  • Another form of virtual disk is a Virtual Machine Disk (VMDK).
  • an instance of a virtual machine can be generated from a virtual machine template object (as opposed to requiring manual configuration of properties).
  • a virtual machine template object can be thought of as a blueprint for creating virtual machines.
  • the virtual machine template object can specify the desired physical resources and their configuration.
  • a virtual machine template object can include metadata for specifying the number of processors, the amount of memory, etc.
  • a virtual machine template object can also identify that a virtual machine is to include a virtual hard drive (or other virtual storage device) as well as the contents that should be included within the virtual hard drive.
  • the virtual machine template object can reference a virtual hard disk object.
  • service template objects can be used as blueprints for creating distributed applications.
  • distributed application is generally used interchangeably with the term service instance.
  • a distributed application comprises a group of one or more virtual machines that are configured to implement desired functionality.
  • a service template object can reference one or more virtual machine template objects from which one or more virtual machine instances are to be created to implement a distributed application.
  • virtual machine template object and service template object are jointly referred to as template objects.
  • a virtual machine template object can be used to ensure that many instances of a virtual machine are similarly configured.
  • a virtual machine template object can be defined once and many instances of a virtual machine can be generated from the virtual machine template object so that each instance has the same properties (e.g. a copy of the same virtual hard disk, the same number of processors and memory, etc.).
  • a service template object can be defined once and many instances of a distributed application can be generated from the service template object so that each instance of the distributed application is comprised of the same number of virtual machines with the same configuration.
  • a service template object can include a tier template object which references the virtual machine template objects.
  • a tier is a group of virtual machines that are identically configured. Accordingly, a tier template object can reference a virtual machine template object and indicate the number of virtual machine instances that should be generated from the virtual machine template object.
  • the resources used to create a virtual machine are often designed and/or managed by different personas. For example, applications are generally created by developers.
  • virtual hard disks are generally created by server administrators of the company that hosts virtual machines.
  • Template objects are generally created by an IT administrator or other IT staff at a company desiring a virtual machine, and instances of the virtual machine are deployed by different IT staff at the company or even by another company wishing to use the company's template object.
  • the present invention extends to methods, systems, and computer program products for providing update notifications on objects used to create a distributed application.
  • the present invention simplifies the process of notifying relevant parties of new or updated objects, and facilitates responding appropriately to such notifications.
  • the creation of a new version of a virtual disk object is detected.
  • the object represents a virtual disk for use in a distributed application.
  • One or more template objects are identified.
  • the one or more template objects depend on the virtual disk object.
  • a notification is provided, to each of the one or more template objects, that indicates that the new version of the virtual disk object has been created.
  • the creation of a new version of a template object is detected.
  • the new version of the template object defines a distributed application.
  • One or more service instance objects, which are generated from the template object are identified.
  • a notification is provided to each of the one or more service instance objects.
  • the notification indicates that the new version of the template object has been created.
  • Figure 1 illustrates an example computer architecture that facilitates providing update notifications on distributed application objects
  • Figure 2A illustrates various logical spaces in a computer system within the example computer architecture of Figure 1 ;
  • Figures 2B-2E illustrate how notifications are provided to objects within the logical spaces in the computer system
  • Figure 3 is a flowchart of a method for providing a notification of an update to a virtual disk object to one or more template objects that depend on the virtual disk object; and [0022]
  • Figure 4 is a flowchart of a method for providing a notification of an update to a template object to one or more service instance objects that are generated from the template object.
  • the present invention extends to methods, systems, and computer program products for providing update notifications on objects used to create a distributed application.
  • the present invention simplifies the process of notifying relevant parties of new or updated objects, and facilitates responding appropriately to such notifications.
  • the creation of a new version of a virtual disk object is detected.
  • the object represents a virtual disk for use in a distributed application.
  • One or more template objects are identified.
  • the one or more template objects depend on the virtual disk object.
  • a notification is provided, to each of the one or more template objects, that indicates that the new version of the virtual disk object has been created.
  • the creation of a new version of a template object is detected.
  • the new version of the template object defines a distributed application.
  • One or more service instance objects, which are generated from the template object, are identified.
  • a notification is provided to each of the one or more service instance objects.
  • the notification indicates that the new version of the template object has been created.
  • the creation of a new version of a virtual disk object is detected.
  • the object represents a virtual disk for use in a distributed application.
  • One or more template objects are identified.
  • the one or more template objects depend on the virtual disk object.
  • a notification is provided, to each of the one or more template objects, that indicates that the new version of the virtual disk object has been created.
  • the creation of a new version of a template object is detected.
  • the new version of the template object defines a distributed application.
  • One or more service instance objects, which are generated from the template object, are identified.
  • a notification is provided to each of the one or more service instance objects. The notification indicates that the new version of the template object has been created.
  • Embodiments of the present invention may comprise or utilize a special purpose or general-purpose computer including computer hardware, such as, for example, one or more processors and system memory, as discussed in greater detail below.
  • Embodiments within the scope of the present invention also include physical and other computer- readable media for carrying or storing computer-executable instructions and/or data structures.
  • Such computer-readable media can be any available media that can be accessed by a general purpose or special purpose computer system.
  • Computer-readable media that store computer-executable instructions are computer storage media (devices).
  • Computer-readable media that carry computer-executable instructions are transmission media.
  • embodiments of the invention can comprise at least two distinctly different kinds of computer-readable media: computer storage media (devices) and transmission media.
  • Computer storage media includes RAM, ROM, EEPROM, CD-ROM, solid state drives (“SSDs”) (e.g., based on RAM), Flash memory, phase-change memory (“PCM”), other types of memory, other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer.
  • SSDs solid state drives
  • PCM phase-change memory
  • a "network” is defined as one or more data links that enable the transport of electronic data between computer systems and/or modules and/or other electronic devices.
  • a network or another communications connection either hardwired, wireless, or a combination of hardwired or wireless
  • the computer properly views the connection as a transmission medium.
  • Transmissions media can include a network and/or data links which can be used to carry or desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer. Combinations of the above should also be included within the scope of computer-readable media.
  • program code means in the form of computer-executable instructions or data structures can be transferred automatically from transmission media to computer storage media (devices) (or vice versa).
  • computer-executable instructions or data structures received over a network or data link can be buffered in RAM within a network interface module (e.g., a "NIC"), and then eventually transferred to computer system RAM and/or to less volatile computer storage media (devices) at a computer system.
  • a network interface module e.g., a "NIC”
  • NIC network interface module
  • computer storage media (devices) can be included in computer system components that also (or even primarily) utilize transmission media.
  • Computer-executable instructions comprise, for example, instructions and data which, when executed at a processor, cause a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions.
  • the computer executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, or even source code.
  • the invention may be practiced in network computing environments with many types of computer system configurations, including, personal computers, desktop computers, laptop computers, message processors, hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, mobile telephones, PDAs, pagers, routers, switches, and the like.
  • the invention may also be practiced in distributed system environments where local and remote computer systems, which are linked (either by hardwired data links, wireless data links, or by a combination of hardwired and wireless data links) through a network, both perform tasks.
  • program modules may be located in both local and remote memory storage devices.
  • Figure 1 illustrates an example computer architecture 100 that facilitates providing update notifications on distributed application objects.
  • computer architecture 100 comprises a computer system 101 that includes a plurality of interconnected processors, memory, and storage devices for creating and executing virtual machines.
  • computer system 101 includes storage devices 102, processors 103, and memory 104.
  • Computer system 101 can be implemented in a cloud of computing systems.
  • An example of computer system 101 can include the resources that make up Microsoft's System Center Virtual Machine Manager product.
  • Computer system 101 can be connected to other computer systems, such as computer systems 106 and 107 over a network, such as, for example, a Local Area Network ("LAN”), a Wide Area Network (“WAN”), and even the Internet. Accordingly, the other computer systems can communicate with computer system 101 using any available means, such as by creating message related data and exchanging message related data (e.g., Internet Protocol (“IP”) datagrams and other higher layer protocols that utilize IP datagrams, such as, Transmission Control Protocol (“TCP”), Hypertext Transfer Protocol (“HTTP”), Simple Mail Transfer Protocol (“SMTP”), etc.) over the network.
  • IP Internet Protocol
  • TCP Transmission Control Protocol
  • HTTP Hypertext Transfer Protocol
  • SMTP Simple Mail Transfer Protocol
  • Such communications can include commands for interacting with an executing a virtual machine, or instructions for configuring a new or existing virtual machine within computer system 101.
  • Figure 2A illustrates various logical spaces within computer system 101.
  • Computer system 101 can include library space 201, template space 202, and instance space 203.
  • Figure 2A also illustrates that computer system 101 can include refresher 204 whose function will be described below.
  • Library space 201 stores objects which define virtual disks.
  • library space 201 can represent the physical location where the objects defining virtual hard disks, as well as other virtual disks such as virtual CDs or virtual DVDs, available within computer system 101 are stored.
  • Library space 201 can also store other artifacts used for virtual machine creation such as applications, scripts, drivers, etc.
  • library space 201 stores virtual hard disk object 205.
  • a virtual hard disk (or other virtual disk) is a file storing the contents of the virtual hard disk such as an operating system.
  • An instance of a virtual hard disk can be created from a virtual hard disk object (e.g. by copying the file representing the virtual hard disk to a host system that executes a virtual machine using the virtual hard disk).
  • Virtual hard disk object 205 has a family name of A.VHD and a release of R-l . The use of family names and releases is described below.
  • any other type of virtual disk such as a virtual DVD, can be used within embodiments of the present invention.
  • a virtual machine according to the present invention can use more than one virtual disk. The notification techniques described below can apply equally to each virtual disk.
  • Template space 202 stores defined template objects such as virtual machine template objects and service template objects.
  • template space 202 can represent the physical location where template objects are stored within computer system 101.
  • template space 202 can represent one or more database tables that store the component values of the various template objects that are defined in computer system 101 along with an identification of which component values are used by which template objects. In other embodiments, however, other data constructs can be used for template objects.
  • template space 202 includes template object 206.
  • Template object 206 represents a virtual machine template object.
  • a virtual machine template object identifies a virtual hard disk object (and possibly other virtual disk objects), specifies a number of processors, an amount of memory, and applications or components to be installed on an instance of the virtual hard disk, among other things.
  • the virtual machine template object is used when an instance of a virtual machine is created.
  • template object 206 can identify virtual hard disk object 205 indicating that virtual machine instances generated from template object 206 will include a virtual hard disk instantiated from virtual hard disk object 205.
  • template object 206 is described as representing a virtual machine template object, for purposes of the present invention, template object 206 can also represent a service template object.
  • a service template object comprises one or more virtual machine template objects.
  • a service template object identifies one or more virtual machine template objects that will make up a service instance created from the service template object.
  • a service template object also defines other properties and configuration settings for defining the service instance such as how each virtual machine communicates with the other virtual machines in the service instance.
  • a service template object indirectly references each of the virtual disk objects that are directly referenced by the virtual machine template objects referenced in the service template object. Therefore, notifications of updates to a virtual disk object can be provided similarly to both the virtual machine template object that directly references the virtual disk object and the service template object that references any virtual machine template object that references the virtual disk object.
  • template objects Such references should be construed to include both virtual machine and service template objects unless otherwise defined.
  • Instance space 203 contains service instances, such as service instance 214, which are a collection of one or more virtual machine instances.
  • instance space 203 can represent the physical processors, memory, and storage where virtual machine instances are executed.
  • instance space 203 can also include service instance objects.
  • a service instance object is a data construct that represents a service instance.
  • service instance object 214a can represent service instance 214.
  • Service instance 214 was created from template object 206 and contains virtual machine instance 207.
  • Virtual machine instance 207 references virtual hard disk instance 205a.
  • a distributed application is executed within a collection of one or more virtual machine instances.
  • a multiple tier distributed application can comprise one or more virtual machines that implement a front end of the application, one or more virtual machines that implement a middle layer of the application, and one or more virtual machines that implement a database backend of the application.
  • each of the virtual machines of the multiple tier distributed application could be generated from a virtual machine template object.
  • a service template object that represents the distributed application can reference each of these virtual machine template objects.
  • virtual hard disk instance 205a is instantiated from virtual hard disk object 205 identified in template object 206, processors and memory are allocated as defined in template object 206, and applications and components defined in template object 206 are installed on virtual hard disk instance 205a.
  • Figure 2B illustrates how notifications are provided on template objects when an updated virtual hard disk object is created.
  • Figure 2B is similar to Figure 2 A with the addition of virtual hard disk object 208 and updated resource lists 209.
  • Virtual hard disk object 208 comprises an update to virtual hard disk object 205.
  • virtual hard disk object 205 can contain an initial version of an operating system whereas virtual hard disk object 208 can contain a patched version of an operating system.
  • Figure 2B shows that virtual hard disk object 208 has the same family name (A.VHD) but a different release (R-2) than virtual hard disk object 205.
  • Updated resource list 209 comprises a list of updates to resources on which template object 206 depends. For example, as described above, template object 206 identifies virtual hard disk object 205. Because virtual hard disk object 208 is an updated version of virtual hard disk object 205, an entry is added to updated resource list 209 that identifies virtual hard disk object 208 as an available update to virtual hard disk object 205. A notification can identify an updated object by using the family name and release of the object as fully described below. [0049] Although Figures 2 A and 2B illustrate that a single template object depends on virtual hard disk object 205 and that a single service instance object 214a depends on template object 206, multiple template objects and service instance objects can depend on a single virtual hard disk object and a single template object respectively.
  • Refresher 204 comprises a module that can execute periodically or at other intervals to determine whether any updates to virtual hard disk objects or template objects have been created. When refresher 204 identifies an updated object, it updates the appropriate updated resource list. For example, refresher 204 can add the entry to updated resource list 209 when virtual hard disk object 208 is created.
  • Embodiments of the present invention can also provide a mechanism for providing immediate notifications to objects. For example, if a server administrator creates a new version of a virtual hard disk object, he can cause notifications to be raised immediately on each template object that depends on the virtual hard disk object rather than waiting until refresher 204 runs again.
  • embodiments of the present invention can also set a flag within the object to notify the object that its updated resource list has been modified. This flag can remain set as long as the object's updated resource list contains a notification.
  • FIG. 2C illustrates that another virtual hard disk object 21 1 has been added to library space 201.
  • Virtual hard disk object 211 comprises an update to virtual hard disk object 208.
  • Figure 2C shows that virtual hard disk object 211 has the same family name (A.VHD) as virtual hard disk objects 205 and 208, but a different release (R-3) than virtual hard disk objects 205 and 208.
  • A.VHD family name
  • R-3 release
  • FIG. 2C shows that updated resource list 209 has been modified.
  • Updated resource list 209 now includes two notifications, one for each of virtual hard disk objects 208 and 211.
  • Figure 2D illustrates how notifications are provided on service instance objects when an updated template object is created.
  • Figure 2D is similar to Figure 2B but includes the addition of a new template object 212 in template space 202 and an updated resource list 210.
  • both template objects 206 and 212 are illustrated as including a family name and release.
  • Template object 212 is an updated version of template object 206 as indicated by the fact that both objects share a family name (X.Template) but have a different release (R-l and R-2 respectively).
  • the update can be any change to template object 206, however, Figure 2D illustrates that the update in template object 212 is a reference to virtual hard disk object 208.
  • a notification of the release of template object 212 can be set on service instance object 214a in a similar manner as described above. For example, as shown, updated resource list 210 now includes a notification for template object 212.
  • updated resource list 210 is empty prior to adding the notification for template object 212, the flag in service instance object 214a can be set to indicate to service instance object 214a that one or more notifications are in updated resource list 210.
  • updated resource list 210 already contains notifications, the flag will already be set.
  • the notification for template object 212 can also be dismissed as described below.
  • Figure 2D does not show an updated resource list for template object 212
  • an updated resource list for template object 212 could appear similar to updated resource list 209.
  • a notification for virtual hard disk object 208 could be added to the updated resource list for template object 212.
  • no such notification would be necessary.
  • Figure 2E illustrates how a notification can be dismissed from an object's updated resource list.
  • Figure 2E differs from Figure 2D in that another updated template object 213 has been added to template space 203.
  • Template object 213 is also an update to template object 206 as indicated by template object 213 sharing the same name but a different release as template object 206.
  • updated resource list 210 includes a newly added notification for template object 213, but that the notification for template object 212 has been dismissed.
  • Figure 2E shows the dismissed notification as being lined through for sake of clarity, however, the notification can also be removed from updated resource list 210.
  • a manager of service template object 214a can dismiss a notification for any reason. For example, a manager could also dismiss the notification for template object 212 in updated resource list 210.
  • refresher 204 can also remove stale notifications. For example, referring again to Figure 2E, if template object 213 were deleted, refresher 204 could detect the deletion and update updated resource list 210 accordingly. Similarly, if a virtual disk were deleted from library space 201, any notifications on template objects of the deleted virtual disk could be deleted.
  • an available update can be automatically applied to a template or service instance object. In such scenarios, rather than notify a person of the available update, a notification that the update will be applied may be provided. Whether an available update is automatically applied can be based on business intelligence and/or defined metrics.
  • a notification can be provided on a service instance object of an updated virtual disk object.
  • the invention can provide a similar notification on any service instance objects that depend on a previous version of the virtual disk.
  • each resource is identified with a family name and a release.
  • a family name identifies a set of related resources.
  • An example of a family name is "Windows Server 2008.”
  • the release identifies a specific version of a resource in a family.
  • the "Windows Server 2008" family can comprise a virtual hard disk object having a family name of "Windows Server 2008” and a release of "RTM," and another virtual hard disk object having the same family name but a release of "SP1.”
  • the system of the present invention can know that the two virtual hard disk objects are related.
  • each resource is assigned a timestamp indicating the first time the resource is published.
  • Publishing a resource refers to the act of making the resource available for use.
  • a template object could be created (i.e. defined) within template space 202, but may not be published for use until a specified date. This date of publication is the date used for the timestamp. In other embodiments, however, the date of creation of a resource could be used as the timestamp.
  • the presence of a disk object in library space 201 can constitute publishing.
  • This timestamp enables the system to know which resource is the most recent version in the family. For example, using the "Windows Server 2008" family example above, the virtual hard disk object having a release of "SP1" can have a timestamp that is later in time than the virtual hard disk object having a release of "RTM.”
  • refresher 204 When refresher 204 searches for new resources, it can use the timestamp associated with each resource to determine whether new resources have been created and whether notifications are required. For example, refresher 204 can detect that a template object depends on a virtual hard disk having a family name and release of "Windows Server 2008" and "RTM.” When refresher 204 detects that a virtual hard disk having the same family name and a release of "SP1" has a timestamp that is later than the timestamp of the release "RTM" version, refresher 204 can raise a notification on the template object by adding the notification to its updated resource list and setting the flag if necessary.
  • this process of automatically raising notifications on objects is an efficient means for notifying the relevant personas of the availability of updated resources.
  • the updated resource lists of the objects managed by a persona can be displayed within a user interface of an application used by the relevant persona.
  • the user interface can also provide means for allowing the persona to generate a new template object or a new service instance object. Accordingly, updated resources can be more quickly and efficiently deployed in a virtual machine instance.
  • Figure 3 illustrates a flow chart of an example method 300 for providing a notification of an update to a virtual disk object to one or more template objects that depend on the virtual disk object. Method 300 will be described with reference to Figure 2B.
  • Method 300 includes an act 301 of detecting that a new version of a virtual disk object has been created.
  • the virtual disk object represents a virtual disk for use in a distributed application.
  • refresher 204 can detect that virtual hard disk object 208 has been created.
  • Refresher can also detect that virtual hard disk object 208 is a newer version of virtual hard disk object 205 based on a family name, release, and timestamp defined in each object.
  • Method 300 includes an act 302 of identifying one or more template objects that depend on the virtual disk object. For example, refresher 204 can identify that template object 206 depends on virtual hard disk object 205.
  • Method 300 includes an act 303 of providing a notification in each of the one or more template objects that depend on the virtual disk object that the new version of the virtual disk object has been created.
  • refresher 204 can cause a notification of the creation of virtual hard disk object 208 to be added to updated resource list 209.
  • Refresher 204 can also set a flag in updated resource list 209 if updated resource list 209 was previously empty prior to the notification for virtual hard disk object 208 being added.
  • Figure 4 illustrates a flow chart of an example method 400 for providing a notification of an update to a template object to one or more service instance objects that are generated from the template object. Method 400 will be described with reference to Figure 2E.
  • Method 400 includes an act 401 of detecting that a new version of a template object defining a distributed application has been created.
  • refresher 204 can detect that template object 212 has been created.
  • Refresher can also detect that template object 212 is a newer version of template object 206 based on a family name, release, and timestamp defined in each object.
  • Method 400 includes an act 402 of identifying one or more service instance objects that are generated from the template object. For example, refresher 204 can identify that service instance object 214a was generated from template object 206.
  • Method 400 includes an act 403 of providing a notification to each of the one or more service instance objects that the new version of the template object has been created.
  • refresher 204 can cause a notification of the creation of template object 212 to be added to updated resource list 210.
  • Refresher 204 can also set a flag in updated resource list 210 if updated resource list 210 was previously empty prior to the notification for template object 212 being added.

Abstract

The present invention extends to methods, systems, and computer program products for providing update notifications on distributed application objects. When a new version of an object is created that another object depends on, a notification can be added to the dependent object to alert a person that manages the dependent object of the creation of the updated object. Dependent objects can include template objects, such as virtual machine template objects that refer to virtual disk objects and service template objects that refer to one or more virtual machine template objects, as well as service instance objects that represent service instances that are instantiated from template objects. Versions of objects within a family can be identified by sharing a family name and having different releases. A timestamp is used to represent when an object is released to determine which version of an object is the newest version in a family.

Description

PROVIDING UPDATE NOTIFICATIONS ON DISTRIBUTED APPLICATION OBJECTS BACKGROUND
1. Background and Relevant Art
[0001] Computer systems and related technology affect many aspects of society. Indeed, the computer system's ability to process information has transformed the way we live and work. Computer systems now commonly perform a host of tasks (e.g., word processing, scheduling, accounting, etc.) that prior to the advent of the computer system were performed manually. More recently, computer systems have been coupled to one another and to other electronic devices to form both wired and wireless computer networks over which the computer systems and other electronic devices can transfer electronic data. Accordingly, the performance of many computing tasks are distributed across a number of different computer systems and/or a number of different computing environments.
[0002] In some environments, many different physical resources are grouped together and virtualized to create a virtual computer system or "virtual machine". For example, a virtual machine can include a specified number of processors, a specified amount of memory, one or more virtual storage devices, applications or other components to be stored on the virtual storage devices, etc. To create a virtual machine one or more users specify the desired configuration for the virtual machine. This configuration can include setting a number of properties on a virtual machine instance such as a property that references a particular virtual storage device.
[0003] In this specification, a distinction is made between a virtual storage device and the contents of these devices (generally referred to below as virtual disks). A virtual hard drive is a virtual storage device whereas the content of a virtual hard drive is referred to as a virtual hard disk. A virtual hard drive is represented as a property on a virtual machine whereas a virtual hard disk is a file containing data such as an operating system used by the virtual machine. Similarly, virtual CD or DVD drives are represented as properties on a virtual machine whereas a virtual CD or virtual DVD is represented as a file (e.g. a .ISO for the contents of a DVD). Another form of virtual disk is a Virtual Machine Disk (VMDK).
[0004] To facilitate virtual machine creation, an instance of a virtual machine can be generated from a virtual machine template object (as opposed to requiring manual configuration of properties). A virtual machine template object can be thought of as a blueprint for creating virtual machines. The virtual machine template object can specify the desired physical resources and their configuration. For example, a virtual machine template object can include metadata for specifying the number of processors, the amount of memory, etc. A virtual machine template object can also identify that a virtual machine is to include a virtual hard drive (or other virtual storage device) as well as the contents that should be included within the virtual hard drive. For example, the virtual machine template object can reference a virtual hard disk object.
[0005] Additionally, service template objects can be used as blueprints for creating distributed applications. In this specification, the term distributed application is generally used interchangeably with the term service instance. A distributed application comprises a group of one or more virtual machines that are configured to implement desired functionality. Accordingly, a service template object can reference one or more virtual machine template objects from which one or more virtual machine instances are to be created to implement a distributed application. In this specification, including the figures, virtual machine template object and service template object are jointly referred to as template objects.
[0006] When a virtual machine is created from a virtual machine template object, the virtual machine is configured with the properties as defined in the virtual machine template object. Accordingly, a virtual machine template object can be used to ensure that many instances of a virtual machine are similarly configured. For example, a virtual machine template object can be defined once and many instances of a virtual machine can be generated from the virtual machine template object so that each instance has the same properties (e.g. a copy of the same virtual hard disk, the same number of processors and memory, etc.).
[0007] Similarly, a service template object can be defined once and many instances of a distributed application can be generated from the service template object so that each instance of the distributed application is comprised of the same number of virtual machines with the same configuration. Although not essential to an understanding of the present invention, a service template object can include a tier template object which references the virtual machine template objects. A tier is a group of virtual machines that are identically configured. Accordingly, a tier template object can reference a virtual machine template object and indicate the number of virtual machine instances that should be generated from the virtual machine template object. [0008] The resources used to create a virtual machine are often designed and/or managed by different personas. For example, applications are generally created by developers. On the other hand, virtual hard disks are generally created by server administrators of the company that hosts virtual machines. Template objects are generally created by an IT administrator or other IT staff at a company desiring a virtual machine, and instances of the virtual machine are deployed by different IT staff at the company or even by another company wishing to use the company's template object.
[0009] Due at least in part to the number of different parties involved in the process of creating and deploying a virtual machine, it can be difficult to notify all relevant parties of changes to resources used to create the virtual machine. Some approaches to providing notifications of changed resources have involved traditional modes of communication such as email, phone, etc. These traditional approaches have high latency, and are tedious and error prone.
[0010] For example, it is generally time consuming for a server administrator to determine each template object that relies on a particular virtual hard disk and then notify each relevant party of a change to the virtual hard disk. Additionally, even if every relevant party is notified of the change (such as by email or phone), a party can easily forget to respond to the change or in some other way fail to modify a template object to use the updated virtual hard disk.
[0011] Similar problems exist when an updated template object is created. For example, each party that manages a service instance object that depends on the template object needs to be notified of the availability of an updated template object. As described, notifying these parties and having the notified parties also respond appropriately to the notification can be a tedious and error prone process.
BRIEF SUMMARY
[0012] The present invention extends to methods, systems, and computer program products for providing update notifications on objects used to create a distributed application. The present invention simplifies the process of notifying relevant parties of new or updated objects, and facilitates responding appropriately to such notifications.
[0013] In one embodiment, the creation of a new version of a virtual disk object is detected. The object represents a virtual disk for use in a distributed application. One or more template objects are identified. The one or more template objects depend on the virtual disk object. A notification is provided, to each of the one or more template objects, that indicates that the new version of the virtual disk object has been created. [0014] In another embodiment, the creation of a new version of a template object is detected. The new version of the template object defines a distributed application. One or more service instance objects, which are generated from the template object, are identified. A notification is provided to each of the one or more service instance objects. The notification indicates that the new version of the template object has been created.
[0015] This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
[0016] Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The features and advantages of the invention may be realized and obtained by means of the instruments and combinations particularly pointed out in the appended claims. These and other features of the present invention will become more fully apparent from the following description and appended claims, or may be learned by the practice of the invention as set forth hereinafter.
BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to describe the manner in which the above-recited and other advantages and features of the invention can be obtained, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings. Understanding that these drawings depict only typical embodiments of the invention and are not therefore to be considered to be limiting of its scope, the invention will be described and explained with additional specificity and detail through the use of the accompanying drawings in which:
[0018] Figure 1 illustrates an example computer architecture that facilitates providing update notifications on distributed application objects;
[0019] Figure 2A illustrates various logical spaces in a computer system within the example computer architecture of Figure 1 ;
[0020] Figures 2B-2E illustrate how notifications are provided to objects within the logical spaces in the computer system;
[0021] Figure 3 is a flowchart of a method for providing a notification of an update to a virtual disk object to one or more template objects that depend on the virtual disk object; and [0022] Figure 4 is a flowchart of a method for providing a notification of an update to a template object to one or more service instance objects that are generated from the template object.
DETAILED DESCRIPTION
[0023] The present invention extends to methods, systems, and computer program products for providing update notifications on objects used to create a distributed application. The present invention simplifies the process of notifying relevant parties of new or updated objects, and facilitates responding appropriately to such notifications.
[0024] In one embodiment, the creation of a new version of a virtual disk object is detected. The object represents a virtual disk for use in a distributed application. One or more template objects are identified. The one or more template objects depend on the virtual disk object. A notification is provided, to each of the one or more template objects, that indicates that the new version of the virtual disk object has been created.
[0025] In another embodiment, the creation of a new version of a template object is detected. The new version of the template object defines a distributed application. One or more service instance objects, which are generated from the template object, are identified. A notification is provided to each of the one or more service instance objects. The notification indicates that the new version of the template object has been created.The present invention extends to methods, systems, and computer program products for providing update notifications on objects used to create a distributed application. The present invention simplifies the process of notifying relevant parties of new or updated objects, and facilitates responding appropriately to such notifications.
[0026] In one embodiment, the creation of a new version of a virtual disk object is detected. The object represents a virtual disk for use in a distributed application. One or more template objects are identified. The one or more template objects depend on the virtual disk object. A notification is provided, to each of the one or more template objects, that indicates that the new version of the virtual disk object has been created.
[0027] In another embodiment, the creation of a new version of a template object is detected. The new version of the template object defines a distributed application. One or more service instance objects, which are generated from the template object, are identified. A notification is provided to each of the one or more service instance objects. The notification indicates that the new version of the template object has been created.
[0028] Embodiments of the present invention may comprise or utilize a special purpose or general-purpose computer including computer hardware, such as, for example, one or more processors and system memory, as discussed in greater detail below. Embodiments within the scope of the present invention also include physical and other computer- readable media for carrying or storing computer-executable instructions and/or data structures. Such computer-readable media can be any available media that can be accessed by a general purpose or special purpose computer system. Computer-readable media that store computer-executable instructions are computer storage media (devices). Computer-readable media that carry computer-executable instructions are transmission media. Thus, by way of example, and not limitation, embodiments of the invention can comprise at least two distinctly different kinds of computer-readable media: computer storage media (devices) and transmission media.
[0029] Computer storage media (devices) includes RAM, ROM, EEPROM, CD-ROM, solid state drives ("SSDs") (e.g., based on RAM), Flash memory, phase-change memory ("PCM"), other types of memory, other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer.
[0030] A "network" is defined as one or more data links that enable the transport of electronic data between computer systems and/or modules and/or other electronic devices. When information is transferred or provided over a network or another communications connection (either hardwired, wireless, or a combination of hardwired or wireless) to a computer, the computer properly views the connection as a transmission medium.
Transmissions media can include a network and/or data links which can be used to carry or desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer. Combinations of the above should also be included within the scope of computer-readable media.
[0031] Further, upon reaching various computer system components, program code means in the form of computer-executable instructions or data structures can be transferred automatically from transmission media to computer storage media (devices) (or vice versa). For example, computer-executable instructions or data structures received over a network or data link can be buffered in RAM within a network interface module (e.g., a "NIC"), and then eventually transferred to computer system RAM and/or to less volatile computer storage media (devices) at a computer system. Thus, it should be understood that computer storage media (devices) can be included in computer system components that also (or even primarily) utilize transmission media.
[0032] Computer-executable instructions comprise, for example, instructions and data which, when executed at a processor, cause a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. The computer executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, or even source code.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the described features or acts described above. Rather, the described features and acts are disclosed as example forms of implementing the claims.
[0033] Those skilled in the art will appreciate that the invention may be practiced in network computing environments with many types of computer system configurations, including, personal computers, desktop computers, laptop computers, message processors, hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, mobile telephones, PDAs, pagers, routers, switches, and the like. The invention may also be practiced in distributed system environments where local and remote computer systems, which are linked (either by hardwired data links, wireless data links, or by a combination of hardwired and wireless data links) through a network, both perform tasks. In a distributed system environment, program modules may be located in both local and remote memory storage devices.
[0034] Figure 1 illustrates an example computer architecture 100 that facilitates providing update notifications on distributed application objects. Referring to Figure 1, computer architecture 100 comprises a computer system 101 that includes a plurality of interconnected processors, memory, and storage devices for creating and executing virtual machines. For example, computer system 101 includes storage devices 102, processors 103, and memory 104. Computer system 101 can be implemented in a cloud of computing systems. An example of computer system 101 can include the resources that make up Microsoft's System Center Virtual Machine Manager product.
[0035] Computer system 101 can be connected to other computer systems, such as computer systems 106 and 107 over a network, such as, for example, a Local Area Network ("LAN"), a Wide Area Network ("WAN"), and even the Internet. Accordingly, the other computer systems can communicate with computer system 101 using any available means, such as by creating message related data and exchanging message related data (e.g., Internet Protocol ("IP") datagrams and other higher layer protocols that utilize IP datagrams, such as, Transmission Control Protocol ("TCP"), Hypertext Transfer Protocol ("HTTP"), Simple Mail Transfer Protocol ("SMTP"), etc.) over the network. Such communications can include commands for interacting with an executing a virtual machine, or instructions for configuring a new or existing virtual machine within computer system 101.
[0036] Figure 2A illustrates various logical spaces within computer system 101.
Computer system 101 can include library space 201, template space 202, and instance space 203. Figure 2A also illustrates that computer system 101 can include refresher 204 whose function will be described below.
[0037] Library space 201 stores objects which define virtual disks. For example, library space 201 can represent the physical location where the objects defining virtual hard disks, as well as other virtual disks such as virtual CDs or virtual DVDs, available within computer system 101 are stored. Library space 201 can also store other artifacts used for virtual machine creation such as applications, scripts, drivers, etc. As shown, library space 201 stores virtual hard disk object 205. A virtual hard disk (or other virtual disk) is a file storing the contents of the virtual hard disk such as an operating system. An instance of a virtual hard disk can be created from a virtual hard disk object (e.g. by copying the file representing the virtual hard disk to a host system that executes a virtual machine using the virtual hard disk). Virtual hard disk object 205 has a family name of A.VHD and a release of R-l . The use of family names and releases is described below.
[0038] Although the Figures illustrate the use of a virtual hard disk, any other type of virtual disk, such as a virtual DVD, can be used within embodiments of the present invention. Additionally, a virtual machine according to the present invention can use more than one virtual disk. The notification techniques described below can apply equally to each virtual disk.
[0039] Template space 202 stores defined template objects such as virtual machine template objects and service template objects. For example, template space 202 can represent the physical location where template objects are stored within computer system 101. In a specific embodiment, template space 202 can represent one or more database tables that store the component values of the various template objects that are defined in computer system 101 along with an identification of which component values are used by which template objects. In other embodiments, however, other data constructs can be used for template objects.
[0040] As shown, template space 202 includes template object 206. Template object 206 represents a virtual machine template object. A virtual machine template object identifies a virtual hard disk object (and possibly other virtual disk objects), specifies a number of processors, an amount of memory, and applications or components to be installed on an instance of the virtual hard disk, among other things. The virtual machine template object is used when an instance of a virtual machine is created. For example, template object 206 can identify virtual hard disk object 205 indicating that virtual machine instances generated from template object 206 will include a virtual hard disk instantiated from virtual hard disk object 205.
[0041] Although template object 206 is described as representing a virtual machine template object, for purposes of the present invention, template object 206 can also represent a service template object. For example, a service template object comprises one or more virtual machine template objects. Specifically, a service template object identifies one or more virtual machine template objects that will make up a service instance created from the service template object. A service template object also defines other properties and configuration settings for defining the service instance such as how each virtual machine communicates with the other virtual machines in the service instance.
[0042] Accordingly, it can be said that a service template object indirectly references each of the virtual disk objects that are directly referenced by the virtual machine template objects referenced in the service template object. Therefore, notifications of updates to a virtual disk object can be provided similarly to both the virtual machine template object that directly references the virtual disk object and the service template object that references any virtual machine template object that references the virtual disk object. The remainder of the specification, as well as the claims, will generally refer to template objects. Such references should be construed to include both virtual machine and service template objects unless otherwise defined.
[0043] Instance space 203 contains service instances, such as service instance 214, which are a collection of one or more virtual machine instances. For example, instance space 203 can represent the physical processors, memory, and storage where virtual machine instances are executed. As shown, instance space 203 can also include service instance objects. A service instance object is a data construct that represents a service instance. For example, service instance object 214a can represent service instance 214. Service instance 214 was created from template object 206 and contains virtual machine instance 207. Virtual machine instance 207 references virtual hard disk instance 205a. Although service instance 214 is shown as including a single virtual machine instance, any number of virtual machine instances could make up service instance 214.
[0044] Within this specification, service instance and distributed application are intended generally to refer to similar things. A distributed application is executed within a collection of one or more virtual machine instances. For example, a multiple tier distributed application can comprise one or more virtual machines that implement a front end of the application, one or more virtual machines that implement a middle layer of the application, and one or more virtual machines that implement a database backend of the application. In this example, each of the virtual machines of the multiple tier distributed application could be generated from a virtual machine template object. A service template object that represents the distributed application can reference each of these virtual machine template objects.
[0045] To create virtual machine instance 207, virtual hard disk instance 205a is instantiated from virtual hard disk object 205 identified in template object 206, processors and memory are allocated as defined in template object 206, and applications and components defined in template object 206 are installed on virtual hard disk instance 205a.
[0046] Figure 2B illustrates how notifications are provided on template objects when an updated virtual hard disk object is created. Figure 2B is similar to Figure 2 A with the addition of virtual hard disk object 208 and updated resource lists 209.
[0047] Virtual hard disk object 208 comprises an update to virtual hard disk object 205. For example, virtual hard disk object 205 can contain an initial version of an operating system whereas virtual hard disk object 208 can contain a patched version of an operating system. Figure 2B shows that virtual hard disk object 208 has the same family name (A.VHD) but a different release (R-2) than virtual hard disk object 205.
[0048] Updated resource list 209 comprises a list of updates to resources on which template object 206 depends. For example, as described above, template object 206 identifies virtual hard disk object 205. Because virtual hard disk object 208 is an updated version of virtual hard disk object 205, an entry is added to updated resource list 209 that identifies virtual hard disk object 208 as an available update to virtual hard disk object 205. A notification can identify an updated object by using the family name and release of the object as fully described below. [0049] Although Figures 2 A and 2B illustrate that a single template object depends on virtual hard disk object 205 and that a single service instance object 214a depends on template object 206, multiple template objects and service instance objects can depend on a single virtual hard disk object and a single template object respectively.
[0050] Refresher 204 comprises a module that can execute periodically or at other intervals to determine whether any updates to virtual hard disk objects or template objects have been created. When refresher 204 identifies an updated object, it updates the appropriate updated resource list. For example, refresher 204 can add the entry to updated resource list 209 when virtual hard disk object 208 is created.
[0051] Embodiments of the present invention can also provide a mechanism for providing immediate notifications to objects. For example, if a server administrator creates a new version of a virtual hard disk object, he can cause notifications to be raised immediately on each template object that depends on the virtual hard disk object rather than waiting until refresher 204 runs again.
[0052] In addition to adding an entry to an updated resource list associated with an object, embodiments of the present invention can also set a flag within the object to notify the object that its updated resource list has been modified. This flag can remain set as long as the object's updated resource list contains a notification.
[0053] Figure 2C illustrates that another virtual hard disk object 21 1 has been added to library space 201. Virtual hard disk object 211 comprises an update to virtual hard disk object 208. Figure 2C shows that virtual hard disk object 211 has the same family name (A.VHD) as virtual hard disk objects 205 and 208, but a different release (R-3) than virtual hard disk objects 205 and 208.
[0054] As a result of the addition of virtual hard disk object 211, Figure 2C shows that updated resource list 209 has been modified. Updated resource list 209 now includes two notifications, one for each of virtual hard disk objects 208 and 211.
[0055] Figure 2D illustrates how notifications are provided on service instance objects when an updated template object is created. Figure 2D is similar to Figure 2B but includes the addition of a new template object 212 in template space 202 and an updated resource list 210. In Figure 2D, both template objects 206 and 212 are illustrated as including a family name and release. Template object 212 is an updated version of template object 206 as indicated by the fact that both objects share a family name (X.Template) but have a different release (R-l and R-2 respectively). The update can be any change to template object 206, however, Figure 2D illustrates that the update in template object 212 is a reference to virtual hard disk object 208.
[0056] A notification of the release of template object 212 can be set on service instance object 214a in a similar manner as described above. For example, as shown, updated resource list 210 now includes a notification for template object 212.
[0057] If updated resource list 210 is empty prior to adding the notification for template object 212, the flag in service instance object 214a can be set to indicate to service instance object 214a that one or more notifications are in updated resource list 210.
However, if updated resource list 210 already contains notifications, the flag will already be set. The notification for template object 212 can also be dismissed as described below.
[0058] Although Figure 2D does not show an updated resource list for template object 212, an updated resource list for template object 212 could appear similar to updated resource list 209. For example, if template object 212 also identified virtual hard disk object 205, a notification for virtual hard disk object 208 could be added to the updated resource list for template object 212. Of course, if template object 212 identified virtual hard disk object 208, no such notification would be necessary.
[0059] Figure 2E illustrates how a notification can be dismissed from an object's updated resource list. Figure 2E differs from Figure 2D in that another updated template object 213 has been added to template space 203. Template object 213 is also an update to template object 206 as indicated by template object 213 sharing the same name but a different release as template object 206. As shown updated resource list 210 includes a newly added notification for template object 213, but that the notification for template object 212 has been dismissed.
[0060] Figure 2E shows the dismissed notification as being lined through for sake of clarity, however, the notification can also be removed from updated resource list 210. A manager of service template object 214a can dismiss a notification for any reason. For example, a manager could also dismiss the notification for template object 212 in updated resource list 210.
[0061] In some embodiments of the invention as shown in Figure 2E, only notifications in a service instance object's updated resource list can be dismissed while notifications in a template object's updated resource list cannot be dismissed. In other embodiments, notifications in a template object's updated resource list can be dismissed as well.
[0062] In addition to adding notifications to updated resource lists, refresher 204 can also remove stale notifications. For example, referring again to Figure 2E, if template object 213 were deleted, refresher 204 could detect the deletion and update updated resource list 210 accordingly. Similarly, if a virtual disk were deleted from library space 201, any notifications on template objects of the deleted virtual disk could be deleted. Although the above description describes the notification of available updates thus allowing manual resolution of the updates, in some embodiments of the present invention, an available update can be automatically applied to a template or service instance object. In such scenarios, rather than notify a person of the available update, a notification that the update will be applied may be provided. Whether an available update is automatically applied can be based on business intelligence and/or defined metrics.
[0063] Additionally, in some embodiments of the present invention, a notification can be provided on a service instance object of an updated virtual disk object. In other words, when an updated virtual disk becomes available, in addition to providing a notification on any template objects that depend on a previous version of the virtual disk, the invention can provide a similar notification on any service instance objects that depend on a previous version of the virtual disk.
[0064] To identify resources and updates to resources within library space 201 and template space 202, a naming scheme is used. Within these spaces, each resource is identified with a family name and a release. A family name identifies a set of related resources. An example of a family name is "Windows Server 2008." The release identifies a specific version of a resource in a family. For example, the "Windows Server 2008" family can comprise a virtual hard disk object having a family name of "Windows Server 2008" and a release of "RTM," and another virtual hard disk object having the same family name but a release of "SP1." By sharing a family name, the system of the present invention can know that the two virtual hard disk objects are related.
[0065] Additionally, each resource is assigned a timestamp indicating the first time the resource is published. Publishing a resource refers to the act of making the resource available for use. For example, a template object could be created (i.e. defined) within template space 202, but may not be published for use until a specified date. This date of publication is the date used for the timestamp. In other embodiments, however, the date of creation of a resource could be used as the timestamp. For example, the presence of a disk object in library space 201 can constitute publishing.
[0066] This timestamp enables the system to know which resource is the most recent version in the family. For example, using the "Windows Server 2008" family example above, the virtual hard disk object having a release of "SP1" can have a timestamp that is later in time than the virtual hard disk object having a release of "RTM."
[0067] When refresher 204 searches for new resources, it can use the timestamp associated with each resource to determine whether new resources have been created and whether notifications are required. For example, refresher 204 can detect that a template object depends on a virtual hard disk having a family name and release of "Windows Server 2008" and "RTM." When refresher 204 detects that a virtual hard disk having the same family name and a release of "SP1" has a timestamp that is later than the timestamp of the release "RTM" version, refresher 204 can raise a notification on the template object by adding the notification to its updated resource list and setting the flag if necessary.
[0068] As can be seen, this process of automatically raising notifications on objects is an efficient means for notifying the relevant personas of the availability of updated resources. The updated resource lists of the objects managed by a persona can be displayed within a user interface of an application used by the relevant persona. The user interface can also provide means for allowing the persona to generate a new template object or a new service instance object. Accordingly, updated resources can be more quickly and efficiently deployed in a virtual machine instance.
[0069] Figure 3 illustrates a flow chart of an example method 300 for providing a notification of an update to a virtual disk object to one or more template objects that depend on the virtual disk object. Method 300 will be described with reference to Figure 2B.
[0070] Method 300 includes an act 301 of detecting that a new version of a virtual disk object has been created. The virtual disk object represents a virtual disk for use in a distributed application. For example, refresher 204 can detect that virtual hard disk object 208 has been created. Refresher can also detect that virtual hard disk object 208 is a newer version of virtual hard disk object 205 based on a family name, release, and timestamp defined in each object.
[0071] Method 300 includes an act 302 of identifying one or more template objects that depend on the virtual disk object. For example, refresher 204 can identify that template object 206 depends on virtual hard disk object 205.
[0072] Method 300 includes an act 303 of providing a notification in each of the one or more template objects that depend on the virtual disk object that the new version of the virtual disk object has been created. For example, refresher 204 can cause a notification of the creation of virtual hard disk object 208 to be added to updated resource list 209. Refresher 204 can also set a flag in updated resource list 209 if updated resource list 209 was previously empty prior to the notification for virtual hard disk object 208 being added.
[0073] Figure 4 illustrates a flow chart of an example method 400 for providing a notification of an update to a template object to one or more service instance objects that are generated from the template object. Method 400 will be described with reference to Figure 2E.
[0074] Method 400 includes an act 401 of detecting that a new version of a template object defining a distributed application has been created. For example, refresher 204 can detect that template object 212 has been created. Refresher can also detect that template object 212 is a newer version of template object 206 based on a family name, release, and timestamp defined in each object.
[0075] Method 400 includes an act 402 of identifying one or more service instance objects that are generated from the template object. For example, refresher 204 can identify that service instance object 214a was generated from template object 206.
[0076] Method 400 includes an act 403 of providing a notification to each of the one or more service instance objects that the new version of the template object has been created. For example, refresher 204 can cause a notification of the creation of template object 212 to be added to updated resource list 210. Refresher 204 can also set a flag in updated resource list 210 if updated resource list 210 was previously empty prior to the notification for template object 212 being added.
[0077] The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.

Claims

1. At a computer system including one or more processors and system memory, the computer system executing a plurality of distributed applications that are each instantiated from a template object, the template object defining a plurality of objects that each represent a component of the corresponding distributed application, a method for providing a notification of an update to an object that represents a virtual storage device, the method comprising:
detecting that a new version of a virtual disk object has been created, the virtual disk object representing a virtual disk for use in a distributed application;
identifying one or more template objects that depend on the virtual disk object; and providing a notification in each of the one or more template objects that depend on the virtual disk object that the new version of the virtual disk object has been created.
2. The method of claim 1, wherein the virtual disk object includes an identifier of a family name and an identifier of a release of the object.
3. The method of claim 2, wherein detecting that a new version of an virtual disk object for use in a distributed application has been created further comprises detecting that an object having the same identifier of the family name and a different identifier of a release has been created.
4. The method of claim 3, wherein detecting that a new version of an virtual disk object for use in a distributed application has been created further comprises detecting that a timestamp associated with the new version of the object is more recent than a timestamp associated with the virtual disk object.
5. The method of claim 2, wherein identifying one or more template objects that depend on the virtual disk object further comprises identifying one or more template objects that include a reference to the identifier of the family name and the identifier of the release of the virtual disk object.
6. The method of claim 1, wherein providing a notification in each of the one or more template objects that depend on the virtual disk object that the new version of the virtual disk object has been created further comprises setting a flag in each of the one or more template objects that depend on the virtual disk object.
7. The method of claim 1, wherein each of the one or more template objects comprise a virtual machine template object or a service template object.
8. The method of claim 1, wherein the new version of the virtual disk object comprises a patch to a virtual hard disk represented by the object.
9. At a computer system including one or more processors and system memory, the computer system executing a plurality of distributed applications that are each instantiated from a template object that defines a plurality of objects that each represent a component of the corresponding distributed application, a method for providing a notification of an update to a template object to one or more service instance objects that represent a service instance that was generated from the template object, the method comprising:
detecting that a new version of a template object defining a distributed application has been created;
identifying one or more service instance objects that represent a service instance that was generated from the template object; and
providing a notification to each of the one or more service instance objects that the new version of the template object has been created.
10. The method of claim 9, further comprising:
in conjunction with providing the notification to each of the one or more service instance objects, providing an option to dismiss the notification to each of the one or more service instance objects.
PCT/US2012/067814 2011-12-15 2012-12-05 Providing update notifications on distributed application objects WO2013090066A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2014547280A JP6077562B2 (en) 2011-12-15 2012-12-05 Provide update notifications for distributed application objects
KR1020147016135A KR102008037B1 (en) 2011-12-15 2012-12-05 Providing update notifications on distributed application objects
EP12858340.8A EP2791793B1 (en) 2011-12-15 2012-12-05 Providing update notifications on distributed application objects

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US13/326,878 US8694986B2 (en) 2011-12-15 2011-12-15 Providing update notifications on distributed application objects
US13/326,878 2011-12-15

Publications (1)

Publication Number Publication Date
WO2013090066A1 true WO2013090066A1 (en) 2013-06-20

Family

ID=48023458

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2012/067814 WO2013090066A1 (en) 2011-12-15 2012-12-05 Providing update notifications on distributed application objects

Country Status (6)

Country Link
US (1) US8694986B2 (en)
EP (1) EP2791793B1 (en)
JP (1) JP6077562B2 (en)
KR (1) KR102008037B1 (en)
CN (1) CN103036986B (en)
WO (1) WO2013090066A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114625485A (en) * 2022-05-12 2022-06-14 武汉四通信息服务有限公司 Virtual machine template management system, method and device, and service cloud and storage medium

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10095530B1 (en) 2010-05-28 2018-10-09 Bromium, Inc. Transferring control of potentially malicious bit sets to secure micro-virtual machine
US9239909B2 (en) 2012-01-25 2016-01-19 Bromium, Inc. Approaches for protecting sensitive data within a guest operating system
US8752047B2 (en) 2010-05-28 2014-06-10 Bromium, Inc. Automated management of virtual machines to process untrusted data based on client policy information
US9135038B1 (en) 2010-05-28 2015-09-15 Bromium, Inc. Mapping free memory pages maintained by a guest operating system to a shared zero page within a machine frame
US9792131B1 (en) 2010-05-28 2017-10-17 Bromium, Inc. Preparing a virtual machine for template creation
US9116733B2 (en) 2010-05-28 2015-08-25 Bromium, Inc. Automated provisioning of secure virtual execution environment using virtual machine templates based on requested activity
US9148428B1 (en) 2011-05-25 2015-09-29 Bromium, Inc. Seamless management of untrusted data using virtual machines
US9767274B2 (en) 2011-11-22 2017-09-19 Bromium, Inc. Approaches for efficient physical to virtual disk conversion
US9129124B2 (en) * 2012-04-12 2015-09-08 Hewlett-Packard Development Company, L.P. Dynamic provisioning of virtual systems
CN103440157B (en) * 2013-06-25 2016-12-28 百度在线网络技术(北京)有限公司 A kind of method and apparatus of the template for obtaining virtual machine
US9274828B2 (en) 2013-11-03 2016-03-01 Maestrano Pty Ltd. Systems and methods for event driven object management and distribution among multiple client applications
CN104639361B (en) * 2013-11-15 2019-04-19 中兴通讯股份有限公司 The management method and device of network service moulding plate
US10430614B2 (en) 2014-01-31 2019-10-01 Bromium, Inc. Automatic initiation of execution analysis
US9916171B2 (en) * 2014-07-10 2018-03-13 International Business Machines Corporation Application discovery in virtual machines using temporal clustering of installation files
US10360013B2 (en) * 2015-01-16 2019-07-23 Hitachi, Ltd. Management system for creating service
CN105549906B (en) * 2015-12-09 2019-04-26 华为技术有限公司 A kind of dispositions method of external virtual memory, device and system
CN109213565B (en) * 2017-06-29 2023-08-11 中兴通讯股份有限公司 Management method of heterogeneous virtual computing resources, related equipment and storage medium
US10884788B2 (en) * 2018-04-03 2021-01-05 Amazon Technologies, Inc. On-demand code execution with limited memory footprint
KR102012604B1 (en) * 2018-12-28 2019-10-21 건국대학교 산학협력단 Scalable network connected storage apparatus and method for virtualization
CN112506641B (en) * 2019-09-16 2022-11-11 武汉斗鱼网络科技有限公司 Intelligent object release method and device and terminal equipment
KR102439928B1 (en) * 2020-10-08 2022-09-05 주식회사 엑스게이트 Vulnerability detection method and vulnerability detection system
CN112632029B (en) * 2020-12-04 2022-08-05 杭州海康威视系统技术有限公司 Data management method, device and equipment of distributed storage system
US20220318042A1 (en) * 2021-04-01 2022-10-06 RAMScaler, Inc. Distributed memory block device storage

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030172368A1 (en) * 2001-12-26 2003-09-11 Elizabeth Alumbaugh System and method for autonomously generating heterogeneous data source interoperability bridges based on semantic modeling derived from self adapting ontology
US20040187103A1 (en) * 2003-03-17 2004-09-23 Wickham Robert T. Software updating system and method
US20060265688A1 (en) * 2002-03-18 2006-11-23 Logiclibrary, Inc. Customizable asset governance for a distributed reusable software library
US20070150882A1 (en) * 2005-12-27 2007-06-28 International Business Machines Corporation Dynamically updating templated applications

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6259446B1 (en) 1992-12-23 2001-07-10 Object Technology Licensing Corporation Menu state system
JPH06332687A (en) * 1993-05-18 1994-12-02 Fujitsu Ltd System for automatically correcting program and reflecting it
US8776050B2 (en) * 2003-08-20 2014-07-08 Oracle International Corporation Distributed virtual machine monitor for managing multiple virtual resources across multiple physical nodes
EP1743257A1 (en) * 2004-04-01 2007-01-17 Nokia Corporation A method, a device, and a system for enabling data synchronization between multiple devices
US7694101B2 (en) * 2005-12-30 2010-04-06 Vmware, Inc. Implementing virtual disk reservations on a storage media for multiple distributed applications
WO2007089283A2 (en) * 2006-02-01 2007-08-09 X2 Technologies, Inc. System and method for providing computer services
US20070234337A1 (en) * 2006-03-31 2007-10-04 Prowess Consulting, Llc System and method for sanitizing a computer program
US8205194B2 (en) * 2007-06-29 2012-06-19 Microsoft Corporation Updating offline virtual machines or VM images
US20090183182A1 (en) * 2008-01-10 2009-07-16 Microsoft Corporation Dynamic Composition of Virtualized Applications
US20090199175A1 (en) * 2008-01-31 2009-08-06 Microsoft Corporation Dynamic Allocation of Virtual Application Server
US8352482B2 (en) * 2009-07-21 2013-01-08 Vmware, Inc. System and method for replicating disk images in a cloud computing based virtual machine file system
US8516137B2 (en) 2009-11-16 2013-08-20 Microsoft Corporation Managing virtual hard drives as blobs
US8627309B2 (en) * 2010-02-25 2014-01-07 Microsoft Corporation Automated deployment and servicing of distributed applications
US8533701B2 (en) * 2010-03-15 2013-09-10 Microsoft Corporation Virtual machine image update service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030172368A1 (en) * 2001-12-26 2003-09-11 Elizabeth Alumbaugh System and method for autonomously generating heterogeneous data source interoperability bridges based on semantic modeling derived from self adapting ontology
US20060265688A1 (en) * 2002-03-18 2006-11-23 Logiclibrary, Inc. Customizable asset governance for a distributed reusable software library
US20040187103A1 (en) * 2003-03-17 2004-09-23 Wickham Robert T. Software updating system and method
US20070150882A1 (en) * 2005-12-27 2007-06-28 International Business Machines Corporation Dynamically updating templated applications

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114625485A (en) * 2022-05-12 2022-06-14 武汉四通信息服务有限公司 Virtual machine template management system, method and device, and service cloud and storage medium

Also Published As

Publication number Publication date
KR20140101371A (en) 2014-08-19
CN103036986A (en) 2013-04-10
JP2015505096A (en) 2015-02-16
EP2791793B1 (en) 2020-06-24
US20130159987A1 (en) 2013-06-20
EP2791793A4 (en) 2015-07-08
KR102008037B1 (en) 2019-08-06
CN103036986B (en) 2016-06-01
JP6077562B2 (en) 2017-02-08
EP2791793A1 (en) 2014-10-22
US8694986B2 (en) 2014-04-08

Similar Documents

Publication Publication Date Title
US8694986B2 (en) Providing update notifications on distributed application objects
US9519504B2 (en) Managing a server template
JP5285353B2 (en) Computer system, method and computer program for managing execution of actions corresponding to a plurality of service components
US8543641B2 (en) Method and system of application delivery through application template to client device
KR101644666B1 (en) Programming model for synchronizing browser caches across devices and web services
JP5373900B2 (en) Computer application package with customization
US10007533B2 (en) Virtual machine migration
US10445186B1 (en) Associating a guest application within a virtual machine to create dependencies in backup/restore policy
US8316120B2 (en) Applicability detection using third party target state
WO2010147926A2 (en) Catalog-based software component management
JP2009199528A (en) Computer system for managing service process including two or more service steps, and method and computer program therefor
US8087015B2 (en) Assignment of application models to deployment targets
US20110179419A1 (en) Dependency on a resource type
JP2011524052A (en) Virtualization object in query
US11803429B2 (en) Managing alert messages for applications and access permissions
JP2017515236A (en) Method and apparatus for hard disk to execute application code
US10140155B2 (en) Dynamically provisioning, managing, and executing tasks
US20140059538A1 (en) Virtual machine state tracking using object based storage
US11656948B2 (en) Method and system for mapping protection policies to data cluster components
US11140044B1 (en) Utilizing models for concurrently discovering network resources of a network
WO2021062428A1 (en) Data consistency management across data storage devices

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12858340

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2014547280

Country of ref document: JP

Kind code of ref document: A

Ref document number: 20147016135

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2012858340

Country of ref document: EP