fesr ssicilia – a gridbased infrastructure for business ... · ssicilia.unime.it catania,...

26
www.consorzio-cometa.it FESR Consorzio COMETA - Progetto PI2S2 S-Sicilia – a Grid-based infrastructure for business applications Carmelo Ragusa Francesco Longo Cometa Consortium Research Group @University of Messina Catania 04/03/2008 http://www.consorzio-cometa.it/s-sicilia/ s-sicilia.unime.it

Upload: others

Post on 23-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

www.consorzio­cometa.it

FESR

Consorzio COMETA ­ Progetto PI2S2

S­Sicilia – a Grid­based infrastructure for business 

applicationsCarmelo RagusaFrancesco Longo

Cometa Consortium Research Group @University of Messina

Catania 04/03/2008

http://www.consorzio­cometa.it/s­sicilia/s­sicilia.unime.it

Page 2: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 2

Outline

• Project goals• Scenarios• Architecture overview• Modules details• Technology used• Things to look in the future• Conclusion and future work

Page 3: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 3

Project goals

S­Sicilia is a 2­year collaboration between the Cometa Consortium and ORACLE. 

The project aims to address specifics needs• create a business processes platform over a Grid 

infrastructure• offer business services with guaranteed QoS• provide customers' Data protection• regulate B2B relationships through SLA business 

contracts 

Page 4: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 4

Scenarios• AS hosting service

– Hosting for web applications: e­commerce, CMS, web­site builders, etc.

– Test with an e­commerce application• GridVideo

– Hosting for content providers– Video fruition for content provider's customers

• Grid for Industry– Host for companies applications, e.g. Productivity software, legacy 

applications, etc.– Host of Virtual Machines running applications for company's employer– Customized environment– Support for user's mobility

Page 5: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 5

Architecture overview

Page 6: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 6

Modules details 1/2•Accounting Service: this service registers the user and grants the access to the infrastructure;

•Negotiation Service: this process is started by the user that request an offer for a service. The service gets  the  SLA  from  the  user  and  submits  it  to  the  prediction  service.  Based  on  the  result  from  the Performance Prediction service, the strategy and the pricing model in use it fills the SLA and sends the completed offer, in form of an SLA, back to the user;

•Performance Prediction Service: it returns the confidence with which the system can satisfy the SLA, based on the past of similar SLAs stored within the DB;

•SEUploader: this service uploads customer's files to the gLite SE;

•Process Scheduler Service: this service receives the user agreed SLA and stores it in the DB along the associated paths, within the SE, of the user's application files;

Page 7: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 7

Modules details 2/2•Monitoring Service: this service monitors the SLA lifecycle. It checks if there are SLA in a new state and  sends  them  to  the  QoS  service.  It  also  detects  if  an  SLA  needs  attention  and  informs  the  QoS service.  Finally,  it  determines  when an SLA  finished  and contacts  the billing  service.  The  operations performed by this service are also implemented by some procedures within the Service Repository;

•QoS service: this service performs a match operation of the user requests with the Grid resources. It also deals with SLAs that need attentions;

•Billing  Service:  this  service  gets  the  finished  SLA,  invokes  the  credit  service  (which  is  usually  an external service) and informs the user that his/her service has been completed;

•Credit  service:  this  service  invokes  an  external  service,  usually  given  by  a  bank,  which  issue  the payment from the user credit card or account;

•JDL maker service:  this service  invokes a script  that creates a JDL for  the SLA and sends  it  to  the gLite UI;

Page 8: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 8

Technical details• DB architecture

• Service Composition

• WAI

• SEUploader

• Resource monitors

• JDLMaker

• QoS mechanisms

Page 9: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 9

DB architecture (1/2) 

Page 10: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 10

DB architecture (1/2) 

Page 11: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 11

DB architecture (1/2) 

Page 12: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 12

DB architecture (2/2) 

Page 13: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 13

DB architecture (2/2) 

Page 14: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 14

DB architecture (2/2) 

Page 15: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 15

DB architecture (2/2) 

Page 16: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 16

Service Composition• Web application may need services such as:

