cs 7012 - coursework - report - teamdx - School of Computer ...

lifeguardknowledgeInternet και Εφαρμογές Web

30 Ιουλ 2012 (πριν από 4 χρόνια και 10 μήνες)

543 εμφανίσεις

TRINITY COLLEGE DUBLIN


School of Computer Science and Statistics


MSc. in Computer Science

Networks and Distributed Systems





CS7012

COURSEWORK

MANAGEMENT OF NETWORKS

AND DISTRIBUTED SYSTEMS




1 December 2011






TEAM D
: USING SNMP TO MONITOR A BPEL

PROCESS


Darren O'Connor

darrenoc3@gmail.com

NDS

Julien Cavelier de Cuverville

caveliej@tcd.ie

Erasmus

Pujiu Le

pujiu
l@tcd.ie

NDS

Zhongtao Chen

chenz@tcd.ie

NDS













CONTENTS


1. MOTIVATION


2. OBJECTIVES


3. STATE OF THE ART


3.1.

Literature review


3.2.

Description and c
hoice of technology used (2
-
3pages)


4. REQUIREMENTS FOR PROTOTYPE

(1 page)


5. SYSTEM DESIGN
(3
-
4 pages)


• Components


• Architecture Diagram


• Class Diagram


6. IMPLEMENTATION
(3
-
4 pages)


7.
EVALUA
TION
(2 pages)


• Performance


• Satisfies objectives


8.
CONCLUSIONS
(1 page)


9.
APPENDIX


• MIB


• Source code



1. MOTIVATION




2. OBJECTIVES



Today, information exchange on Internet
tends to be

strategic especially
as the number of web
service

is increasing.
Finding an
efficient

method for
managing and
monitoring

the performance of business processes is a key

element for e
-
business success.


BPEL is a standard proposed by OASIS and supported by

major service providers
such as IBM, Oracle or Sun. It specifies business processes in web services
environments and
has become

used

in research and industry for supporting
robust applications.


Management of process
is needed for example for process rep
air, real
-
time
monitoring and compliance checking.

For this reason, web services must be
managed remotely and also allow to be monitored as simple as possible.


H
ow to use

SNMP to monitor a BPEL process?




3.
STATE
-
OF
-
THE
-
ART



3.1. Literature r
eview


This part presents an overview of what has already been done
for

monit
or
ing

the

BPEL
language

[6]
.


There
are

two
different

ways to monitor B
PEL processes: offline
and

online
. The
offline monitoring

would consist to check traces from the logs aft
er
an

execution
have been done and the online occurs during the execution.

The
literature shows
that
recent efforts in the research and development of web s
ervices have been
focus

on various

online monitoring approaches, such as:




p
rovides

a proxy
-
based solution to support the execution of monitoring
rules at runtime.



u
se
a monitoring framework for inter
-
actions
occurred

in web
-
services.



i
ntroduces a monitor specification language to

express

prope
rties of a BPEL
session.



pro
poses
a monitori
ng approach that intercepts

exchanged

event

between
the processes.


There is no standardized way to manage or monitor a running process, but some
research
groups

have already implemented solutions through external
management tools or frameworks.
In [1
2
],
they use
d

a framework to enable end
-
to
-
end monitoring of heterogeneous composite business applications. And they
demonstrate the validity of this approach with a prototype using management
composite implemented on IBM WebSphere Integration Developer (WID).



The approach of [8
]

was

providing a simple
and

powerful mechanism to
make

a
BPEL process manageable. They

focus
ed

on how represent engine internal
process models and instances and how
access
to
this data. And t
hey
implement
ed it towards a management f
ra
mework for BPEL based on Apache
Orchestration Director
Engine

(ODE)
.



The work in [11
]
provides

SOAP

message
s

catching mechanism
also
using
the
Apache ODE
and the web service Apache Axis2. To
allow an automatically
monitoring solution, first they have
extracted the protocol defined in the BPEL
specification and encode it by means of Colored Petri Nets (CPN).

At the end, [11
]

were able to implement three compon
ents: the Message Receiver (MR);

the
Web
-
Service

Analyser

(WA), which gets all caught messages
and checks if they
correspond to a correct state in the WS protocol; and the Reports & Alerts (RA)
which notified when a problem occurs
.


In
[3
], the research group show a semantic approach to monitor business
process. They
propose architecture

over workfl
ow management systems, to
monitor the business activity of Web Ontology Language (OWL) and BPEL.

They
have
implemented a multi
-
agent architecture to monitor the performance
; a

Supervisory agent (SA) operates at the process management level and invokes
Moni
tor agents (MAs) to support process performance objectives.


They have developed in [7
] an Execution Analysis tool for BPEL (EA4B), which
defines an execution log for BPEL processes and provides visualization in order
to read the execution log for post
-
exe
cution debugging functionalities or real
-
time monitoring, including step by setting break points and step
-
by
-
step
execution. Their solution can be integrated with static analysis tools such as Web
Service Analysis Tool (WAST)
.


In
[5
]
The VTT Technical Res
earch Centre of Finland

has built

a

software
framework for monitoring the environment
.

