AGENDA Introduction About Weblogic Server Weblogic Server Administration Top Ten Concepts Q & A
Weblogic Server - Introduction #1 in worldwide Application Server Software, with a growth rate 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 Scalability Coherence etc
Specialized. Recognized. Preferred. The right partner makes all the difference. Our Services E-Business Suite Business Intelligence EPM-Hyperion Fusion Middleware Managed Services Oracle University Project Advisory Services Oracle Titan Award Winner 2011 & 2009 2011 Inc. Top Small Company Workplaces Oracle Partnership Oracle Platinum Partner Pillar Partner SOA Business Intelligence Hyperion Oracle University Approved Education Center Oracle University Reseller Oracle Accelerator Implementer Certified OnDemand Implementer Small Business Strategy Council 2012 Inc. 5000 Fastest Growing Companies Oracle Specialized EBS Financial Management EBS Supply Chain Management EBS Human Capital Management BI Applications BI Foundation Service-Oriented Architecture Public Sector 2012 Best & Brightest Companies to Work For
WebLogic System Administration Top 10 Fundamentals Concepts 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
#10 Knowing Administration Console Important Elements Tool Bar Appears on top of Console. Change Center Lock to make any Change in WebLogic Server System Status Reports the Health of system Domain Structure Admin Console Pages Tree Structure
#9 - Weblogic Domains - Fundamentals!! WebLogic Server administration domain is a logically related group of WebLogic Server resources. Domains include a special WebLogic Server instance called the Administration 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 Domain Architecture!! Depending on your particular business needs and system administration practices, you might decide to organize your domains based on criteria such as: - Logical divisions of applications - Physical location - Size
#8- Installation of JVM,WLS, etc. DO NOT use Upper and Lower Case Be consistent between the Paths Use Environment variables consistently JAVA_HOME, DOMAIN_HOME, etc Check for port conflicts before installing and configuring domain Use JRockit as JVM and tune your JVM as per your Application requirements Consistent log file configurations and proper log rotation sequence
#7 Resource Management Mbean Mgmt/SNMP - JDBC - Connection pool waiters - JDBC - Active Connections Current Count - JVM - Heap Size - JVM - Garbage Collection - JMS ConnectionsCurrentCount - JMS MessagesCurrentCount - Threads PendingRequestCurrentCount - Threads - QueueLength Monitoring file system space, CPU and Memory
#6 - Thread Dumps for Troubleshoot & Debug WLS Why Take Thread Dumps? - To understand what is actively executed in the system when under load - When system is sluggish or slow or hangs - Java Virtual Process running but Server or App itself not responding - Pages take forever to load - Response time increases - Application and or Server behavior erratic - Just to observe hot spots (frequently executed code) under load - For Performance tuning & for Dependency analysis - To capture snapshot of running state in server
#6 - Thread Dumps for Troubleshoot & Debug WLS Methods to obtain thread dumps for analysis: - Use WLS Admin Console - Login to AdminConsole >Server > Monitoring > Threads - WLST create.py script - Weblogic.admin (WLS 8.1 and under) java weblogic.admin -url t3://localhost:7001 -username weblogic - password weblogic1 THREAD_DUMP - Jrockit JVM - Oracle/Sun Java JVM jrcmd PID print_threads kill -3 PID - Windows control + break in wls startup cmd script startweblogic.cmd, startmanagedweblogic.cmd - Process Explorer
#5 Log File Management Consistent log locations across environments Shared file system/folder Leverage log rotation properly and efficiently Tools to view logs WLS Admin Console, EM Console, file system access and 3 rd party tools (sawmill for example)
#4 - Back-Up/Restore Server Files 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 configbooted.xml and config-original.xml
#3 - Temporary Files and Cache Management Weblogic creates the temporary files in various temp folders <XYZ>/bea/user_projects/domains/<yourdomai n</servers/<yourserver>/tmp These Cache would often create issues so it would be recommended to delete all files/folders from tmp folders and Restart the server.
#2 Monitoring Server using Weblogic Diagnostic Framework (WLDF) 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. WLDF consists of data creators, data collectors, archive components, accessor component, instrumentation component, watch and notification component, image capture component and monitoring component. It gels well with Jrockit Flight Recorder by providing specific integration points.
#2 Weblogic Diagnostic Framework (WLDF) Watch & Notification 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
#1 Weblogic Diagnostic Framework (WLDF) Dashboard Monitoring Dashboard provides views and tools for graphically presenting diagnostic data about servers & applications
Questions? Comments?
THANK YOU