|

ISBN 13:
978-0-9916386-1-1
ISBN: 0-9916386-1-1 |
Library of Congress
Number:
2014941276 |
700
pages
Perfect Bind
9.25x7.5 |
PD 0514 |
Shelving:
Databases/Oracle |
Oracle In-Focus Series #46 |
|
|
Advanced WebLogic
Server Automation
Administration and Monitoring with WLST and JMXMartin Heinzl
Retail Price $49.95
/ £34.95
Order now at 30% off! |
Only $29.95
(30% off) |
|
|
All production environments need automated, auditable,
reproducible processes. This book discusses how to automate all
aspects of WebLogic, an essential prerequisite for all
production environments.
The WebLogic Server platform is recognized as one of the
leading J2EE application servers and is the foundation of the
Fusion Middleware platform. It is well suited for a variety of
different application architectures including modern grid and
cloud infrastructures. A large number of WebLogic
installations from a single server to thousands of servers
exist all over the world.
Complex environments may consist of hundreds of domains and
thousands of managed-servers. It is impossible for an
administrator group to maintain all those servers with manual
tasks or the web console. This book is written based on 15+
years of experience with many real architecture and
consultancy assignments, and includes tips based on lessons
learned from real project experience. Its main focus is to
teach readers who are already familiar with WebLogic how to
use the powerful automation APIs to operate WebLogic in small
to very complex environments. Scripts and automation based on
JMX are essential for every (infrastructure) architect,
administrator, deployer, operator, and also developer. Only
with automated processes it is possible to create actions that
can be easily reviewed, can run at any time, can run
frequently (monitoring), can be scheduled with an automated
scheduler, and are well-suited to auditing needs.
This book focuses on the WebLogic Server. Automation is
absolutely key for all installations of WebLogic, from small to
complex enterprise-wide systems. The author presents
many practical examples that can be easily adapted to the
reader's needs. This book does not use the WebLogic GUI nor
talk about J2EE programming; it focuses on automation only.
This book contains a comprehensive code download of powerful
WLST and JMX scripts.
|
|
* Focuses on real-life automation examples.
* Includes many general-purpose scripts and programs.
* Provides automation hints and tips for all areas of
WebLogic.
* All scripts/programs
can be easily adapted for the reader’s needs.
* Explores
the power of WebLogic automation based on the automation
technologies provided with the Server.
* Compares
the powerful script environment of WLST with the standard
Java management API of JMX.
* Provides
automation solutions for many different aspects of WebLogic.
* Explains
how to create, configure, secure, administer and monitor
WebLogic in an automated, repeatable way based on WLST or
JMX.
* Enables
the reader to handle large and complex environments with
automated processes.
|
About the Author:
Martin Heinzl |
Martin Heinzl is a senior/principal consultant in the
areas of architecture, middleware and enterprise
systems. Over the last 15 years, he has built up
extensive experience in enterprise middleware
technologies in distributed systems. His main areas of
focus include architecture, integration, Java, J2EE,
CORBA, distributed systems, integration approaches, and
security. His project involvement has included analysis,
design, architecture, SOA (like) systems, configuration,
security, deployment, automation, management, and
monitoring. This experience has given him a thorough
knowledge of operations, automation, system
architectures, development, and training.
Martin was also responsible for the automation of a
complex web service security layer for an SOA
infrastructure using single-sign on, SAML, and OWSM for
a huge WebLogic farm (including Oracle service bus) with
500+ domains and 4000+ Managed-Servers. He was also
responsible for the WebLogic infrastructure and
monitoring concepts of in a high risk/high volume
financial system. He is currently working in the
middleware platform hosting team of a global bank.
Martin greatly enjoys what he does. His highest
priority has always been on customers and service, which
has helped him establish many good and long-year
customer relationships. In 2013 Martin also joined the
Oracle Customer Advisory Board for WebLogic and he
always tries to be up to date on middleware technologies
by attending conferences and taking part in beta
programs. |
Table of Contents:
Using the Online
Code Depot Conventions Used in this Book Part I
Introduction to WLDF Introduction
Introduction to WebLogic Jython and WebLogic JMX and
WebLogic Summary Part II
WLDF
Architecture and Components Introduction to
WLDF WLDF Components The WLDF Data Collectors
Data Processing and Archiving Data Access Complete
Picture of WLDF Target vs. Activation Summary
Working with WLDF General
Guidelines to work with WLDF WLDF Profiles Lifecycle
of WLDF Artifacts Summary
Configuration
and Usage Using the WLS Console Using the
Dashboard Using WLST / JMX Using the Configuration
Files Summary
Understanding WLDF
MBeans Introduction to the WLDF MBeans WLDF
MBean Types Browsing WLDF using the WLST shell
Additional WLST commands for WLDF Summary
Part III
Configure Diagnostic Modules
Diagnostic Modules
Introduction Creating a
new Diagnostic Module Built-in diagnostic module
Create Diagnostic modules from built-in templates
Target/Untarget Diagnostic modules
Activating / Deactivating Diagnostic modules
Creation and Targeting of multiple Modules
Summary
Keeping historical data for
long term analysis
Data Archives Overview File
based archives
JDBC based archives Data retirement
policies
Summary
Harvesting Runtime Metrics for
System and Performance Monitoring
Overview Using the WLS Console
Using WLST Using JMX
Using configuration files
Comparison
Complex example
dumpDiagnosticData Summary
Taking snapshots of current state for analysis
Introduction
Configuration of the image capture capabilities
Issue an image capture request
Additional Tasks in WLST to work with diagnostic
images Summary
Watch
out for diagnostic conditions
Introduction to Diagnostics Types of Watches
General configuration Creating a Harvester
watch Creating a Log watch
Creating an instrumentation watch Removing a
watch from a diagnostic module
Summary
Getting notified and alarmed
for certain system states Introduction
to Notifications WLDF Notifications and the WebLogic
API JMX Notifications
JMS Notifications
Email Notifications
Diagnostic Image Notifications
SNMP Notifications Future
developments Summary |
Complete Examples
Introduction
Utilize WLDF to monitor custom MBeans with machine
data
Use WLDF for automatic scaling of an application
Sending JMS notifications in case of stuck threads
Creating a diagnostic image if heap reaches critical
value
Summary
Part IV
Organize and structure WLDF through Profiles
The idea of profiles
Examples of useful profiles
Creating profiles in a WLS domain Activating /
deactivating profiles Summary
Diagnostic component profiles using WLST
Introduction
Artifact Profiles Subject Matter Profiles
Combination into Diagnostic Modules
Example Implementation
Base class WebLogic Core Profile EJB Profile
JDBC Profile Transaction
Profile Other profiles
Profile Manager Working with Profiles
Summary
Diagnostic module profiles using
WLST Introduction
Diagnostic Module Profiles Profile
Scopes Advantages and disadvantages
Example Implementation
Comparison between profile types Summary
Diagnostic profiles using JMX
Introduction Use
cases Architecture of the JMX Implementation
Artifact Profiles Component Profiles
WLDFComponentProfile
WLDFCoreProfile
Profile Manager Examples Diagnostic module
Profiles Using Profiles in Real Life
Summary Part V
Getting access to diagnostic data
Introduction
Which data stores are available?
Get Information about data store content Access
Diagnostic data using the accessor API
Offline Access using WLST Online Access
using WLST Using the exported data
Summary
Visualizing and Analyzing data
with Mission Control
Introduction WLDF and
Flight Recorder Amount of WLDF Data recorded by
Flight Recorder Example Data
Code section WebLogic plugin
Summary
Visualizing data with the WLDF
Dashboard
Introduction Built-In
Views Custom Views Custom
View Example
Outlook Summary
Review
and Comparison
WLDF, WLST or JMX?
Alternatives to WLDF Summary References
References
Books General
Websites Web
Links
About the Author
Index |
Index
Topics:
A
activate
advice AOP
application profiles
archive archive subsystem
Archive subsystem
artifact profiles artifacts
aspect B
Backend
profile Base class
C
captureAndSaveDiagnosticImage
Communication profile configuration
core profile
, Core WLDF system
createSystemResourceControl
cross-cutting
D
dashboard
Data Access (JDBC) profile
data accessor , Data
Accessor subsystem
data archives
deactivate
destroySystemResourceControl
diagnostic component profiles
diagnostic context
diagnostic image creation notifications
Diagnostic Image subsystem
diagnostic images
diagnostic module
, , diagnostic profiles
diagnostics
, disable profile
disableSystemResource
dumpDiagnosticData ,
DYE filters
DYE injection
dynamic clusters
E
EJB
EJB profile
email notifications
Email Profile
enable profile
enableSystemResource
Enterprise (EJB) profile enum
Event Tree File exportDiagnosticData
exportDiagnosticDataFromServer
extended monitoring
extension module
F file-based archives
Flight Recorder
G
getAvailableCapturedImages
H
harvester
, harvester metrics
Harvester subsystem
harvester watch
Harvester watches
HarvesterManagerRuntime
hierarchy
|
I
image capture ,
images instrumentation
Instrumentation
Instrumentation subsystem
instrumentation watch Integration
profile
J
JDBC based archives
JMS Messaging Profile JMX client
JMX implementation
JRockit JRockit Flight Recording
L
listSystemResourceControls
log watch
Log watches
logger lookupNotification
M
Merging Data
Messaging profile
metrics MissionControl monitoring
Monitoring dashboard
N
notification
notification listener
notifications
, , , ,
O
Offline Access
Online Access
P
pointcut
POJO objects profile
manager
Profile Manager
profiles ,
R
refresh Resource
profile
retirement policy
Runtime Control subsystem
runtime MBean tree
runtime MBeans
S
saveDiagnosticImageCaptureEntryFile
saveDiagnosticImageCaptureFile
Server Core profile
server state
SMTP messaging
SNMP notifications
SNMP Profile stuck
threads subject matter
profiles
T
target
timeline
Transaction Profile
U
UAT
untarget
user acceptance testing
utility library
V
Virtual machine Profile
|
Errata:
Reader Comments:
|
|
|
|