Information technology (IT) professionals are responsible for managing computational resources for enterprises. Often such IT professionals are tasked with reducing cost and improving operational efficiency. However, data centers can quickly approach capacity and purchasing new servers increases capital and operating expenses, among other costs. At the same time, servers are typically and substantially underutilized, and provisioning new machines is a lengthy process that makes it difficult to be responsive to rapidly changing business needs.
Virtual machine technology facilitates increased physical resource utilization as well as agile machine provisioning. Traditionally, software applications are tightly coupled to physical servers on which they run. Virtual machine technology provides a layer of abstraction between the software applications and physical hardware and enables provisioning of multiple virtual machines on a single physical server, for example. As a result, workloads can be consolidated to improve physical asset utilization, and machines can be rapidly deployed and decommissioned, as needed.
To facilitate management, it is helpful to provide IT professionals with a means for monitoring resources be they physical, virtual, or both. For instance, metrics concerning performance or fault can be useful determining whether to add, remove, or move a machine. Such information can be acquired by way of application instrumentation.
Conventionally, agents are added to applications that monitor the applications and communicate pertinent information outside the application to management component for further processing. In other words, for each application, an agent is added, and there is a static relationship between an agent and a manager. By way of example, a virtual machine manager on a host server can receive status messages from a virtual machine with respect to an application by way of a local application agent.
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed subject matter. This summary is not an extensive overview. It is not intended to identify key/critical elements or to delineate the scope of the claimed subject matter. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
Briefly described, the subject disclosure generally pertains to facilitating management of virtual applications. Messages from virtual applications can be observed external to application-hosting virtual machines and subsequently one or more actions can be performed as a function of the message. For instance, a virtual switch, or like mechanism, can be instrumented to observe messages communicated between locally and/or remotely hosted virtual applications and provide such messages to a management service for further processing. Performed actions can include monitoring application performance as well as routing, filtering, and/or transforming messages, among other things. Furthermore, information collected locally can be transmitted to a higher-level management tier to survive rapid placement and migration of virtual machines as well as scaling, updating, and renaming of physical machines.
To the accomplishment of the foregoing and related ends, certain illustrative aspects of the claimed subject matter are described herein in connection with the following description and the annexed drawings. These aspects are indicative of various ways in which the subject matter may be practiced, all of which are intended to be within the scope of the claimed subject matter. Other advantages and novel features may become apparent from the following detailed description when considered in conjunction with the drawings.
Details below are generally directed toward facilitating virtual-application management. Conventionally, an agent/manager approach is employed, wherein a virtual-application is instrumented with an agent that can observe actions therein and provide information to a manger residing outside the application for further processing. However, the conventional approach is not well suited for current and future levels of virtualization. A single server can currently host tens of virtual machines, and, in the near future, a server will be able to host hundreds of virtual machines. Furthermore, the number of virtual machines resident on a server can change at a rapid pace as virtual machines are deployed, removed, and moved from one server to another server. The current agent manager approach requires first that an application be instrumented with an agent, which is not always the case, and second a static link be established between the agent and a manager. The sheer volume of virtual machines and associated dynamism is not conducive to this approach.
As described herein, application messages can be observed from outside an application and hosting virtual machine, wherein such messages correspond to communications between or amongst virtual applications. For example, a virtual switch or like component can be instrumented to observe messages. Subsequently, the observed messages can be analyzed and an action performed as a function of the message, among other things. For example, management metrics pertaining to application performance, errors, and/or exceptions can be generated. Additionally or alternatively, inbound and outbound messages can be re-routed, filtered, and/or transformed. Data collected at a local host server can also be provided to a management server for further processing of, and interaction with, applications across servers.
Various aspects of the subject disclosure are now described in more detail with reference to the annexed drawings, wherein like numerals refer to like or corresponding elements throughout. It should be understood, however, that the drawings and detailed description relating thereto are not intended to limit the claimed subject matter to the particular form disclosed. Rather, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the claimed subject matter.
Referring initially to
Virtual switch 130 is a component that enables communication by, among other things, routing messages to target virtual machines. The virtual switch 130 can be embedded within a virtualization component 132 (e.g., virtual machine monitor, hypervisor . . . ), a stand-alone application, or included within server hardware as firmware. As shown, messages can be routed by the virtual switch 130 to local virtual machines or to remote virtual machines that form part of a network of computers, or, in other words, a network cloud 140. Accordingly, the virtual switch 130 can allow for dynamic resource allocation locally as well as remotely. For example, a virtual machine 120 can migrate from one physical host to another, and the virtual switch 130 can re-route messages to its new location to maintain a communication link. Further, the virtual switch 130 can do more than simply forward data packets. The virtual switch 130 can also be responsible for various packet inspecting functions (given it is provided with requisite data). Accordingly, the virtual switch 130 can utilize provided or otherwise available credentials, certificates the like (e.g., from virtualization component 132) to provide readable data to facilitate inspection. Furthermore, note that virtual switch component 130 is not limited to being a virtual switch per se but rather can also encompass other like mechanisms, such as, but not limited to, virtual hubs and virtual routers.
Moreover, the virtual switch 130 can be instrumented with switch interface component 150 (a.k.a. simply interface component 150) that is configured to observe, or observe and intercept, communicated messages and forward the messages, or copies thereof, to management component 160 for further processing. In accordance with one embodiment, the interface component 150 can correspond to one or more application programming interfaces. Note that by positioning the interface component 150 outside application hosting virtual machine, observation is not dependent on whether an application has an agent capable of observing messages from within a virtual machine and it is easy to handle any number of virtual machines as they are dynamically deployed, removed, and/or moved.
In addition to communication traffic, the interface component 150 can be configured to acquired and provide the management component 160 with metadata regarding virtual machines. For example, such metadata can identify how a virtual machine is configured and what applications can be executed on the virtual machine. At least a portion of the metadata can be provided to the virtualization component 132, for example, upon deployment of a virtual machine, which can subsequently be provided by the interface component 150 to the management component 160.
The management component 160 is configured to perform an action as a function of application messages and optionally metadata acquired from the interface component 150. For instance, application message traffic can be monitored and utilized to compute metrics providing information about how an application is performing and whether or not any errors and/or exceptions occurred. Data can also be gathered to enable trending or other analysis. The management component 160 can also make decisions regarding routing, filtering, and transformation of messages based on messages exchanged and can communicate the decisions as instructions to the virtual switch 130 and/or perform the action specified by the instructions itself. Furthermore, actions performed by the management component 160 can be based on one or more policies and/or explicit instructions specified by a system administrator (IT professional), for instance.
By way of example and not limitation, information can be gathered regarding which virtual machine is communicating with which other virtual machines. Such information can be utilized to place virtual machines on the same host, enclosure, local area network, etc., if an isolation policy (e.g., specifies limitations on where a virtual machine can be placed relative to others) allows it, to improve performance by moving communicating virtual machines closer to one another thereby reducing communication costs.
Furthermore, it is to be appreciated that it is desirable to limit the impact of management on the primary functionality of a system. Accordingly, the management component 160 need not change or route messages, messages can be queued and leisurely processed at times less likely to affect system performance negatively. Furthermore, if messages are arriving in the queue faster than they can be processed, messages can simply be dropped and not processed at all.
The one or more packet monitor components 210 can be configured to utilize known or novel techniques to rebuild an application-generated message (e.g., a whole soap envelope or HTTP request) from smaller communicated units. Stated differently, the one or more packet monitor components 210 can be configured to parse network traffic and interpret the messages at any layer in the stack for a set of network protocols (a.k.a. communication protocols). In furtherance thereof, a packet monitor component 210 can be configured to recompose a network stack (e.g., layers 4-7 (transport, session, presentation, application)) from observation of lower layers (e.g., layers 2 (data) and 3 (network)). In accordance with one manner of implementation, such functionality can be enabled by running a copy of same protocol stack 124 running inside a virtual machine. In this manner, messages can be understood at different layers (e.g., Layer 2, IP, TCP, HTTP, Soap . . . ) and decryption, where applicable, can be applied at the appropriate level. Similarly, since a network-protocol stack can be interpreted at whatever level is required, policies that at least affect an action to be performed can be specified at arbitrary levels (e.g., data packet level, message level . . . ). Note also that the one or more packet monitor components 210 can be technology dependent (e.g., monitor component for operating system A, monitor component for operating system B).
The one or more message inspector components 220 can be configured to inspect communications for a particular technology on one or more designated layers of the network stack. Further, the one or more message inspector components 220 can be tasked with identifying pairs of requests and replies for a particular technology and stack layer. Once message pairs are identified, they can be provided to the message processor component 230 for further processing.
The message processor component 230 provides additional processing associated with the messages provide by the one or more message inspector components 220. More particularly, the message processor component 230 can utilize metadata regarding a virtual machine including supported applications, among other things, to aid in associating messages with specific applications. Subsequently, any number of operations can be performed with respect to the message data. For example, performance metrics can be computed, health information derived and event data collected regarding applications. Additionally, messages can be re-routed to other destinations, filtered, and/or transformed.
One representative embodiment of the message processor component 230 is depicted in
Work manager component 330 is configured to schedule the work items 320, from the queue, for execution, for instance, as a function of contextual information (e.g., workflow item, CPU utilization, memory utilization . . . ). By way of example, where messages are not changed or routed, the queue of work items can be processes leisurely when an acceptable performance threshold is met to limit the impact on currently executing virtual applications. Furthermore, if the work manager component 330 and associated hardware cannot keep up with message processing, messages can simply be dropped, or in other words allowed to pass through without complete analysis and processing.
To monitor new or unsupported technologies, message inspector components 220 can be registered with the host server 110 (
Furthermore, since communication traffic outside virtual machines is the plug-in point of observation, virtual machine life times and configurations are not a concern with respect to message observation, interception or the like. In addition, once a virtual machine is configured to run and is started, virtualization software (e.g., hypervisor, virtual monitor, virtual switch . . . ) will have metadata about the virtual machine stored to aid identifying applications when messages for that virtual machine are observed. Similarly, a virtual machine can provide credentials (e.g., certificates) for decrypting encrypted communications, which can be utilized by the management component 160 to facilitate observation and processing of messages. More generally, data can be protocol dependent and comprehensible by the virtualization component 132 based in information provided by a virtual machine, for instance.
Turning attention to
The system 500 illustrates a two-tier hierarchical management structure wherein the first tier corresponds to the local management components 504 residing on respective host servers 502 and the second tier corresponds to the central management component 510 executed by the management server 506. The structure is conducive to application management in the presence of large numbers of virtual machines and rapid placement and migration of virtual machines as well as scaling, updating, and renaming of physical machines. Furthermore, it should be appreciated that the system 500 is not limited to two-tiers, but rather is scalable to support an arbitrary number of tiers or hierarchical levels to facilitate management. By way of example and not limitation, a cluster of management servers can be overseen by a global management server (not shown), and/or an intermediate management server (not shown) can be injected between the host servers 502 and management server 506.
The aforementioned systems, architectures, environments, and the like have been described with respect to interaction between several components. It should be appreciated that such systems and components can include those components or sub-components specified therein, some of the specified components or sub-components, and/or additional components. Sub-components could also be implemented as components communicatively coupled to other components rather than included within parent components. Further yet, one or more components and/or sub-components may be combined into a single component to provide aggregate functionality. Communication between systems, components and/or sub-components can be accomplished in accordance with either a push and/or pull model. The components may also interact with one or more other components not specifically described herein for the sake of brevity, but known by those of skill in the art.
Furthermore, various portions of the disclosed systems above and methods below can include or consist of artificial intelligence, machine learning, or knowledge or rule-based components, sub-components, processes, means, methodologies, or mechanisms (e.g., support vector machines, neural networks, expert systems, Bayesian belief networks, fuzzy logic, data fusion engines, classifiers . . . ). Such components, inter alia, can automate certain mechanisms or processes performed thereby to make portions of the systems and methods more adaptive as well as efficient and intelligent. By way of example and not limitation, the local management components 504 and the global management component 510 can employ such mechanism to, among other things, determine, or infer, management strategies.
In view of the exemplary systems described supra, methodologies that may be implemented in accordance with the disclosed subject matter will be better appreciated with reference to the flow charts of
Referring to
At numeral 620, one or actions can be performed as a function of the messages. In one instance, an action can correspond to identifying a particular application to which a message corresponds based on the message and optionally virtual machine metadata. In another instance, an action can correspond to monitoring application messages and store the messaged for subsequent utilization. Additionally or alternatively, message data can be analyzed, correlated, aggregated, and/or thresholded, among other things, results of which can be utilized to route, filter and/or transform messages as well as place, migrate, update virtual machines, for instance. Furthermore, such actions can be performed based on or more policies or explicit instructions, for example specified by a system administrator. By way of example, and not limitation, policy-based message transformation can be performed utilizing appropriate level protocols based on the relative positions of source and destination virtual machines. That is, if the virtual machines are on the same host, memory block transfers can be performed; if they are on the same blade server enclosure, giant blocks can be transferred; if the virtual machines are located on the same local area network, aggressive blocking can be utilized; and if it is determined that transport control protocol is offloaded to a network interface card, a specific protocol can be used, like streaming.
As described herein, virtual application management is facilitated by observing messages external to host-virtual machines, which is in contrast to conventional management systems that observer application activity at the application level by way of an agent. Nevertheless, the two approaches to application management need not be mutually exclusive. Rather, the subject approach to management can be augmented to accept output from application resident agents as opposed to or in addition to observing messages, for instance from a virtual switch. Similar information can be acquired from either approach. Furthermore, utilizing both approaches can provide a means for corroborating results, or in other words a means for improving confidence in the results produced by one approach.
To the extent used herein, the terms “component,” “system,” and “engine” as well as forms thereof are intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an instance, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a computer and the computer can be a component. One or more components may reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between two or more computers.
The word “exemplary” or various forms thereof are used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other aspects or designs. Furthermore, examples are provided solely for purposes of clarity and understanding and are not meant to limit or restrict the claimed subject matter or relevant portions of this disclosure in any manner. It is to be appreciated a myriad of additional or alternate examples of varying scope could have been presented, but have been omitted for purposes of brevity.
As used herein, the term “inference” or “infer” refers generally to the process of reasoning about or inferring states of the system, environment, and/or user from a set of observations as captured via events and/or data. Inference can be employed to identify a specific context or action, or can generate a probability distribution over states, for example. The inference can be probabilistic—that is, the computation of a probability distribution over states of interest based on a consideration of data and events. Inference can also refer to techniques employed for composing higher-level events from a set of events and/or data. Such inference results in the construction of new events or actions from a set of observed events and/or stored event data, whether or not the events are correlated in close temporal proximity, and whether the events and data come from one or several event and data sources. Various classification schemes and/or systems (e.g., support vector machines, neural networks, expert systems, Bayesian belief networks, fuzzy logic, data fusion engines . . . ) can be employed in connection with performing automatic and/or inferred action in connection with the claimed subject matter.
Furthermore, to the extent that the terms “includes,” “contains,” “has,” “having” or variations in form thereof are used in either the detailed description or the claims, such terms are intended to be inclusive in a manner similar to the term “comprising” as “comprising” is interpreted when employed as a transitional word in a claim.
In order to provide a context for the claimed subject matter,
While the above disclosed system and methods can be described in the general context of computer-executable instructions of a program that runs on one or more computers, those skilled in the art will recognize that aspects can also be implemented in combination with other program modules or the like. Generally, program modules include routines, programs, components, data structures, among other things that perform particular tasks and/or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the above systems and methods can be practiced with various computer system configurations, including single-processor, multi-processor or multi-core processor computer systems, mini-computing devices, mainframe computers, as well as personal computers, hand-held computing devices (e.g., personal digital assistant (PDA), phone, watch . . . ), microprocessor-based or programmable consumer or industrial electronics, and the like. Aspects can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. However, some, if not all aspects of the claimed subject matter can be practiced on stand-alone computers. In a distributed computing environment, program modules may be located in one or both of local and remote memory storage devices.
With reference to
The processor(s) 920 can be implemented with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any processor, controller, microcontroller, or state machine. The processor(s) 920 may also be implemented as a combination of computing devices, for example a combination of a DSP and a microprocessor, a plurality of microprocessors, multi-core processors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The computer 910 can include or otherwise interact with a variety of computer-readable media to facilitate control of the computer 910 to implement one or more aspects of the claimed subject matter. The computer-readable media can be any available media that can be accessed by the computer 910 and includes volatile and nonvolatile media, and removable and non-removable media. By way of example, and not limitation, computer-readable media may comprise computer storage media and communication media.
Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to memory devices (e.g., random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM) . . . ), magnetic storage devices (e.g., hard disk, floppy disk, cassettes, tape . . . ), optical disks (e.g., compact disk (CD), digital versatile disk (DVD) . . . ), and solid state devices (e.g., solid state drive (SSD), flash memory drive (e.g., card, stick, key drive . . . ) . . . ), or any other medium which can be used to store the desired information and which can be accessed by the computer 910.
Communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of any of the above should also be included within the scope of computer-readable media.
Memory 930 and mass storage 950 are examples of computer-readable storage media. Depending on the exact configuration and type of computing device, memory 930 may be volatile (e.g., RAM), non-volatile (e.g., ROM, flash memory . . . ) or some combination of the two. By way of example, the basic input/output system (BIOS), including basic routines to transfer information between elements within the computer 910, such as during start-up, can be stored in nonvolatile memory, while volatile memory can act as external cache memory to facilitate processing by the processor(s) 920, among other things.
Mass storage 950 includes removable/non-removable, volatile/non-volatile computer storage media for storage of large amounts of data relative to the memory 930. For example, mass storage 950 includes, but is not limited to, one or more devices such as a magnetic or optical disk drive, floppy disk drive, flash memory, solid-state drive, or memory stick.
Memory 930 and mass storage 950 can include, or have stored therein, operating system 960, one or more applications 962, one or more program modules 964, and data 966. The operating system 960 acts to control and allocate resources of the computer 910. Applications 962 include one or both of system and application software and can exploit management of resources by the operating system 960 through program modules 964 and data 966 stored in memory 930 and/or mass storage 950 to perform one or more actions. Accordingly, applications 962 can turn a general-purpose computer 910 into a specialized machine in accordance with the logic provided thereby.
All or portions of the claimed subject matter can be implemented using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof to control a computer to realize the disclosed functionality. By way of example and not limitation, the interface component 150 and management component 160 of system 100, or portions thereof, can be, or form part, of an application 962, and include one or more modules 964 and data 966 stored in memory and/or mass storage 950 whose functionality can be realized when executed by one or more processor(s) 920.
In accordance with one particular embodiment, the processor(s) 920 can correspond to a system on a chip (SOC) or like architecture including, or in other words integrating, both hardware and software on a single integrated circuit substrate. Here, the processor(s) 920 can include one or more processors as well as memory at least similar to processor(s) 920 and memory 930, among other things. Conventional processors include a minimal amount of hardware and software and rely extensively on external hardware and software. By contrast, an SOC implementation of processor is more powerful, as it embeds hardware and software therein that enable particular functionality with minimal or no reliance on external hardware and software. For example, the interface component 150 and management component 160 and/or associated functionality can be embedded within hardware in a SOC architecture.
The computer 910 also includes one or more device interface components 970 that are communicatively coupled to the system bus 940 and facilitate interaction with the computer 910. By way of example, the device interface component 970 can be a port (e.g., serial, parallel, PCMCIA, USB, FireWire . . . ) or an interface card (e.g., sound, video . . . ) or the like. In one example implementation, the device interface component 970 can be embodied as a user input/output interface to enable a user to enter commands and information into the computer 910 through one or more input devices (e.g., pointing device such as a mouse, trackball, stylus, touch pad, keyboard, microphone, joystick, game pad, satellite dish, scanner, camera, other computer . . . ). In another example implementation, the device interface component 970 can be embodied as an output peripheral interface to supply output to displays (e.g., CRT, LCD, plasma . . . ), speakers, printers, and/or other computers, among other things. Still further yet, the device interface component 970 can be embodied as a network interface to enable communication with other computing devices (not shown), such as over a wired or wireless communications link.
What has been described above includes examples of aspects of the claimed subject matter. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing the claimed subject matter, but one of ordinary skill in the art may recognize that many further combinations and permutations of the disclosed subject matter are possible. Accordingly, the disclosed subject matter is intended to embrace all such alterations, modifications, and variations that fall within the spirit and scope of the appended claims.
This Application is a Continuation of and claims benefit from or priority of U.S. patent application Ser. No. 15/050,670 that was filed Feb. 23, 2016, and that is a Continuation of U.S. patent application Ser. No. 13/025,042 (U.S. Pat. No. 9,292,329), filed on Feb. 10, 2011 (Issued Mar. 22, 2016), each of which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 15050670 | Feb 2016 | US |
Child | 15847058 | US | |
Parent | 13025042 | Feb 2011 | US |
Child | 15050670 | US |