1. Trang chủ
  2. » Ngoại Ngữ

Installation and Configuration

95 398 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 95
Dung lượng 8,8 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

After completing this lesson, you should be able to: • Describe basic concepts of Oracle WebLogic Server • Explain key definitions and terminologies • Describe the prerequisites for inst

Trang 1

Installation and Configuration

Trang 2

After completing this lesson, you should be able to:

• Describe basic concepts of Oracle WebLogic Server

• Explain key definitions and terminologies

• Describe the prerequisites for installing Oracle Access Manager

• Install Oracle WebLogic Server (WLS)

• Configure seeded database schemas by using the Repository

Creation Utility

• Install and configure Oracle Access Manager

• Perform post-installation validation checks

• Perform an uninstallation

Trang 3

Road Map

• Oracle WebLogic Server: Basic concepts

• Key definitions and installation prerequisites

• Oracle WebLogic Server installation

• Configuring seeded database schemas by

using the Repository Creation Utility

• Installing Oracle Identity Management

• Configuring Oracle Access Manager

• Performing post-installation validation checks

• Uninstallation

Trang 4

Domain: Overview

• A domain is the basic administration unit for Oracle WebLogic

Server.

• It always includes one Oracle WebLogic Server instance

configured as an administration server.

• It may include optional Oracle WebLogic Server instances in a

domain, called managed servers.

• It may also include clusters of server instances that work

together.

Cluster1

Managed Server

Managed Server

AdministrationServer

Managed Server

Managed Server

WebLogic Domain

Cluster2

Managed Server

Managed Server

WebLogic Server System

Administration Tools

Trang 5

Critical Domain

Notifications

Log Domain Messages

Managed Server 1

Local Logging

Local Logging

LOG

LOG

Trang 6

Domain Restrictions

• Each domain requires its own administration server.

• A cluster cannot span multiple domains.

• The managed servers in a domain must all run the same

version of Oracle WebLogic Server.

• The administration server in a domain must run the same

or a higher version of the WebLogic Server software as the managed servers in the domain.

• Domains cannot share a configured resource or subsystem

between domains.

• Two or more system resources cannot have the same

name within a domain.

Trang 7

• A “server” is an instance of weblogic.Server executing

in a Java Virtual Machine (JVM).

• A server:

– Runs on a designated Oracle WebLogic Server machine

– Has a dedicated amount of RAM

– Is multithreaded

• A machine can be associated with multiple servers.

• The two types of servers are:

– Administration server

– Managed server

Trang 8

Administration Server

• Is the central point of control for a domain

• Stores the configuration information and logs for a domain

• Runs the WebLogic administration console

Trang 9

Managed Server

• It is any server in a domain that is not the administration server.

• It contacts the administration server for configuration

information.

• It runs business applications in a production environment.

• It is independent of all other managed servers in the domain

(unless they are in a cluster).

• There may be many managed servers in a domain.

• Individual managed servers are typically added for capacity and

Trang 10

Interaction Between the Administration Server

and Managed Servers

• The administration server stores the master copy of the

domain configuration, including the configuration for all managed servers in the domain.

• Each managed server stores a local copy of the domain

configuration file.

• When a managed server starts, it connects to the

administration server to synchronize the configuration.

• When the configuration is changed, the administration

server sends the changed configuration to the managed servers.

Trang 11

What Is a Machine?

• The main purpose of a machine is to administratively

manage servers.

• Machines are required by the node manager.

• Machines are optionally used by clusters.

• A machine is a logical description, not a physical entity.

Trang 12

«host1» «host2» «host3»

Relationship of Machines to Other Components

There are many ways to set up the topology.

Trang 13

• A cluster is a logical group of WLS servers.

• Oracle WebLogic Server (WLS) clusters provide:

– High availability (reliability)

– Load balancing (scalability)

• A cluster is transparent to a client.

Trang 14

Cluster Guidelines

• A cluster cannot span domains.

