The foregoing summary, as well as the following detailed description, is better understood when read in conjunction with the appended drawings. For the purpose of illustrating the management of virtual machines and hosts by property, there is shown in the drawings exemplary constructions thereof, however, managing virtual machines and hosts by property is not limited to the specific methods and instrumentalities disclosed.
In accordance with managing virtual machines and hosts by property, a system can be browsed for virtual machines (VMs) and/or hosts on which a virtual machine resides having a specific property, or properties. The visual rendering of “by property” browsing, in an example embodiment, comprises a folder for the selected group of properties wherein the sub-folders of that folder represent the unique property values. By selecting a property value, all the hosts/VMs that match the selected property value, are rendered. This rendering provides a fast and easily navigable hierarchical view of the hosts/VMs and properties associated therewith. In another example embodiment, the visual rendering of by property browsing comprises a textual directory structure of properties and property values.
The Host folder 12 represents a property attributable to a host. The properties values of the Host property 12 comprise specific types of hosts. For example, the property values depicted in
In an example embodiment, the hierarchical structure depicted in
In an example embodiment, properties can be assigned to a virtual machine and/or host utilizing the hierarchical structure depicted in
For properties that can be browsed, in an example embodiment, a tree-node is generated. In an example embodiment, sub-nodes of the tree-node can comprise a fixed set of known values, a set of values based on a current system configuration, and/or groups of values. For the fixed set of known values a complete set of tree of sub-nodes is generated, some of which may contain no resulting virtual machines, hosts, library objects, tasks, or the like. For example, for a property of “State” or “Task,” sub-nodes of Running, Stopped, Paused, Canceled, or the like, are generated regardless of the current values in the system. Further, nodes can be dynamically generated based on existing objects matching this state/property. For the sub-node comprising a set of values based on the current state of the system, a set of sub-nodes is generated indicative of the unique set of values which currently exist in the system. When a new value is entered into the system, a respective new sub-node is generated. For example, with respect to the property of “Owner” property, when a first person installs and runs the system, all objects are owned by that one person and the single sub-node to Owner is that person. As more people interact with the system and create objects, virtual machines, and/or tasks, more sub-nodes are generated for the “Owner” node. For groups of values (e.g., dates), groups of sub-nodes are generated in which the property has the value greater than a certain threshold and less than a threshold. Date fields can have an extremely large possible data set. For day to day operations, the most recent date is often the most applicable. Thus, for dates, values are grouped into a selected list of sub-folders with one of the folders representing everything “older” than a certain date. For example, for the property of “Creation Date,” subfolders of Today, Earlier this week, Earlier this month, and Older, are generated. It is to be understood that the date folders described are exemplary, and that more or less date search folder can be generated. Further, search results can be saved in a designated folder (e.g., folder having a property “Search Results”). For example, if a user in a GUI selected all VMs that have the state=running, and then the user performed a search based on another custom property, the user can save this custom search as a unique, by attribute, folder. Then, if the user would like to find the same VMs again based on the user's custom requirement, the user can easily visit the newly created folder for the search results.
In another example embodiment, the visual rendering of “by property” browsing comprises a textual hierarchical directory structure.
Name=vm1.vhd, Location=Redmond, Owner=BobFr, State=On
Name=vm2.vhd, Location=Redmond, Owner=Eric, State=Off
Name=vm3.vhd, Location=Boston, Owner=BobFr, State=On
Name=vm4.vhd, Location=Boston, Owner=Eric, State=Off
In
Dir_byState\on\*.vhd
In another example, the following command line can be entered to query for all virtual machines having the property of “State” with the property value of On, and the property of “Owner” with the property value of Bobfr (e.g., query for all virtual machines that are owned by Bobfr and are currently on). In this example, commands are concatenated to query for virtual machines having multiple property values attributed thereto.
Dir_byState\on\_byOwner\Bobfr\*.vhd
In another example, the following command line can be entered to query for all virtual machines having the property of “Location” with the property value of Boston (e.g., query for all virtual machines in Boston).
Dir_byLocation\Boston\*.vhd
In an example embodiment, the order of concatenated commands can be modified. For example, either of the following command lines can be entered to query for all virtual machines having the property of “State” with the property value of On, and the property of “Owner” with the property value of Bobfr (e.g., query for all virtual machines that are owned by Bobfr and are currently on).
Dir_byState\on\_byOwner\Bobfr\*.vhd
Or
Dir_byOwner\Bobfr\_byState\on\*.vhd
The structures described above rendered in a textual directory can also be rendered via a GUI comprising folders.
In an example embodiment, a virtual machine can be navigated. That is, the constituents of a virtual machine can be viewed. The constituents can comprise files that a virtual machine comprises and/or devices that a virtual machine comprises.
As described above, the registry of a virtual machine is another constituent that can be navigated. In various example embodiments, the registry can be rendered via a textual hierarchical directory structure and/or a GUI comprising folders/subfolders.
Similarly, devices of a virtual machine can be rendered via a textual hierarchical directory structure and/or a GUT comprising folders/subfolders as depicted in
If it is determined (at step 30) a property value attributable to a host is to be rendered, an indication of the host, or hosts, having the selected property value attributed thereto is rendered at step 32. As described above, the indication of the host(s) having the selected property value attributed thereto can be rendered via a GUT utilizing a hierarchical structure of folders/subfolders, and/or via a textual hierarchical directory structure (e.g., via a command-line interpreter). At step 34, a host is selected. An indication of the constituents of the selected host is rendered at step 40. As described above, rendering the indication of the constituents of the selected virtual machine provides the ability to see “inside” the virtual machine. As described above, the indication of the constituents can be rendered via a GUI utilizing a hierarchical structure of folders/subfolders, and/or constituents can be rendered via a textual hierarchical directory structure.
Various embodiments of managing a virtual machine by property are executable on a computing device.
A computer system can be roughly divided into three component groups: the hardware component, the hardware/software interface system component, and the applications programs component (also referred to as the “user component” or “software component”). In various embodiments of a computer system the hardware component may comprise the central processing unit (CPU) 621, the memory (both ROM 664 and RAM 625), the basic input/output system (BIOS) 666, and various input/output (I/O) devices such as a keyboard 640, a mouse 642, a monitor 647, and/or a printer (not shown), among other things. The hardware component comprises the basic physical infrastructure for the computer system.
The applications programs component comprises various software programs including but not limited to compilers, database systems, word processors, business programs, videogames, and so forth. Application programs provide the means by which computer resources are utilized to solve problems, provide solutions, and process data for various users (machines, other computer systems, and/or end-users). In an example embodiment, application programs perform the functions associated with managing a virtual machine by property as described above, such as rendering properties, rendering property values, selecting property values, determining virtual machines and/or hosts having the selected property value(s) attributed thereto, rendering an indication of the virtual machines and/or hosts having the selected property value(s) attributed thereto, selecting a virtual machine, and rendering constituents of the selected virtual machine.
The hardware/software interface system component comprises (and, in some embodiments, may solely consist of) an operating system that itself comprises, in most cases, a shell and a kernel. An “operating system” (OS) is a special program that acts as an intermediary between application programs and computer hardware. The hardware/software interface system component may also comprise a virtual machine manager (VMM), a Common Language Runtime (CLR) or its functional equivalent, a Java Virtual Machine (JVM) or its functional equivalent, or other such software components in the place of or in addition to the operating system in a computer system. A purpose of a hardware/software interface system is to provide an environment in which a user can execute application programs.
The hardware/software interface system is generally loaded into a computer system at startup and thereafter manages all of the application programs in the computer system. The application programs interact with the hardware/software interface system by requesting services via an application program interface (API). Some application programs enable end-users to interact with the hardware/software interface system via a user interface such as a command language or a graphical user interface (GUI).
A hardware/software interface system traditionally performs a variety of services for applications. In a multitasking hardware/software interface system where multiple programs may be running at the same time, the hardware/software interface system determines which applications should run in what order and how much time should be allowed for each application before switching to another application for a turn. The hardware/software interface system also manages the sharing of internal memory among multiple applications, and handles input and output to and from attached hardware devices such as hard disks, printers, and dial-up ports. The hardware/software interface system also sends messages to each application (and, in certain case, to the end-user) regarding the status of operations and any errors that may have occurred. The hardware/software interface system can also offload the management of batch jobs (e.g., printing) so that the initiating application is freed from this work and can resume other processing and/or operations. On computers that can provide parallel processing, a hardware/software interface system also manages dividing a program so that it runs on more than one processor at a time.
A hardware/software interface system shell (referred to as a “shell”) is an interactive end-user interface to a hardware/software interface system. (A shell may also be referred to as a “command interpreter” or, in an operating system, as an “operating system shell”). A shell is the outer layer of a hardware/software interface system that is directly accessible by application programs and/or end-users. In contrast to a shell, a kernel is a hardware/software interface system's innermost layer that interacts directly with the hardware components.
As shown in
A number of program modules can be stored on the hard disk, magnetic disk 629, optical disk 631, ROM 664, or RAM 625, including an operating system 635, one or more application programs 636, other program modules 637, and program data 638. A user may enter commands and information into the computing device 660 through input devices such as a keyboard 640 and pointing device 642 (e.g., mouse). Other input devices (not shown) may include a microphone, joystick, game pad, satellite disk, scanner, or the like. These and other input devices are often connected to the processing unit 621 through a serial port interface 646 that is coupled to the system bus, but may be connected by other interfaces, such as a parallel port, game port, or universal serial bus (USB). A monitor 647 or other type of display device is also connected to the system bus 623 via an interface, such as a video adapter 648. In addition to the monitor 647, computing devices typically include other peripheral output devices (not shown), such as speakers and printers. The exemplary environment of
The computing device 660 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 649. The remote computer 649 may be another computing device (e.g., personal computer), a server, a router, a network PC, a peer device, or other common network node, and typically includes many or all of the elements described above relative to the computing device 660, although only a memory storage device 650 (floppy drive) has been illustrated in
When used in a LAN networking environment, the computing device 660 is connected to the LAN 651 through a network interface or adapter 653. When used in a WAN networking environment, the computing device 660 can include a modem 654 or other means for establishing communications over the wide area network 652, such as the Internet. The modem 654, which may be internal or external, is connected to the system bus 623 via the serial port interface 646. In a networked environment, program modules depicted relative to the computing device 660, or portions thereof, may be stored in the remote memory storage device. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.
While it is envisioned that numerous embodiments of managing virtual machines and hosts by property are particularly well-suited for computerized systems, nothing in this document is intended to limit the invention to such embodiments. On the contrary, as used herein the term “computer system” is intended to encompass any and all devices capable of storing and processing information and/or capable of using the stored information to control the behavior or execution of the device itself, regardless of whether such devices are electronic, mechanical, logical, or virtual in nature.
The various techniques described herein can be implemented in connection with hardware or software or, where appropriate, with a combination of both. Thus, the methods and apparatuses for managing virtual machines and hosts by property, or certain aspects or portions thereof, can take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for managing virtual machines and hosts by property.
The program(s) can be implemented in assembly or machine language, if desired. In any case, the language can be a compiled or interpreted language, and combined with hardware implementations. The methods and apparatuses for managing virtual machines and hosts by property also can be practiced via communications embodied in the form of program code that is transmitted over some transmission medium, such as over electrical wiring or cabling, through fiber optics, or via any other form of transmission, wherein, when the program code is received and loaded into and executed by a machine, such as an EPROM, a gate array, a programmable logic device (PLD), a client computer, or the like, the machine becomes an apparatus for managing virtual machines and hosts by property. When implemented on a general-purpose processor, the program code combines with the processor to provide a unique apparatus that operates to invoke the functionality of managing virtual machines and hosts by property. Additionally, any storage techniques used in connection with managing virtual machines and hosts by property can invariably be a combination of hardware and software.
Managing virtual machines and hosts by property as described herein provides dynamic and static organization of virtual machines into folders and subfolders based on specific properties of the virtual machines and/or hosts. Also provided is an association of a graphical representation, such as an icon, to a search folder and subfolders that may be either common or distinct from other search folders and sub-folders. The search folder concept can be used to browse virtual machines and hosts by property. Users have the ability to generate and save new search folders based on current views or provided search criteria. Users also have the ability to define which properties, including any custom property extensions to the objects, should be shown as “By Property” nodes. A hierarchy of “By Property” folders can be generated specifying the order of the properties (e.g., by owner, by state, by location). Virtual infrastructure objects can be dynamically organized into folders based on specific properties of the virtual infrastructure objects. The search folder concept can be used to create “By Property” browsing of virtual infrastructure object in a library. Tasks can by dynamically organized into folders based on specific properties of the virtual infrastructure objects. Search folder can be used to create “By Property” browsing tasks.
While managing virtual machines and hosts by property has been described in connection with the example embodiments of the various figures, it is to be understood that other similar embodiments can be used or modifications and additions can be made to the described embodiments for performing the same functions for managing virtual machines and hosts by property without deviating therefrom. Therefore, managing virtual machines and hosts by property as described herein should not be limited to any single embodiment, but rather should be construed in breadth and scope in accordance with the appended claims.