Post on 20-Jan-2017
© 2004 Hewlett-Packard Development Company, L.P.The information contained herein is subject to change without notice
Service Oriented Architectures (SOA) Monitoring and Management with HP OpenView Operations
HP Universe 2005
Stefan BergsteinSoftware Architect, HP
August 28, 2015 2
Agenda• SOA concepts• SOAP and Web Services• Monitoring web services with OVIS• SOA Manager• Putting all together
August 28, 2015 3
Monitor SOA applications using HP OpenView Operations
Operations Management
ServiceNavigator
ServiceDesk
SOA
?
August 28, 2015 5
What is SOA?SOA – Service Oriented Architecture
SOA is an architectural approach, centered around the
concept of services…
August 28, 2015 6
BusinessAndIT
synchronized to capitalize on change
What is SOA?How does HP define Service Oriented Architecture?
SOA is an architectural approach, centered around the concept of services, to designing, building and managing distributed computing infrastructure that an enterprise requires to execute its business strategy and achieve its business goals. This approach promotes the use of loosely-coupled, reusable services, with standards-based well-defined service specifications that enable them to be discovered and consumed by independent service consumers.
SOA permits organizations to link business and IT services together, and establish stability, predictability, security, and manageability in a highly distributed and dynamically changing business environment.
August 28, 2015 7
SOA - An Analogy
Internet:• Standards – html & http so anyone
with a browser can access information
• Integration – hyperlink allow for ease of integration
• Metadata – the Internet is metadata driven. Google creates indexes, plus provides other services like page ranking, identifying related products, etc. You get more than just a list of sites.
SOA:• Standards - WSO, WSDM, UDDI.
These allow an SOA to expose information about services
• Integration – SOAs make integration of components very easy, fast and cheap.
• Metadata – If you stopped with just standards and linkages, the internet would be nearly useless. Google makes the Internet valuable. Likewise, metadata turns simple Web services into SOA.
Let’s take a look at
The Internet, and SOA share 3 critical principles
August 28, 2015 9
Composite Applications
BusinessLogic
Legacy ERP CRM Finance
BusinessLogic
BusinessLogic
BusinessLogic
Business Services
Service InfrastructureWhat does an SOA look like?
Business Process Layer
August 28, 2015 10
Characteristics of a Service• Meaningful and articulating
− Meaningful levels of granularity− Flexibility across functional and technology layer− Makes use of standards and promotes reuse
• Contract based− Consumer/producer are aware of their obligations
• Self contained and modular− Coarse grained cohesive, composable, atomic
• Loosely coupled− Interfaces independent of implementation− Should not contain technology assumptions
• Locatable− Distributed using registry and metadata/semantics− Can be discovered− Not simply point-to-point
Simplification
Standardization
Modularity
Integration
August 28, 2015 11
SOA Technology and Web Services
• One of the key reasons for the today’s focus upon SOA is the emergence of supporting technologies.
• SOA is an architectural approach, centered around the concept of services
• SOA ≠ Web Services−SOA can exist without Web Services−Web Services can be utilized without an SOA−Using web services can significantly enhance our ability
to implement SOA
A common source of confusion
August 28, 2015 12
Why Web Services for SOA?Web Services:• Are (mostly) standardized• Promote loose-coupling• Are platform independent and vendor independent• Provide integration at service level• Include service description mechanisms• Include service catalogue mechanisms
August 28, 2015 14
Web Service model
Service Registry
Service Consumer Service Provider
Find Publish
Bind
ServiceClient
August 28, 2015 15
SOAPWhat is it?
• Lightweight XML-based messaging format• Key components of the specification−Messaging specification−Set of encoding rules−Convention for invocation
• Benefits of using SOAP−Vendor, platform, and language independence−HTTP is firewall friendly
August 28, 2015 16
SOAPHow does it look like?
• A unit of communication− Envelope −Header−Body
• Error handling through SOAP faults• Extensibility through custom headers• Mechanism for representing abstract data• Invocation styles− RPC−Document
August 28, 2015 21
OVIS Probe typesBasic Services:
• DHCP (Dynamic Host Config.)
• DNS (Name Resolution)
• ICMP (Network Response Time)
• LDAP (Lightw. Directory Access)
• NTP (Network Time)
• ODBC (Open Database C…)
• TCP (user-defined port)
• TCP-Performance - NEW
• UDP-Performance - NEW
• WMI – Basic System Metrics - NEW
Email:
• IMAP4 (Internet Message Access)
• Mail Roundtrip
• MS Exchange (MAPI)
• POP3 (Post Office Protocol)
• SMTP (Simple Mail Transfer)
Web:
• FTP (File Transfer)
• HTTP (Web Servers)
• HTTPS (Secure Web Servers)
• HTTP_TRANS (Web Transactions)
• NNTP (News Service)
• SOAP (Simple Object Access Protocol)
• STREAM_MEDIA (Real or Win)
• TFTP (Trivial File Transfer) - NEW
Remote Access & Other:• DIALUP (Dial Up)
• Radius (Authentication)
• SAP
• SMS (Short Messaging Service)
• WAP (Wireless Data)
Extensibility Tools• Script Probe
• Custom Probe SDK (C/C++)
• Probe Builder (available for download)
August 28, 2015 22
Monitoring WS with OVISStock Quote example
SOAPprobe
StockApp
WS
Server
OVIS HP OVOperations
SOAPRequest
SOAPResponse
WSDLgetQuote
metrics
messages
August 28, 2015 23
Monitoring WS with OVISStock Quote example – SOAP and WSDL
SOAP Request:
SOAP Response:
Stock sample WSDL:
August 28, 2015 25
Tip: Capture SOAP request• How to create a SOAP request?− Install TCPMonitor (Apache)− Redirect SOAP call trough TCPMonitor−Capture SOAP messages− Extract SOAP request−Use in OVIS “Post data”
August 28, 2015 27
SOA Manager
WSM Features
Interposed Management Performance and availability
monitoring Security Auditing Content monitoring
Automation Discovery and Deployment
Support for SOAP over HTTP XML over HTTP
SLA report Customizations Brokered services Advanced management (handlers) Message routing Authorization & Policy/Rules
and beyond
View IT environment in the context of business metrics
Manage IT according to business priorities
Link management layers:business, configuration, and resource levels
Publish management models to UDDI Manage change effectively Embrace heterogeneity
August 28, 2015 28
SOA Manager Components• Network Services
Server(Business Service Explorer console)
• WSM Broker(Broker Configurator console)
• OVO Integration Tool• WSM J2EE Agent
(optional, WebLogic Server)
• WSM .NET Agent (optional, .NET Framework)
• Identity Management(optional, Select Access)
August 28, 2015 34
SOA Manager / OVO integration• Frontend subagent
− Responsible for communicating with SOA Manager
− Gathers management data
• Backend Service− Receives management
data from frontend subagent
− Updates OVO service model
− Submits OVO messages
August 28, 2015 36
Configuration
UnderpinningOperations Management
Business
ITSM Service Model
CheckingAccount
CustomerVaultCredit Risk
Credit RiskWS
App Srv OSHP-UX 11.23
CustomerVault WS
ServerManagement
UNIX ServerManagement
Web ServiceManagement
HardwareMaintenance
HP Server
Manages
Uses
Supports
Manages
Uses
Uses Parent-Child
Underpinned by
Uses
CheckingAccount WS
Uses
August 28, 2015 37
Business service modelPresentation in Service Navigator
• Shows the business services
• Maps business services to web services
• Links the infrastructure to web services
• Enables impact and root cause analyses
August 28, 2015 38
SummarySOA Monitoring
OVISSOAPprobe
WS
Checkingaccount
CreditRisk
CustomerVault
WSMbroker
WSMagent
WSMagent
SOAmanager
OVISServer
OVOServer
MessagesService model
MessagesService model
WS WS
Probes: synthetic end to end response –characterize service availability “Am I Ready?”
Client monitoring:real end to end –characterize service quality “How Am I Doing?”