• All servers in a cluster must also be in the same domain.

• All servers in a cluster must be at the same version level.

• Clustered servers can be on the same or on different

machines with the same or different operating systems.

• There can be multiple clusters in a domain.

Trang 15

WebLogic Scripting Tool (WLST)

• The WLS command-line tools are useful:

– For automating common administration activities – As an alternative to the administration console

– When graphical tools are not supported

• WLST provides a command-line interface for:

– Creating new WLS domains

– Retrieving and updating WLS domain configurations – Deploying applications

– Obtaining run-time server statistics

Trang 16

WLST Modes

• Online mode:

– Available when connected to a running server

– Provides access to all WLS configuration and run-time

attributes – Can be used to create and activate change sessions, similar

to using the WLS console

• Offline mode:

– Available when domain is not running

– Provides access to only persisted domain configuration

(config.xml) – Can be used to create or update domains, similar to using the Configuration Wizard

Trang 17

WLST Example

[oracle@edvmr1p0 /]$ java weblogic.WLST

Initializing WebLogic Scripting Tool (WLST)

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

wls:/offline> connect('weblogic','password','t3://localhost:7001')

Connecting to t3://localhost:7001 with userid system

Successfully connected to Admin Server 'myAdmin' that belongs to domain 'mydomain'

Warning: An insecure protocol was used to connect to the server To

ensure on-the-wire security, the SSL port or Admin port should be used instead

Trang 18

Oracle WebLogic Server ILT Courses

To understand these concepts in more details and perform Oracle WebLogic Server administration, attend:

Oracle WebLogic Server 11g: Administration Essentials

Oracle WebLogic Server 11g: Advanced Administration

Trang 19

Road Map

• Oracle WebLogic Server: Basic concepts

• Key definitions and installation prerequisites

• Oracle WebLogic Server installation

• Configuring seeded database schemas by

using the Repository Creation Utility

• Installing Oracle Identity Management

• Configuring Oracle Access Manager

• Performing post-installation validation checks

• Uninstallation

Trang 20

Oracle Fusion Middleware Home and Oracle

WebLogic Server Home

• Oracle Fusion Middleware home:

– Consists of the Oracle WebLogic Server home and,

optionally, one or more other Oracle product homes (also known as Oracle homes; such as Identity Management home)

– Resides on a local file system or on a remote shared disk that is accessible through NFS

– Is represented as MW_HOME

• Oracle WebLogic Server home:

– Contains installed files necessary to host Oracle WebLogic Server

– Is a peer of other Oracle home directories underneath the Middleware home directory

– Is represented as WL_HOME

Trang 21

Oracle Home

• Oracle home:

– Is the top-level installation directory for Oracle products

– Resides on a local file system or on a remote shared disk that is

accessible through NFS

– Is where product binaries and read-only files reside

– Contains files that are not updated during the normal running of the application server components

— Files are updated only when you apply a patch or upgrade.

– Is represented as ORACLE_HOME

• Oracle instance:

– Contains all configuration files, repositories, log files, deployed

applications, and temporary files (updatable files)

Trang 22

Installing and Configuring Oracle Identity

Management: Sequence of Steps

• Install and configure Oracle Database

• Install Oracle WebLogic Server (MW home and WLS

home)

• Install Oracle Identity Management (Oracle home)

• Run the Repository Creation Utility (RCU) against Oracle

Database to seed component schemas

• Create or extend the Oracle WebLogic domain to configure

Oracle Identity Management 11g R1(11.1.1.3.0)

Trang 23

Wizards: Installation Versus Configuration

– Isolates static/read-only files from dynamic/configurable

Oracle WebLogic domain files

• Installation Wizard (IM_DVD/Disk1/setup.exe)

• Configuration Wizard

(MW_HOME/oracle_common/common/bin/config.cmd)

Trang 24

System Requirements for Oracle Identity

Management 11g R1(11.1.1.3.0)

• Minimum physical memory: 2 GB

