Field of the Invention
The present invention relates to multi-tier application computing in a cloud computing environment and more particularly to resource management for a multi-tier application operating in a cloud computing environment.
Description of the Related Art
A multi-tier application refers to a computer program developed for deployment across multiple layers of the computing infrastructure. In this regard, a multi-tier application logically separates the different application-specific, operational layers from its presentation and data layers. The number of layers varies by requirement, but a three-tier layering appears to be the most commonly used multi-tier application architecture. Thus, any application that depends upon or utilizes a middleware application is known as a multi-tier application. A multi-tier application is also known as a multi-tiered application or n-tier application.
As a consequence its multi-tier nature, each component of a multi-tier application may be separately developed and executed. Thereafter, each component is deployed into a manually determined layer of the multi-tier architecture. The layers typically configured to receive the deployment of a component include a presentation layer providing basic user interface and application access services, an application processing layer that includes the core business or application logic, a data access layer that provides the mechanism used to access and process data, and a data layer that physically holds and manages the data.
Application developers generally create patterns describing the structure of multi-tier applications. These patterns can be used by pattern engines in order to deploy the components of the multi-tier application into the desirable layers of the n-tier architecture. In particular, each layer can support one or more different virtual machines into which components are deployed according to the relevant patterns. Depending upon the layer, the virtual machines individually can include resources necessary to support components deployed therein such as a Web server, a load balancer, one or more application servers, and a database server.
Of note, security considerations require that different tiers of an n-tier application are deployed in distinct ways. For example, only an external-facing Web server and load balancer might have network connectivity to the public Internet, while all other servers might be isolated in separate networks with special firewall rules controlling network connections between the servers. The implication of these security requirements may require different tiers of the application to be deployed to wholly distinct infrastructure—different virtualization servers, using different networks, and using different storage servers.
Thus, the process of deploying components into an n-tier architecture can be manually intensive counter to the desire of the infrastructure administrator for a degree of automation. Having to manually associate virtual machines with infrastructure elements is both inefficient and error-prone, and can result in application failures and in security exposures.
Embodiments of the present invention address deficiencies of the art in respect to deploying components of a multi-tier application and provide a novel and non-obvious method, system and computer program product for the dynamic association of components in a multi-tier application to different layers of a corresponding multi-tier application infrastructure. In an embodiment of the invention, a method for dynamically associating components in a multi-tier application to different layers of a corresponding multi-tier application infrastructure includes defining in memory of a host computing system a pattern that has an inventory of components of a multi-tier application. The method also includes associating each of the components with a corresponding tier label for an n-tier architecture. The method yet further includes loading the pattern into a pattern engine. Finally, the method includes deploying by the pattern engine each component of the pattern to a layer of the n-tier architecture corresponding to a tier label associated with the component.
In another embodiment of the invention, a method for dynamically associating components in a multi-tier application to different layers of a corresponding multi-tier application infrastructure includes loading into memory of a computer a pattern configured for processing by a pattern engine executing in the memory of the computer. The method also includes processing the pattern by the pattern engine to deploy individual components of the pattern to respective layers of an n-tier architecture corresponding to a tier label associated with each individual one of the components. In one aspect of the embodiment, the pattern engine deploys each of the individual components of the pattern to a virtual machine of a layer of the n-tier architecture corresponding to a tier label associated with each individual one of the components. In another aspect of the embodiment, the tier labels provide for a data tier and a Web tier. In yet another aspect of the embodiment, each individual one of the components is further associated within the pattern with a tag such that the pattern engine only deploys those of the components having an association with the tag.
Additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The aspects of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the appended claims. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
The accompanying drawings, which are incorporated in and constitute part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention. The embodiments illustrated herein are presently preferred, it being understood, however, that the invention is not limited to the precise arrangements and instrumentalities shown, wherein:
Embodiments of the invention provide for dynamically associating components in a multi-tier application to different layers of a corresponding multi-tier application infrastructure. In accordance with an embodiment of the invention, a pattern can be created in memory to include an inventory of components of a multi-tier application. Each component can be associated in the pattern with a tier label corresponding to a tier of an n-tier infrastructure, for instance WEB_TIER or DATA_TIER or PUBLIC_INTERNET_TIER. Thereafter, the pattern can be loaded into a pattern engine and processed such that each component of the application is deployed into a layer of the n-tier infrastructure designated to correspond with a tier label associated with the component. In this way, the components of the pattern creator need not know the implementation details of the n-tier architecture beyond applying a generic tier label to each component of the application in order to effectively configure the multi-tier application for deployment into the n-tier architecture.
In further illustration,
A pattern engine 120 can process the pattern 110 to determine in which layer 170 of an n-tier architecture 160 of a host computing system 150 to deploy each component of the multi-tier application 130. In this regard, one or more virtual machines can be implemented in each of the layers 170 of the n-tier architecture into which different ones of the components of the multi-tier application 130 are to be deployed. The pattern engine 120 can map each tier label of a component of the pattern 110 to a mapping 140 particularly specifying an individual one of the layers 170 that corresponds to the tier label, and more particularly, an individual virtual machine of the specific one of the layers 170.
Consequently, the underlying structure of the n-tier architecture 160 can vary whilst the pattern 110 may remain static so long as the tier labels of the pattern 110 map to the specific layers 170 of the n-tier architecture 160 according to the mapping 140. Further, as an option, only those components of the multi-tier application 130 being associated with a particular tag are considered by the pattern engine 120 for deployment.
The process described in connection with
The host computing system 230 can be communicatively coupled to a computer 210 over computer communications network 220. The computer 210 can include at least one processor and memory and can be coupled to a component store 260 of components of a multi-tier application. The computer 210 also can support the operation of a pattern engine 250. Of note, a dynamic component mapping module 300 can be coupled to the pattern engine 250. In this regard, the dynamic component mapping module 300 can include program code that when executed in the memory of the computer 210 is enabled to process a pattern for the components of the component store 260 by dynamically identifying tier labels in the pattern for corresponding ones of the components, by mapping the tier labels to specific ones of the virtual machines 240, and by deploying each of the components to a particular one of the virtual machines 240 mapped to a tier label of a corresponding one of the components.
In even yet further illustration of the operation of the dynamic component mapping module 300,
The present invention may be embodied within a system, a method, a computer program product or any combination thereof. The computer program product may include a computer readable storage medium or media having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention. The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: 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 Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions 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). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or 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 flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer readable 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 readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement 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 instructions, which comprises one or more executable instructions for implementing the specified logical function(s). 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 specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
Finally, the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but 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 without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and 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.
Having thus described the invention of the present application in detail and by reference to embodiments thereof, it will be apparent that modifications and variations are possible without departing from the scope of the invention defined in the appended claims as follows.
Number | Name | Date | Kind |
---|---|---|---|
7103647 | Aziz | Sep 2006 | B2 |
7124398 | Chen | Oct 2006 | B2 |
7496594 | Cummings | Feb 2009 | B1 |
7610293 | Vedula | Oct 2009 | B2 |
7860968 | Bornhoevd | Dec 2010 | B2 |
8595331 | Henseler et al. | Nov 2013 | B2 |
8595724 | Arcese | Nov 2013 | B2 |
9047133 | Winterfeldt | Jun 2015 | B2 |
9098346 | Robb | Aug 2015 | B2 |
9110756 | Guo | Aug 2015 | B1 |
9146827 | Shimizu | Sep 2015 | B2 |
9170798 | Nagaraja | Oct 2015 | B2 |
9262193 | Hicks | Feb 2016 | B2 |
9292557 | Benari | Mar 2016 | B2 |
9646284 | Lew | May 2017 | B1 |
20030078960 | Murren | Apr 2003 | A1 |
20030188291 | Fisher | Oct 2003 | A1 |
20050204354 | Sundararajan | Sep 2005 | A1 |
20050235248 | Victoria | Oct 2005 | A1 |
20070006222 | Maier | Jan 2007 | A1 |
20080133594 | Fotinatos | Jun 2008 | A1 |
20090228579 | Sanghvi | Sep 2009 | A1 |
20090282397 | Leporini | Nov 2009 | A1 |
20100049766 | Sweeney | Feb 2010 | A1 |
20100083285 | Bahat | Apr 2010 | A1 |
20100132024 | Ben-Natan | May 2010 | A1 |
20100153941 | Borissov | Jun 2010 | A1 |
20110029963 | Smith | Feb 2011 | A1 |
20110119635 | Morales | May 2011 | A1 |
20120036440 | Dare | Feb 2012 | A1 |
20120117559 | Vorthmann | May 2012 | A1 |
20130232497 | Jalagam | Sep 2013 | A1 |
20130232498 | Mangtani | Sep 2013 | A1 |
20140095676 | Beno | Apr 2014 | A1 |
20140101300 | Rosensweig | Apr 2014 | A1 |
20140372533 | Fu | Dec 2014 | A1 |
20150378743 | Zellermayer | Dec 2015 | A1 |
20160019096 | Winterfeldt | Jan 2016 | A1 |
Number | Date | Country |
---|---|---|
WO2013049074 | Apr 2013 | WO |
Entry |
---|
Deepal et al, Variations in Performance and Scalability when Migrating n-Tier Applications to Different Clouds, 2011, IEEE, pp. 73-80. |
List of IBM Patents or Patent Applications Treated as Related, Aug. 31, 2015, pp. 1-2. |
Number | Date | Country | |
---|---|---|---|
20160170805 A1 | Jun 2016 | US |