The present application relates generally to an improved data processing apparatus and method and more specifically to an apparatus and method for simplifying selection of targets for installation of composite applications.
A composite application is a distributed application whose components run on two or more computing devices. A good example of a composite application is an application where a user interface server runs on one computing device, a data processing server runs on another computing device, and an authorization server runs on yet another computing device. When an administrator deploys a composite application, the administrator is required to select a topology among all of the topologies supported by the composite application and the computing devices for each component defined by the chosen topology, which may be referred to as targets. The administrator also has to make several considerations in order to identify the correct targets, such us:
Several tools exist that run prerequisite checks on a machine before installing an application component, but doing so on different machines just to find the most appropriate target is tedious and does not allow an easy comparison between different candidates. Moreover, different models exist for representing applications, the application's components, and the dependencies for each component. Currently, there are no models that exist for composing topologies of a composite application starting from the topologies of the composite application's components and ranking computing devices based on suitability as targets of each application component.
In one illustrative embodiment, a method, in a data processing system, is provided for formulating a deployment plan for a composite application. The illustrative embodiments provide a set of topologies for each component of a set of identified components of the composite application to be deployed. For a selected topology for each component of the set of identified components, the illustrative embodiments identify, within a predetermined threshold, a set of target computing resources that meet a set of prerequisites for each component in the set of identified components. The illustrative embodiments display a list of hosts associated with the set of target computing resources that meet the identified topology. For a selected host for each component of the set of identified components, the illustrative embodiments display the set of target computing resources for the selected hosts. The illustrative embodiments display a deployment plan along with a set of installations or upgrades required for each of the selected target computing resources.
In other illustrative embodiments, a computer program product comprising a computer useable or readable medium having a computer readable program is provided. The computer readable program, when executed on a computing device, causes the computing device to perform various ones, and combinations of, the operations outlined above with regard to the method illustrative embodiment.
In yet another illustrative embodiment, a system/apparatus is provided. The system/apparatus may comprise one or more processors and a memory coupled to the one or more processors. The memory may comprise instructions which, when executed by the one or more processors, cause the one or more processors to perform various ones, and combinations of, the operations outlined above with regard to the method illustrative embodiment.
These and other features and advantages of the present invention will be described in, or will become apparent to those of ordinary skill in the art in view of, the following detailed description of the example embodiments of the present invention.
The invention, as well as a preferred mode of use and further objectives and advantages thereof, will best be understood by reference to the following detailed description of illustrative embodiments when read in conjunction with the accompanying drawings, wherein:
The illustrative embodiments provide a mechanism for simplifying the selection of targets for the installation of composite applications and formulating a deployment plan for the composite application. The illustrative embodiments describe a selection mechanism of topologies and sub-topologies for the components of a composite application and targets for each component of the composite application, allowing easy comparison of the suitability of each target for all the components involved. At the basis of the selection mechanism is a model that analyzes a composite application, the composite application's components, component prerequisites, and allowed topologies for the components.
As will be appreciated by one skilled in the art, the present invention may be embodied as a system, method, or computer program product. Accordingly, 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, the present invention may take the form of a computer program product embodied in any tangible medium of expression having computer usable program code embodied in the medium.
Any combination of one or more computer usable or computer readable mediums) may be utilized. The computer-usable or computer-readable medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, d random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CDROM), an optical storage device, a transmission media such as those supporting the Internet or an intranet, or a magnetic storage device. Note that the computer-usable or computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory. In the context of this document, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-usable medium may include a propagated data signal with the computer-usable program code embodied therewith, either in baseband or as part of a carrier wave. The computer usable program code may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, radio frequency (RF), etc.
Computer program code for carrying out operations 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).
The illustrative embodiments are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the illustrative 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 flowchart illustrations and/or 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 or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus 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 flowchart and/or block diagram block or blocks.
The flowchart and 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 of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). 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/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the functions or acts, or combinations of special purpose hardware and computer instructions.
Thus, the illustrative embodiments may be utilized in many different types of data processing environments including a distributed data processing environment, a single data processing device, or the like. In order to provide a context for the description of the specific elements and functionality of the illustrative embodiments,
With reference now to the figures and in particular with reference to
With reference now to the figures,
In the depicted example, server 104 and server 106 are connected to network 102 along with storage unit 108. In addition, clients 110, 112, and 114 are also connected to network 102. These clients 110, 112, and 114 may be, for example, personal computers, network computers, or the like. In the depicted example, server 104 provides data, such as boot files, operating system images, and applications to the clients 110, 112, and 114. Clients 110, 112, and 114 are clients to server 104 in the depicted example. Distributed data processing system 100 may include additional servers, clients, and other devices not shown.
In the depicted example, distributed data processing system 100 is the Internet with network 102 representing a worldwide collection of networks and gateways that use the Transmission Control Protocol/Internet Protocol (TCP/IP) suite of protocols to communicate with one another. At the heart of the Internet is a backbone of high-speed data communication lines between major nodes or host computers, consisting of thousands of commercial, governmental, educational and other computer systems that route data and messages. Of course, the distributed data processing system 100 may also be implemented to include a number of different types of networks, such as for example, an intranet, a local area network (LAN), a wide area network (WAN), or the like. As stated above,
With reference now to
In the depicted example, data processing system 200 employs a hub architecture including north bridge and memory controller hub (NB/MCH) 202 and south bridge and input/output (I/O) controller hub (SB/ICH) 204. Processing unit 206, main memory 208, and graphics processor 210 are connected to NB/MCH 202. Graphics processor 210 may be connected to NB/MCH 202 through an accelerated graphics port (AGP).
In the depicted example, local area network (LAN) adapter 212 connects to SB/ICH 204. Audio adapter 216, keyboard and mouse adapter 220, modem 222, read only memory (ROM) 224, hard disk drive (HDD) 226, CD-ROM drive 230, universal serial bus (USB) ports and other communication ports 232, and PCI/PCIe devices 234 connect to SB/ICH 204 through bus 238 and bus 240. PCI/PCIe devices may include, for example, Ethernet adapters, add-in cards, and PC cards for notebook computers. PCI uses a card bus controller, while PCIe does not. ROM 224 may be, for example, a flash basic input/output system (BIOS).
HDD 226 and CD-ROM drive 230 connect to SB/ICH 204 through bus 240. HDD 226 and CD-ROM drive 230 may use, for example, an integrated drive electronics (IDE) or serial advanced technology attachment (SATA) interface. Super I/O (SIO) device 236 may be connected to SB/ICH 204.
An operating system runs on processing unit 206. The operating system coordinates and provides control of various components within the data processing system 200 in
As a server, data processing system 200 may be, for example, an IBM® eServer™ System p® computer system, running the Advanced Interactive Executive (AIX®) operating system or the LINUX® operating system (eServer, System p, and AIX are trademarks of International Business Machines Corporation in the United States, other countries, or both while LINUX is a trademark of Linus Torvalds in the United States, other countries, or both). Data processing system 200 may be a symmetric multiprocessor (SMP) system including a plurality of processors in processing unit 206. Alternatively, a single processor system may be employed.
Instructions for the operating system, the object-oriented programming system, and applications or programs are located on storage devices, such as HDD 226, and may be loaded into main memory 208 for execution by processing unit 206. The processes for illustrative embodiments of the present invention may be performed by processing unit 206 using computer usable program code, which may be located in a memory such as, for example, main memory 208, ROM 224, or in one or more peripheral devices 226 and 230, for example.
A bus system, such as bus 238 or bus 240 as shown in
Those of ordinary skill in the art will appreciate that the hardware in
Moreover, the data processing system 200 may take the form of any of a number of different data processing systems including client computing devices or computing resources, server computing devices or computing resources, a tablet computer, laptop computer, telephone or other communication device, a personal digital assistant (PDA), or the like. In some illustrative examples, data processing system 200 may be a portable computing device which is configured with flash memory to provide non-volatile memory for storing operating system files and/or user-generated data, for example. Essentially, data processing system 200 may be any known or later developed data processing system without architectural limitation.
As mentioned above, the illustrative embodiments provide a composite application deployment mechanism for simplifying the selection of targets for the installation of composite applications and formulating a deployment plan for the composite application. For a specific composite application, the illustrative embodiments identify the various components of the composite application, Minimum requirements for each component, and recommended requirements for each component. The illustrative embodiments then identify a plurality of topologies and sub-topologies for each of the components supported by a composite application. Once the topologies and sub-topologies for the composite application have been identified, then the illustrative embodiments identify targets for each component of the composite application. An administrator or user uses the identified targets to easily compare the suitability of each target for all the components involved.
When composite application deployment system 315 receives a composite application from system administrator workstation 320, composite application analysis engine 316 analyzes the descriptor of the composite application to determine specifications of the set of prerequisites associated with the descriptor's components. A component specification may refer to a single component (e.g. WebSphere® Application Server (WAS) connected to single DB2® server), a composite application (e.g. WAS connected to a database cluster) or an interface (e.g. WAS connected to a database system implementing the Java™ Database Connectivity (JDBC™) interface). The interfaces represent the mechanism other components will use to connect to the composite application. Composite application analysis engine 316 also analyzes the descriptors of all known components to resolve each specification (i.e. single components, composite applications, interfaces, or the like) into a matching component. As discussed previously, each of the components of a composite application may be installed on one or more target systems, such as computing resources 330, 340, and 350. In order to decide which of computing resources 330, 340, and 350 that each of the components will be deployed on, composite application analysis engine 316 not only identifies the components but also identifies any dependencies each component has on another component.
After composite application analysis engine 316 identifies the components and component dependencies of the composite applications, composite application analysis engine 316 identifies any topology requirements for the components of the composite application. Each of the components of the composite application may be arranged in different topologies. Topologies are arranged in different computing resources, each computing device comprising one or more of the identified components. However each topology is required to satisfy the interfaces of the components to which the interface belongs. Some of the requirements for the interface topologies may be identified by the composite application. That is, the composite application may include a definition of which components within the composite application may export the interfaces of the components. The interface topology dependency identified by composite application analysis engine 316 represents a dependency on any computing device that implements the required interface for that component.
The composite application analysis engine 316 then analyzes the descriptors of the composite application to identify any prerequisites of the components. Prerequisites of the components may include software and hardware prerequisites such as, the operation system, processor, memory, disk space, or the like of each of the components.
Once the topology requirements and component prerequisites have been identified, composite application deployment system 315 prompts the administrator using graphical user interface 370 to select a topology for each of the identified components if there are multiple topologies identified by composite application analysis engine 316. The administrator may limit the set of matching computing resources specifying that the computing resources and topologies have been certified. Once the administrator identifies a topology for each of the components of the composite application, target identifier engine 318 within composite application deployment system 315 communicates with agent applications on all of the computing resources coupled to network 302 in order to identify target computing resources that meet the prerequisites of the identified components within a predetermined threshold. That is, each of computing resources 330, 340, and 350 have a plurality of targets 332-335, 342-345, and 352-355 as well as agent applications 336, 346, and 356. Agent applications 336, 346, and 356 provide the specification of the targets 332-335, 342-345, and 352-355 and generate data records that are returned to target identifier engine 318. Target identifier engine 318 may aggregate these data records to generate information representative of the specifications, capabilities, and other measures of targets 332-335, 342-345, and 352-355 on computing resources 330, 340, and 350.
Once target identifier engine 318 identities all of the computing resources that meet the prerequisites of the components within the predetermined threshold, composite application deployment system 315 prompts the administrator using graphical user interface 370 to choose available hosts for the components of the topology. That is, composite application deployment system 315 provides the administrator with a list of all the hosts that have a computing device that meets the prerequisites within the predetermined threshold for each of the identified components. The administrator may then either select a host for each of the components, all of the components or some subset of the components.
Once the administrator indicates that all host selections have been made, composite application deployment system 315 displays using graphical user interface 370 all of the identified targets for the selected hosts that meet the component requirements within the predetermined threshold. Composite application deployment system 315 may display the targets based on their suitability as targets for each of the components of the composite application. By providing a list of each of the targets based on suitability, the administrator may easily compare each of the targets to the requirements for that component of the composite application as well as compare each of the targets to each other. The administrator may also see any hardware or software installations and/or upgrades that may be required to bring each individual target up to the required specification of the desired target.
At this point the administrator may select a target to host each component of the composite application or, if the administrator does not like the results that are provided, the administrator may cancel the current selection of targets and start the selection process over. If the administrator completes a selection of a target for each of the components of the composite application, then composite application deployment system 315 displays using graphical user interface 370 a deployment plan to the administrator. The deployment plan comprises a list of all of the components of the composite application, the selected target for each of the components, and a set of software and or hardware installations and/or upgrades, if any, required for each of the selected targets to meet the component requirements for the components.
Thus, the composite application deployment mechanism simplifies the selection of targets for the installation of composite applications. The various components of the composite application, minimum requirements for each component, and recommended requirements for each component are identified. A plurality of topologies and sub-topologies for each of the components supported by a composite application are also identified. Once the topologies and sub-topologies for the composite application have been identified, one or more targets for each component of the composite application are identified. The administrator may use the identified targets to easily compare the suitability of each target for all the components involved.
Thus, the composite application analysis engine of the composite application deployment system identifies the components, component dependencies, component prerequisites of the composite applications, and topology requirements for the components of the composite application. Once these elements have been identified, the composite application deployment system may then prompt the administrator to select a topology for each of the identified components.
DB2Alphablox.Client_Server_Configuration 722, ITDS.Client_Server_Configuration 724, PRISM-Application.Server 726, and PRISM-Data.Client 728. While
Thus, the composite application deployment mechanism simplifies the selection of targets for the installation of composite applications. Once the descriptor of the composite application is analyzed to identify various components of the composite application, minimum requirements for each component, recommended requirements for each component, and a plurality of topologies and sub-topologies for each of the components supported by a composite application, the administrator is then able to use a set of identified targets to easily compare the suitability of each target for all the components involved and to select targets for each of the components of the composite application.
The composite application deployment system then prompts the administrator to select a topology for each of the identified components of the composite application if there are multiple topology choices for the identified component (step 806). The composite application deployment system determines if the administrator has selected a topology for each of the identified components of the composite application (step 808). If at step 808 the administrator has not selected a topology for each of the identified components of the composite application, then the operation returns to step 806. If at step 808 the administrator has selected a topology for each of the identified components of the composite application, then the composite application deployment system identifies target computing resources that meet the prerequisites of the identified components within a predetermined threshold (step 810).
Once the composite application deployment system identifies all of the computing resources that meet the prerequisites of the components within the predetermined threshold, the composite application deployment system displays a list of the hosts that meet the selected topology (step 812). The composite application deployment system then prompts the administrator to choose available hosts for the component of the selected topology (step 814). The composite application deployment system determines if the administrator has either selected hosts for the components of the selected topology or indicated that any host is sufficient (step 816). If at step 816, the administrator has failed to select hosts for the components of the selected topology or failed indicating that any host is sufficient, the operation returns to step 812.
If at step 816 the administrator has selected hosts for the components of the selected topology or indicated that any host is sufficient, the composite application deployment system displays all of the identified targets for the selected hosts that meet the component requirements within the predetermined threshold in order that the administrator may select a target for each of the components of the composite application (step 818). The composite application deployment system may display the targets based on their suitability as a target for each of the components of the composite application. The composite application deployment system then determines if the administrator has selected a target to host each component of the composite application (step 820). If at step 820 the administrator has not selected a target for each component of the composite application, then the operation returns to step 818. If at step 820 the administrator completes a selection of a target for each of the components of the composite application, then the composite application deployment system displays to the administrator a deployment plan along with a set of installations and/or upgrades required for each of the identified targets to meet the component requirements for the components of the composite application (step 822), with the operation ending thereafter. The deployment plan comprises a list of all of the components of the composite application, the selected target for each of the components, and a set of installations and/or upgrades, if any, required for each of the selected targets to meet the component requirements for the components.
Thus, the illustrative embodiments provide a mechanism for formulating a deployment plan of a composite application. The composite application deployment mechanism simplifies the selection of targets for the installation of composite applications. For a specific component application, the illustrative embodiments identify the various components of the composite application, minimum requirements for each component, and recommended requirements for each component. The illustrative embodiments then identify a plurality of topologies and sub-topologies for each of the components supported by a composite application. Once the topologies and sub-topologies for the composite application have been identified, then the illustrative embodiments identify targets for each component of the composite application. An administrator or user uses the identified targets to easily compare the suitability of each target for all the components involved.
As noted above, it should be appreciated that the illustrative embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment containing both hardware and software elements. In one example embodiment, the mechanisms of the illustrative embodiments are implemented in software or program code, which includes but is not limited to firmware, resident software, microcode, etc.
A data processing system suitable for storing and/or executing program code will include at least one processor coupled directly or indirectly to memory elements through a system bus. The memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories which provide temporary storage of at least some program code in order to reduce the number of times code must be retrieved from bulk storage during execution.
Input/output or I/O devices (including but not limited to keyboards, displays, pointing devices, etc.) can be coupled to the system either directly or through intervening I/O controllers. Network adapters may also be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote printers or storage devices through intervening private or public networks. Modems, cable modems and Ethernet cards are just a few of the currently available types of network adapters.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
Number | Date | Country | |
---|---|---|---|
Parent | 12349214 | Jan 2009 | US |
Child | 13416360 | US |