Top Banner
www.inventateq.com [email protected] WEBLOGIC SERVER ADMINISTRATION Prerequisites: Students should have basic understanding of Internet technology. Students should at least know how Java programs are compiled and run. Course Objective: Introduction Introducing Oracle Fusion Middleware Platform Defining Java Enterprise Edition Terminology and Architecture Installing Oracle WebLogic Server 11g Configuring a Simple Domain Configuring a Domain Using Templates Using Administration Console and WLST Configuring Managed Servers Configuring Node Managers Viewing and Managing Logs in Oracle WLS Environment Deployment Concepts Deploying Java EE Applications Advanced Deployment Understanding JDBC and Configuring Data Sources Setting Up Java Message Service (JMS) Resources Introduction to Clustering Configuring a Cluster Managing Clusters Security Concepts and Configuration Protecting Against Attacks Backup and Recovery Operations
21

WEBLOGIC SERVER ADMINISTRATION - inventateq

Mar 21, 2023

Download

Documents

Khang Minh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

WEBLOGIC SERVER ADMINISTRATION

Prerequisites:

Students should have basic understanding of Internet technology.

Students should at least know how Java programs are compiled and run.

Course Objective:

Introduction

Introducing Oracle Fusion Middleware Platform

Defining Java Enterprise Edition Terminology and Architecture

Installing Oracle WebLogic Server 11g

Configuring a Simple Domain

Configuring a Domain Using Templates

Using Administration Console and WLST

Configuring Managed Servers

Configuring Node Managers

Viewing and Managing Logs in Oracle WLS Environment

Deployment Concepts

Deploying Java EE Applications

Advanced Deployment

Understanding JDBC and Configuring Data Sources

Setting Up Java Message Service (JMS) Resources

Introduction to Clustering

Configuring a Cluster

Managing Clusters

Security Concepts and Configuration

Protecting Against Attacks

Backup and Recovery Operations

Page 2: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Course Outline:

Section 1: Introduction

Description:In this module we will be covering the overview of WebLogic Server and a brief

introduction about the prerequisites.

Lessons:

Objectives

Course Prerequisites

Course Objectives Course Schedule

Facilities in Your Location

Summary

Section 2: Introducing Oracle Fusion Middleware Platform

Description:In this module we willsee introduction and overview of Middleware components.

Lessons:

Objectives

Oracle Fusion Middleware

Oracle SOA and Oracle WebCenter Suites

Oracle Identity and Access Management

Oracle Business Intelligence

Oracle Portal, Forms, and Reports

Web Tier Components

Oracle Fusion Middleware Management Infrastructure

Relationship of Fusion Middleware Products to WebLogic Server

Typical Oracle Fusion Middleware Environment

Summary Practice 2 Overview: Logging In to the VMWARE

Page 3: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Section 3: Defining Java Enterprise Edition Terminology and Architecture

Description:In this module we will see the tree structure of JNDI and the architecture of J2EE.

Lessons:

Objectives

Distributed Systems How Standards Help

Java EE Standard

Java EE Architecture

Java Servlets

SimplestServlet.java

JavaServer Pages (JSP)

realsimple.jsp

Enterprise JavaBeans (EJBs)

Java Database Connectivity (JDBC) Java Naming and Directory Interface (JNDI)

JNDI Tree

JNDI Contexts and Subcontexts

Java Transaction API (JTA)

Java Message Service (JMS)

Java Authentication and Authorization (JAAS)

Java Management Extension (JMX)

Java EE Connector Architecture (JCA)

Client Application Web Client

Proxy Server

Web Server

Firewalls

Application Servers

Web Application Server Configuration

Application Server Configuration

Quiz

Summary Practice 3 Overview: Defining Terminology and Architecture

Page 4: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Section 4: Installing Oracle WebLogic Server 11g

Description:In this module we will see how to install Oracle WebLogic server and its modes on Linux platform.

Lessons:

Objectives

Road Map

Oracle WebLogic Server Installation

System Requirements

GUI Mode Installation

Choosing or Creating a Home Directory Registering for Support

Choosing an Installation Type and Products

Choosing the JDK and Product Directory

Installation and Summary

Console and Silent Mode Installations

Postinstallation: Oracle Home

Oracle WebLogic Server Directory Structure

Setting Environment Variables

Defining Environment Variables List of Environment Variables

Documentation

Road Map

Specialized Installations

Downloading Software from OTN

Quiz

Summary

Practice 3 Overview: Installing Oracle WebLogic Server 11g

