distributed monitoring of web services using open network management system — opennms is the...

25
© Craig Gallen 2011 e e n n t t i i m m O O S S S S Open Open · Community · Solutions · Community · Solutions Distributed Monitoring of Web Distributed Monitoring of Web Services using Services using OpenNMS OpenNMS Dr Craig Gallen EngD C.Eng MBA entimOSS Limited 6 Burnett Close Bitterne Park Southampton Hampshire England SO18 1JD Email : [email protected] : [email protected] Mobile : +44 (0) 7789 938012 The OpenNMS Group, Inc. 220 Chatham Business Drive Pittsboro NC 27312 United States e-mail [email protected] www.opennms.com Phone: +1 919-533-0160 Fax: +1 503-961-7746

Upload: lythuy

Post on 28-Mar-2018

216 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

© Craig Gallen 2011

ee nn tt ii mm OO SS SSOpen Open · Community · Solutions· Community · Solutions

Distributed Monitoring of Web Distributed Monitoring of Web Services using Services using OpenNMSOpenNMS

Dr Craig Gallen EngD C.Eng MBA

entimOSS Limited6 Burnett CloseBitterne ParkSouthamptonHampshireEnglandSO18 1JD

Email : [email protected]: [email protected]

Mobile : +44 (0) 7789 938012

The OpenNMS Group, Inc.220 Chatham Business DrivePittsboroNC 27312United States

e-mail [email protected]

Phone: +1 919-533-0160Fax: +1 503-961-7746

Page 2: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 1© Craig Gallen 2011

Access Network Cloud

The Emerging Application WebThe Emerging Application Web

Core Network Cloud

PhysicalInfrastructure

VirtualisedInfrastructure

VMVMVM

VMVMVM

VMVMVM

VMVMVM

Service 1

Service 2Service 3

ApplicationSpace

URI URI URI

End user Services (Apps) are a mash-up of web services accessed through standard and proprietary protocols;HTTP, REST, SOAP, RSS etc

Services hosted in ‘Cloud’ designed to scale through addition of VM resources

Underlying physical infrastructure•Commodity hardware•Geographical Diversity•Rapid Churn•Network Connectivity

Gartner : Market for public cloud services to grow from $1.7 billion in 2009 to $12.4 billion in 2014,

Page 3: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 2© Craig Gallen 2011

Management as another web serviceManagement as another web service

Access Network Cloud

Core Network Cloud

VMVMVM

VMVMVM

VMVMVM

VMVMVM

Service 1

Service 2Service 3

URI URI URI

VM

VM

App SLA Mgt

Svc SLA Mgt

VM

HW SLA Mgt

URI

Remote Monitor

Remote MonitorRemote Monitor

Management integration enabled through standard interfaces

Page 4: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 3© Craig Gallen 2011

OpenNMSOpenNMS Strategic OverviewStrategic Overview

• OpenNMS Core Overview— Introducing the OpenNMS Project — Network and service problem management— SLA reporting

• OpenNMS Remote Poller Project— Distributed End User Experience Monitoring of web services and mash

ups.

• Cloud Services Broker Project— Proof of concept for commercial cloud service monitoring

• TM Forum Interfaces Project— Model driven interface design— Semantic Interfaces

• OpenNMS Infrastructure Projects– IPv6– Cassandra– OSGi

VM

App SLA Mgt

VM

Svc SLA Mgt

VM

HW SLA Mgt

Cloud Enabled

Page 5: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 4© Craig Gallen 2011

The The OpenNMSOpenNMS ProjectProject

• OpenNMS— Open Network Management System— OpenNMS is the world's first Enterprise

and Carrier grade network management platform developed under the open source model.

• Technology— Written in Java— Packaged for Windows, Linux and most

Unix distributions— Proven scalability

– 300,000 data points every 5 minutes– automatically discover core nodes with

5000+ interfaces

• Websites— www.opennms.org— http://sourceforge.net/projects/opennms/

Page 6: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 5© Craig Gallen 2011

Wide community of commercial usersWide community of commercial users

