oracle fusion middleware 11 g administration...

Download Oracle Fusion Middleware 11 g Administration Overviewdbmanagement.info/Books/...Oracle_Fusion_Middleware... · Oracle Fusion Middleware 11 g: Administration Overview Activity Guide

If you can't read please download the document

Post on 10-Mar-2018

232 views

Category:

Documents

6 download

Embed Size (px)

TRANSCRIPT

  • Oracle Fusion Middleware 11g: Administration Overview

    Activity Guide

    D76380GC10

    Edition 1.0

    September 2012

    D79085O

    racl

    e U

    nive

    rsity

    and

    (Ora

    cle

    Cor

    pora

    tion)

    use

    onl

    y.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Disclaimer

    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.

    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 error-free.

    Restricted Rights Notice

    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 RIGHTSThe U.S. Governments 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.

    Trademark Notice

    Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

    AuthorsBill BellShankar Raman

    Technical Contributors and ReviewersMatthew SlingsbyJoe GreenwaldKevin TateDon BatesLisa ZhangPello SoleimanMarsha HancockHeike HundtSushil ShuklaKent RupiperNoah ArlissAl SaganichTJ PalazzoloDavid Mills

    EditorsDaniel MilneAju Kumar Rashmi Rajagopal

    Graphic DesignerMaheshwari Krishnamurthy

    Publishers

    Giri Venugopal Srividya Rameshkumar

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Oracle Fusion Middleware 11g: Administration Overview Table of Contents i

    Table of Contents

    Practices for Lesson 1: Course Overview ................................................................................................ 1-1 Practices for Lesson 1 ............................................................................................................................. 1-2

    Practices for Lesson 2: Fusion Middleware Products and Architecture ................................................. 2-1 Practices for Lesson 2 ............................................................................................................................. 2-2

    Practices for Lesson 3: Fusion Middleware Repository .......................................................................... 3-1 Practices for Lesson 3 ............................................................................................................................. 3-2 Practice 3-1: Creating a Repository ......................................................................................................... 3-3 Practice 3-2: Backing Up the Database Installation and Instances ............................................................ 3-7

    Practices for Lesson 4: Fusion Middleware Installation Overview .......................................................... 4-1 Practice Session 4 .................................................................................................................................. 4-2 Practice 4-1: Installing and Upgrading Oracle HTTP Server ...................................................................... 4-3 Practice 4-2: Installing the JRockit JDK and WebLogic Server .................................................................. 4-6 Practice 4-3: Installing and Upgrading Directory Services Components ..................................................... 4-9 Practice 4-4: Installing Oracle SOA Suite ................................................................................................. 4-12 Practice 4-5: Installing OAM and OIM ...................................................................................................... 4-14 Practice 4-6: Applying Patches for Oracle Identity and Access Management Products .............................. 4-16 Practice 4-7: Backing Up the Database and Fusion Middleware Installations ............................................. 4-20

    Practices for Lesson 5: WebLogic Server Concepts ............................................................................... 5-1 Practice Session 5 .................................................................................................................................. 5-2 Practice 5-1: Creating a Domain .............................................................................................................. 5-3 Practice 5-2: Extending a Domain ............................................................................................................ 5-7

    Practices for Lesson 6: Core WebLogic Server Administration and Monitoring ..................................... 6-1 Practices for Lesson 6 ............................................................................................................................. 6-2 Practice 6-1: Starting Servers and Creating Boot Identity.......................................................................... 6-3 Practice 6-2: Accessing the Administration Console ................................................................................. 6-6 Practice 6-3: Accessing Fusion Middleware Control ................................................................................. 6-11 Practice 6-4: Using WLST ....................................................................................................................... 6-24

    Practices for Lesson 7: Node Manager .................................................................................................... 7-1 Practices for Lesson 7 ............................................................................................................................. 7-2 Practice 7-1: Configuring Node Manager ................................................................................................. 7-3 Practice 7-2: Starting Servers by Using FMW Control ............................................................................... 7-8

    Practices for Lesson 8: Configuring Fusion Middleware Components ................................................... 8-1 Practice Session 8 .................................................................................................................................. 8-2 Practice 8-1: Configuring Oracle HTTP Server ......................................................................................... 8-3 Practice 8-2: Configuring Oracle Internet Directory and Oracle Directory Services Manager ...................... 8-13 Practice 8-3: Taking a Backup ................................................................................................................. 8-23

    Practices for Lesson 9: Fusion Middleware Security ............................................................................... 9-1 Practices for Lesson 9 ............................................................................................................................. 9-2 Practice 9-1: Preparing the Identity Store for WLS Administrators ............................................................. 9-3 Practice 9-2: Preparing the Policy Store for WebLogic and FMW Components (Optional) .......................... 9-17 Practice 9-3: Taking a Backup ................................................................................................................. 9-21

    Practices for Lesson 10: Fusion Middleware Backup and Recovery ....................................................... 10-1 Practices for Lesson 10 ........................................................................................................................... 10-2 Practice 10-1: Recovering from a Media Failure ....................................................................................... 10-3

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Oracle Fusion Middleware 11g: Administration Overview Table of Contents ii

    Practices for Lesson 11: High Availability ............................................................................................... 11-1 Practices for Lesson 11 ........................................................................................................................... 11-2

    Practices for Lesson 12: Development to Production ............................................................................. 12-1 Practices for Lesson 12 ........................................................................................................................... 12-2 Practice 12-1: Cloning Oracle Fusion Middleware .................................................................................... 12-3

    Practices for Lesson 13: Fusion Middleware Performance ..................................................................... 13-1 Practices for Lesson 13 ........................................................................................................................... 13-2 Practice 13-1: Creating a Work Manager ................................................................................................. 13-3 Practice 13-2: Tuning a Connection Pool ................................................................................................. 13-7 Practice 13-3: Tuning SOA Suite ............................................................................................................. 13-11

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 1: Course Overview Chapter 1 - Page 1

    Practices for Lesson 1: Course Overview Chapter 1

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 1: Course Overview Chapter 1 - Page 2

    Practices for Lesson 1

    Practices Overview There are no practices in lesson 1.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 2: Fusion Middleware Products and Architecture Chapter 2 - Page 1

    Practices for Lesson 2: Fusion Middleware Products and Architecture Chapter 2

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 2: Fusion Middleware Products and Architecture Chapter 2 - Page 2

    Practices for Lesson 2

    Practices Overview There are no practices in lesson 2.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 3: Fusion Middleware Repository Chapter 3 - Page 1

    Practices for Lesson 3: Fusion Middleware Repository Chapter 3

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 3: Fusion Middleware Repository Chapter 3 - Page 2

    Practices for Lesson 3

    Practices Overview In these practices, you create the schemas necessary to configure Oracle SOA Suite, Oracle Internet Directory, and Oracle Identity Manager.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 3: Fusion Middleware Repository Chapter 3 - Page 3

    Practice 3-1: Creating a Repository

    Overview In this practice, you create the repository and schemas for Oracle Internet Directory, Oracle SOA Suite, and Oracle Identity Manager.

    Assumptions Oracle Database 11g is already installed and a database with the name fmwdb is already created.

    Tasks 1. Set up the database initialization parameters in fmwdb for loading the Fusion Middleware

    schema. a. Open a Terminal window and start the database listener and the database by running

    the 01_start_fmwdb.sh script in the /home/oracle/admin_scripts directory: $> cd /home/oracle/admin_scripts

    $> ./01_start_fmwdb.sh

    ...

    b. Use that Terminal window and run the oraenv utility. Enter fmwdb when prompted for ORACLE_SID. This sets up the environment variables for the fmwdb database: $> source oraenv

    ORACLE_SID = [oracle]? fmwdb

    The Oracle base for... is /u01/app/oracle

    c. In the same Terminal window, invoke SQL*Plus and run the following SQL commands as a SYSDBA user to start the database and set up the fmwdb initialization parameters.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 3: Fusion Middleware Repository Chapter 3 - Page 4

    Note: If you would prefer, after you have invoked SQL*Plus, you can run the init_fmwdb.sql script found in the /home/oracle/admin_scripts directory, rather than typing in and running each SQL command separately. To run the script, navigate to the /home/oracle/admin_scripts directory, access SQL*Plus, and enter: @init_fmwdb.sql

    $> sqlplus / as sysdba

    ...

    SQL> alter system set aq_tm_processes=1 scope=spfile;

    System altered.

    SQL> alter system set dml_locks=200 scope=spfile;

    System altered.

    SQL> alter system set job_queue_processes=10 scope=spfile;

    System altered.

    SQL> alter system set open_cursors=800 scope=spfile;

    System altered.

    SQL> alter system set session_max_open_files=50 scope=spfile;

    System altered.

    SQL> alter system set sessions=500 scope=spfile;

    System altered.

    SQL> alter system set processes=2500 scope=spfile;

    System altered.

    SQL> alter system set session_cached_cursors=500 scope=spfile;

    System altered.

    SQL> alter system set "_b_tree_bitmap_plans"=FALSE scope=spfile;

    System altered.

    SQL> alter system set sga_target=2G scope=spfile;

    System altered.

    SQL> alter system set pga_aggregate_target=1G scope=spfile;

    System altered.

    SQL> alter system set sga_max_size=2G scope=spfile;

    System altered.

    d. Exit SQL*Plus, then stop and start the fmwdb database with the stop_fmwdb.sh and 01_start_fmwdb.sh scripts in the /home/oracle/admin_scripts directory: SQL> exit

    ...

    $> cd /home/oracle/admin_scripts

    $> ./stop_fmwdb.sh

    ...

    $> ./01_start_fmwdb.sh

    Note: Do not close the terminal window because you will be using it in the next step.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 3: Fusion Middleware Repository Chapter 3 - Page 5

    2. Using RCU, configure the schemas in fmwdb. a. In the same Terminal window, navigate to the /stage/rcu/rcuHome/bin folder and

    run RCU. $> cd /stage/rcu/rcuHome/bin

    $> ./rcu

    Use the guidelines in the following table to configure the Oracle Internet Directory schema:

    Step Window/Page Description Task

    a. Welcome Click Next.

    b. Create Repository Select Create and click Next.

    c. Database Connection Details Enter or select these values for the following fields:

    Database Type: Oracle Database Hostname: fmwhost1.example.com Port: 1521 Service Name: fmwdb.example.com Username: sys Password: Welcome1 Role: SYSDBA

    Note: That is the numeral one at the end of the password and not the lowercase letter L. Then click Next.

    d. Checking Global Prerequisites After the prerequisite check finishes, click OK.

    e. Select Components Select Create a new Prefix. Enter FMW in the prefix field. In the Component table, click + to expand the Identity Management node. (Do not select the check box next to the node.) Select:

    Oracle Internet Directory Oracle Identity Manager Oracle Access Manager

    Note: When you select these components, RCU selects other required schema components:

    Metadata Services Audit Services SOA Infrastructure User Messaging Service

    Click Next.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 3: Fusion Middleware Repository Chapter 3 - Page 6

    Step Window/Page Description Task

    f. Checking Component Prerequisites After the prerequisite check finishes, click OK.

    g. Schema Passwords Select Use the same passwords for all schemas. Enter and confirm the password of Welcome1. Click Next.

    h. Map Tablespaces Click Next.

    i. Repository Creation Utility Click OK to confirm creating tablespaces.

    j. Creating Tablespaces After the tablespaces have been created, click OK.

    k. Summary Click Create.

    l. Completion Summary Click Close.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 3: Fusion Middleware Repository Chapter 3 - Page 7

    Practice 3-2: Backing Up the Database Installation and Instances

    Overview In this practice, you perform a complete backup of the database installation and the database instances you have configured. This will enable you to restore the database to its starting point.

    Tasks 1. Create a directory for storing backups.

    a. In a Terminal window, create the backup directory under the stage directory: $> cd /stage

    $> mkdir backup

    2. Stop the fmwdb database instance along with the database listener and Database Control by using the supplied script. a. In a Terminal window, change to the /home/oracle/admin_scripts directory and

    run the stop_fmdb.sh script: $> cd /home/oracle/admin_scripts

    $> ./stop_fmwdb.sh

    3. Take a complete backup of the installation and database instances by running the supplied script, and store the backup in the new /stage/backup directory. a. Log in as the superuser (root). Then execute the backup.sh script from the

    /home/oracle/admin_scripts directory. Enter the practice session number (03 in this case) as a command option. This script creates a TAR file containing a backup of all files and directories under /u01/app, and places that TAR file in the /stage/backup directory. This script may take 10 to 15 minutes to complete. $> su

    Password: oracle

    #> ./backup.sh 03

    Note: Because this script takes a long time to complete, you can start it and do something else while it runs, like going on a break, or listening to the next lecture. Check the script after a while, and when it completes, you can finish the rest of this practice. b. List the files in the /stage/backup directory and notice the file that has the tarz

    extension. That file has the session number in its name. An example is shown here: #> ls /stage/backup

    u01-bak-session-03.tarz

    #>

    4. After the backup is complete, start the database instances as the oracle user. a. Log out of the superuser session. Then as the oracle user, change to the

    /home/oracle/admin_scripts directory. Use the 01_start_fmwdb.sh script to start the database instances.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 3: Fusion Middleware Repository Chapter 3 - Page 8

    Note: Do NOT start the database as root! #> exit

    $> cd /home/oracle/admin_scripts

    $> ./01_start_fmwdb.sh

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 1

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 2

    Practice Session 4

    Practices Overview In these practices, you install the Oracle Fusion Middleware products required for the rest of the practices. Some of the products need to be updated to version 11.1.1.5. In those cases, you initially install version 11.1.1.2 of the products, and then upgrade them to version 11.1.1.5. You will also apply any required patches to the installed components. Important Note: All the products have already been installed, so practices 4-1 through 4-5 are not actually required before attempting the remainder of the practices. The course was set up this way so that if something goes wrong while doing the installation practices, you can revert to the preinstalled products and continue with the course. Before starting the first installation practice (4-1), stop the database (if it is running) and rename the fmw directory under /u01/app/oracle/product:

    $> cd /home/oracle/admin_scripts

    $> ./stop_fmwdb.sh

    ...

    $> cd /u01/app/oracle/product

    $> mv fmw orig-fmw

    After all the installation practices have been completed (4-1 through 4-5), you can use the products you installed. If something goes wrong during the installation process, or if you run out of time, delete the fmw directory you created, and rename the orig-fmw directory back to fmw. Note: Practice 4-6 must be completed whether you do the first five practices yourself, or use the installation provided.

    Environment Variable Directory Structure ORACLE_BASE /u01/app/oracle MW_HOME ORACLE_BASE/product/fmw WEB_ORACLE_HOME MW_HOME/web

    JAVA_HOME MW_HOME/jrockit-jdk

    WL_HOME MW_HOME/wlserver_10.3 ORACLE_COMMON_HOME MW_HOME/oracle_common

    IDM_ORACLE_HOME MW_HOME/idm SOA_ORACLE_HOME MW_HOME/soa IAM_ORACLE_HOME MW_HOME/iam

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 3

    Practice 4-1: Installing and Upgrading Oracle HTTP Server

    Overview In this practice, you install Oracle HTTP Server 11.1.1.2 and upgrade it to Oracle HTTP Server 11.1.1.5.

    Tasks 1. If you have not already done so, stop the database, and then rename the fmw directory

    under /u01/app/oracle/product: $> cd /home/oracle/admin_scripts

    $> ./stop_fmwdb.sh

    ...

    $> cd /u01/app/oracle/product

    $> mv fmw orig-fmw

    2. Install Oracle HTTP Server 11.1.1.2. Oracle HTTP Server 11g is available in the Oracle Fusion Middleware Web Tier Utilities pack. The Web Tier Utilities installable is in /stage/web_11-1-1-2. The Web Tier installer installs both Oracle HTTP Server and Oracle Web Cache. a. Open a Terminal window, and unset the ORACLE_HOME and ORACLE_SID environment

    variables. Then navigate to /stage/web_11-1-1-2/Disk1 and run the installer. $> unset ORACLE_HOME ORACLE_SID

    $> cd /stage/web_11-1-1-2/Disk1

    $> ./runInstaller

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 4

    b. Use the guidelines in the following table to install the software:

    Step Window/Page Description Choices or Values

    a. Specify Oracle Inventory Directory

    This screen appears when you install the first Oracle product. Because the Oracle database has already been installed, the screen may not appear. If it does appear, enter /u01/app/oraInventory and click Next. If it does not, just move to the next step.

    b. Welcome Click Next.

    c. Select Installation Type Select Install Software - Do Not Configure. Click Next.

    d. Prerequisite Checks When all prerequisite checks are 100% successful, click Next.

    e. Specify Installation Location Enter these values for the following fields: Oracle Middleware Home:

    /u01/app/oracle/product/fmw Oracle Home Directory: web

    Then click Next.

    f. Specify Security Updates Deselect I wish to receive security updates via My Oracle Support. (In your training environment, you do not want to associate the installations with a specific user.) Click Next. In the dialog box that opens, click Yes.

    g. Installation Summary Click Install.

    h. Installation Progress Note the progress and successful completion of the installation. Click Next.

    i. Installation Complete Click Finish.

    3. Upgrade the installed Oracle Web Tier from 11.1.1.2 to 11.1.1.5. The Web Tier Utilities installable is in /stage/web_11-1-1-5. This upgrade is an example of using a Patch Set to upgrade a Fusion Middleware Product. a. Open a Terminal window, and navigate to /stage/web_11-1-1-5/Disk1. When

    you are there, run the installer: $> cd /stage/web_11-1-1-5/Disk1

    $> ./runInstaller

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 5

    b. Use the guidelines in the following table to install the software:

    Step Window/Page Description Choices or Values

    a. Welcome Click Next.

    b. Specify Install Location Set the location where you installed Oracle Web Tier 11.1.1.2. Enter these values for the following fields:

    Oracle Middleware Home: /u01/app/oracle/product/fmw

    Oracle Home Directory: web Then click Next.

    c. Specify Security Updates Deselect I wish to receive security updates via My Oracle Support. (In your training environment, you do not want to associate the installations with a specific user.) Click Next. In the dialog box that opens, click Yes.

    d. Installation Summary Click Install.

    e. Installation Progress Note the progress and successful completion of the Patch Set installation. Click Next.

    f. Installation Complete Click Finish.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 6

    Practice 4-2: Installing the JRockit JDK and WebLogic Server

    Overview In this practice, you install the JRockit JDK and WebLogic Server, which must be installed before installing the identity and access management components.

    Tasks 1. Install the Oracle JRockit 64-bit JDK. It is in /stage/jrockit.

    a. Open a Terminal window and navigate to /stage/jrockit. Ensure that the jrockit-jdk1.6.0_24-R28.1.3-4.0.1-linux-x64.bin file has executable permissions, and then run the executable file to install JRockit: $> cd /stage/jrockit

    $> chmod +x jrockit-jdk1.6.0_24-R28.1.3-4.0.1-linux-x64.bin

    $> ./jrockit-jdk1.6.0_24-R28.1.3-4.0.1-linux-x64.bin

    b. Use the guidelines in the following table to install the software:

    Step Window/Page Description

    Choices or Values

    a. Welcome Click Next.

    b. Product Installation Directory

    Enter: /u01/app/oracle/product/fmw/jrockit-jdk

    Click Next.

    c. Optional Components Do not select any of the optional components. Click Next.

    d. Installation Complete Click Done.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 7

    c. In the Terminal window, set the JAVA_HOME environment variable to point to the location where JRockit is installed, add the bin subdirectory in the JRockit installation to the PATH environment variable, and verify that the Java version is 64 bit: $> export JAVA_HOME=/u01/app/oracle/product/fmw/jrockit-jdk

    $> export PATH=$JAVA_HOME/bin:$PATH

    $> which java

    /u01/app/oracle/product/fmw/jrockit-jdk/bin/java

    $> java version

    java version "1.6.0_24"

    Java(TM) SE Runtime Environment (build 1.6.0_24-b07)

    Oracle JRockit(R) (build R28.1.3-11-141760-1.6.0_24-20110301-1432-linux-x86_64, compiled mode)

    2. Install Oracle WebLogic Server 10.3.5 by using the JRockit JDK that you just installed. The WebLogic Server generic installable is in /stage/wls. a. In the same Terminal window where you set up the JAVA_HOME and PATH

    environment variables, navigate to the /stage/wls directory and invoke the WLS generic installer: $> cd /stage/wls

    $> java d64 jar wls1035_generic.jar

    b. Use the guidelines in the following table to install WebLogic Server:

    Step Window/Page Description

    Choices or Values

    a. Welcome Click Next.

    b. Middleware Home Directory

    Select Create a new Middleware Home. Enter /u01/app/oracle/product/fmw in the Middleware Home Directory field. Click Next. In the Warning dialog box, click Yes to proceed with the installation.

    c. Security Updates Deselect I wish to receive security updates via My Oracle Support.

    In the dialog box that opens, click Yes.

    Click Next.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 8

    Step Window/Page Description

    Choices or Values

    d. Email Address Not Specified

    Click Yes in the Email Address Not Specified dialog box

    . Then click Yes in the Are you sure dialog box.

    e. Connection Failed Finally, select I wish to remain uninformed and click Continue.

    f. Installation Type Select Typical and click Next.

    g. JDK Selection Ensure that Oracle 1.6.0_24 is selected, and click Next.

    h. Product Installation Directories

    Leave the Product Installation Directories as they are and click Next. WebLogic Server:

    /u01/app/oracle/product/fmw/wlserver_10.3 Oracle Coherence:

    /u01/app/oracle/product/fmw/coherence_3.6

    i. Installation Summary

    View the components that are to be installed, and click Next.

    j. Installation Complete

    After the installation is complete, deselect Run Quick Start and click Done.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 9

    Practice 4-3: Installing and Upgrading Directory Services Components

    Overview In this practice, you install the Directory Services components (OID/OVD) from the Oracle Identity Management 11.1.1.2 installable, and then upgrade the components to 11.1.1.5. Oracle recommends that you upgrade the components before configuring any runtime environments to minimize time and effort in the upgrade.

    Tasks 1. Install the Oracle Identity Management components. The installable is in

    /stage/idm_11-1-1-2. a. Use the same Terminal window where you set up the JAVA_HOME and PATH

    environment variables. (If you have closed the window, follow the steps in the earlier practice to set those variables.) Navigate to the directory /stage/idm_11-1-1-2/Disk1, and invoke the installer: $> cd /stage/idm_11-1-1-2/Disk1

    $> ./runInstaller

    b. Use the guidelines in the following table to install the Directory Services components from the Oracle Identity Management installer:

    Step Window/Page Description Choices or Values

    a. Welcome Click Next.

    b. Select Installation Type Select Install Software Do Not Configure. Click Next.

    c. Prerequisite Checks When all prerequisite checks are 100% successful, click Next.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 10

    Step Window/Page Description Choices or Values

    d. Specify Installation Location Enter these values for the following fields: Oracle Middleware Home:

    /u01/app/oracle/product/fmw

    Oracle Home Directory: idm Click Next.

    e. Specify Security Updates Deselect I wish to receive security updates via My Oracle Support. Click Next. In the dialog box that opens, click Yes.

    f. Installation Summary View the applications selected for installation, and click Install.

    g. Installation Progress When the progress bar reaches 100%, click Next.

    h. OracleRoot.sh confirmation Open a new Terminal window, log in as root (superuser), and run the shell script indicated. $> cd /u01/app/oracle/product/fmw/idm

    $> su

    Password: oracle

    #> ./oracleRoot.sh

    #> exit

    $>

    Return to the dialog box, and click OK.

    i. Installation Complete Click Finish.

    2. Upgrade the Directory Services products from 11.1.1.2 to 11.1.1.5. The necessary installable is in /stage/idm_11-1-1-5. a. In the same Terminal window where you set up the JAVA_HOME and PATH

    environment variables, navigate to /stage/idm_11-1-1-5/Disk1, and invoke the installer: $> cd /stage/idm_11-1-1-5/Disk1

    $> ./runInstaller

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 11

    b. Use the guidelines in the following table to install the Directory Services components from the Oracle Identity Management installer:

    Step Window/Page Description Choices or Values

    a. Welcome Click Next.

    b. Specify Installation Location Enter these values for the following fields: Oracle Middleware Home:

    /u01/app/oracle/product/fmw Oracle Home Directory: idm

    Click Next.

    c. Specify Security Updates Deselect I wish to receive security updates via My Oracle Support. Click Next. In the dialog box that opens, click Yes.

    d. Installation Summary View the applications selected for installation, and click Install.

    e. Installation Progress When the progress bar reaches 100%, click Next.

    f. OracleRoot.sh confirmation Open a new Terminal window, log in as root (super user), and run the shell script indicated. Enter yes when asked about ports. $> cd /u01/app/oracle/product/fmw/idm

    $> su

    Password: oracle

    #> ./oracleRoot.sh

    Do you want to run oidRoot.sh to configure OID for privileged ports? (yes/no) yes

    User selected for running OIDRoot.sh

    /u01/app/oracle/product/fmw/idm

    Finished root actions for OID

    #> exit

    $>

    Return to the dialog box, and click OK.

    g. Installation Complete Click Finish.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 12

    Practice 4-4: Installing Oracle SOA Suite

    Overview In this practice, you install Oracle SOA Suite 11.1.1.5.

    Tasks 1. Install Oracle SOA Suite 11.1.1.5. Ensure that the SOA component is also installed under

    the same Middleware Home directory where you installed other Fusion Middleware components, such as OHS, WLS, OID, and OVD. The installable is in /stage/soa. a. In the same Terminal window where you set up the JAVA_HOME and PATH

    environment variables, change the path to /stage/soa/Disk1, and invoke the installer: $> cd /stage/soa/Disk1

    $> ./runInstaller

    ...

    Please specify JRE/JDK location ( Ex. /home/jre ), /bin/java should exist:

    /u01/app/oracle/product/fmw/jrockit-jdk

    ...

    Note: Ignore the WARN message that appears.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 13

    b. Use the guidelines in the following table to install the Oracle SOA components:

    Step Window/Page Description Choices or Values

    a. Welcome Click Next.

    b. Install Software Updates Select Skip Software Updates. Click Next.

    c. Prerequisite Checks When all prerequisite checks are 100% successful, click Next.

    d. Installation Location Enter these values for the following fields: Oracle Middleware Home:

    /u01/app/oracle/product/fmw

    Oracle Home Directory: soa Click Next.

    e. Application Server Select WebLogic Server and click Next.

    f. Installation Summary Click Install.

    g. Installation Progress When the progress bar reaches 100%, click Next.

    h. Installation Complete Click Finish.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 14

    Practice 4-5: Installing OAM and OIM

    Overview In this practice, you install Oracle Access Manager and Oracle Identity Manager from the Oracle Identity and Access Management installable.

    Tasks 1. Install Oracle Access Manager and Oracle Identity Manager 11.1.1.5 under the same

    Middleware Home directory where you installed other Fusion Middleware components, such as OHS, WLS, OID, OVD and SOA. The necessary installable is in /stage/iam. a. In the same Terminal window where you set up the JAVA_HOME and PATH

    environment variables, navigate to /stage/iam/Disk1, and invoke the installer. If you closed the Terminal window, first set up the variables: $> export MW_HOME=/u01/app/oracle/product/fmw

    $> export JAVA_HOME=$MW_HOME/jrockit-jdk

    $> export PATH=$JAVA_HOME/bin:$PATH

    Then navigate to the installer and run it: $> cd /stage/iam/Disk1

    $> ./runInstaller jreLoc $JAVA_HOME/jre

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 15

    b. Use the guidelines in the following table to install Oracle Access Manager and Oracle Identity Manager:

    Step Window/Page Description Choices or Values

    a. Welcome Click Next.

    b. Install Software Updates Select Skip Software Updates and click Next.

    c. Prerequisite Checks When all prerequisite checks are 100% successful, click Next.

    d. Installation Location Enter these values for the following fields: Oracle Middleware Home:

    /u01/app/oracle/product/fmw

    Oracle Home Directory: iam Click Next.

    e. Installation Summary Click Install.

    f. Installation Progress When the progress bar reaches 100%, click Next.

    g. Installation Complete Click Finish.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 16

    Practice 4-6: Applying Patches for Oracle Identity and Access Management Products

    Overview In this practice, you apply some interim patches (formerly known as Patch Set Exceptions or PSEs). These patches are required for the Identity and Access Management components to be properly configured. For the purpose of this practice, the patches are found in /stage/fmw_patches/fa_idm_patches.

    Identity and Access Management Product Oracle Home Patch Number

    IDM Tools IAM_ORACLE_HOME 12995033

    OAM 11g IAM_ORACLE_HOME 12989739

    OIM IAM_ORACLE_HOME 12961473, 12418680

    OID IDM_ORACLE_HOME 12937765

    OVD-ODSM IDM_ORACLE_HOME 13031079

    OVD IDM_ORACLE_HOME 13031196

    OIF IDM_ORACLE_HOME 12968010

    Tasks 1. Apply the IDM Tools patch found in

    /stage/fmw_patches/fa_idm_patches/12995033. a. Open a Terminal window, and set the ORACLE_HOME environment variable to

    $MW_HOME/iam. $> export MW_HOME=/u01/app/oracle/product/fmw

    $> export ORACLE_HOME=$MW_HOME/iam

    b. Navigate to /stage/fmw_patches/fa_idm_patches/12995033 and apply the patch. $> cd /stage/fmw_patches/fa_idm_patches/12995033

    $> $ORACLE_HOME/OPatch/opatch apply

    ...

    OPatch succeeded.

    2. Apply the OAM11g patch in /stage/fmw_patches/fa_idm_patches/12989739. a. In the same Terminal window (where ORACLE_HOME is set to $MW_HOME/iam),

    navigate to /stage/fmw_patches/fa_idm_patches/12989739 and apply the patch: $> cd /stage/fmw_patches/fa_idm_patches/12989739

    $> $ORACLE_HOME/OPatch/opatch apply

    ...

    OPatch succeeded.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 17

    3. Apply the OIM patches in /stage/fmw_patches/fa_idm_patches/12961473 and /stage/fmw_patches/fa_idm_patches/12418680. a. In the same Terminal window, navigate to

    /stage/fmw_patches/fa_idm_patches/12961473 and apply the patch: $> cd /stage/fmw_patches/fa_idm_patches/12961473

    $> $ORACLE_HOME/OPatch/opatch apply

    ...

    OPatch succeeded.

    b. Navigate to /stage/fmw_patches/fa_idm_patches/12418680 and apply the patch: $> cd /stage/fmw_patches/fa_idm_patches/12418680

    $> $ORACLE_HOME/OPatch/opatch apply

    ...

    OPatch succeeded.

    4. Apply the OID, OVD, and OIF patches from the corresponding subdirectories in /stage/fmw_patches/fa_idm_patches. Note: When you are prompted with, Is the local system ready for patching [y|n], enter y. a. In a Terminal window, change the ORACLE_HOME environment variable by setting it to

    $MW_HOME/idm: $> export MW_HOME=/u01/app/oracle/product/fmw

    $> export ORACLE_HOME=$MW_HOME/idm

    b. Navigate to /stage/fmw_patches/fa_idm_patches/12937765 and apply the patch: $> cd /stage/fmw_patches/fa_idm_patches/12937765

    $> $ORACLE_HOME/OPatch/opatch apply

    ...

    Is the local system ready for patching [y|n]

    y

    ...

    OPatch succeeded.

    c. Navigate to /stage/fmw_patches/fa_idm_patches/13031079 and apply the patch: $> cd /stage/fmw_patches/fa_idm_patches/13031079

    $> $ORACLE_HOME/OPatch/opatch apply

    ...

    OPatch succeeded.

    d. Navigate to /stage/fmw_patches/fa_idm_patches/13031196, and apply the patch: $> cd /stage/fmw_patches/fa_idm_patches/13031196

    $> $ORACLE_HOME/OPatch/opatch apply

    ...

    OPatch succeeded.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 18

    e. Navigate to /stage/fmw_patches/fa_idm_patches/12968010 and apply the patch: $> cd /stage/fmw_patches/fa_idm_patches/12968010

    $> $ORACLE_HOME/OPatch/opatch apply

    ...

    OPatch succeeded.

    5. Provision the OIM login modules under the WebLogic Server library directory. Some additional environment variables are necessary and must be added to the setDomainEnv.sh script of any WebLogic Server domain that contains OIM servers. a. Using the Terminal window where the environment variable MW_HOME is still set, copy

    the OIMAuthenticator.jar, oimmbean.jar, oimsigmbean.jar and oimsignaturembean.jar files located in $MW_HOME/iam/server/loginmodule/wls to $MW_HOME/wlserver_10.3/server/lib/mbeantypes: $> cp $MW_HOME/iam/server/loginmodule/wls/*.jar $MW_HOME/wlserver_10.3/server/lib/mbeantypes/

    b. Navigate to $MW_HOME/wlserver_10.3/server/lib/mbeantypes, and then use the chmod command to change the permissions for the files to 750 (rwx for the owner, r-x for the group, and --- for others): $> cd $MW_HOME/wlserver_10.3/server/lib/mbeantypes

    $> chmod 750 *.jar

    6. Create the wlfullclient.jar file. Oracle Identity Manager uses the wlfullclient.jar library for some of its operations. You must create this library file after installation and patching. Oracle recommends that you create it under $MW_HOME/wlserver_10.3/server/lib for all machines in the application tier of your environment. a. In a Terminal window, set your JAVA_HOME environment variable, and ensure that

    JAVA_HOME/bin is in your PATH, and then navigate to $MW_HOME/wlserver_10.3/server/lib: $> export MW_HOME=/u01/app/oracle/product/fmw

    $> export JAVA_HOME=$MW_HOME/jrockit-jdk

    $> export PATH=$JAVA_HOME/bin:$PATH

    $> cd $MW_HOME/wlserver_10.3/server/lib

    b. Run the following command to create the wlfullclient.jar file: $> java -jar wljarbuilder.jar

    ...

    Integrating jar

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 19

    7. There is a JAR file in the ORACLE_COMMON_HOME/modules directory that needs to be in the MW_HOME/modules directory. Create a symbolic link to that file so it can be accessed as if it were under MW_HOME. a. In a Terminal window, navigate to the MW_HOME/modules directory. See if the JAR file

    is already there. If it is, skip to the next task. If not, continue with this task. $> cd /u01/app/oracle/product/fmw/modules

    $> ls com.oracle.weblogic.sca.engine_1.2.0.0.jar

    b. If the JAR file is not in the MW_HOME/modules directory, use the ln command with the -s option to create the symbolic link: $> cd /u01/app/oracle/product/fmw/modules

    $> ln -s ../oracle_common/modules/

    com.oracle.weblogic.sca.engine_1.2.0.0.jar .

    Notes There is no space between the path and the file name. (The line breaks due to

    space limitations.) Do not forget the . at the end of the command. You could also copy the file into the MW_HOME/modules directory, but using a link is

    more efficient because with the link there is only one copy of the file, but it can be accessed in two ways.

    8. There is another JAR file that might be missing. If it is missing, copy it to the correct location from /home/oracle/applications. a. Open a Terminal window and navigate to

    /u01/app/oracle/product/fmw/oracle_common/soa/modules. List the files that start with comm. $> cd /u01/app/oracle/product/fmw/oracle_common/soa/modules

    $> ls comm*

    b. If the file commons-cli-1.1.jar is there, skip to the next task. If not, copy it from /home/oracle/applications: $> cp /home/oracle/applications/commons-cli-1.1.jar

    commons-cli-1.1.jar

    Note: Enter the command on one line. (It is on two lines here due to space limitations.) 9. Make sure that the /tmp directory is usable by all. In a Terminal window, change to the

    superuser, root, and run the chmod command. Note: Do not stay logged in as root. Exit immediately, or close the Terminal window.

    $> su

    Password: oracle

    #> chmod -R 777 /tmp

    #> exit

    $>

    Note: The -R option means recursive.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 4: Fusion Middleware Installation Overview Chapter 4 - Page 20

    Practice 4-7: Backing Up the Database and Fusion Middleware Installations

    Overview In this practice, you perform a complete backup of the database and Fusion Middleware installations and the database instance that you have configured. This helps you in case you want to restore the machine to the starting point.

    Tasks 1. Stop the fmwdb database instance along with the database listener, and the Database

    Control. a. In a Terminal window, navigate to $HOME/admin_scripts and run the

    stop_fmdb.sh script: $> cd $HOME/admin_scripts

    $> ./stop_fmwdb.sh

    2. Take a complete backup of the installation and database instances and store the backup in the /stage/backup directory. a. In a Terminal window, log in as the superuser (root), and execute the backup.sh

    script from the /home/oracle/admin_scripts directory. Enter the practice session number (04 in this case) as the command option. This creates a backup of all files and directories under the /u01/app directory to the /stage/backup directory. This may take about 30 minutes to complete. $> su

    Password: oracle

    #> cd /home/oracle/admin_scripts

    #> ./backup.sh 04

    Note: Because this script takes a long time to complete, you can start it and do something else while it runs, like going on a break, or listening to the next lecture. Check the script after a while, and when it completes, you can finish the rest of this practice. b. List the files in the /stage/backup directory and notice that a file is created with the

    tarz extension. The file has the session number in the name: #> ls /stage/backup

    u01-bak-session-03.tarz u01-bak-session-04.tarz

    c. Log out of the superuser session. #> exit

    $>

    Note: Or just close the Terminal window where you logged in as root. 3. After the backup is complete, start the database instance as the oracle user.

    Note: Make sure that you are the oracle user (and not root) BEFORE you start the database! a. As the oracle user, navigate to the /home/oracle/admin_scripts directory.

    Start the database by using the 01_start_fmwdb.sh script: $> cd /home/oracle/admin_scripts

    $> ./01_start_fmwdb.sh

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 5: WebLogic Server Concepts Chapter 5 - Page 1

    Practices for Lesson 5: WebLogic Server Concepts Chapter 5

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 5: WebLogic Server Concepts Chapter 5 - Page 2

    Practice Session 5

    Practices Overview In these practices, you create a WebLogic Server domain by using the Configuration Wizard. You also extend that domain to support Oracle SOA Suite by using the Configuration Wizard.

    Environment Variable Directory Structure ORACLE_BASE /u01/app/oracle MW_HOME ORACLE_BASE/product/fmw WEB_ORACLE_HOME MW_HOME/web

    JAVA_HOME MW_HOME/jrockit-jdk

    WL_HOME MW_HOME/wlserver_10.3 ORACLE_COMMON_HOME MW_HOME/oracle_common

    IDM_ORACLE_HOME MW_HOME/idm SOA_ORACLE_HOME MW_HOME/soa IAM_ORACLE_HOME MW_HOME/iam

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 5: WebLogic Server Concepts Chapter 5 - Page 3

    Practice 5-1: Creating a Domain

    Overview In this practice, you create a WebLogic Server domain. After creating the domain, you start the administration server to see if the domain creation was successful.

    Tasks 1. Create a domain by using the Configuration Wizard.

    a. Start the database, if it is not already started. Open a Terminal window, navigate to /home/oracle/admin_scripts, and run the 01_start_fmwdb.sh script: $> cd /home/oracle/admin_scripts

    $> ./01_start_fmwdb.sh

    b. In the Terminal window, navigate to /common/bin, set the PATH, and run the Configuration Wizard: $> cd /u01/app/oracle/product/fmw/oracle_common/common/bin

    $> export JAVA_HOME=/u01/app/oracle/product/fmw/jrockit-jdk

    $> export PATH=$JAVA_HOME/bin:$PATH

    $> echo $PATH

    /u01/app/oracle/product/fmw/jrockit-jdk/bin:...

    $> ./config.sh

    Notes Make sure that the PATH is correct (starts with the bin directory of the JDK) before

    running the Configuration Wizard script. You must run the config.sh script under

    /common/bin and not the one under /common/bin.

    c. Use the guidelines in the following table to create the domain:

    Step Window/Page Description Choices or Values

    a. Welcome Select Create a new WebLogic domain and click Next.

    b. Select Domain Source Select Generate a domain configured automatically to support the following products, and then select the following products:

    Oracle Enterprise Manager Oracle JRF

    Then click Next. Notes

    Oracle JRF should be selected automatically. You may have to scroll to see all the sources. The source called Basic WebLogic Server

    Domain must be selected, so deselecting it is disabled.

    c. Specify Domain Name and Enter these values for the following fields:

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 5: WebLogic Server Concepts Chapter 5 - Page 4

    Step Window/Page Description Choices or Values Location Domain name: fmwdomain

    Domain location: /u01/app/oracle/admin/domains

    Application location: /u01/app/oracle/admin/domains/ applications

    Note: There should be no spaces or line feeds in the paths. Click Next.

    d. Configure Administrator User Name and Password

    Enter these values for the following fields: Name: weblogic User password: Welcome1 Confirm user password: Welcome1 Description: This user is the default

    administrator.

    Click Next.

    e. Configure Server Start Mode and JDK

    Under WebLogic Domain Startup Mode, select Production Mode. Under JDK Selection, select Available JDKs and ensure that JRockit is selected. Click Next.

    f. Select Optional Configuration Select Administration Server and Managed Servers, Clusters, and Machines. Then click Next.

    g. Configure the Administration Server

    Enter or select these values for the following fields: Name: AdminServer Listen address: All Local Addresses Listen port: 7001 SSL listen port: (Disabled) SSL enabled: Deselected

    Note: These should be the defaults. Click Next.

    h. Configure Managed Servers Click Next.

    i. Configure Clusters Click Next.

    j. Configure Machines Click the Unix Machine tab. Click the Add button. Then, in the row, enter or select the following values:

    Name: ADMINHOST Post bind GID enabled: Deselected

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 5: WebLogic Server Concepts Chapter 5 - Page 5

    Step Window/Page Description Choices or Values Post bind GID: nobody Post bind UID enabled: Deselected Post bind UID: nobody Node manager listen address: All Local

    Addresses Node manager listen port: 5556

    Click Next.

    k. Assign Servers to Machines Under Machine, select ADMINHOST. Then under Server, select AdminServer and click the right arrow button. The Machine column should look like this:

    Click Next.

    l. Configuration Summary Click Create.

    m. Creating Domain When the progress bar reaches 100%, click Done.

    d. To ensure that the domain and administration server were successfully created, start the administration server. Navigate to the bin directory under the domain directory and run the start script startWebLogic.sh. When prompted for the username, enter weblogic. When prompted for the password, enter Welcome1: $> cd /u01/app/oracle/admin/domains/fmwdomain/bin

    $> ./startWebLogic.sh

    ...

    Enter username to boot WebLogic server: weblogic

    Enter password to boot WebLogic server: Welcome1

    ...

    Note: The password does not display. O

    racl

    e U

    nive

    rsity

    and

    (Ora

    cle

    Cor

    pora

    tion)

    use

    onl

    y.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 5: WebLogic Server Concepts Chapter 5 - Page 6

    e. Messages will appear in the window. When the server successfully completes its startup process, it writes the following message to the window:

    Note: Ignore any warnings or errors. f. After the server has successfully started, shut it down. In a new Terminal window,

    navigate to the domains bin directory and run the stopWebLogic.sh script. When prompted for a username, enter weblogic. When prompted for the password, enter Welcome1: $> cd /u01/app/oracle/admin/domains/fmwdomain/bin

    $> ./stopWebLogic.sh

    ...

    Please enter your username: weblogic

    Please enter your password: Welcome1

    ...

    Note: You will see that the server shuts down in the window in which it was running.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 5: WebLogic Server Concepts Chapter 5 - Page 7

    Practice 5-2: Extending a Domain

    Overview In this practice, you extend the domain created in the previous practice to include Oracle SOA Suite. After extending the domain, you start the administration server and a managed server to see if the domain extension was successful.

    Tasks 1. Extend the domain to include Oracle SOA Suite.

    a. If you did not stop the administration server in the previous practice, do so now. b. In a new Terminal window, navigate to /common/bin, set

    the PATH, and run the Configuration Wizard: $> cd /u01/app/oracle/product/fmw/oracle_common/common/bin

    $> export JAVA_HOME=/u01/app/oracle/product/fmw/jrockit-jdk

    $> export PATH=$JAVA_HOME/bin:$PATH

    $> echo $PATH

    /u01/app/oracle/product/fmw/jrockit-jdk/bin:...

    $> ./config.sh

    c. Use the guidelines in the following table to install the software:

    Step Window/Page Description

    Choices or Values

    a. Welcome Select Extend an existing WebLogic domain. Click Next.

    b. Select a WebLogic Domain Directory

    Expand the nodes in the hierarchy to select /u01/app/oracle/admin/domains/ fmwdomain. Note: Notice that the icon for this directory looks different from the others. The wizard recognizes it as a domain directory. Click Next.

    c. Select Extension Source Select Extend my domain automatically to support the following products, and then select Oracle SOA Suite. Notes

    When you select Oracle SOA Suite, Oracle WSM Policy Manager is automatically selected.

    Make sure that you select the correct source. Do not select Oracle SOA Suite for developers.

    Sources already in the domain will be preselected, and deselecting them is disabled.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 5: WebLogic Server Concepts Chapter 5 - Page 8

    Step Window/Page Description

    Choices or Values

    Click Next.

    d. Configure JDBC Component Schema

    Select all check boxes to the left of the table. Then enter these values for the following fields:

    DBMS/Service: fmwdb.example.com Host Name: fmwhost1.example.com Schema Password: Welcome1

    Note: Any field not listed above should retain its default value (Vendor: Oracle; Driver: *Oracles Driver (Thin) for Service Connections; Port: 1521). Next, deselect all check boxes. Select one check box at a time and change the Schema Owner from DEV_whatever to FMW_whatever for each source. For example, change DEV_SOAINFRA to FMW_SOAINFRA. After changing a field, deselect the schema before moving on to the next one. When you have finished, the screen looks like the image shown in the next row. Click Next.

    e. Test JDBC Component Schema

    Make sure that all tests complete successfully. (There is a green check mark in each Status column.) Click Next.

    f. Select Optional Configuration

    Select: JMS Distributed Destination Managed Servers, Clusters and Machines JMS File Store.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 5: WebLogic Server Concepts Chapter 5 - Page 9

    Step Window/Page Description

    Choices or Values

    Click Next.

    g. Select JMS Distributed Destination Type

    Ensure that all the JMS System Resources listed are Uniform Distributed Destinations (UDD). If any are not, select UDD from their drop-down list. Click Next.

    h. Override Warning Click OK in the dialog box.

    i. Configure Managed Servers

    Rename soa_server1 to wls_soa1. Leave its Listen address as All Local Addresses. Leave its Listen port at 8001. Click Next.

    j. Configure Clusters Click the Add button. In the new row, enter or select the following values in the fields:

    Name: cluster_soa Cluster messaging mode: unicast Cluster address:

    fmwhost1.example.com:8001

    Click Next.

    k. Assign Servers to Clusters Under Cluster, select cluster_soa. Then under Server, select wls_soa1 and click the right-arrow button. When you are finished, the Cluster column should look like this:

    Click Next.

    l. Configure Machines First, under the Machine tab, if there is a machine listed, select it and click the Delete button. Click the Unix Machine tab and ensure that the ADMINHOST machine is displayed. Ensure that the Node manager listen address is All Local Addresses and the Node manager listen port is 5556. Do not add any other machines. Click Next.

    m. Assign Servers to Machines

    In the Machine column, select ADMINHOST. Then in the Server column, select wls_soa1 and click the right-arrow button. When you have finished, the Machine column should look like this:

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 5: WebLogic Server Concepts Chapter 5 - Page 10

    Step Window/Page Description

    Choices or Values

    Click Next.

    n. Configure JMS File Stores Notes Do not change the name of any of the JMS

    file stores. The subdirectory name itself is correct, so do

    not accidentally delete it. In the Directory field, move the cursor to the left, and insert the path to the directory. This will help prevent typos.

    All of the file stores have the same path to their subdirectories; take advantage of copy and paste.

    Leave the Synchronous write policy field blank. Update the Directory for each of the file stores as shown in the table.

    Then click Next.

    Name Directory UMSJMSFileStore_auto_1 /u01/app/oracle/admin/domains/

    cluster_soa/jms/UMSJMSFileStore_auto_1

    BPMJMSFileStore_auto_1 /u01/app/oracle/admin/domains/

    cluster_soa/jms/BPMJMSFileStore_auto_1

    SOAJMSFileStore_auto_1 /u01/app/oracle/admin/domains/

    cluster_soa/jms/SOAJMSFileStore_auto_1

    o. Configuration Summary Click Extend.

    p. Extending Domain When the progress bar reaches 100%, click Done.

    d. To ensure that the domain was extended successfully, start the administration server and the new managed server. In a Terminal window, navigate to the bin directory under the domain directory, and run the start script startWebLogic.sh. When prompted for the username, enter weblogic. When prompted for the password, enter Welcome1: $> cd /u01/app/oracle/admin/domains/fmwdomain/bin

    $> ./startWebLogic.sh

    ...

    Enter username to boot WebLogic server: weblogic

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 5: WebLogic Server Concepts Chapter 5 - Page 11

    Enter password to boot WebLogic server: Welcome1

    ...

    Notes The password does not display. Ignore any warnings or errors. Wait for the RUNNING mode message before continuing.

    e. In a different Terminal window, navigate to the bin directory under the domain directory and run the managed server start script startManagedWebLogic.sh. This script takes two parameters: the managed server name and the URL of the administration server. The second parameter, if not entered, defaults to the local host and port 7001, so it can be omitted with our domain. When prompted for the username, enter weblogic. When prompted for the password, enter Welcome1: $> cd /u01/app/oracle/admin/domains/fmwdomain/bin

    $> ./startManagedWebLogic.sh wls_soa1

    ...

    Enter username to boot WebLogic server: weblogic

    Enter password to boot WebLogic server: Welcome1

    ...

    Notes The password does not display. Ignore any warnings or errors. Wait for the RUNNING mode message before continuing. It can take the SOA

    server a while to completely come up.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 5: WebLogic Server Concepts Chapter 5 - Page 12

    f. After both servers have successfully started, shut them down by using the stopManagedWebLogic.sh and stopWebLogic.sh scripts in the domains bin directory. First, shut down the managed server. After the managed server has shut down, shut down the administration server. Wait for the first script to complete before running the second script: $> cd /u01/app/oracle/admin/domains/fmwdomain/bin

    $> ./stopManagedWebLogic.sh wls_soa1

    ...

    Please enter your username: weblogic

    Please enter your password: Welcome1

    ...

    $> cd /u01/app/oracle/admin/domains/fmwdomain/bin

    $> ./stopWebLogic.sh

    ...

    Please enter your username: weblogic

    Please enter your password: Welcome1

    ...

    Notes The passwords do not display. You will see that each server has been shut down in the window in which it was

    running.

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesson 6: Core WebLogic Server Administration and Monitoring Chapter 6 - Page 1

    Practices for Lesson 6: Core WebLogic Server Administration and Monitoring Chapter 6

    Ora

    cle

    Uni

    vers

    ity a

    nd (O

    racl

    e C

    orpo

    ratio

    n) u

    se o

    nly.

    Thes

    e eK

    it m

    ater

    ials

    are

    to b

    e us

    ed O

    NLY

    by

    you

    for t

    he e

    xpre

    ss p

    urpo

    se S

    ELF

    STU

    DY.

    SH

    ARIN

    G T

    HE

    FILE

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

    .

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.

    Practices for Lesso