Page 5: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Section 5: Configuring a Simple Domain

Description:In this module we will see how to configure a simple domain in GUI mode as

well as in command prompt on WebLogic Server.

Lessons:

Objectives

Road Map

Domain: Overview

Domain Diagram

Configuring a Domain

Starting the Domain Configuration Wizard

Creating a Domain Using the Domain Configuration Wizard

Creating a New WebLogic Domain and Selecting the Domain Source Configuring Administrator Settings

Configuring Startup Mode and JDK

Configuring the Administration and Managed Servers

Configuring Clusters and Assigning Servers to Clusters

Creating an HTTP Proxy Application and Configuring Machines

Assigning Servers to Machines

Configuring JDBC Data Sources

Testing Data Source Connections

Running Database Scripts Customizing Application and Service Targeting Configuration

Reviewing the WebLogic Domain

Creating the WebLogic Domain

Domain Directory Structure

Road Map

Oracle WebLogic Server Dependencies

Configuring CLASSPATH

Starting Oracle WebLogic Administration Server

Starting Administration Server Using startWebLogic.sh Starting the Administration Server by Using the java weblogic.Server

Command

Stopping the Administration Server

Quiz

Summary

Practice 5 Overview: Configuring a Simple Domain

Page 6: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Section 6: Configuring a Domain Using Templates

Description:In this module we will see how to configure a domain using templates on

WebLogic Server.

Lessons:

Objectives Road Map

Custom Domain Templates

Domain Template Builder

Creating a Domain Template

Comparing Domain Templates

wls.jar Template

MedRecTemplate.jar Template

Extending an Existing Domain

Select Which Existing Domain to Extend

Select What You Want to Extend it With Resolving Conflicts

Summary Before Extending

Road Map

Templates for SOA, JDeveloper, and Others

oracle.soa_template_11.1.1.jar Template

WLS Configuration in the Context of Other Products in the Fusion Middleware

SOA Installation

Quiz

Summary Practice 6 Overview: Using a Domain Template

Page 7: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Section 7: Using Administration Console and WLST

Description:In this module we will see all the navigation paths in the Administration console

also will see the scripting tool (WLST).

Lessons:

Objectives

Road Map

Benefits of Using the Administration Console

Accessing the Administration Console

Administration Console Login Basic Navigation

Using the Help System

General Administration Console User Preferences

Advanced Console Options

Setting Basic Properties

Administration Console Monitoring

Configuration Change Management

Configuration Change Management Using the Administration Console

ChangeCenter Domain Configuration Repository

Configuration Change Process

Configuration Management Architecture

XML Schema for config.xml

Road Map

WebLogic Scripting Tool (WLST)

Jython

Using Jython

WLST Modes

WLST Example WLST Command Requirements

Running WLST Scripts

Importing WLST as a Jython Module

General WLST Commands

Offline WLST Commands

Creating a Domain: Example

Online WLST Commands

WebLogic JMX: Overview

Page 8: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Navigating JMX MBeans

Generating a WLST Script

Quiz

Summary Practice 7 Overview: Using the Administrative Console and WLST

Section 8: Configuring Managed Servers

Description:In this module we will see how to configure the managed servers on WebLogic

Server.

Lessons:

Objectives

Road Map

Configuring Managed Servers

Creating a Managed Server with WLST

Starting Oracle WebLogic Managed Servers

Starting a Managed Server Using startManagedWebLogic.sh

Command-Line Requirements for Starting the Managed Server Using

javaweblogic.Server

Starting a Managed Server Using the Administration Console Shutting Down a Server

Shutting Down a Domain

Creating a Boot Identity File

Monitoring All Servers

Customizing the View for All Servers

Monitoring Individual Servers

Demonstration

Road Map

Creating a Managed Server on a Remote Computer pack and unpack: Examples

Road Map

Managed Server Independence (MSI)

MSI Search Order

When the Administration Server Is Down

Running Multiple WLS Instances

Quiz

Summary

Practice 8 Overview: Configuring a Managed Server

Page 9: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Section 9: Configuring Node Managers

Description:In this module we will see how to configure Node mangers on WebLogic Server.

Lessons:

Objectives

Road Map

What Node Managers Can Do

Road Map

What Is a Machine?

Relationship of Machines to Other Components

Creating a Machine

Defining Names and OS of Machines

Assigning Servers to a Machine Monitoring Machines and Servers

Configuring a Machine to Use a Node Manager

Node Manager Architecture

How a Node Manager Starts an Administration Server

