Carlos_Martinez ChaconD80149GC12_sg.pdf - Unauthorized reproduction or distribution prohibited\u0e3a Copyright\u00a9 2014 Oracle and\/or its affiliates\u0e3a Aula

Carlos_Martinez ChaconD80149GC12_sg.pdf - Unauthorized...

This preview shows page 1 out of 602 pages.

You've reached the end of your free preview.

Want to read all 602 pages?

Unformatted text preview: Unauthorized reproduction or distribution prohibitedฺ Copyright© 2014, Oracle and/or its affiliatesฺ Aula Matriz SฺAฺSฺ s a h ) m o ilฺc ideฺ a gm t Gu @ 18 uden 0 2 t z S e n s i i rt e th a m (cฺ to us n o se c a h icen C l z e e l n rti ferab a M ns s o l r tra a n C no Oracle WebLogic Server 12c: Administration I Student Guide D80149GC12 Edition 1.2 | Dec 2014 | D89599 Learn more from Oracle University at oracle.com/education/ a Unauthorized reproduction or distribution prohibitedฺ Copyright© 2014, Oracle and/or its affiliatesฺ Aula Matriz SฺAฺSฺ Authors Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Bill Bell Elio Bonazzi TJ Palazzolo Steve Friedberg Disclaimer Technical Contributors and Reviewers This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy and print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any way. Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print, display, perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express authorization of Oracle. Will Lyons The information contained in this document is subject to change without notice. If you find any problems in the document, please report them in writing to: Oracle University, 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not warranted to be errorfree. Serge Moiseev Restricted Rights Notice Mark Lindros Matthew Slingsby Angelika Krupp Kevin Tate Takyiu Liu If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United States Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS The U.S. Government’s rights to use, modify, reproduce, release, perform, display, or disclose these training materials are restricted by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract. a s a Trademark Notice )h Radek Felcman m ฺcoOther enames Oracle and Java are registered trademarks of Oracle and/or its affiliates. ฺ may be l Matt Heimer i a trademarks of their respective owners. d i Saskia Nehls gm t Gu @ Juan Adauco Quezada 18 uden 0 Eric Gross 2 t z S e n s i i rt e th a Graphic Editor m (cฺ to us Seema Bopaiah n o se c a h icen C Editor l z e e l Raj Kumar n rti ferab a M ns s Publishers o l r Fernandez tra a n Joseph C no Michael Sebastian Almeida Jenny Wongtangswad Juan Quezada Jayanthy Keshavamurthy Aula Matriz SฺAฺSฺ Unauthorized reproduction or distribution prohibitedฺ Copyright© 2014, Oracle and/or its affiliatesฺ Contents 1 Course Overview Objectives 1-2 Target Audience 1-3 Introductions 1-4 Course Schedule 1-5 Course Practices 1-7 Classroom Guidelines 1-8 For More Information 1-9 Related Training 1-10 s a h ) m o 2 WebLogic Server: Overview ilฺc ideฺ a Objectives 2-2 gm t Gu Distributed Systems 2-3 @ 18 uden 0 Java Platform Enterprise Edition 2-4 2 t z S e Oracle WebLogic Server 2-5 n s i i rt e th a JVM 2-7 m (cฺ to us (Possible) System Architecturen 2-8 o c WebLogic Server Domain 2-9 nse a Ch2-10 lice Administration Server z le ne r2-11 i b ManagedrServers t a a e Node Managersf2-12 M s n rloMachines traand Clusters 2-13 a n C WebLogic Server Application Services 2-14 no WebLogic Server Application: Example 2-15 WebLogic Server Administrative Tools 2-16 WebLogic Server Administration Console 2-18 WLST 2-19 WLDF 2-22 WLDF Monitoring Dashboard 2-23 Enterprise Manager Cloud Control 2-24 Quiz 2-25 Summary 2-27 iii a Aula Matriz SฺAฺSฺ Unauthorized reproduction or distribution prohibitedฺ Copyright© 2014, Oracle and/or its affiliatesฺ 3 Installing and Patching WebLogic Server Objectives 3-2 Determining Supported System Configurations 3-3 Ensuring Your System Meets Requirements 3-4 When Not All FMW Is the Same Version 3-5 WebLogic Server Installers 3-6 Generic Installers 3-7 What Is Oracle Coherence? 3-9 FMW Installation Flow 3-10 WebLogic Server Installation Modes 3-11 Installing WebLogic Server on Linux (Graphical Mode) 3-12 Installation Problems 3-18 Sample Installation Directory Structure 3-19 Uninstalling WebLogic Server 3-20 Applying Patches by Using OPatch 3-21 Quiz 3-22 Summary 3-24 Practice 3-1 Overview: Installing WebLogic Server 3-25 Practice 3-2 Overview: Patching WebLogic Server 3-26 s a h ) m o ilฺc ideฺ a gm t Gu @ 18 uden 0 2 t z S e n s i i rt e th 4 Creating Domains a m Objectives 4-2 (cฺ to us n Domain Planning Questions o4-3 se c a hVirtualicHost Virtual IP Address and enName 4-6 C l z Domain Mode: eDevelopment le 4-7 n i b t a r DomainaMode: Production 4-8 er f M s s tCreation an Tools 4-9 r rloDomain a Are Created from Templates 4-10 C Domains non Domains Creating 4-11 Where to Place the Domain 4-12 Creating a Domain with the Configuration Wizard 4-13 Admin Server Listen Address 4-20 Creating a Domain with the Configuration Wizard 4-21 Domain File Structure 4-29 Creating a Domain to Support FMW Components 4-30 The Domain on Other Hardware 4-32 Creating the Domain Archive: Pack 4-33 Using the Domain Archive: Unpack 4-34 Quiz 4-35 Summary 4-37 Practice 4-1 Overview: Creating a New Domain 4-38 Practice 4-2 Overview: Copying a Domain to a New Machine 4-39 iv a Aula Matriz SฺAฺSฺ Unauthorized reproduction or distribution prohibitedฺ Copyright© 2014, Oracle and/or its affiliatesฺ 5 Starting Servers Objectives 5-2 WebLogic Server Life Cycle 5-3 Starting WebLogic Server with a Script 5-5 Customizing the Scripting Environment 5-6 Creating a Boot Identity File 5-8 Stopping WebLogic Server 5-9 Suspend and Resume 5-10 Customizing Standard Scripts 5-11 WebLogic Server Options 5-12 Changing the JVM 5-14 JVM Options 5-15 Modifying the CLASSPATH 5-16 WebLogic Server Startup Issues 5-19 Failed Admin Server 5-20 Restarting a Failed Admin Server: Same Machine 5-21 Restarting a Failed Admin Server: Different Machine 5-22 Restarting a Failed Managed Server: Same Machine 5-23 Restarting a Failed Managed Server: Different Machine 5-24 Quiz 5-25 Summary 5-27 Practice 5-1 Overview: Starting and Stopping Servers 5-28 s a h ) m o ilฺc ideฺ a gm t Gu @ 18 uden 0 2 t z S e n s i i rt e th a m (cฺ to us n o se c a 6 Using the Administration Console h icen C l z Objectives 6-2 e e l n i Administration b Console 6-3 a rtthe Accessing r a e f M nsConsole Administration Login 6-4 s o a l r r t 6-5 nNavigation Ca Basic o n Tabular Data 6-6 Customizing a Table 6-7 Admin Console Preferences 6-8 Advanced Console Options 6-10 Administration Console Change Center 6-12 Admin Console: Creating Domain Resources 6-13 Creating a Resource Example: New Server 6-14 Modifying a Resource Example: Server 6-17 Admin Console: Monitoring Domain Resources 6-19 Admin Console: Controlling Domain Resources 6-20 Enterprise Manager Cloud Control 6-21 Quiz 6-23 Summary 6-25 Practice 6-1 Overview: Using the Administration Console for Configuration 6-26 v a Aula Matriz SฺAฺSฺ Unauthorized reproduction or distribution prohibitedฺ Copyright© 2014, Oracle and/or its affiliatesฺ 7 Configuring JDBC Objectives 7-2 JDBC: Overview 7-3 WebLogic JDBC Drivers 7-4 Global Transactions: Overview 7-5 Two-Phase Commit 7-6 JDBC Data Source 7-7 Java Naming and Directory Interface (JNDI) 7-9 JNDI Duties of an Administrator 7-10 Deployment of a Data Source 7-11 Targeting of a Data Source 7-12 Types of Data Sources 7-13 Creating a Generic Data Source 7-14 Non-XA Driver Transaction Options 7-17 Creating a Generic Data Source 7-18 Connection Pool Configuration 7-21 Connection Properties 7-23 Testing a Generic Data Source 7-24 Oracle Real Application Clusters: Overview 7-25 GridLink Data Source for RAC 7-26 GridLink, FCF, and ONS 7-27 GridLink and Services 7-28 GridLink and Single Client Access Name (SCAN) 7-29 Creating a GridLink Data Source 7-30 Common Data Source Problems 7-36 Basic Connection Pool Tuning 7-40 Quiz 7-43 Summary 7-45 Practice 7-1 Overview: Configuring a JDBC Data Source 7-46 s a h ) m o ilฺc ideฺ a gm t Gu @ 18 uden 0 2 t z S e n s i i rt e th a m (cฺ to us n o se c a h icen C l z e e l n rti ferab a M ns s o l r tra a n C no 8 Monitoring a Domain Objectives 8-2 WebLogic Server Logs 8-3 WebLogic Server Log Locations 8-5 Log Message Severity Levels 8-6 Understanding Log File Entries 8-8 Accessing the Logs from the Admin Console 8-9 Configuring Server Logging 8-11 Error Messages Reference 8-14 Log Filters 8-15 Creating a Log Filter 8-16 vi a Unauthorized reproduction or distribution prohibitedฺ Copyright© 2014, Oracle and/or its affiliatesฺ Aula Matriz SฺAฺSฺ Applying a Log Filter 8-19 Subsystem Debugging 8-20 Debug Scopes 8-21 Debug Scopes: Examples 8-22 Admin Console: Monitoring Domain Resources 8-23 Monitoring the Domain 8-24 Monitoring All Servers 8-25 Monitoring Server Health 8-26 Monitoring Server Performance 8-27 Monitoring Data Source Health 8-28 Example Data Source Performance Attributes 8-29 JMX, MBeans, Managing, and Monitoring 8-30 Monitoring Dashboard 8-31 Monitoring Dashboard Interface 8-32 Views 8-33 Built-in Views 8-34 Creating a Custom View 8-35 Anatomy of a Chart 8-36 Current or Historical Data 8-37 Quiz 8-38 Summary 8-40 Practice 8-1 Overview: Working with WebLogic Server Logs 8-41 Practice 8-2 Overview: Monitoring WebLogic Server 8-42 s a h ) m o ilฺc ideฺ a gm t Gu @ 18 uden 0 2 t z S e n s i i rt e th a m (cฺ to us n o se c a h icen C l z e e l 9 Node Manager n rti 9-2 ferab a Objectives M ns s Node Manager o l r tra 9-3 a n C Two o Types of Node Manager 9-5 n Node Manager Architecture: Per Machine 9-6 Node Manager Architecture: Per Domain 9-7 How Node Manager Starts a Managed Server 9-8 How Node Manager Can Help Shut Down a Managed Server 9-9 Configuration Wizard and Node Manager 9-10 Configuring the Java-Based Node Manager 9-12 Configuring Server Start and Health Monitoring Parameters 9-13 Configuring the Java-Based Node Manager 9-15 Other Node Manager Properties 9-17 Node Manager Files 9-18 Enrolling Node Manager with a Domain 9-21 When Not to Use nmEnroll() 9-22 Reminder: Pack 9-23 vii a Unauthorized reproduction or distribution prohibitedฺ Copyright© 2014, Oracle and/or its affiliatesฺ Aula Matriz SฺAฺSฺ Reminder: Unpack 9-24 Controlling Servers Through Node Manager 9-25 Node Manager: Best Practices 9-26 Quiz 9-28 Summary 9-30 Practice 9-1 Overview: Configuring and Using Node Manager 9-31 10 Deploying Applications Objectives 10-2 Deploying Applications to WebLogic Server 10-3 Software Life Cycle and WebLogic Server 10-4 Java EE Deployments 10-5 WebLogic Server Deployments 10-6 Other Deployments 10-7 Deployment Terms 10-9 Deployment Descriptors 10-12 Deployment Plans 10-13 Exploded Versus Archived Applications 10-14 Autodeploy 10-15 Server Staging Mode 10-16 WebLogic Server Deployment Tools 10-17 Starting and Stopping an Application 10-19 Deploying an Application 10-21 Undeploying an Application 10-26 Redeploying an Application 10-28 Monitoring Deployed Applications: Admin Console 10-30 Monitoring Information Available from the Admin Console 10-31 Monitoring Deployed Applications: Monitoring Dashboard 10-32 Application Errors 10-33 Application Testing 10-34 Performance Testing Methodology 10-35 Load and Stress Testing 10-36 Load Testing Tools 10-37 The Grinder 10-38 The Grinder Architecture 10-39 The Grinder Proxy 10-40 Agent Properties 10-41 The Grinder Console 10-42 Finding Bottlenecks 10-43 Correcting Bottlenecks 10-44 Quiz 10-46 s a h ) m o ilฺc ideฺ a gm t Gu @ 18 uden 0 2 t z S e n s i i rt e th a m (cฺ to us n o se c a h icen C l z e e l n rti ferab a M ns s o l r tra a n C no viii a Aula Matriz SฺAฺSฺ Unauthorized reproduction or distribution prohibitedฺ Copyright© 2014, Oracle and/or its affiliatesฺ Summary 10-48 Practice 10-1 Overview: Deploying an Application 10-49 Practice 10-2 Overview: Load Testing an Application 10-50 11 Network Channels and Virtual Hosts Objectives 11-2 Default WebLogic Networking 11-3 Additional Networking Scenarios 11-5 Dedicating Network Interfaces to Specific Servers 11-6 Using Multiple Ports on a Single Server 11-7 Isolating Administrative Communication 11-8 Isolating Cluster Communication 11-9 Network Channel 11-10 Channel Selection 11-11 Creating a Channel 11-12 Channel Network Settings 11-15 Monitoring Channels 11-16 Administration Port 11-17 Configure the Domain’s Administration Port 11-18 Server Override of the Administration Port 11-19 Server Standby Mode 11-20 Virtual Host 11-21 Create a Virtual Host 11-22 Configure a Virtual Host 11-23 Configure a Virtual Host in DNS or the hosts File 11-24 Deploy to a Virtual Host 11-25 Run the Application Using the Virtual Host 11-26 Quiz 11-27 Summary 11-29 Practice 11-1 Overview: Configuring a Network Channel 11-30 Practice 11-2 Overview: Configuring the Administration Port 11-31 Practice 11-3 Overview: Creating a Virtual Host 11-32 s a h ) m o ilฺc ideฺ a gm t Gu @ 18 uden 0 2 t z S e n s i i rt e th a m (cฺ to us n o se c a h icen C l z e e l n rti ferab a M ns s o l r tra a n C no 12 Clusters – Overview, Creation, and Configuration Objectives 12-2 Cluster: Review 12-3 Benefits of Clustering 12-5 Basic (Single-Tier) Cluster Architecture 12-6 Multi-Tier Cluster Architecture 12-7 Architecture Advantages and Disadvantages 12-8 Cluster Communication 12-10 ix a Unauthorized reproduction or distribution prohibitedฺ Copyright© 2014, Oracle and/or its affiliatesฺ Aula Matriz SฺAฺSฺ Creating a Cluster: Configuration Wizard 12-12 Creating a Cluster: Administration Console 12-13 Adding Servers to the Cluster: Administration Console 12-14 Server Templates and Dynamic Clusters 12-15 Creating a Dynamic Cluster 12-17 Editing the New Dynamic Cluster 12-21 Editing the New Server Template 12-22 Dynamic Server Calculated Attributes 12-23 Dynamic Server Calculated Attributes: Example 12-25 Comparing Configured and Dynamic Clusters 12-26 Creating a Server Template 12-27 Server Templates and Configured Servers 12-29 Quiz 12-30 Summary 12-32 Practice 12-1 Overview: Configuring a Cluster 12-33 Practice 12-2 Overview: Configuring a Dynamic Cluster 12-34 s a h ) m o ilฺc ideฺ a gm t Gu 13 Clusters – Proxies and Sessions @ 18 uden Objectives 13-2 0 2 t z S A Cluster Proxy for a Web Application Clustern13-3 e s i i rt e th Proxy Plug-Ins 13-4 a m us Oracle HTTP Server (OHS) 13-5(cฺ o n t o (PartsofeOracle Web Tier): Overview 13-6 Installing and Configuring OHS c a n 13-8 h Cluster eProxy Configuring OHS asC the c i l z emod_wl_ohs.conf le httpd.conf and 13-9 n i b t a r r a mod_wl_ohs.conf M nsfe 13-10 s rloSomen-Plug-in tra Parameters 13-11 a C Starting o and Stopping OHS 13-13 n Verifying that OHS Is Running 13-14 Failover: Detecting Failures and the Dynamic Server List 13-15 HTTP Session Failover 13-17 Configuring Web Application Session Failover: weblogic.xml 13-18 In-Memory Session Replication 13-21 In-Memory Replication: Example 13-22 Configuring In-Memory Replication 13-25 Machines 13-26 Secondary Server and Replication Groups 13-27 Replication Groups: Example 13-28 Configuring Replication Groups 13-29 File Session Persistence 13-30 Configuring File Persistence 13-31 x a Unauthorized reproduction or distribution prohibitedฺ Copyright© 2014, Oracle and/or its affiliatesฺ Aula Matriz SฺAฺSฺ JDBC Session Persistence 13-32 JDBC Session Persistence Architecture 13-33 Configuring JDBC Session Persistence 13-34 JDBC Persistent Table Configuration 13-35 Configuring a Hardware Load Balancer 13-37 Hardware Load Balancer Session Persistence 13-38 Passive Cookie Persistence and the WebLogic Server Session Cookie 13-39 Quiz 13-40 Summary 13-41 Practice 13-1 Overview: Installing OHS (Optional) 13-42 Practice 13-2 Overview: Configuring a Cluster Proxy 13-43 Practice 13-3 Overview: Configuring Replication Groups 13-44 14 Clusters – Communication, Planning, and Troubleshooting Objectives 14-2 Review: Cluster Communication 14-3 How Multicast Works 14-4 How Unicast Works 14-5 Considerations for Choosing Unicast or Multicast 14-7 Configure Multicast 14-8 Configure Unicast 14-11 Replication Channel 14-12 Configure Replication Channels: Servers 14-13 Configure Replication Channels: Cluster 14-16 Configure Replication Channels 14-17 Planning for a Cluster 14-18 Managing a Cluster 14-22 Troubleshooting a Cluster 14-23 Monitoring a Cluster: Admin Console 14-24 WebLogic Server and OHS Logs 14-25 Common OHS to WLS Connectivity Issues 14-26 Multicast Communication Issues 14-28 Cluster Member Uniformity 14-29 Session Failover Issues 14-30 Quiz 14-31 Summary 14-32 Practice 14-1 Overview: Configuring a Replication Channel 14-33 s a h ) m o ilฺc ideฺ a gm t Gu @ 18 uden 0 2 t z S e n s i i rt e th a m (cฺ to us n o se c a h icen C l z e e l n rti ferab a M ns s o l r tra a n C no xi a Unauthorized reproduction or distribution prohibitedฺ Copyright© 2014, Oracle and/or its affiliatesฺ Aula Matriz SฺAฺSฺ 15 Transactions Objectives 15-2 Transactions and ACID 15-3 Global Transactions, 2PC, and XA 15-5 WebLogic Server as a Transaction Manager 15-6 Transaction States when Committing 15-7 Transaction States when Rolling Back 15-8 Java Transaction API (JTA) 15-9 Configuring Transactions 15-10 JTA Configuration Options 15-11 WebLogic Extension of JTA 15-14 JDBC Reminder 15-15 Logging Last Resource and Performance 15-16 LLR: Example 15-17 Transaction Log (TLog) 15-18 Configuring the Default Store 15-19 Configuring a JDBC Transaction Log 15-20 Comparing File Store to JDBC Store 15-21 Monitoring Transactions 15-22 Viewing Transaction Statistics for a Resource 15-24 Forcing a Commit or Rollback 15-26 Troubleshooting Transactions 15-29 Quiz 15-31 Summary 15-33 Practice 15-1 Overview: Configuring Transaction Persistence 15-34 s a h ) m o ilฺc ideฺ a gm t Gu @ 18 uden 0 2 t z S e n s i i rt e th a m (cฺ to us n o se c a h icen C l z e e l n rti ferab a M ns s 16 WebLogic o l r traServer Security a n C Objectives 16-2 o n Some Security Terms 16-3 Some Security Terms: Graphically 16-4 WebLogic Server Security Realm 16-5 What the Providers Do 16-6 Security Stores 16-9 Default Security Store Implementation 16-10 Default Security Configuration 16-11 Security Customization Approaches 16-12 Authentication Providers 16-13 Available Authentication Providers 16-14 Lightweight Directory Access Protocol (LDAP) 16-16 LDAP Structure 16-17 LDAP Search Operations 16-18 xii a Unauthorized reproduction or distribution prohibitedฺ Copyright© 2014, Oracle and/or its affiliatesฺ Aula Matriz SฺAฺSฺ LDAP Query Basics 16-19 LDAP Authentication Providers 16-20 Available LDAP Authentication Providers 16-21 Creating a New LDAP Authentication Provider 16-22 Configuring the LDAP Provider: Connection 16-23 Configuring the LDAP Provider: Users 16-24 Configuring the LDAP Provider: Groups 16-25 Configuring the LDAP Provider: Subgroups 16-27 Configuring the LDAP Provider: Dynamic Groups 16-28 LDAP Failover 16-29 LDAP Caching 16-30 Multiple Authentication Providers 16-31 Control Flags 16-32 Administration Groups 16-34 Troubleshooting Authentication 16-35 Auditing Provider 16-36 Security Audit Events 16-37 Configuring the Auditing Provider 16-38 Security Realm Debug Flags 16-39 Common LDAP Issues 16-40 Quiz 16-41 Summary 16-44 Practice 16-1 Overview: Configuring an Authentication Provider 16-45 s a h ) m o ilฺc ideฺ a gm t Gu @ 18 uden 0 2 t z S e n s i i rt e th a m (cฺ to us n o se c a h icen C lUpgrading WebLogic Server z e l 17 Backing Upin ae Domainband rt 17-2fera a Objectives M ns s Backup o l ra Recovery 17-3 r tand a n C Backup o Solution 17-4 n Types of Backups 17-6 When to Back Up 17-8 Limitations and Restrictions for Online Backups 17-9 Performing Full Offline Backup 17-10 Performing Full Online Backup 17-12 Impact of Administration Server Failure 17-14 Automatically Backing Up a Domain Configuration 17-15 Recovery Operations 17-16 Directories to Restore 17-19 Recovery After Disaster 17-20 Recovery of Homes 17-21 Recovery of a Managed Server ...
View Full Document

  • Fall '19
  • Java Community Process, Wit, Aula Matriz, gm t Gu

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture