07 webas administration
TRANSCRIPT
-
8/14/2019 07 WebAS Administration
1/18
Martin Wolf
SAP Web AS Administration
-
8/14/2019 07 WebAS Administration
2/18
HPI, Seminar System Modeling - SS2005 / 2
Agenda
Administration of the SAP Web AS (Java)
BasicsManageable Beans (MBeans)Java Manageable Extension (JMX)
AdministrationJMX architecture in the SAP Web AS
Kernel (Set of Managers)
Pluggable Components (Interfaces, Libraries, Services)
Administration Services
Administration ToolsSAP Management Console
Config Tool
Visual Administrator
Summary
References
-
8/14/2019 07 WebAS Administration
3/18
HPI, Seminar System Modeling - SS2005 / 3
Basics
-
8/14/2019 07 WebAS Administration
4/18
HPI, Seminar System Modeling - SS2005 / 4
MBean
Java object that represents a manageableresource (application, service, component,device, )
Must have a management interface
ProvidesAttributes
Operations
Notifications (can be sent by the MBean)Public Constructor
Is used toGet/Set state of the resource
Execute certain operations on theresource
All administrative functions of the J2EEEngine and all the parameters watched bymonitors are provided by MBeans
-
8/14/2019 07 WebAS Administration
5/18
HPI, Seminar System Modeling - SS2005 / 5
Java Manageable Extensions (JMX)
What is JMX?
Specification that defines
ArchitectureDesign-Patterns
APIs
Basic Services (application and network management, monitoring)
Separates the managed resources from the management system
Different implementations
Who is behind JMX?
Developed by many companies in the course of the Java CommunityProcess ( not proprietary)A reference implementation is made available by SUN
Other companies involved:IBM
BEA Systems
Borland
Apache Software Foundation
-
8/14/2019 07 WebAS Administration
6/18
HPI, Seminar System Modeling - SS2005 / 6
Java Manageable Extensions (JMX)
Integration strategies:
JMX EnabledGiven application extended with JMX properties
E.g.: Tomcat Server, BEA Weblogic
JMX Based
Application uses JMX as framework
Configuration, administration and event handling over JMX
E.g.: JBoss Server, SAP Web AS
What can be managed by JMX?
Everything that can be implemented as an Java object
Hardware (Database, Server, )
Software (EJBs, Servlets, )
-
8/14/2019 07 WebAS Administration
7/18
HPI, Seminar System Modeling - SS2005 / 7
JMX Architecture in General
Connection types:
Connector:
Provide the same interface to
the management application
as the MBean Server
Use proprietary protocols
Protocol Adaptor:
Translates the operations into
a representation in the givenprotocol
Use well-known protocols
Agent Services
Dynamic Class Loading
Timer
Relation
Monitor
MBeans
JVM
JVM JVM
Connector Server 1
(Protocol X)Protocol Adapter
MBean Server
Resource 1
(MBean)
Resource 2
(MBean)
Agent Services
R
X
R
HTTP
Connector Server 2
(Protocol Y)
R
Y
Connector
Client
(Protocol X)
JMX Manager
(Protocol Y)
Web Browser
JMX-compliant
Management
Application
Proprietary
Management
Application
Instrumentation
Level
Agent Level
Distributed
Services
Level
R R R
-
8/14/2019 07 WebAS Administration
8/18
HPI, Seminar System Modeling - SS2005 / 8
Administration of the SAP Web AS
-
8/14/2019 07 WebAS Administration
9/18
HPI, Seminar System Modeling - SS2005 / 9
JMX Architecture in the SAP Web AS
J2EE Engine
Dispatcher (JVM)
JVM
Connector
Client
RHTTP
Web Browser
RRMI
JMX-compliant
Management
Application
R
R
JVM
Connector Server
JMX Manager
RCORBA
Proprietary
Management
ApplicationR
R
Database
Interfaces
Libraries
Globa
lProperties
R
DMS
CentralServices
Administration
Adapter
MBeanServ
er
Agent Services
Connector Server Protocol Adapter
Object Repository
Properties
R
Visual Administrator
R
RRMI/P4
Core Services Services
Kernel
PropertiesProperties
Manager MBeans Serv ice MBeans Appl icat ion MBeans
-
8/14/2019 07 WebAS Administration
10/18
HPI, Seminar System Modeling - SS2005 / 10
Kernel
Is subdivided in subsystems internally called managers
Provides basic functions concerning resource management andoperating system
Thread-pooling and - management
Sockets and Session communication
Database connection
Logon
According to their specific functions, the managers are divided in
several groups:
Class Loading SystemThread System
Cluster Management Configuration
Communication Management
Service Management
-
8/14/2019 07 WebAS Administration
11/18
HPI, Seminar System Modeling - SS2005 / 11
Pluggable Components
Interfaces
Define how different components of the system work together
Defined by a name and a set of classesNo direct implementation possible service component is necessary
Libraries
Generic useable help classes (no own lifecycle)
Defined by a name, a set of classes and a set of objects (functions)Access to the functions by a factory pattern and static methods
Services
Dispose of a complex lifecycle handling and well defined interactions
Use different APIs offered by the kernel or other services
Provide runtime objects registered on the system (MBean Server)once the components classes have been loaded
Core services:
start procedure will be stopped if the initialization of such a service failed
-
8/14/2019 07 WebAS Administration
12/18
HPI, Seminar System Modeling - SS2005 / 12
Administration Services
Basic Administration Service
Core service that creates MBeans for the kernel and all server
components (libraries, interfaces, services)Offers management functions to all deployed components or
extern JMX tool available
Administration Adapter Service
Offers convenience interfaces for working with the MBeansThese interfaces provide methods for cluster administration
and for viewing all registered MBeans
JMX Adapter Service
Creates the MBean Server and registers all MBeans
Provides access to it for applications, services, libraries
-
8/14/2019 07 WebAS Administration
13/18
HPI, Seminar System Modeling - SS2005 / 13
Administration Tools
-
8/14/2019 07 WebAS Administration
14/18
HPI, Seminar System Modeling - SS2005 / 14
Administration Tools
SAP Management Console
GUI for the Java-Startup and Control Framework
Consists of JControl- and JLaunch-applications
Offers a central view of all components of the cluster
Provides interfaces to monitor, start and stop the wholecluster or cluster elements (dispatcher, server, )
Config Tool
Offline tool for
Adding and configuration of J2EE cluster elements
Setting global parameters
Location of the Java Home
Heap Size of the JVMHost and port of the message server
Exporting the system configuration to an XML file
Connects directly to the database (no running J2EE Enginenecessary)
-
8/14/2019 07 WebAS Administration
15/18
HPI, Seminar System Modeling - SS2005 / 15
Administration Tools
Visual Administrator
GUI administration tool (online and remote)Functions:
Obtaining general information and configuring the global
properties
Managers (timeout, command properties, )
Interfaces and libraries (name, version, JARs contained, )Services (e.g. JMX Adapter Service: timeouts, default domain)
Managing MBeans
Generic MBeans (Start/Stop, Configuration of properties, )
Specific MBeans (Runtime administration and control)
Security runtime controlPolicy management
User management
-
8/14/2019 07 WebAS Administration
16/18
HPI, Seminar System Modeling - SS2005 / 16
Summary
SAP Web AS is JMX based
MBeans represents manageable resources and are centrally registered ina MBean Server
Architecture (server and dispatcher)
Kernel (Set of Managers)
Interfaces and Libraries
Services
Administration with the help of services
Basic administration service, administration adapter service, JMXAdapter Service,
Besides: extra tools for backup (online/offline possible)
SAP Web AS Administration
Online: Visual Administrator
Offline: Config Tool
-
8/14/2019 07 WebAS Administration
17/18
HPI, Seminar System Modeling - SS2005 / 17
References
[1] Kessler/Tillert/Dobriko Java Programmierung mit dem
SAP Web Application Server, Gallileo Press 2005
[2] SAP AG, http://help.sap.com
[3] Orientation in Objects GmbH, http://www.oio.de/
[4] OpenKnowledge GmbH, http://www.openknowledge.de
[5] SAP Library, http://www.saphelp.com
[6] SAP Developer Network, http://www.sdn.sap.com
[7] Javamagazin, Art. Der Manager, 06/02
-
8/14/2019 07 WebAS Administration
18/18
HPI, Seminar System Modeling - SS2005 / 18
Thank You