Post on 04-Jun-2018
8/13/2019 WLS Top10 Concepts
1/24
WebLogic Server System AdministrationTop Ten
Fundamentals Concepts
Session ID# 11579
Scott Brinker, College of American Pathologist
Shyam Kumar, AST Corporation
8/13/2019 WLS Top10 Concepts
2/24
Agenda
Introduction
About WebLogic Server
WebLogic Server AdministrationTop Ten
Concepts
Hands-on
Q & A
8/13/2019 WLS Top10 Concepts
3/24
Introduction -
CAPCollege of American Pathologist the leading
organization of board-certified pathologists, serves patients,
pathologists, and advocating excellence in the practice of
pathology and laboratory medicine
It is the worlds largest association composed exclusively of
board-certified pathologists and is the worldwide leader in
laboratory quality assurance.
Serving more than 18,000 physician members and the
global laboratory community
More than 7,000 laboratories are accredited by the CAP Headquarters located in Northfield (Chicago), IL
Implemented Oracle Middleware stack such as WebCenter
Suite, SOA Suite, BPM Suite, IDM Suite, OBIEE, Hyperion
8/13/2019 WLS Top10 Concepts
4/24
Specialized. Recognized. Preferred.The right partner makes all the difference.
Oracle Titan Award Winner
2011 & 2009
2011 Inc. Top Small
Company Workplaces
2012 Inc. 5000 Fastest
Growing Companies
2012 Best & Brightest
Companies to Work For
Our Services
E-Business Suite
Business Intelligence
EPM-Hyperion
Fusion Middleware
Managed Services
Oracle University
Project Advisory Services
Oracle Partnership
Oracle Platinum Partner
Pillar Partner
SOA
Business Intelligence
Hyperion
Oracle University Approved
Education Center Oracle University Reseller
Oracle Accelerator Implementer
Certified OnDemandImplementer
Small Business Strategy Council
Oracle Specialized
EBS Financial Management
EBS Supply Chain Management
EBS Human CapitalManagement
BI Applications
BI Foundation
Service-Oriented Architecture Public Sector
8/13/2019 WLS Top10 Concepts
5/24
#1 in worldwide Application Server Software, with a growthrate of 11.7%
The Foundation for Oracle Applications and Middleware
Technologies Platform
The Foundation for Cloud Applications and Application
Infrastructure Consolidation
Supported features such as
Monitoring & Management
Scalability/Clustering
Virtual Assembly Builder
Java EE Standards
Enterprise Security
Enterprise Messaging
Linear ScalabilityCoherence etc
WebLogic 10.3.6
WebLogic Server - Introduction
8/13/2019 WLS Top10 Concepts
6/24
How many of you are Business Users
How many of you are Technical Users
How many of you have actively been using WebLogic
Server
A Quick Poll?
8/13/2019 WLS Top10 Concepts
7/24
These are the concepts for WebLogic Server Administration
based on our experience in implementing and supporting
WebLogic Server platform
These are generic concepts that would apply in any Oracle
Middleware Implementations
These are the Tips and Tricks
WebLogic System Administration
Top 10 Fundamentals Concepts
8/13/2019 WLS Top10 Concepts
8/24
How do IThe Panel includes the context sensitive link to Online Help.
Tool BarAppears on top of Console.
Change CenterLock to make any Change in WebLogic Server
Domain StructureAdmin Console Pages Tree Structure
System StatusReports the Health of system
#10 Knowing Administration Console
Important Elements
8/13/2019 WLS Top10 Concepts
9/24
WebLogic Server administration domain is a logically related groupof WebLogic Server resources.
Domains include a special WebLogic Server instance called theAdministration Server, which is the central point from which you
configure and manage all resources in the domain. Contents of a Domain
Administration Server
Managed Servers
Resource Services
#9 - WebLogic Domains - Fundamentals!!
8/13/2019 WLS Top10 Concepts
10/24
Depending on your particular
business needs and system
administration practices, you
might decide to organize yourdomains based on criteria such
as:
Logical divisions of applications
Physical location
Size
#9 - WebLogic Domain Architecture!!
8/13/2019 WLS Top10 Concepts
11/24
DO NOT use Upper and Lower Case
Be consistent between the Paths
Use Environment variables consistentlyJAVA_HOME,DOMAIN_HOME, etc.
Check for port conflicts before installing and configuring domain
Use JRocket as JVM and tune your JVM as per you Application
requirements
Consistent log file configurations and proper log rotation sequence
#8 - Installation of JVM, WLS, etc. Use
standard paths between environments
8/13/2019 WLS Top10 Concepts
12/24
Mbean Mgmt/SNMP
JDBC - Connection pool waiters
JDBC - Active Connections Current Count
JVM - Heap Size
JVM - Garbage Collection
JMSConnectionsCurrentCount
JMSMessagesCurrentCount
ThreadsPendingRequestCurrentCount
Threads - QueueLength
Monitoring file system space, CPU and Memory
#7 Resource Management
8/13/2019 WLS Top10 Concepts
13/24
8/13/2019 WLS Top10 Concepts
14/24
Methods to obtain thread dumps for analysis:
- Use WLS Admin Console - Login to AdminConsole>Server >
Monitoring > Threads
- WLSTcreate .py script- Weblogic.admin (WLS 8.1 and under)
java weblogic.Admin -url t3://localhost:7001 -username weblogic -password weblogic1 THREAD_DUMP
- Jrockit JVM
jrcmd PID print_threads- Oracle/Sun Java JVM
kill -3 PID
- Windowscontrol + break in wls startup cmd scriptstartweblogic.cmd,
startmanagedweblogic.cmd
- Process Explorer
#6 - Thread Dumps for Troubleshoot
& Debug WLS
8/13/2019 WLS Top10 Concepts
15/24
Always take 4 or 5 thread dumps within a 20-25 sec period
Locking States
State Description
blocked This thread has tried to enter a synchronized block, but the lock was taken by another thread.This thread is blocked until the lock gets released.
blocked (on thin lock) This is the same state as blocked, but with the additional information that the lock in questionis a thin lock.
waiting This thread has called Object.wait() on an object. The thread will remain there until some otherthread sends a notification on that object.
sleeping This thread has called java.lang.Thread.sleep().
parked This thread has called java.util.concurrent.locks.LockSupport.park().
suspended The threads execution has been suspended byjava.lang.Thread.suspend() or aJVMTI/JVMPI agent call
#6 - Thread Dumps for Troubleshoot
& Debug WLS
8/13/2019 WLS Top10 Concepts
16/24
Consistent log locations across environments
Shared file system/folder
Leverage log rotation properly and efficiently
Tools to view logsWLS Admin Console , EM Console, file system
access and 3rd party tools (sawmill for example)
#5 Log File Management
8/13/2019 WLS Top10 Concepts
17/24
Perform a full offline backup shutdown all processes- WLS
- Node Managers
- Listeners
- EM and emAgent
- OHS
- WebCache
Perform file system backups using OS tools such as tar: tar -zcvpf backup1.tar ...
Test backup by performing recovery on another computer Configure automatic backup of WLS configuration it will create
config-booted.xml and config-original.xml
#4 - Back-Up/Restore Server Files
http://lh6.ggpht.com/-3U9x3ojryOQ/ToauW74sEqI/AAAAAAAAByg/6mqWmPzHDb4/s1600-h/image%25255B3%25255D.png8/13/2019 WLS Top10 Concepts
18/24
WebLogic creates the temporary files in various temp folders
/bea/user_projects/domains/
8/13/2019 WLS Top10 Concepts
19/24
WebLogic Diagnostics Framework (WLDF) consists of a number of
components that work together to collect, archive, and access
diagnostic information about a WLS Server instance & the
applications it hosts such as
Watches and Notifications - The Watch and Notification component
of the WebLogic Diagnostics Framework (WLDF) provides the means
for monitoring server and application states and then sendingnotifications based on criteria set in the watches
#2 WebLogic Diagnostic Framework
(WLDF)
Watch & Notification
8/13/2019 WLS Top10 Concepts
20/24
A Watch identifies a situation that you want to trap for monitoring or
diagnostic purposes & can be configured to analyze log records, data
and events. A watch is specified as a watch rule, which includes:
- A watch rule expression
- An alarm setting
- One or more notification handlers
A notification is an action that is taken when a watch rule expression
evaluates to true. WLDF supports the following types of notifications:
- Java Management Extensions (JMX)- Java Message Service (JMS)
- Simple Mail Transfer Protocol (SMTP), for example, e-mail
- Simple Network Management Protocol (SNMP)
- Diagnostic Images
#2 WebLogic Diagnostic Framework
(WLDF)
Watch & Notification
8/13/2019 WLS Top10 Concepts
21/24
Monitoring Dashboard provides views and tools for graphically
presenting diagnostic data about servers & applications
#1 WebLogic Diagnostic Framework
(WLDF)
Dashboard
8/13/2019 WLS Top10 Concepts
22/24
WLS11.1.1.6 http://docs.oracle.com/cd/E23943_01/wls.htm
WLS11.1.1.5 http://docs.oracle.com/cd/E21764_01/index.htm
WebLogic Reference Documents
http://docs.oracle.com/cd/E23943_01/wls.htmhttp://docs.oracle.com/cd/E21764_01/index.htmhttp://docs.oracle.com/cd/E21764_01/index.htmhttp://docs.oracle.com/cd/E23943_01/wls.htm8/13/2019 WLS Top10 Concepts
23/24
Questions?
Comments?
8/13/2019 WLS Top10 Concepts
24/24
THANK YOU
Scott Brinker sbrinker@cap.org
Shyam Kumar
skumar@astcorporation.com
mailto:sbrinker@cap.orgmailto:skumar@astcorporation.commailto:skumar@astcorporation.commailto:sbrinker@cap.org