• Minimum available memory: 1 GB

• Operating systems:

– Solaris 9, Solaris 10

– HP-UX 11i (11.23), HP-UX 11i (11.31)

– Oracle Enterprise Linux 4, Oracle Enterprise Linux 5, Red Hat

Linux 4, Red Hat Linux 5, SUSE 10

– IBM AIX 5.3, IBM AIX 6.1

– Windows XP SP2 (Win32 platforms only), Windows 2003, Windows

2008, Windows Vista

• Temp space: At least 80 MB

• Swap space: At least 150 MB

• Check the latest certification and release notes before starting

the installation.

Trang 25

Road Map

• Oracle WebLogic Server: Basic concepts

• Key definitions and installation prerequisites

• Oracle WebLogic Server installation

• Configuring seeded database schemas by

using the Repository Creation Utility

• Installing Oracle Identity Management

• Configuring Oracle Access Manager

• Performing post-installation validation checks

• Uninstallation

Trang 26

Oracle WebLogic Server 11g R1 PS 2 (10.3.3)

• Set PATH, JAVA_HOME to point to JDK 6 update 5 or 6

(Sun JDK 6 or JRockit Mission Control for Java 6).

Trang 27

System Requirements for Oracle WebLogic

Server

• Processor:

– At least one 1 GHz CPU is recommended.

– Intel and UNIX processors are supported.

• Hard-disk drive:

– A full installation requires approximately 2 GB of disk space – The Linux value for file descriptors must be 4096 or greater. – Samples are optional.

Trang 28

GUI Mode Installation

Start the installer (Net or package):

java –jar wls1033_generic.jar

wls1033_linux32.bin or wls1033_win32.exe or

wls1033_generic.jar

Trang 29

Choosing or Creating a Home Directory

Browse or enter a destination

Choose the Oracle Middleware home directory.

Trang 30

Registering for Support

Optional, but recommended

Trang 31

Choosing an Installation Type and Products

Trang 32

Choosing the JDK and Product Directory

Bundled Java Development Kit (JDK)

Select the Oracle WebLogic Server home and Oracle Coherence

home.

Trang 33

Windows-Specific Screens

Trang 34

Installation and Summary

Trang 35

Optional

Trang 36

Console and Silent Mode Installations

Trang 37

Post-Installation: Middleware Home

• D:\middleware_home: Middleware home

• registry.dat/registry.xml: Inventory of all Oracle

Middleware products

• utils: Additional or utility JAR files

• wlserver_10.3: Oracle WebLogic Server 10.3.3 home

• logs: Installation logs

• modules: Modules (.jar) installed

• coherence_3.5: Oracle Coherence 3.5 home

Trang 38

Oracle WebLogic Server Directory Structure

• common: The files shared by the Oracle WebLogic Server

10.3.3 components, including the template JAR files used

by Configuration Wizard when creating domains

• samples: Sample code and resources (if Server

Examples is selected during installation)

• server: Server software components (executables,

database files, XML JAR files, alternative JDBC drivers, Oracle WebLogic Server JAR files, and plug-ins)

• uninstall: The code required to uninstall Oracle

WebLogic Server 10.3.3

Trang 39

Setting Environment Variables

• Run setWLSEnv.sh under <WL_HOME>/server/bin to

set WL_HOME, JAVA_HOME, PATH, and CLASSPATH.

• setWLSEnv.sh makes a call to commEnv.sh under

<WL_HOME>/common/bin to set common environment variables, such as ORACLE_HOME, ANT_HOME, and

POINTBASE_HOME.

• Check the version of JDK:

– java -version

Trang 40

Practice 3 Overview:

Installing Oracle WebLogic Server 10.3.3

This practice covers the following topics:

• Practice 3-2: Install Oracle WebLogic Server 10.3.3

Trang 41

Road Map

• Oracle WebLogic Server: Basic concepts

• Key definitions and installation prerequisites

• Oracle WebLogic Server installation