How a Node Manager Starts a Managed Server

How a Node Manager Restarts an Administration Server

How a Node Manager Restarts a Managed Server

How a Node Manager Shuts Down a Server Instance

Versions of Node Managers Road Map

Node Manager Default Behaviors

Configuring a Java-Based Node Manager

Reconfiguring the Startup Service for a Windows Installation

Node Manager as a UNIX Daemon

Reviewing nodemanager.properties

Configuring a Script-Based Node Manager

Creating Management OS Users

Additional Configuration Information Configuring the nodemanager.domains File

Defining the Administration Server Address

Setting Node Manager Environment Variables

Node Manager Configuration and Log Files

Quiz

Summary

Practice 9 Overview: Configuring Machines and Node Managers

Page 10: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Section 10: Viewing and Managing Logs in Oracle WLS Environment

Description:In this module we will see how to identify and manage Logs in Oracle WebLogic

Server.

Lessons:

Objectives

Road Map

Oracle WebLogic Server Logs

Server and Domain Logs

Configuring Server Logging

Configuring Server Logging: Advanced

HTTP Access Logs

Apache Commons Logging API

Using the Console to View Logs Using WLST to View Logs

Message Attributes

Message Severity

Log Filters

Creating a Log Filter

Applying a Log Filter

Using the Console to Monitor

Monitoring Running Servers

Customizing Views Monitoring Individual Servers

Quiz

Summary

Practice 10 Overview: Viewing and Managing WLS Logs

Page 11: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Section 11: Deployment Concepts

Description:In this module we will see the sample deployments using command-line as

well as using Scripting (WLST) on Oracle WebLogic Server.

Lessons:

Objectives

Overview of Deployment

What Is Deployed?

Deployment Process

Deployment Methods

Deployment Tools

Console Deployment Method Console Deployment Production Mode

Preparing a New Application

Preparing a New Application: Targeting

Preparing a New Application: Settings

Deploying or Undeploying Applications

Redeploying an Application

Starting and Stopping an Application

Editing Deployment Descriptors

Monitoring an Application Application Testing

Deleting Applications

Command-Line Deployment

Deployment with weblogic.Deployer

More weblogic.Deployer Examples

Deploying Applications with WLST

Deploying an Application with WLST

Deployment with WLST

Production Mode Flag Autodeployment

Autodeploying Using an Expanded Directory

FastSwap and On-Demand Deployment

Role of Web Servers

A Typical Web Interaction

MIME Types

HTTP Status Codes

Static Content

Dynamic Content Configuring Oracle HTTP Server to Serve Multiple WebLogic Servers

Page 12: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

mod_wl_ohs.conf

Verifying Ports Used by OHS

Quiz

Summary

Section 12: Deploying Java EE Applications

Description:In this module we will see how to deploy J2EE applications on WebLogic Server.

Lessons:

Objectives

Java EE Web Applications

Packaging Web Applications

Web Application Structure

Web Application Archive

Optional Configuration of Web Applications

web.xml

weblogic.xml

weblogic.xml Deployment Descriptor

URLs and Web Applications

Web Service Applications

Virtual Directory Mappings Virtual Directory Mapping: Example

EJB Applications

Types of EJBs

EJB Application Structure

weblogic-ejb-jar.xml

Administrator Tasks with EJBs

What Is an Enterprise Application?

Typical Java EE System

Java EE Enterprise Application

Why Enterprise Applications?

Enterprise Application Structure

weblogic-application.xml

Application Scoping

Quiz

Summary

Practice 12 Overview: Web Application Deployment Concepts

Page 13: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Section 13: Advanced Deployment

Description:In this module we will see the advanced deployment concepts on WebLogic Server.

Lessons:

Objectives

What Is a Deployment Plan?

Configuring an Application for Multiple Deployment Environments

Sample Deployment Plan

Creating a Deployment Plan

Creating a New Deployment Plan

Weblogic.PlanGenerator

Using the Administration Console to Generate a Deployment Plan Modifying and Saving Data to Create a New Plan

New Deployment Plan Shows Changed Values

Using an Existing Deployment Plan to Configure an Application

Using an Existing Deployment Plan

Directory Structure for Easier Production Deployment

Generic File-Loading Overrides

Performing a Sanity Check in Production Without Disruption to the Clients

Staged Deployment

Application Availability

Production Redeployment and Application Versioning

WebLogic Production Redeployment

Production Redeployment

Advantages of Production Redeployment

Requirements and Restrictions for Production Redeployment

Redeploying a New Application Version