The
prototype
consisting of
workflow management
facilitates building of automated and distributed data
processing chains for large data volumes.

The workflow
tasks are
implemented
as web service

and the framework architecture utilizes XML
-
based standards
like WSDL (Web Service Description L
anguage) and BPEL.


The work in
[9
]
,

present S
ECMOL (Service Centric Monitoring Language)

a
general monitoring specification language
. Their framework is orga
nized around
three key elements: a monitoring manager, a d
ata collectors and a data analy
zer.
The Monitoring Manager oversees and coordi
nates the whole monitoring
pro
cess. It receives the specifications, ass
esses whether they can b
e moni
tored,
and identifies the Data Collectors and Data
Analyzers to acquire the primi
tive
information and check the conditions.
Their

p
roof
-
of
-
concept implementation
was
based o
n EC
-
Assertion, WSCoL, and SLANG.


[10
]
Present

the first step towards a more

powerful Web Service monitoring
system. The paper presents an integrated process to express monitoring
requirement by web
-
service policy, describe the property of web
-
service by
EMSC and METG, perform runtime monitoring using AOP and check the
monitoring
information based on METG. They was able to monitored the
message temporal and time related of the web
-
service composition.


In [2
] they developed and evaluated a framework in Java to monitor
requirements for service
-
based systems. The composition process
is specified in
BPEL and specifies the requirements to be monitored against such systems in
event calculus.


[13
] Proposed a solution to the problem of monitoring BPEL process. The
solution introduces Monitor Broker into a web services architecture It prov
ides
the ability to monitor both the service runtime state and the Quality of Service
(QoS) property. Monitor Broker architecture is devised with the support of
Aspect Oriented Programming (AOP).


Finally in

[4
], the research group introduces a monitor
into the BPEL process.
The advantage of this method is that monitor is also basic service included in
BPEL, so new BPEL can run on standard engine. But the extended BPEL
influences the performance of the original process.





3.2.
Description and c
hoice of

technology
used


The literature shows

that we could implement a

management infrastructure

for
BPEL

by
Web Service Resource Framework (WSRF)
,

Java Management
Extensions (JMX)
,
Representational State Transfer (REST)

or SNMP.


In our case, we are going to
us
e a
n
application
-
programming

interface

which
implements

SNMP for
Java,

called
SNMP4J
.





4. REQUIREMENTS FOR PROTOTYPE




REFERENCES


[1] J. Case; M. Fedor, M. Schoffstall, J. Davin: RFC 1157
-

Simple Network
Management Protocol (SNMP). MIT Laboratory for

Computer Science May 1990


[2] K. Mahbub, G. Spanoudakis: Run
-
time monitoring of requirements for
systems composed of Web
-
services. Web Services, 2005. ICWS 2005.
Proceedings. 2005 IEEE International Conference


[3] Manoj Thomas, Richard T. Redmond, Victo
ria Y. Yoon, Rahul Singh. A
semantic approach to monitor business process. Commun. ACM, 2005: 55~59


[4] L. Baresi, Carlo Ghezzi, et al, “Smart Monitors for

Composed Services”, In: Proceeding of the 2nd international conference on
Service oriented computin
g


[5] V. Kotovirta, J. Kanniainen, T. Veijonen, S. Neuvonen: Building an application
framework for monitoring the environment. Geoscience and Remote Sensing
Symposium, 2006. IGARSS 2006. IEEE International Conference



[6] OASIS Standard: Web Services
Business Process Execution Language v. 2.0
http://docs.oasis
-

open.org/wsbpel/2.0/wsbpel
-
v2.0.pdf. 2007


[7] Ariane Gravel, Xiang Fu, Jianwen Su. An Analysis Tool for Execution of BPEL
Services. In Proceedings of CEC/EEE'2007. pp.429~432


[8] T. van Les
sen, F. Leymann, R. Mietzner, J. Nitzsche and D. Schleicher: A
Management Framework for WS
-
BPEL
-


Sixth European Conference on Web
Services 2008


[9] S. Guinea, L. Baresi, G. Spanoudakis, O. Nano: Comprehensive Monitoring of
BPEL Processes. Internet Comp
uting, IEEE Volume: PP Issue:99 2009


[10] Mingjie Sun Bixin Li Pengcheng Zhang: Monitoring BPEL
-
based Web
Service Composition Using AOP. Computer and Information Science, 2009. ICIS
2009. Eighth IEEE/ACIS International Conference


[11] Jun Zhu, F. Kordo
n: A Petri Net based Runtime Monitoring Method for Web
Services specified with BPEL. Information Management and Engineering
(ICIME), 2010 The 2nd IEEE International Conference


[12] Geetika T. Lakshmanan, Paul T. Keyser, Aleksander Slominski, Francisco
Cur
bera: A Business Centric Monitoring Approach for Heterogeneous Service
Composites. 2011 IEEE International Conference on Services Computing


[13] Zhang Haiteng, Shao Zhiqing, Zheng Hong: Runtime Monitoring Web
Services Implemented in BPEL. Uncertainty Reas
oning and Knowledge
Engineering (URKE), 2011 International Conference