This application claims priority from United Kingdom patent application number 1217077.5 filed Sep. 25, 2012, which is hereby incorporated herein by reference in its entirety.
One or more aspects of the present invention relate in general to data processing systems, and in particular, to managing a virtual computer resource on at least one virtual machine.
In today's information technology infrastructure, many server systems support logical partitioning. Many logical partitions of a logically partitioned system execute operating systems on which applications are deployed. Such applications communicate with applications within the same partition, within the same logically partitioned system, with devices coupled to the logically partitioned system, and with other applications on other systems coupled to the logically partitioned system. The communication protocols required to support such communication must support connection oriented, in-order, reliable, and flow-controlled data delivery. Implementing protocols to meet these requirements leads to resource intensive implementation which requires increased performance. Delivering such performance requires sophisticated and expensive communication hardware. The requirements still remain in place even in virtualized server environments. Another challenge is to secure the communication protocols against surveying attacks of the communication lines or ensuring the availability of the counterpart of the communication.
US 2011/0093870 A1, hereby incorporated herein by reference in its entirety, describes a method in a data processing system for communicating between a plurality of applications. A request is received from an originating application to send data to a destination application. Further a request is sent to identify a location of the destination application to a virtualization management mechanism. It is determined whether the location of the destination application is a second logical partition in the plurality of logical partitions of the logically partitioned data processing system in response to receiving a response from the virtualization management mechanism. A bypass protocol is used to send the request from the originating application to the destination application in response to the location being the second logical partition.
A mechanism is provided for a high performance and resource efficient communication among a plurality of applications running on logical partitions of a logically partitioned system. The performance of the communication is increased by providing a high through-put with a low latency. By increasing the throughput and decreasing latency, the logically partitioned system reduces the processing requirements of the logically partitioned system's components such as processing units, memory, input/output bandwidth, or the like. The mechanism comprises a bypass transport protocol for communicating between logical partitions. Communication software within each operation system executing on the logical partition determines when the bypass transport protocol is to be deployed. Therefore, application programming interfaces (API) are maintained thus supporting existing applications without change and supporting connection oriented, reliable, in-order, and flow-controlled data transfers.
US 2011/0185062 A1, hereby incorporated herein by reference in its entirety, describes a qualitative resource assignment wizard which receives qualitative information for a logical partition (LPAR) and calculates computer resource assignments for the LPAR based on the qualitative information and a set of conversion functions. For example, the qualitative resource assignment wizard may calculate a processing unit assignment, a memory assignment, and an I/O slot assignment for the LPAR. The qualitative information may be input by a user, for example, utilizing a graphical user interface (GUI). Conversion functions are calculated during a training phase, in which a user periodically provides qualitative information while resource usage data is gathered. The wizard may reside in a hardware management console (HMC) or other administrative console and/or may be a component of a hypervisor or other partition management code. Software code associated with the wizard may be provided by a network server application to a client system for enabling a user to remotely input the qualitative information.
In one aspect, a method is provided for managing a virtual computer resource, on at least one virtual machine, in order to enable an efficient and secure way of administrating licensing management information.
Another aspect is to provide a system for managing a virtual computer resource on at least one virtual machine, comprising an efficient and secure way of administrating licensing management information.
Objectives are achieved by the features of aspects of the independent claims. The other claims, the drawings and the specification disclose embodiments of aspects of the invention.
According to one aspect, a capability is provided for managing a virtual computer resource on at least one virtual machine. This management service can be achieved by controlling execution of the virtual computer resource on the at least one virtual machine by a virtual machine instance, preferably a firmware facility, of a trusted part of a computer system, the virtual machine instance being unique in the computer system. A virtual computer resource in this sense covers not only software aspects, as for example a software license, but also hardware resources, as memories, processors or the like, as will be outlined in more detail herein.
One or more aspects of the present invention together with the objects and advantages may best be understood from the following detailed description of the embodiments, but not restricted to the embodiments, wherein is shown in:
In the drawings, like elements are referred to with equal reference numerals. The drawings are merely schematic representations, not intended to portray specific parameters of aspects of the invention. Moreover, the drawings are intended to depict only typical embodiments, and therefore, should not be considered as limiting the scope of the invention.
For illustrating an aspect,
The license management system 14 itself may not only be implemented in a hardware/firmware layer of the computer system 212 (
A virtual computer resource 20 (
A license management system is described that offers an approach based on encrypted records 22 to control licensing and entitlement for an application 72. The system does not need an external license verification server, so the computer system 212 that requests to use the license does not necessarily need to have an internet connection. The encrypted record 22 is processed on the computer system 212 without any additional requirements from an external resource.
A license key in this license management system consists of a unique identifier and some data associated with this identifier. The data can contain simple entitled/not entitled information (e.g. is the use of a specific application x allowed on this system or not), the number and type of resources allowed (e.g. a specific application y can run on up to five processors and use up to 3 GB of memory), expiration information (e.g. the use of application z is allowed until e.g. Dec. 31, 2012, but not after this date) and more. By using a ‘Key-Value-Length’ format for the license key, the exact content of the license keys is transparent to the license management system. License keys contain encrypted parts that are created using standard encryption techniques. The keys can come from various sources, e.g. from software or hardware vendors (license sellers 1-3 (60) in
The user or a provider may install a license key as an encrypted record 22 on the computer system 212. It is possible to install multiple independent license keys over time. The keys can be loaded via a web interface, typed in via GUI or taken from media (USB stick, CD, . . . ).
The computer system 212 receives the encrypted license keys 22, decrypts and validates them, step 62, (the validation process can e.g. include a check that the key is valid for this system serial number, or that sufficient resources are available in the computer system 212 to run the newly licensed software, etc.). If decryption and validation from step 62 is successful, it stores them in a central secure license repository 68 (permanent storage license database). Multiple license keys can be stored in this license repository 68, and individual license keys can be updated or removed from the repository 68 without affecting the other license keys in the repository 68. The central license repository 68 resides in secure storage which is not accessible to the user, is encrypted, step 66, and therefore protected against tampering. This self contained license database requires no web server access later on to verify a license.
An application programming interface (API) 70 is provided to query license information from the central license database 68. This API 70 can be used by applications 72, the operating system (OS) or even hardware/firmware to determine whether a certain function is allowed, or whether an application 72 may be loaded and for how long it may be used. The API 70 retrieves license information from the license database 68, decrypts and validates it, step 64, and hands it back to the caller. The secure API 70 is protected against manipulation of the results: for example, the database 68-API 70 communication could be secured by decryption, step 64, on each API 70 call or secured by a trusted environment; or the API 70 call could be secured e.g. by a signature. In one embodiment, the API 70 is always available, no network access etc. is required. Depending on the results of the API 70 license query, a certain function may be executed on the computer system 212 or not. Meaningful error messages to the user can be generated by the instance that issued the API 70 license query in case a function is not entitled to run on this computer system 212. In addition, the API 70 license query can be issued repeatedly in certain time intervals to determine license expiration situations and handle them accordingly.
Thus, the described approach provides a secure, self contained license management system with a unique defined API 70 for its users.
Further
In
Requests for additional virtual computer resources 20 in partition P1, P2, P3 may also be prioritized by the virtual machine instance 14 in order to manage conflicting requests for a virtual computer resource 20.
In
Referring now to
In data processing system 210 there is a computer system/server 212, which is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with computer system/server 212 include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or devices, and the like.
Computer system/server 212 may be described in the general context of computer system executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. Computer system/server 212 may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
As shown in
Bus 218 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer system/server 212 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 212, and it includes both volatile and non-volatile media, removable and non-removable media.
System memory 228 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 230 and/or cache memory 232. Computer system/server 212 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 234 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a “hard drive”). Although not shown, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can be provided. In such instances, each can be connected to bus 218 by one or more data media interfaces. As will be further depicted and described below, memory 228 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program/utility 240, having a set (at least one) of program modules 242, may be stored in memory 228 by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data or some combination thereof, may include an implementation of a networking environment. Program modules 242 generally carry out the functions and/or methodologies of embodiments as described herein. Computer system/server 212 may also communicate with one or more external devices 214 such as a keyboard, a pointing device, a display 224, etc.; one or more devices that enable a user to interact with computer system/server 212; and/or any devices (e.g., network card, modem, etc.) that enable computer system/server 212 to communicate with one or more other computing devices. Such communication can occur via Input/Output (I/O) interfaces 222. Still yet, computer system/server 212 can communicate with one or more networks such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) via network adapter 220. As depicted, network adapter 220 communicates with the other components of computer system/server 212 via bus 218. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with computer system/server 212. Examples, include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
As described herein, according to one aspect, a method is provided for managing a virtual computer resource on at least one virtual machine. This management service can be achieved by controlling execution of the virtual computer resource on the at least one virtual machine by a virtual machine instance, preferably a firmware facility, of a trusted part of a computer system, the virtual machine instance being unique in the computer system. A virtual computer resource in this sense covers not only software aspects, as for example a software license, but also hardware resources, as memories, processors or the like.
A trusted part of a computer system in this sense covers parts of the hardware and software of a computer system that is delivered with the installation of the computer system and cannot be changed by the user. In one embodiment, the trusted part of the computer system part may include one or more of: the hardware, the firmware, a hypervisor and the operating system of the computer system. Using trusted computing designs, the trusted part might also be part of an operating system. This environment represents the trusted part of the computer system and ensures the user to be able to work in a secure and certified way. A trusted environment even extends to cloud computing features of a computing solution.
The virtual machine instance, which may be implemented on a firmware layer of a computer system favorably trusted, can be, in a general sense, a central software instance for other virtual machines or the software running on top of those to manage shared information like resource pools. Thus, it is possible to share information, e.g. counts for the use of a certain software package, between virtual machines in order to establish a secure licensing management system. In the same way it is possible to limit the maximum count of software usage of a certain package up to a limited count, paid for by a user. The virtual machine instance may administrate the usage of a virtual computer resource, like a software package, a network connection, a CPU, any hardware resource by an efficient licensing system. Further, such a virtual machine instance may even be able to manage the temporal aspect of a resource usage by giving a time interval for usage, providing an expiration date, limiting the time wise usage of a license or administrate billing information for the limited usage of any virtual computer resource. Such a method enables the management of a feature or virtual computer resource on demand, which means, that the requested feature or virtual computer resource, like a license or a hardware resource, e.g., may be provided on request for a limited number of resources and/or for a limited time interval. By this way it is possible to control the usage of a virtual computer resource in a very efficient and secure way.
This method is also adapted to handle different virtual computer resources by the same virtual machine instance, as the different virtual computer resources do not necessarily interact with each other. Moreover they can be handled completely in a separate way such that one virtual computer resource has no information about other resources which means that the user also has no information about the usage of the same or other virtual computer resources by other users. Thus, information about the usage of different virtual computer resources may be handled on a strictly confidential basis, a commercially very important aspect.
In one embodiment, there is only one virtual machine instance handling all the managing information on a computer system. Virtual machine instance in the sense used in this description means specifically a virtual machine resource management layer, and not only a logical partition, for example. This unique aspect may also contribute decisively to an efficient and secure way of administrating licensing and/or billing information about virtual computer resources.
In one aspect, the method comprises the following steps of (i) providing the virtual machine instance as an interface between the trusted part of the computer system and the at least one virtual machine, (ii) providing a maximum number of virtual computer resources being available on the computer system for the at least one virtual machine, (iii) providing an actual number of virtual computer resources currently in use on the at least one virtual machine, (iv) providing a first comparison result by comparing the maximum number of virtual computer resources to the actual number of virtual computer resources currently in use, (v) providing a second comparison result by comparing the first comparison result to the number of requested virtual computer resources, and (vi) deciding on adding or not adding one or more of the requested virtual computer resources depending on the second comparison result. Thus, it is possible to manage a limited number of maximal usable virtual computer resources being in a resource pool by providing the relevant information about the limiting numbers or counts of licenses, e.g., and then adding or releasing numbers of virtual computer resources as requested by a user and allowed by a provider of such virtual computer resources. Providing a maximum number of virtual computer resources in this sense may be specifically not only an absolute number of virtual computer resources, but also providing a timeframe or a date where a specific number of virtual computer resources may be used.
In one aspect, if a virtual computer resource is requested by the virtual machine instance and the actual number of virtual computer resources currently in use is less than the maximum number of virtual computer resources, a virtual computer resource may be added dynamically during virtual machine execution. The method thus allows the management of virtual computer resources in a very efficient way during execution of other resources like other virtual machines of the computer system without any hindering of the running system.
The same advantage holds, if a virtual computer resource is requested by the virtual machine instance to be released and the actual number of virtual computer resources currently in use is greater than zero. Then a virtual computer resource may be released dynamically during virtual machine execution without disturbing the current execution of other virtual machine activities on the computer system.
In embodiments, as mentioned above, the virtual machine instance may be implemented on one of a hypervisor, a firmware layer, or a hardware layer of the computer system. As long as the virtual machine instance lies in the trusted part of a computer system, all the advantages of a secure way of handling managing information about usage of the virtual computer resources hold.
Thus, the virtual machine instance is adapted to be implemented as a license management system of the computer system, because it is possible to manage all necessary information like counts of usage, time of usage, maximum count of licenses by such a virtual machine instance in an efficient and secure way to handle.
In one aspect, the virtual computer resource may be a software instance executed on a logical partition of a virtual machine. The described feature of on demand service of one aspect is adapted to act as a central instance for managing shared information between different partitions of one or more virtual machines.
In one embodiment, said method further comprises the following steps of (i) fetching a maximum number of available computer resources from the virtual machine instance, (ii) in case of requesting a virtual computer resource and the actual number of used virtual computer resources being less than the maximum number of virtual computer resources, setting a request for the virtual computer resource to the virtual machine instance and receiving a number of available virtual computer resources, and (iii) in case of requesting a virtual computer resource to be released and the actual number of virtual computer resources currently in use being greater than zero, setting a request for releasing the virtual computer resource to the virtual machine instance and receiving a number of released virtual computer resources. By this way it is ensured that the allowed number of virtual computer resources is not exceeded and that on the other hand the user always gets feedback information about the status of the action the user requested thus being able to continue or change the execution of the virtual computer resources.
In one aspect, the virtual computer resource may also be associated to a physical computer resource of the computer system, such that the physical computer resource is used exclusively by the virtual machine. The described aspect is in the same way able to cover requests for physical computer resources, for example hardware devices like network connections, CPUs, storage devices or the like.
Particularly, a virtual computer resource may at least be one of the following: a software instance, a logical partition, a data processing unit, a main memory, a network interface, a resource of a virtual machine.
A further aspect of the described technique is that a request for a virtual computer resource may be prioritized by the virtual machine instance in order to manage conflicting requests for a virtual computer resource. Thus, a specific virtual machine or a specific user may be served with higher priority than other virtual machines or users, for example, because they are suited to handle tasks with higher priority than others or because they have to serve production systems or the like.
One aspect is that accounting data for a virtual computer resource may be managed by the virtual machine instance. As the virtual machine instance may be implemented as part of a licensing management system for administrating software licenses for example, the managing of accounting data is a major task for such a system and one of the premises for a billing system.
Therefore, the virtual machine instance may also be realized as a billing system for the use of the virtual computer resources, because it is able to handle all the necessary accounting and usage information.
These information data may be transferred in a secure way to a provider of the virtual computer resources used, verified that the transmission has taken place and serve as a basis for billing the use of the virtual computer resource.
Such a billing system may be implemented in the trusted part of a computer system, because obviously information about usage and billing are confidential data and separated from public information access.
According to further aspects, a data processing program for execution in a data processing system comprises an implementation of an instruction set for performing a method as described herein when the data processing program is run on a computer.
Further, a computer program product comprises a computer usable medium including a computer readable program, wherein the computer readable program when executed on a computer causes the computer to perform a method comprising the steps of (i) providing the virtual machine instance as an interface between the trusted part of the computer system and the at least one virtual machine, (ii) providing a maximum number of virtual computer resources being available on the computer system for the at least one virtual machine, (iii) providing an actual number of virtual computer resources currently in use on the at least one virtual machine, (iv) providing a first comparison result by comparing the maximum number of virtual computer resources to the actual number of virtual computer resources currently in use, (v) providing a second comparison result by comparing the first comparison result to the number of requested virtual computer resources, and (vi) deciding on adding or not adding one or more of the requested virtual computer resources depending on the second comparison result.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.”
Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Rash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Aspects of the present invention are described herein with reference to block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the block diagram block or blocks.
In a further aspect, a data processing system for execution of a data processing program is provided, comprising software code portions for performing a method described herein.
The block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments. In this regard, each block in the block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams, and combinations of blocks in the block diagrams, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Number | Date | Country | Kind |
---|---|---|---|
1217077.5 | Sep 2012 | GB | national |
Number | Date | Country | |
---|---|---|---|
Parent | 14031073 | Sep 2013 | US |
Child | 14954382 | US |