Redeploying Versus Distributing

Distributing a New Version of the Production Application

Distributing a New Application Version Production Redeployment

Quiz

Summary

Practice 13 Overview: Deploying Production Applications

Page 14: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Section 14: Understanding JDBC and Configuring Data Sources

Description: In this module we will see how to configure Data source and JDBC on WebLogic Server.

Lessons:

Objectives

JDBC Review

JDBC Data Sources

Data Source Scope

Multi-Tier Architecture

Type 4 Drivers

WebLogic JDBC Drivers

What Is a Connection Pool? JDBC Connection Pooling

Benefits of Connection Pools

Modular Configuration and Deployment of JDBC Resources

How Data Source Connection Pools Are Used

Creating a Data Source Using the Administration Console

Non-XA Configuration

Data Source Connection Properties

Test Configuration

Connection Pool Configuration Connection Pool Advanced

Targeting a Data Source

Viewing the Server JNDI Tree via the Administration Console

Listing the JNDI Contents Via WLST

Demonstration

JDBC URLs

Connection Properties

Specifying Connection Properties

Monitoring and Testing a Data Source

Connection Pool Life Cycle

Fixing an Offline Data Source

Quiz

Summary

Practice 14 Overview: Configuring JDBC Data Sources

Page 15: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Section 15: Setting Up Java Message Service (JMS) Resources

Description: In this module we will see how to configure the Java Messaging Service on WebLogic Server.

Lessons:

Objectives

Message-Oriented Middleware

Point-To-Point Queue

Publish/Subscribe Topics

Oracle WebLogic Server JMS Features

WebLogic JMS Architecture Typical JMS Messaging Process

Transacted Messaging

JMS Administrative Tasks

Oracle WLS JMS Implementation

Creating a JMS Server

Configuring a JMS Server

Targeting a JMS Server to a Managed Server

JMS Modules

Creating a JMS Module

Modular JMS Resource Configuration and Deployment

Connection Factories

Creating a Connection Factory

Configuring a Connection Factory

Destination

Queue Destinations

Topic Destinations

Creating a Destination (Topic)

Threshold, Quota, and Paging Configuring Thresholds and Quotas

Durable Subscribers and Subscriptions

How a Durable Subscription Works

Configuring a Durable Subscription

Persistent Messaging

Creating a JMS Store

Page 16: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Creating a JDBC Store for JMS

Creating a JMS JDBC Store

Assigning a Store to a JMS Server

Persistent Connection Factory Configuring Destination Overrides

Monitoring JMS Servers

Monitoring and Managing Destinations (Active Queues and Topics)

Monitoring Queues

Managing Messages in a Queue

Quiz

Practice 15 Overview: Configuring JMS Resources

Section 16:Introduction to Clustering

Description: In this module we will see the introduction about Clustering concepts in detail.

Lessons: Objectives

Road Map

What Is a Cluster?

Benefits of Clustering

What Can Be Clustered

Proxy Servers for HTTP Clusters

High Availability for EJBs Road Map

Selecting a Cluster Architecture

Cluster Architecture

Basic Cluster Architecture

Basic Cluster Architecture: Advantages and Disadvantages

Multitier Cluster Architecture

Multitier: Advantages and Disadvantages

Basic Cluster Proxy Architecture

Multitier Cluster Proxy Architecture Proxy Web Server Plug-In Versus Load Balancer

Proxy Plug-Ins

OHS as Proxy Web Server

Request Flow When Using OHS

WLS HttpClusterServlet

Road Map

Server Communication in a Cluster

One-To-Many Communications

Considerations When Using Unicast

Peer-To-Peer Communications

Clusterwide JNDI Naming Service

Quiz

Summary

Page 17: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Section 17: Configuring a Cluster

Description: In this module we will see how to configure a Cluster on Oracle WebLogic

Server.

Lessons:

Objectives

Road Map

Preparing Your Environment

Hardware

IP Addresses and Host Names Cluster Address

Road Map

Methods of Configuring Clusters

Creating a Cluster by Using the Administration Console

Setting Cluster Attributes

Configuring Cluster Communication

Adding Cluster Members: Option 1

Adding Cluster Members: Option 2

Creating a Cluster with the Configuration Wizard Creating a Cluster Using the Cluster MBean

Clusters and WLST

Synchronizing When Starting Servers in a Cluster

Configuring OHS as Proxy Server

Starting and Stopping OHS Manually

Verifying Access Through OHS

Successful Access of OHS Splash Page

Quiz

Summary

Practice 17 Overview: Configuring Clusters

Page 18: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Section 18: Managing Clusters

Description: In this module we will see how to manage the Clusters on Oracle WebLogic

Server.

Lessons:

Objectives

Road Map

Deploying Applications to a Cluster

Two-Phase Deployment

Considerations for Deploying to Cluster Production Redeployment in a Cluster

Road Map

HTTP Session Failover

HTTP Session State Replication

HTTP Session In-Memory Replication

In-Memory Replication and Proxy Servers

In-Memory Replication

In-Memory Replication: Example

Requirements for In-Memory Replication Configuring In-Memory Replication

Failover with Load Balancer

Replication Groups

Configuring Replication Groups

Replication Groups for Different Criteria

HTTP Session Persistence Using JDBC

Configuring JDBC Persistence

JDBC Persistent Table Configuration

HTTP Session Persistence Using Files Configuring File Persistence

HTTP State Management Best Practices

Road Map

Clustering EJB Objects: Replica-Aware Stub

EJB: Server Failure Situations 18-34

Load-Balancing Clustered EJB Objects

Stateless Session Bean Failover

Configuring EJB Clustering in Deployment Descriptors

Configuring EJB Clustering Using the Administration Console

Configuring Clusterable Stateless Session EJBs

Stateful Session Beans

Configuring Clusterable Stateful Session EJBs

Read/Write Versus Read-Only

Entity Bean Cluster-Aware Home Stubs

Page 19: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

EJB Best Practices

Quiz

Summary

Practice 18: Overview Managing Clusters

Section 19: Security Concepts and Configuration

Description: In this module we will see the how security is established and its configurations on Oracle WebLogic Server.

Lessons:

Objectives

Road Map

Introduction to Oracle WebLogic Security Service Oracle Platform Security Services

Oracle WLS Security Architecture

Security Services

Overview of Security Concepts

Confidentiality

Credential Mapping

Road Map

Security Realms

Security Model Options for Applications How WLS Resources Are Protected

Users and Groups

Configuring New Users

Groups

Configuring New Groups

Configuring Group Memberships

Embedded LDAP Server

Configuring an Embedded LDAP

Road Map Security Roles

Configuring the Global Security Role

Security Policies

Policy Conditions

Protecting Web Applications

Specifying Protected Web Resources

Defining Policies and Roles for Other Resources

Configuring Authentication

Authentication Examples

Migrating Security Data

Exporting the WLS Default Authenticator Provider

Importing into a Different Domain

Summary

Practice 19: Overview Configuring Security for WLS Resources

Page 20: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Section 20: Protecting Against Attacks

Description: In this module we will see some security issues like configuring and enabling SSL.

Lessons:

Objectives

Road Map What Is SSL?

Trust and Identity

Using an SSL Connection

Enabling Secure Communication

Oracle WebLogic Server SSL Requirements

keytool Utility

Obtaining a Digital Certificate: keytool Examples

Configuring Keystores

Configuring SSL for an Oracle WebLogic Server Road Map

Protecting Against Attacks

Man-in-the-Middle Attacks

Man-in-the-Middle: Countermeasures

Configuring a Hostname Verifier

Denial of Service Attacks

Denial of Service Attacks: Countermeasures

Filtering Network Connections

Connection Filter Excessive Resource Consumption

Large Buffer Attacks

Setting the Post Size

Connection Starvation

User Lockout

Configuring User Lockout

Unlocking Users

Protecting the Administration Console

Quiz

Summary

Practice 20: Overview Configuring Keystores

Page 21: WEBLOGIC SERVER ADMINISTRATION - inventateq

www.inventateq.com [email protected]

Section 21: Backup and Recovery Operations

Description: In this module we will see the Backup and Recovery process on Oracle WebLogic Server.

Lessons:

Objectives

Road Map Review of Terms and Components

Homes: Oracle, Middleware, WebLogic

Understanding Backup and Recovery

Types of Backups

Backup Recommendations

Limitations and Restrictions for Backing Up Data

Performing a Full Offline Backup

Backing Up a Domain Configuration

Backing Up an Instance Home Creating a Record of Installations

Road Map

Directories to Restore

Recovery After Disaster

Recovery of Homes

Recovery of a Managed Server

Recovery of the Administration Server Configuration

Restarting an Administration Server on a New Computer

Recovery of a Cluster Restoring OPMN-Managed Components to a New Computer

Quiz

Summary

Practice 21 Overview: Backing Up and Restoring Configuration and Data