– Bpel server

– ESB server

– OWSM

– DB

– Rule authors

– Apache web server

– ...

• GridOffice– VM server

– VPN service

Different SLA sub types

Page 17: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 17

WAI

Page 18: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 18

SE Uploader • Composed of bash scripts and TCL expect scripts.• Called by Web Access Interface via jsp.• It connects to the UI and upload the files to the SE using command line interface.• It updates the Service Repository with information about the files associated with the SLA.• Possible future use of GFAL library.

WAI SE Uploader UI

SLA Engine ServiceRepository SE

g­Lite

Page 19: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 19

ServiceRepository

Resource monitors 

WN Sensor

Service Sensor

Service Sensor

Service Sensor

Service

Service

Service 

Monitoring Job

Monitoring Job

Monitoring Job

Application

Application

Application 

• Bash scripts that use OS tools for monitoring (top, mpstat, nethogs, ...).• Cron demon's schedules based on repository information• Monitored resources are CPU, memory, disk, net.• WN Monitor and WN Sensors are installed when a WN joins the system.• Service Sensors are automatically installed with the service.• Monitoring Jobs monitor the applications during their life time.

CPU, memory, net, .... WN MonitorWN

Page 20: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 20

JDL Maker • Composed of bash scripts and TCL expect scripts.• Represents the contact point between SLAEngine and gLite.• Called by QoS Service for the submission of SLA associated jobs to the grid.• Connects to the UI and submits the job using command line interface.• The JDL is dynamically composed based on the SLA subtype.• Possible future use of resource broker web service interface.

QoS Service JDL maker UI

SLA EngineRepository RB

g­Lite

JDLmaker <sla_id> <wn_id> <new | kill>

PerformancePredictionService

MonitorService

Page 21: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 21

QoS mechanisms

• Performance prediction– Average on history values of resource consumption of similar SLAs, used by the QoS 

service

• Monitoring procedures– Detection of critical SLAs that need attention

– Detection of resource over­allocation

• QoS service– Initially, choose of WN that satisfies SLA requirements from performance prediction

– Allocation of further WNs for critical SLA

– Deallocation of WNs for SLAs with resources over­allocated

Page 22: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 22

Technology used• SOA ­­> ORACLE SOA suite: used for the implementation of the SLA 

engine– BPEL Process Manager– Enterprise Service Bus (ESB)– Web Services Manager (OWSM)– Business Rules– Application Server

• Oracle DB 10G 10.2.0.3: used for the Service repository and as a service offered to run the AS applications

• Web Cache 10.1.2.0: used to balance the load to the connected machines• JDeveloper 10.1.3.2: used to develop Bpel processes for the SLA engine• WSLA ­­> SLAs: used to represent business contracts• Linux scripts: used to implement QoS mechanisms and gLite middleware 

integration

Page 23: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 23

Things to look in the future • JDLMaker web service interaction with Resource Broker

• Use of GridIce monitoring mechanisms

• Automatic services deployment (e.g. the all AS)

• Use of GFAL library for SEUploader process

• Direct submission to WN

• “Smarter” QoS mechanisms

• ...

Page 24: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 24

Conclusions and Future work• Integration made• System tests undergoing• AS hosting scenario developed• Tuning of current processes• Improvements of current mechanisms• Integration of virtualization solution• Integration of GridVideo application• Setup of remaining scenarios

Page 25: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 25

                                                          gLite

Demo ­ Testbed configuration

WAISLAengineUI

WN1

WN2

WN3

Page 26: FESR SSicilia – a Gridbased infrastructure for business ... · ssicilia.unime.it Catania, 04.03.2008 3 Project goals SSicilia is a 2year collaboration between the Cometa Consortium

s­sicilia.unime.it Catania, 04.03.2008 26

Demo ­ Steps1. SLA submission trough WAI2. SLA acceptance trough WAI3. Customer files upload4. Application deployment5. Application load generation6. Critical SLA detection7. Resource re­allocation and new application deployment8. Application load stop9. Over­allocation detection10.Resource re­allocation and application undeployment11.SLA end