best practices for managing oracle weblogic server with ......best practices for managing oracle...
Post on 17-Mar-2020
16 Views
Preview:
TRANSCRIPT
Best Practices for Managing Oracle WebLogic Server with Oracle Enterprise Manager 12 [CON8178] Nicole Haba Senior Principal Product Manager at Oracle Sushaant Mujoo Specialist Systems Administrator at Amgen September 29, 2014
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Challenges
Solution
Best Practices
Customer Success Story
Questions & Answers
1
2
3
4
5
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Challenges
Solution
Best Practices
Customer Success Story
Questions & Answers
1
2
3
4
5
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Domain Dev
Challenges
Domain Test
Domain Test Domain Test
Domain Prod
Domain Prod
Domain Dev
Domain Prod
Admin
Too many ongoing tasks to perform on a domain-
by-domain basis!
Too many issues requiring immediate attention and time-consuming, manual
intervention!
Too many administration
consoles!
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Challenges
Solution
Best Practices
Customer Success Story
Questions & Answers
1
2
3
4
5
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Total Cloud Control
Optimized, Efficient Agile, Automated | |
Expanded Cloud Stack Management
Scalable, Secure
Superior Enterprise-Grade Management
Complete Cloud Lifecycle Management
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Monitoring & Diagnostics
Configuration Management
Lifecycle Management
Administration
Cloud Control 12c for WebLogic Management
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Monitoring & Diagnostics
Target Management Best Practices
Multiple Domain Discovery
Out-of-box Monitoring & Metric Extensions
Administration Groups & Template Collections
Incident & Problem Management
Business Application Management
Middleware Diagnostics Advisor
JVM Diagnostics
Multi-Domain Log Viewer and Search
Cloud Control 12c for WebLogic Management
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Configuration Management
Cloud Control 12c for WebLogic Management
Compare Configurations
Automated Asset Discovery
Search Configurations
Synchronize Configurations
Custom Configurations
Config Change History
Correlate Performance Changes with Configuration Changes
Compliance Management
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Lifecycle Management
Cloud Control 12c for WebLogic Management
Scale Up/Out Clusters
Provision Homes & Domains
Patch Recommendations
Deploy/Undeploy Java Apps
Clone Homes & Domains
Apply Patches
Disaster Recovery Support Workbench
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Administration
Cloud Control 12c for WebLogic Management
Record Operations as WLST Script
Credential Management
JDBC Data Source Mgmt
Configure Domain, Cluster, Server, Machine
Change Center
System MBean Browser
Schedule & Track WLST Scripts Process Control
Configure Log File Settings Selective Tracing
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Cloud Control 12c for WebLogic Management
Automate responses to issues via corrective
actions!
Domain Dev
Domain Dev
Dev Group
Use Cloud Control as single
administration console!
Perform tasks across multiple domains via
predefined jobs!
Cloud Control
Admin
Configure JDBC data source
Take thread dump and restart WLS
Domain Prod
Domain Prod
Domain Prod
Prod Group
Domain Test
Domain Test
Domain Test
Test Group
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Challenges
Solution
Best Practices
Customer Success Story
Questions & Answers
1
2
3
4
5
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Best Practice #1 Use Cloud Control as Single Administration Console
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
• Administration and configuration operations integrated into Cloud Control
• Provide credentials once and save as preferred credentials which improves overall security and tracking
• Lock domain configuration to prevent others from making changes during your edit session
• Record actions to automatically generate WLST scripts for future usage
• Audit WebLogic specific operations to track who is doing what and when
Use Cloud Control as Single Administration Console
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Evolution of Cloud Control as Single Administration Console
Administration Operation Supported Fusion Middleware Plug-in Versions
12.1.0.1 12.1.0.2 12.1.0.3 12.1.0.4 12.1.0.5 12.1.0.6 Future
Start/stop/restart processes X X X X X X X
Deploy/redeploy/undeploy Java EE app X X X X X X X
System MBean Browser X X X X
JDBC data source management X X X X
Change Center X X X X
Selective tracing X X X X
Configure log file settings X X X X
Record actions as WLST scripts X X X X
Configure domain, cluster, server, machine X X
Configure server template X X
Configure application deployments X
Configure JMS X
Configure security X
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Best Practice #2 Automate Tasks Across Multiple Domains via Predefined Jobs
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
• Job is unit of work to automate commonly-run tasks
– Schedule immediately or in future; run once or repeating
– Track progress of job status and receive notifications of problems
• WLST Script job type – Run WLST online commands to manage domain configuration, view performance
data or manage security data
– Accepts WLST command or fully-qualified script file located on remote host
– Submit job against one or more domains, WebLogic Servers or groups
• Fusion Middleware Process Control job type – Start/stop/restart via Administration Server, default script or custom script
– Submit job against one or more domains, WebLogic Servers, Application Deployments or other Fusion Middleware components
Automate Tasks Across Domains via Predefined Jobs
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Automate Tasks Across Domains via Predefined Jobs
Admin
How can Cloud Control help me to create a JDBC
data source across domains?
1. Navigate to a domain needing new data source
2. Start recording actions via Change Center
3. Create JDBC data source via intuitive wizard
4. Stop recording
5. Create new WLST Script job using generated .PY file
6. Submit job against multiple domains
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
• Create global named credentials for domain administration credentials and host credentials
– If passwords change on monthly basis, only need to change named credential; do not need to change jobs or WLST script itself
• Enable events for jobs
– Base events on severity of status, status values and specific targets
– Allows creation of incidents and e-mail notifications for job events • Create incident rules for only those job events that are meaningful and actionable
Automate Tasks Across Multiple Domains via Predefined Jobs
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Best Practice #3 Automate Responses to Issues via Corrective Actions
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
• Corrective actions enable you to specify automated responses to metric alerts
• Include corrective actions in monitoring templates
• Create global named credentials for domain administration credentials
– If passwords change on monthly basis, only need to change named credential; do not need to change jobs or WLST script itself
• Create incident rule for corrective actions to receive notification of failed corrective actions or when problem still exists
Automate Responses to Issues via Corrective Actions
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Challenges
Solution
Best Practices
Customer Success Story
Questions & Answers
1
2
3
4
5
Middleware Management Using Oracle
Enterprise Manager
Sushaant Mujoo
Specialist Systems Administrator
September 29, 2014
27
For additional information about Amgen products, including important safety information, please visit amgen.com; Kyprolis® (carfilzomib) is developed and marketed (except in Japan) by Onyx
Pharmaceuticals, an Amgen subsidiary; NEXAVAR® (sorafenib) is developed and marketed under collaboration and co-promotion agreements between Bayer Healthcare and Onyx Pharmaceuticals
28
IT Landscape
• Heterogeneous IT Environment (e.g. Oracle, JBoss, Apache, Microsoft,
Linux)
• Multiple mission critical systems across Research, Development, Information
Management, Sales, etc.
• Deep & Diverse Technology Platforms (e.g. Exalytics, NetApp, Informatica)
• Multiple Data Centers
• Large Shared Middleware Infrastructure
– 865 WebLogic Instances hosting 110+ applications across 220+ Domains on 80+
Servers
– 290+ Apache HTTP Servers & 170+ iPlanet Web Servers across 70+ Servers
29
Challenges
• Too many tools being used for managing entire IT landscape
• Incomplete, inconsistent, and reactive monitoring
• Too much manual effort
• Lack Operations Planning
30
Reasons for Moving to
Enterprise Manager Cloud Control 12c
• Provides single view of entire environment
• Provides Enterprise standard and holistic monitoring solution
• Provides proactive rather than reactive solution to potential problems
• Enables self service, reporting and dashboarding
• Allows for Operations Planning
31
Enterprise Manager Cloud Control 12c Deployment
• Migrated Enterprise Manager 11g to 12c Release 2 to manage multiple
environments – Dev, Test, Prod, Disaster Recovery
– Management Services 12.1.0.2 on RedHat Linux with Oracle level 4 Maximum
Availability Architecture configured
– Management Repository in Two Node RAC DB 11.2.0.3 on RedHat Linux
– Management Agents 12.1.0.2 on RedHat Linux, Windows, Solaris
– Fusion Middleware Plug-in 12.1.0.3.0
– Upgraded Dev environment to Enterprise Manager Cloud
Control 12c Release 4 in August 2014; Production upgrade planned for 2015
32
Enterprise Manager Cloud Control 12c Deployment
EMCLI
DNS Alias
Shared software
library
Vip
Repository
database
shared software library
Vip
Repository
database
Data Guard
Netapp Snap
Mirror
OMS1 OMS2
VCS DB node 1 VCS DB node 2 VCS DB node 1 VCS DB node 2
OMS1 OMS2
Active
Site
Standby
Site
33
Enterprise Manager Cloud Control 12c Deployment
• Currently monitoring:
– 110 applications
– 550 WebLogic Servers (12cR1, 11gR1, 10gR3, 9.2)
– 166 Apache HTTP Servers (2.2.15, 2.2.30)
– 980 Oracle Databases to support applications (11.2.0.4, 10g, 9.2.0.8)
– 500 Oracle Listeners
– 680 Hosts (RedHat Linux 4/5/6, Solaris 9/10, Windows 2008)
• Seven administrators managing WebLogic environment with Enterprise
Manager
34
Key Use Cases
• Enterprise Manager Command Line Interface (EMCLI)
• Dynamic Groups
• Monitoring Templates
• Incident Rules
• Reporting
• JVM Diagnostics
• Apache HTTP Server Monitoring
35
Key Use Cases - EMCLI
• Installed on majority of servers
• Helps to automate common operations:
– Discovering and refreshing WebLogic Domain targets
– Updating target information (e.g. post patching or password change)
– Fixing target issues (e.g. relocation of targets)
36
Key Use Cases – Dynamic Groups
• Newly discovered targets automatically added to dynamic group based on
target properties (i.e. lifecycle status)
– Separate dynamic group based on target type for Management Agents
• Effective for reporting
37
Key Use Cases – Monitoring Templates
• Single template used for all environments
• Customized based on application & business unit
• Used with Dynamic Groups that span different target types (e.g. WebLogic
Server, Cluster, Apache HTTP Server)
• Common Thresholds
– Application Client Processing Time
– All Work Manager Stuck Thread Count
– Data Source – Available Connections, Connection in Use
– CPU Usage, Heap Usage
– Thread Pool – Hogging Threads
• Ability to customize for individual application
38
Key Use Cases – Incident Rules
• Integrated with other tools via SNMP
• Custom incident rules for special applications
• Business Application Support notified for proactive analysis
39
Key Use Cases – Reporting
• Out-of-box Information Publisher Reports made “Public” to serve as
“Operational Dashboard”
• Huge savings in operational man hours
40
Key Use Cases – Reporting
• Custom App written in
Oracle Application Express
• Queries published views
from Management
Repository for custom
capacity planning
• Organized by Sites,
Business Units, etc.
41
Key Use Cases – JVM Diagnostics
• Enabled for performance testing
• Configured in production for key applications
• Saves significant man hours in diagnosing problems
42
Key Use Cases – Apache HTTP Server Monitoring
• Notified of when Apache HTTP Server goes down
• Better than port or TCP tests in terms of consistency
43
Next Steps
• Monitor non-Oracle middleware (e.g. JBoss, Apache Tomcat)
• Leverage predefined WLST Script job type to automate common
administrative operations
– Providing Console Access, Manipulating Mbeans
• Provision WebLogic software and configurations
– Standard Image
• Patch WebLogic Servers across multiple domains
• Integrate with other IT systems with EM using REST APIs
• Integrate with DevOps story
44
Recommendations
• Consider the following when defining your nomenclature and topology:
– Size of SNMP trap message
– Size of text message
– Parsing effort
– If text messages sent internationally
• Use EMCLI to reduce manual involvement in common operations
• Do not grant all Enterprise Manager administrators ‘super administrator’
privilege; segregate responsibilities by granting specific roles and privileges
to administrators
45
Recommendations
• Experiment with thresholds before finalizing
• Ensure standardization by avoiding multiple incident rules in environment
• Don’t be afraid of writing SQL against Management Repository views to
generate helpful, time-saving custom reports
• Enable JVM Diagnostics to diagnose performance problems in production
more quickly
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Challenges
Solution
Best Practices
Customer Success Story
Questions & Answers
1
2
3
4
5
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Oracle Enterprise Manager One-Hour Hands-On Labs
ID Title Day Time Location
HOL9528 Private Cloud Self-Service, Oracle Fusion Middleware PaaS with Oracle Enterprise Manager 12c
Tuesday 3:45 PM – 4:45 PM Hotel Nikko Ballroom I
HOL9509 Oracle Enterprise Manager 12c: Oracle WebLogic Server and SOA Diagnostics and Administration
Tuesday 5:15 PM – 6:15 PM Hotel Nikko Ballroom I
HOL9509 Oracle Enterprise Manager 12c: Oracle WebLogic Server and SOA Diagnostics and Administration
Thursday 11:30 AM – 12:30 PM Hotel Nikko Ballroom I
HOL9528 Private Cloud Self-Service, Oracle Fusion Middleware PaaS with Oracle Enterprise Manager 12c
Thursday 1:00 PM – 2:00 PM Hotel Nikko Ballroom I
47
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Oracle Enterprise Manager Demos
Title Location
Oracle WebLogic Server and Oracle Coherence Management with Oracle Enterprise Manager 12c Moscone South SLM-107
SOA and Service Bus Management with Oracle Enterprise Manager 12c Moscone South SLM-140
End User Monitoring and Diagnostics with Oracle Enterprise Manager 12c Moscone South SLM-109
Identity Management Monitoring with Enterprise Manager 12c Moscone South SLM-141
Middleware PaaS in Private Cloud with Oracle Enterprise Manager 12c Moscone South SLM-111
Oracle Applications and Business Intelligence Management with Oracle Enterprise Manager 12c Moscone West WLL-023
Application and Infrastructure Testing Moscone West WLL-020
48
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Oracle Enterprise Manager Technical Sessions ID Title Day Time Location
CON3111 Set Up Oracle Real User Experience Insight 12c to Monitor Oracle WebLogic Applications’ UX
Monday 4:00 PM - 4:45 PM Moscone South - 250
CON8212 Oracle Management Pack Plus for Identity Management Best Practices and Lessons Learned
Monday 4:00 PM - 4:45 PM Moscone South - 200
CON5983 Full Visibility into Oracle WebLogic/Java Diagnostics with Oracle Enterprise Manager 12c
Monday 5:15 PM - 6:00 PM Moscone South - 200
CON8214 Maximizing Reliability of Oracle Business Intelligence Enterprise Edition and Oracle Exalytics
Monday 5:15 PM – 8:00 PM Moscone South – 262
CON7817 Oracle WebLogic Server Management: Simplified, Centralized, and Automated Tuesday 3:45 PM – 4:30 PM Moscone West - 3016
CON4045 Provision Oracle Fusion Middleware Faster with Oracle Enterprise Manager 12c Tuesday 3:45 PM – 4:30 PM Moscone West - 3016
CON8173 Management of Oracle SOA Suite and Oracle Service Bus with Oracle Enterprise Manager 12c
Wednesday 10:15 AM - 11:00 AM Moscone South - 200
CON2927 Oracle Enterprise Manager 12c: Maximize ROI via a Single Pane of Glass Across a Data Center
Wednesday 11:30 AM - 12:15 PM Moscone South - 200
CON5489 Deploy Oracle Fusion Middleware as a Service (MWaaS) on a Shared-Services Cloud Wednesday 12:45 PM - 1:30 PM Moscone South - 309
CON8130 Deployment Best Practices for Private Cloud: Fast Track to DBaaS and MWaaS Wednesday 2:00 PM - 2:45 PM Moscone South - 301
49
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Oracle Enterprise Manager Technical Sessions ID Title Day Time Location
CON8273 Management and Monitoring of Oracle Tuxedo: Integrated, Automated Thursday 9:30 AM - 10:15 AM Marriott Marquis - Salon 14/15
CON7940 Building an On-Premises Java Cloud: Oracle WebLogic Server and Oracle Enterprise Manager
Thursday 9:30 AM - 10:15 AM Moscone South - 200
CON7718 Managing and Monitoring Oracle GoldenGate Thursday 1:15 PM - 2:00 PM Moscone South - 302
CON8045 Shake, Rattle, and Roll: Managing Large-Scale Identity Management Deployments Thursday 2:30 PM – 3:15 PM Moscone West - 3020
50
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
top related