• Papa Johns Pizza http://www.papajohns.com/• Minnesota Children's Hospital http://www.childrensmn.org/• Oregon State University http://oregonstate.edu• Permanente Medical Group www.permanente.net• Myspace www.myspace.com• Ocado www.ocado.com• FreshDirect http://www.freshdirect.com• Fox TV (Australia) http://www.foxtel.com.au• BBC Monitoring www.monitor.bbc.co.uk• FastSearch http://www.fastsearch.com/• New Edge Networks http://www.newedgenetworks.com/• Rackspace http://www.rackspace.com• Swisscom Eurospot http://www.swisscom-eurospot.com• Wind Telecomunicazioni SpA (Italy) http://www.wind.it

• And many more - 4000 downloads per month

Page 7: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 6© Craig Gallen 2011

OpenNMSOpenNMS historyhistory

Technology

Trigger

Peak of Inflated

Expectation

Trough of

Disillusionment

Slope of

Enlightenment

Plateau of

Productivity

Product

visibility

Open Source Product Maturity

Mar /April 2000

OpenNMS Announced & Code released

10 OcuLAN employees

50 contributors

Sept 2004

OpenNMS group lunched

3 staff

16 contributors

Jan 1999

Steve Gilles & Brian

Weaver

Prototype Bluebird

May 2002

OcuLAN forks OpenNMS

Tarus Balog becomes Maintainer (Sortova Consulting)

2009

over 100 OpenNMS group customers

4000 complete downloads / month

6 staff

35 core developers (OGP)

• We've been around since 1999 and were registered on Sourceforge in March of 2000 (by comparison NetSaint, the first name of Nagios, was registered just two

months earlier).

Page 8: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 7© Craig Gallen 2011

Community and GovernanceCommunity and Governance

• User community— There are around 1000 people subscribed to the discuss list,

but when I (Tarus Balog) teach classes I find that less than 10% of the people in the class actually use the discuss list, somy guess is that the active user community is probable closer to 10,000 people.

• Developer Community— We have 35 developers with commit access to the repository.

• Assets— Licence GPL

— The IPR is owned by The OpenNMS Group, Inc.

— OpenNMS Trademark owned by The OpenNMS Group

• Governance— The community is managed by The Order of the Green Polo.

— All active OGP members have a vote on the direction of the project, but there is no charter and no one restricts what can and can't go into OpenNMS, as long as it is good.

— For example, the OTRS integration that Jonathin Sartin(Ocado/Truephone) did was pretty much on his own.

• Foundation— We would like to create a foundation

separate to the OpenNMS Group when sponsorship is available to do so.

DEV-JAM Atlanta July 2008

Page 9: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 8© Craig Gallen 2011

OpenNMSOpenNMS Infrastructure ManagementInfrastructure Management

• Service Discovery and data Collection

— Windows WMI— Windows Services (SNMP-based) — Citrix— DHCP— DNS— Domino IIOP— FTP— General Purpose (script based)— HTTP— HTTPS— ICMP— IMAP

— JBOSS (JMX)— JDBC— JSR160 (JMX)— K5— LDAP— Microsoft Exchange— MX4J— Notes HTTP— NSClient (Nagios Agent)— NRPE (Nagios Plugin Executor)— NTP— POP3

Core Network Cloud

OpenNMS

HW SLA Mgt

In development•IPv6 – to be released corresponding with IPv6 day 6 Jun 2006•OSGi infrastructure

— Radius— SMB— SMTP— SNMP— SSH— TCP—

Page 10: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 9© Craig Gallen 2011

OpenNMSOpenNMS Core FunctionalityCore FunctionalityProblem Management Work Flow

• Event Collection — OpenNMS can record all event occurrences

• Alarm Correlation— OpenNMS uses an Alarm Mechanism to convert

configurable 'alarm raising traps' or 'alarm clearing traps' into a manageable alarm cycle.

— User configured 'automations' can process the alarm list for more sophisticated analysis.

— Jboss Rules correlation engine for more sophisticated down stream alarm suppressing.

