XML and the Push Model in Web-Based

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

13 Νοε 2013 (πριν από 3 χρόνια και 9 μήνες)

69 εμφανίσεις

XML and the Push Model in Web
-
Based
Management

AT&T Research Labs, Florham Park, NJ, USA

July 30, 2001


Claire Ledrich

EURECOM Institute, Sophia
-
Antipolis

Claire.Ledrich@eurecom.fr

With the help of :

J.P. Martin
-
Flatin


Claire Ledrich

XML and the Push Model in Web
-
based management

2

Outline



Problem statement


The push model


Web technologies


JAMAP: high
-
level design


JAMAP: detailed design


Summary

Claire Ledrich

XML and the Push Model in Web
-
based management

3

Introduction


The mgmt of IP networks and systems relies on the SNMP protocol
and mgmt architecture


Why is SNMP still popular?


SNMP is not adapted to integrated enterprise management



Claire Ledrich

XML and the Push Model in Web
-
based management

4

SNMP: Strengths and Shortcomings


Strengths:


SNMP: successful because simple


Interoperability: compliance with IETF specifications


SNMP agents: few resources needed


Shortcomings:


MIB versioning


No distribution between managers


Scalability and efficiency issues: SNMP designed for small local
networks


Bulk transfers


Not object
-
oriented.


Polling

Claire Ledrich

XML and the Push Model in Web
-
based management

5

Outline



Problem statement


The push model


Web technologies


JAMAP: high
-
level design


JAMAP: detailed design


Summary

Claire Ledrich

XML and the Push Model in Web
-
based management

6

The Push Model


Goals:


Save network bandwidth


Transfer some of the workload from the manager to
the agent


Scalability issue: more agents, more management
data


Publish
-
subscribe paradigm:
3 phases


publication


subscription


distribution

Claire Ledrich

XML and the Push Model in Web
-
based management

7

Network Overhead with the Pull Model

Manager

Agent

Get Request/oid=1.3.6.1.2.1.2.2.1.4.3

Get Response/oid=1.3.6.1.2.2.1.4.3/value

Claire Ledrich

XML and the Push Model in Web
-
based management

8

Outline



Problem statement


The push model


Web technologies


JAMAP: high
-
level design


JAMAP: detailed design


Summary

Claire Ledrich

XML and the Push Model in Web
-
based management

9

Web
-
Based Management


Integrated management that relies on Web technologies


Many Web technologies are available:


HTML Forms


Java Servlets, Applets …


Java Serialization


Java RMI


Java IDL(Corba)


XML


HTTP





Why use Web Technologies ?


Have flexible, portable management platforms


Allow on
-
call administrators to manage the network


Reduce the cost of mgmt GUIs and their time to market


Make mgmt platforms more flexible and less costly


HTTP Simplifies firewall crossing

Claire Ledrich

XML and the Push Model in Web
-
based management

10

MIME Multipart/Self
-
Describing Data


Reversed client
-
server model


The server sends an infinite response containing MIME parts:







Content type: to describe, in a MIME part, the type of management
data transferred (information model and encoding)


The content type looks like this:


Content
-
type:“application/mgmt”; mapping:“rfc2571
-
to
-
XML”; version=“1.”

HTTP Header

MIME Message
Header

MIME Part
Header

Data

MIME
Boundary

MIME Part
Header

Data

MIME
Boundary

Claire Ledrich

XML and the Push Model in Web
-
based management

11

Three
-
Tier Architecture


Split Manager:






Split Management Server:


Data Collectors:
collect data and apply rules


Notification Collectors:
collect notifications


Event Manager:
collects events and correlates them


Mgmt
Station

Mgmt
Server

Agent

Data
Server

Claire Ledrich

XML and the Push Model in Web
-
based management

12

Outline



Problem statement


The push model


Web technologies


JAMAP: high
-
level design


JAMAP: detailed design


Summary

Claire Ledrich

XML and the Push Model in Web
-
based management

13

JAMAP High
-
Level Design

MappingApplet

RuleEditorApplet

SubscriptionApplet

EventNotificationApplet

Management Station

Collectors

EventManager

EventManager
Servlet

Agent

PushedDataCollector
Servlet &

NotificationCollector
Servlet

PushDispatcher
Servlet

NotificationDispatcher
Servlet

HTTP

HTTP
Server

HTTP
Server

HTTP
Server

Claire Ledrich

XML and the Push Model in Web
-
based management

14

Communication Path for Data

Agent


Data Collector


Event Manager

Push Scheduler

PushedDataFormatter

PushDispatcher

PushedDataFilter


PushedDataAnalyzer