• Configuring seeded database schemas by

using the Repository Creation Utility

• Installing Oracle Identity Management

• Configuring Oracle Access Manager

• Performing post-installation validation checks

• Uninstallation

Trang 42

Installing Oracle Database

• Oracle Database versions certified and supported:

– Oracle Database 10.2.0.4+

– Oracle Database 11.1.0.7+

– Oracle Database 11.2.x

• Oracle Database prerequisites:

– Database character set AL32UTF8 (Unicode)

– Database initialization parameters: processes > 500, open_cursors > 500

Trang 43

Creating Schemas by Using RCU

• The Repository Creation Utility (RCU) ships as a separate ZIP

file.

Unzip and run RCU from <RCU_CD>/bin/rcu.bat.

For OAM, it creates a <PREFIX>_OAM schema.

Trang 44

Creating Schemas by Using RCU

5

6

7

Trang 45

Creating Schemas by Using RCU

8

Trang 46

Creating Schemas by Using RCU

14 12

13

Trang 47

Practice 3 Overview:

Running the Repository Creation Utility

This practice covers the following topics:

• Practice 3-1: Run the Repository Creation Utility

Trang 48

Road Map

• Oracle WebLogic Server: Basic concepts

• Key definitions and installation prerequisites

• Oracle WebLogic Server installation

• Configuring seeded database schemas by

using the Repository Creation Utility

• Installing Oracle Identity Management

• Configuring Oracle Access Manager

• Performing post-installation validation checks

• Uninstallation

Trang 49

Installing Oracle Identity Management: Welcome and Prerequisite Checks

• Run <IDM_CD>/Disk1/setup.exe

1

2

Trang 50

Installing Oracle Identity Management:

Install Location and Summary

4 3

Trang 51

Installing Oracle Identity Management: Progress Bar and Install Complete

5

6

Trang 52

Practice 3 Overview:

Installing Oracle Identity Management 11g

This practice covers the following topics:

Practice 3-3: Install Oracle Identity Management 11g

Trang 53

Road Map

• Oracle WebLogic Server: Basic concepts

• Key definitions and installation prerequisites

• Installing Oracle WebLogic Server

• Configuring seeded database schemas by

using the Repository Creation Utility

• Installing Oracle Identity Management

• Configuring Oracle Access Manager

• Performing post-installation validation checks

• Uninstallation

Trang 54

Configuration Wizard: Creating Domain and

Domain Source

Run MW_HOME/oracle_common/common/bin/config.cmd

1

2

Trang 55

Configuration Wizard: Domain and Administrator

Settings

3

4

Trang 56

Configuration Wizard: Server Start Mode, JDK,

and Customization Options

5

6

Trang 57

Configuring JDBC Data Source: OAM with

Database Policy Store

Trang 58

Configuration Wizard: Administration and

Managed Servers

7

8

Trang 59

Configuration Wizard: Clusters and Machines

9

10

Trang 60

Configuration Wizard: Assigning Servers to

Machines and Target Deployments

11

12

Trang 61

Configuration Wizard: Target Services and

RDBMS Security Store

13

Trang 62

Configuration Wizard: Configuration Summary

and Creating Domain

15

16

Trang 63

Configuring OHS For Oracle WebLogic Server

mod_wl_ohs: This is the module in OHS 11g R1 which

allows requests to be proxied from OHS to WLS.

• OHS is automatically configured if you configure it to

communicate with the WLS domain.

Trang 64

Practice 3 Overview: Creating a New Domain and

Configuring OAM Server

This practice covers the following topics:

• Practice 3-4: Create a new domain and configure OAM

server

Trang 65

Configuration Wizard: Extending Domain and

Domain Source

• Run MW_HOME>/oracle_common/common/bin/config.cmd

Trang 66

Configuration Wizard: Extending Domain and

Domain Source

Ngày đăng: 25/11/2016, 21:14

TỪ KHÓA LIÊN QUAN

w