Download presentation
Presentation is loading. Please wait.
Published byAlfred Stephens Modified over 9 years ago
1
Managing deployment and activation of Web Applications in a distributed e-Infrastructure EGI Technical Forum 19-23 September 2011 Lyon www.d4science.euD4Science-II project | Andrea Manzi CERN andrea.manzi@cern.ch Manuele Simi ISTI-CNR manuele.simi@isti.cnr.it
2
www.d4science.eu 2 outline The gCube framework Deploying in gCube The Virtual Platform Model Interfacing Tomcat Web Application management Web Applications in gCube EGI 2011, Lyon
3
www.d4science.eu 3 gCube – an introduction gCube is a software framework enabling the declarative and interactive creation of transient Virtual Research Environments that aggregate and deploy on-demand content resources and application services The gCube software system has been designed as a Service Oriented Architecture Technically, it is built upon Globus Toolkit 4.0 and a stack of web services-related technologies (WSRF, WS- Notification, WS-Addressing, etc.) Web Applications in gCube EGI 2011, Lyon
4
www.d4science.eu 4 gCube – architecture Web Applications in gCube EGI 2011, Lyon
5
www.d4science.eu 5 Since the beginning (2004), gCube put the dynamic deployment of its constituents as one of its primary goals and the enabling layer has been designed to support such a key feature From the SVN repository to a production node : Profiling of components ETICS integration Software Repository & Dependency Resolutions Matchmaking & Brokerage Dynamic discovery of resources and software Autonomic recovery from faults & Rollback … and much more Deploying in gCube Web Applications in gCube EGI 2011, Lyon
6
www.d4science.eu 6 Where? on a single target platform (gCore) What? gCube Services Java libraries Third-party software How? Direct interface with GT4 facilities Previous Deployment Model Web Applications in gCube EGI 2011, Lyon
7
www.d4science.eu 7 A new UC from FAO Use Case Steps 1.User clicks selects WAR with the browser on his local filesystem 2.Users uploads WAR 3.User starts WAR and sees the URL where the webapplication is deployed 4.User stops WAR 5.User reloads WAR 6.User undeploys WAR Web Applications in gCube EGI 2011, Lyon
8
www.d4science.eu 8 Virtual Platforms Web Applications in gCube EGI 2011, Lyon Considerable extension of the deployment technology Virtual Platform (VP) is a model to be extended for transparently interfacing a potentially unlimited number of hosting environments Abstract classes and interfaces to be extended for interfacing concrete hosting environments Lifecycle of the platform Deployment/activation/deactivation/undeployment of applications Reporting gCube enabling technology is capable of dynamically instantiating virtual platforms (along with their resources) compliant with this model A dedicated classloader facility implementing a parent-last delegation model
9
www.d4science.eu 9 Virtual Platforms: implementation Web Applications in gCube EGI 2011, Lyon
10
www.d4science.eu 10 Values Complete reuse and benefit from the whole chain of gCube facilities dedicated to the deployment: Bringing the components from SVN repo to a production node Open room for virtually bridging any platform Not only classical application servers (but also DBs, OSs, Workload Management Systems, etc.) Platforms and deployed software are published in the Information System: Accessible by humans Discoverable by other actors within the infrastructure Each node (GHN) can host multiple virtual platforms Configured through a simple configuration file by the Site Manager Web Applications in gCube EGI 2011, Lyon
11
www.d4science.eu 11 The Tomcat Virtual Platform First implementation of the Virtual Platform model Target the Apache Tomcat 6.0.X container Build on top of its Client Deployer library Interface the Tomcat Manager service Major features: Deploy/undeploy Web ARchives Activate/deactivate Web Applications Start/stop the Tomcat process Completely isolated from any gCore/gCube technology Completely unaware of the infrastructure Web Applications in gCube EGI 2011, Lyon
12
www.d4science.eu 12 Implementation: Tomcat Virtual Platform Web Applications in gCube EGI 2011, Lyon
13
www.d4science.eu 13 Tomcat virtual platform: deploy wizard Web Applications in gCube EGI 2011, Lyon
14
www.d4science.eu 14 Tomcat virtual platform: access interface Web Applications in gCube EGI 2011, Lyon
15
www.d4science.eu 15 The complete solution from above Web Applications in gCube EGI 2011, Lyon
16
www.d4science.eu 16 Conclusions Virtual Platform Model: We took the opportunity of a new UC to introduce a general approach for bridging external platforms Support for deployment comes for free for new platforms A small tiny layer implementing the VP model is requested for adding new target platforms Soft integration of new technologies into gCube. Tomcat Virtual Platform: Allow to remotely deploy and manage Web Applications on multiple Tomcat instances Web Apps are discoverable and accessible from the Information System Complete satisfaction and approval from the FAO community Web Applications in gCube EGI 2011, Lyon
17
www.d4science.eu 17 Questions Time http://d4science.eu/ http://www.gcube-system.org/ http://www.i-marine.eu/ Web Applications in gCube EGI 2011, Lyon
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.