DataLogger

PushForwarder

EventSink

EventCorrelator

EventHandler

EventHandler

EventNotification

Applet

Management Station

Schedule


Repository

Claire Ledrich

XML and the Push Model in Web
-
based management

15

Communication Path for Notifications

Agent

Notification Collector

Event Manager

NotificationFormatte
r


Notification


Dispatcher

NotificationFilter

NotificationLogger

PushForwarder

EventSink

EventCorrelator

EventHandler

EventHandler

EventNotification

Applet

Management Station

NotificationGenerator

Claire Ledrich

XML and the Push Model in Web
-
based management

16

Example of a Distributed System

Agent

Agent

Agent

Agent

Agent

Collector

Collector

Collector

EventManager

Agent

Agent

Network Management

Service Management

Claire Ledrich

XML and the Push Model in Web
-
based management

17

Outline



Problem statement


The push model


Web technologies


JAMAP: high
-
level design


JAMAP: detailed design


Summary

Claire Ledrich

XML and the Push Model in Web
-
based management

18

The Agent Servlet

Distribution

Configuration

From
Management
Station

To
Collector

Data
Subscription

Schedule
repository

Formatter

Serialized Java
OutputStream

XML
OutputStream


Notification
Table

Notification

Generator

PushScheduler

Notification
Subscription

Claire Ledrich

XML and the Push Model in Web
-
based management

19

GUI for Data Subscription

Claire Ledrich

XML and the Push Model in Web
-
based management

20

The Data Collector Servlet

Configuration

Distribution

From
Dispatcher

To
EventSink

From
Management

Station

RuleEditor

Mapping

Rule saved and
compiled
dynamically

Rule saved under
new name,
recompiled

And put into
production

UnitCollector

PushedDataFilter

UnitDistributor

Serialized Java
Handler

XMLHandler

PushedDataAnalyzer

DataLogger

PushForward
Consumer

Register new rule

Thread

Serialized Java
OutputStream

Claire Ledrich

XML and the Push Model in Web
-
based management

21

The Notification Collector Servlet

Configuration

From
Dispatcher

To
EventSink

UnitCollector

NotificationFilter

UnitDistributor

Serialized Java
Handler

XMLHandler

NotificationLogger

PushForward
Consumer

Thread

Serialized Java
OutputStream

From
Management

Station

RuleEditor

Rule saved and
compiled
dynamically

Mapping

Not implemented
yet

Distribution

Claire Ledrich

XML and the Push Model in Web
-
based management

22

GUI for Rule Edition

Claire Ledrich

XML and the Push Model in Web
-
based management

23

GUI for Rule Mapping

Claire Ledrich

XML and the Push Model in Web
-
based management

24

The Event Manager Servlet

From
PushForwardConsumer

To
ManagementStation

EventNotification

Applet

UnitCollector

Serialized Java
Handler

EventSink

EventCorrelator

EventMailer

EventLogger

Fatal

Critical

Warning

Information

PushForward
Consumer

Thread

Claire Ledrich

XML and the Push Model in Web
-
based management

25

GUI for Event Notification

Claire Ledrich

XML and the Push Model in Web
-
based management

26

Outline



Problem statement


The push model


Web technologies


JAMAP: high
-
level design


JAMAP: detailed design


Summary

Claire Ledrich

XML and the Push Model in Web
-
based management

27

Summary


JAMAP is a research prototype, not a full
-
fledged management
platform


Focus: communication model and distribution aspects


Implements the WIMA architecture defined in J.P.’s Ph.D. thesis


JAMAP is platform
-
independent tested under Solaris 5.8,
Windows 2000, IRIX 6.5, Linux RedHat 6.2


JDK 1.2.2 and JDK 1.3


HTTP/1.0 and HTTP/1.1

Claire Ledrich

XML and the Push Model in Web
-
based management

28

Contributions


Distribution of the platform to support multiple agents, data collectors, and
notification collectors


Implementation of a new design for the event manager and notification
handling


Support for XML as a means for representing management data


JAMAP is now completely information model
-
independent


Encapsulate numerous data in one MIME Part


New design for the rule edition and the mapping between rules and incoming
data/events


Reduction of the network overhead and reduction of the CPU and memory
overhead of the pushed data analyzers running on the data collectors

Claire Ledrich

XML and the Push Model in Web
-
based management

29

Future Work


Implement a remote Data Server to store all information (Data Logs
and Event Logs)


Scalability: test JAMAP with management data from a real network
How many agents can be supported ?


Performance evaluation: measure latency and network overhead


Implement templates for Spatial and Spatio
-
Temporal Rules