• User Notifications and scheduled escalation— OpenNMS supports multiple users and an Notification

escalation mechanism between users. If a severe event is detected (such as a major alarm), this generates a Notification which is escalated over time through a list of users if it is not acknowledged. The system can also generate external paging, emails or instant messaging messages to attract attention to a notification.

• Trouble ticket integration— If the basic escalation mechanism is not enough,

OpenNMS also has a Trouble ticket interface for integrating with a number of trouble ticket systems including open source trouble ticket implementations, RT and OTRS.

Page 11: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 10© Craig Gallen 2011

Performance and SLA ManagementPerformance and SLA Management• Performance Data Collection and Management

— Like other network management tools such as Nagios or Cricket, OpenNMS stores performance data in RRD files. It can use RRDTool to do the collection, but the preferred library is Jrobin which is a Java implementation of RRD.

— OpenNMS has MIBS already installed for most large vendors equipment but users can add their own configurations. The user community often share this work and experience of new equipment.

— However unlike these tools, all of the scheduling of data collection is controlled by a Java process entirely within OpenNMS which makes the solution very scalable.

— Data can be collected from a variety of sources; SNMP polling and trap management, Ascii Syslog messages, TL1, JMX. there is also an integration with Nagios to allow the use of Nagios plugins. OpenNMS has also been integrated with Snort.

• Data visualisation— OpenNMS presents performance data as graphs. These

graphs can also be exported in the form of performance reports.

— Threshold events. OpenNMS can generate Threshold crossing alarms based on changes in the data. OpenNMSalso performs synthetic transactions to test the availability ofservices on nodes. This can be done centrally or through a distributed collection of remote rollers as described above.

• Service Quality Management— SLA Alarms can be escalated based upon threshold crossing

events. Every performance data collection point can be assigned a lo/high threshold with hysteresis to avoid ‘bouncing’ alarms

Page 12: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 11© Craig Gallen 2011

Access Network Cloud

User Experience ManagementUser Experience Management

Service 3

URI URI URI

VM

App SLA Mgt

URI

Remote Monitor

Remote MonitorRemote Monitor

Service 2Service 1

Page 13: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 12© Craig Gallen 2011

Original Use CaseOriginal Use Case

OpenNMS

Central Services

Remote Client

Remote needs to ensure connectivity to central hosts

OpenNMSRemote Poller

1. Remote client downloads OpenNMS Remote Pollerfrom OpenNMS using java web start

2. OpenNMS Remote Poller polls central services using synthetic transactions

3. Remote Poller sends results to OpenNMS

Page 14: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 13© Craig Gallen 2011

Remote Remote PollerPoller InstallationInstallation• Web Start a Remote Poller

• http://<hostname>:8989/opennms-remoting/webstart/app.jnlp

Page 15: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 14© Craig Gallen 2011

Remote Remote PollerPoller ManagementManagement

Definitions

• Application— collection of services to monitor

— Services on URI’s

• Remote Poller Location— Remote locations from which to monitor

one or more applications

Response times from remote locations

Page 16: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 15© Craig Gallen 2011

Visualisation: Visualisation: PollerPoller LocationLocation

• Remote Poller locations – for each Application

Page 17: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 16© Craig Gallen 2011

Visualisation: Application LocationVisualisation: Application Location

• Application locations

Page 18: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 17© Craig Gallen 2011

Managing Within The CloudManaging Within The Cloud

VMVMVM

VMVMVM

VMVMVM

VMVMVM

Service 1

Service 2Service 3

Cloud as a Service

VM

Svc SLA Mgt

Provisioning of service Provisioning and reporting of SLA

Cloud Services Broker Proof of Concept• http://www.tmforum.org/CloudServiceBroker/8437/home.html

— Sponsor BT— Participants

– OpenNMS, Infonova, Comptel, square Hoop— BT Paper IM2011 Dublin 2011

Page 19: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 18© Craig Gallen 2011

Cloud Services BrokerCloud Services Broker

EnterprisesEnterprisesService

Providers

Service Providers

ComputeCompute

StorageStorage

CRMCRM

CommerceCommerce

SharepointSharepoint

SharepointSharepoint

ComputeComputeStorageStorageVideoVideo

CloudServices

ProductAssembly

ProductAssembly

ServiceAssembly

ServiceAssembly

Inter-workingInter-working

BillingBillingMatch & OrderMatch & Order

AssureAssure

Orchestrate & DeployOrchestrate & Deploy

AuditAudit

CloudService

Catalogues

CloudService

Catalogues

Portals & APIsPortals & APIs

Page 20: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 19© Craig Gallen 2011

The Full Broker ArchitectureThe Full Broker Architecture

Page 21: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 20© Craig Gallen 2011

Flexibility through Standard InterfacesFlexibility through Standard Interfaces

• Service definition can be arbitrarily complex but provisioning of Instance of service is easy

— Advanced service correlation uses complex OpenNMS features. Needs expert definition.

– Alarm reduction

– Correlation

– Event Translation based on external data lookup

— Service Instance provisioned through UI or through XML API from another system

• Open Source and virtualisation— Allows deployment of multiple OpenNMS

instances with radically different configurations

— interfaces allow information to be shared through a hierarchy of systems

VM

VM

App SLA Mgt

Svc SLA Mgt

VM

HW SLA Mgt

URI

Management integration enabled through standard interfaces

Svc SLA Manager of Managers

VM

Service 1 MgrVM

Service 2 MgrVM

Service 3 Mgr

Flexible Deployment Strategies

Page 22: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 21© Craig Gallen 2011

TM Forum Interface ProgramTM Forum Interface ProgramModel Driven EngineeringModel Driven Engineering

OSS

OSS OSS

Model based interface generation• Spec• RI• CTK• Implementation Libraries

Same framework for all interfaces • Can be extended to new managed

technologies (Modelling: 3G, Ethernet etc)• Can be extended to different management

technologies (WSDL, JAVA, etc)• Can be offered to other standards

organisations (ITU-T, 3GPP etc)• Can be used internally by SP’s, SI’s,

Equipment vendors

Interface Implementation

Interface Specification

Interface API(Like OSS/J)

Interface Modelled in Tigerstripe

Page 23: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 22© Craig Gallen 2011

Open Source RI Design GoalsOpen Source RI Design Goals

• Major Sponsors— DT, Telcordia, HP, Nortel, Ciena

— Leveraging open source projects

– Tigerstripe

– OpenNMS

— Delivering libraries for Interface Specification Development and Implementation

TransitoryJar in local repository

jarpom.xml

Maven 2Java

Implementation Project

Eclipse TigerstripeWorkspace

TIP Model Project

Maven 2

Java ImplementationPlugin

zip

jarpom.xml

CTK, RI, Libraries

Standard Models zip

Standard Models zip

TM Forum Standards

Ideally also packagedFor automatic downloadOR as Subversion checkout

OpenNMS

Interface library can be used by any OSS Component

Reference Implementation in OpenNMS

Proprietary Extensions

Standard Models zip

Page 24: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

slide - 23© Craig Gallen 2011

SummarySummary

• An overview of OpenNMS

• Application management

— Remote Poller Project

• Virtual infrastructure management

— Cloud Services Broker

• Sharing Management information

— TM Forum Interface Program

• The OpenNMS project is at the forefront of research and standardisation of large scale web infrastructure management

Access Network Cloud

Core Network Cloud

VM

VM

VM

VM

VM

VM

VM

VM

VM

VM

VM

VM

Service 1

Service 2Service 3

URI URI URI

VM

VM

App SLA Mgt

Svc SLA Mgt

VM

HW SLA Mgt

URI

Remote Monitor

Remote MonitorRemote Monitor

Page 25: Distributed Monitoring of Web Services using Open Network Management System — OpenNMS is the world's first Enterprise and Carrier grade network management platform developed under

© Craig Gallen 2011

ee nn tt ii mm OO SS SSOpen Open · Community · Solutions· Community · Solutions

Thank You For ListeningThank You For Listening

Any Questions?Any Questions?