Vous êtes sur la page 1sur 8

1 of 8

Team Collaboration

D58686GC20_WLS_11g_Adv_...
TRD_D58686GC20_WLS_11g_Adv_Admin_Ed2
Contents [hide]
1 Document History

Document History

2 General Information
2.1 Course Information
2.2 Contact Information
2.3 Timeline/Dates
3 Technical Environment Survey
3.1 General Questions
3.2 Technical Environment
3.2.1 Architecture
3.2.2 Hardware / Software Requirements
3.2.2.1 Hardware Requirements
3.2.2.2 Software Requirements
3.2.2.3 Software Download and Installation
3.2.2.4 Non-Oracle Software Licensing
4 Directory Structure / File Placement Requirements
5 Setup Instructions
5.1 Setup Sequence
5.1.1 Configure OS and Standard Apps
5.1.2 Install Lab Files
5.1.3 Install Oracle DB
5.1.4 Create a Second DB Instance
5.1.5 Install WebLogic Server, Hotspot JDK, JRockit JDK
5.1.6 Configure Java Browser Plugin
5.1.7 Install WebTier (HTTP Server)
5.1.8 Install OpenMQ
5.1.9 Install Distributor
5.1.10 Install OpenDS
5.1.11 Install Grinder
5.1.12 Special Setup Instructions
5.2 Setup Verification

Date

Name

Change

9/10/10 TJ Palazzolo Initial draft

General Information
Course Information
Course Title(s)

Oracle WebLogic Server 11g: Advanced Administration Ed2

Course Code(s)

D58686GC20

Primary Course Delivery Option

ILT, LVC

All Course Delivery Options

ILT, LVC

Course Type (Student Type)

Administrator

Primary product(s) used in course WebLogic Server 11gR1PS2 (10.3.3)

2 of 8

Contact Information
Curriculum Manager

Rebecca Sly

Curriculum Developer

TJ Palazzolo

SME / Development Contact See Course Design


QA Contact

None

GS Manager

David Sullivan

GS Project Manager

Pete Daly

GS Technical Contact(s)

None

OU Product Manager

Marilyn Roman

Timeline/Dates
Tech

Finalize

Environment

Environment

Finalize

Pilot

Environment

Environment

Review

TRD

Development

Handoff

Environment

Dates

QA/VT

Rollout

Meeting

Start Date

Technical Environment Survey


General Questions
Check all that apply and provide any supporting information for the following:
1. __X__ A previous version of this course exists: D58686GC10, Oracle WebLogic Server 11g: Advanced
Administration
2. __?__ An existing configuration can be used to support this course. The course will be preinstalled with WLS
10.3.3, Oracle DB, and some third party software.
3. _____ There are known issues for current courseware. If there are, list the detail (known bug, will it be fixed in

the next release?)


4. __X__ The course uses Linux
5. _____ The course uses Windows.Why? Can Linux be used instead?
6. _____ The course uses MS Office.Why? Can OpenOffice be used instead?

Technical Environment
ARCHITECTURE
Students will each have their own independent WLS 11g (10.3.3) installation, which they will administer from a Web browser and
the command line. Several of the practices show the integration of WLS with other types of Oracle or 3rd party middleware and
tools, including Oracle JRockit Mission Control, Oracle Database, a non-Oracle messaging server, and a non-Oracle LDAP server.
All of these other products are preinstalled and preconfigured.
For clustering practices, each student will run several instances of WLS along with several instances of Oracle HTTP Server, which
will be preconfigured to run as proxies for WLS. The most resource-intensive practice requires 4 WLS instances and 2 OHS
instances.
For performance tuning practices, students will run the Grinder tool.

3 of 8

HARDWARE / SOFTWARE REQUIREMENTS


Hardware Requirements
List the specifications for the hardware needed to develop / run the course.
RAM

Number of CPUs

Disk Space

Temp Space

Swap Space (Linux) / Page File (Windows)

__ 1GB

_X_ 1

__ 20GB

_?_ MB / GB

_?_ MB / GB

__ 2GB

__ 2

_X_ 40GB

_X_ 4GB

__ 80GB

__ 6GB

__ 160GB

__ 8GB

__ 250GB

Software Requirements
Software

Version

Dependencies

Comments

Oracle
Enterprise Linux

OEL5u4

Oracle
WebLogic
Server

11g (10.3.3)

Includes Hotspot and JRockit JDK

Oracle
Database

11g (11.2.0)

Configure 2 instances/listeners for Multi Data Source practice

Oracle HTTP
Server

11g
(11.1.1.2.0)

WLS
(optional)

Part of WebTier installer; no need to install all components;


configure 2 instances for Cross Cluster practice

OpenMQ

4.3

JDK

For JMS Bridge practice; http://mq.dev.java.net

OpenDS

2.2

JDK

For LDAP practice; http://www.opends.org

Grinder

3.4

JDK

For Performance Tuning practices;


http://grinder.sourceforge.net/

Distributor

0.7

JDK

For Cross Cluster practice; http://distributor.sourceforge.net/

Mozilla Firefox

3.0

Adobe Reader

4 of 8

PPT Viewer

Does the software for this course require any of the following?
1. _____ Beta software
2. _____ Specific ports that need to be open (e.g. 1158 for Enterprise Manager).
3. _____ Access required to any URLs or servers outside the classroom
4. _____ Software that needs to be staged for installation by students
5. __X__ Software that is installed silently or behind the scenes
Students will not install or configure any of the products listed above - it must all be done in advance.

Software Download and Installation


Select one of the following
1. _____ GS will provide development image(s) / machine(s) with only the base OS
2. __X__ GS will provide development image(s) / machine(s) with the base OS, and download (stage), but not install, the
required software in the image(s) / machine(s)
3. _____ GS will provide development image(s) / machine(s) with the base OS, and install all required software in the
images(s) / machine(s)
4. _____ GS will provide development image(s) / machine(s) with the base OS, and install some of the required software in the
images / machine(s) (in the "Software" table above, place an *asterisk next to the "Product Name" of the software to be
pre-installed by GS)

Non-Oracle Software Licensing


Not applicable

Directory Structure / File Placement Requirements


Name of file / product

Location (where file should go)

WebLogic Server

/u01/app/oracle/Middleware/11.1.1/wlserver_10.3

WebTier (HTTP Server)

/u01/app/oracle/Middleware/11.1.1/webtier

HTTP Server Instance 1

/u01/app/oracle/instances/webtier/OHS/ohs1

HTTP Server Instance 2

/u01/app/oracle/instances/webtier/OHS/ohs2

Database

/u01/app/oracle/Database/11.2.0/orcl

DB Instance 1

/u01/app/oracle/oradata/orcl

DB Instance 2

/u01/app/oracle/oradata/orcl2

OpenMQ

/u01/app/opensource/MessageQueue

OpenDS

/u01/app/opensource/OpenDS

Grinder

/u01/app/opensource/Grinder

Distributor

/u01/app/opensource/Distributor

Practice Files and Student Work

/home/oracle/wls11g_advadm

Setup Instructions
Setup Sequence
CONFIGURE OS AND STANDARD APPS
1. Add shortcuts to File Browser, Terminal, Firefox, and Text Editor to desktop.

Comments

5 of 8

2. Launch File Browser. Select Edit, Preferences. Select Show Hidden Files
3. Launch Text Editor. Select Edit, Preferences. Click the Editor tab and disable Create Backup File.
4. Launch Firefox. Select Edit, Preferences. Click the Privacy tab and under Private Data click Clear Now.
5. Launch Terminal. Select Edit, Current Profile. Click Scrolling tab. Set Scrollback to 1000.
6. Create a new folder /u01 and change its owner to the oracle user.

INSTALL LAB FILES


1. Extract labs.zip to /home/oracle/wls11g_advadm.

INSTALL ORACLE DB
1. Use Linux User Manager to create the groups oinstall and dba. Add the oracle user to these groups (oinstall=primary).
2. Create the folder /u01/app/oracle.
3. Launch a new Terminal and run the following:
ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE
4. Extract installer ZIP and execute the runInstaller file.
5. Click Next until the Select Installation Option step. Select Install Database Software Only and click Next.
6. Click Next until the Specify Installation Location step. Set the Software Location to "/u01/app/oracle/Database/11.2.0
/orcl". Click Next.
7. Click Next until the Privileged Operating System Groups step. Set both groups to "oinstall" and click Next.
8. Complete the installer. You will be asked to execute some additional scripts as the root user.
9. Launch a new Terminal and execute /u01/app/oracle/Database/11.2.0/orcl/bin/dbca.
10. Click Next until the Database Identification step. Set the Global Database Name to "orcl.us.oracle.com" and the SID to
"orcl". Click Next.
11. Disable the Configure Enterprise Manager field and click Next.
12. Select the Use the Same Password option. Set the Password to "Welcome1".
13. Click Next until the Initialization Parameters step. Set the Memory Size to 600.
14. Click the Character Sets tab and select the Use Unicode option. Click Next.
15. Complete the configuration wizard.
16. Execute /u01/app/oracle/Database/11.2.0/orcl/bin/netca.
17. Select the option to Add a listener. Complete the configuration wizard.
18. Add the following lines to /home/oracle/.bash_profile:
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/Database/11.2.0/orcl
ORACLE_SID=orcl
export ORACLE_BASE ORACLE_HOME ORACLE_SID
PATH=$PATH:$ORACLE_HOME/bin
19. Use sqlplus to execute /home/oracle/wls11g_advadm/init/password_lifetime.sql.
20. Use sqlplus to execute /home/oracle/wls11g_advadm/init/medrec_users.sql.

CREATE A SECOND DB INSTANCE


1. Launch a new Terminal and execute dbca again.
2. Click Next until the Database Identification step. Set the Global Database Name to "orcl2.us.oracle.com" and the SID to
"orcl2". Click Next.
3. Disable the Configure Enterprise Manager field and click Next.
4. Select the Use the Same Password option. Set the Password to "Welcome1".
5. Click Next until the Initialization Parameters step. Set the Memory Size to 600.
6. Click the Character Sets tab and select the Use Unicode option. Click Next.
7. Complete the configuration wizard.
8. Launch sqlplus but first set ORACLE_SID to "orcl2"
9. Execute /home/oracle/wls11g_advadm/init/password_lifetime.sql, medrec_users.sql, medrec_tables.sql, and
medrec_data.sql.
10. Copy /home/oracle/wls11g_advadm/init/listener.ora and tnsnames.ora to ORACLE_HOME/network/admin and overwrite
the previous versions.

INSTALL W EBLOGIC SERVER, HOTSPOT JDK, JROCKIT JDK


1. Execute the installer wls1033_linux32.bin.

6 of 8

2. Click Next until the Choose Middleware Home step. Enter "/u01/app/oracle/Middleware/11.1.1/".
3. Click Next until the Choose Install Type step. Select Custom and click Next.
4. Select the Server Examples checkbox.
5. Complete the installation. Do not run Quick Start.
6. Add the following lines to /home/oracle/.bash_profile:
MIDDLEWARE_HOME=/u01/app/oracle/Middleware/11.1.1
WEBLOGIC_HOME=$MIDDLEWARE_HOME/wlserver_10.3
export MIDDLEWARE_HOME WEBLOGIC_HOME

CONFIGURE JAVA BROWSER PLUGIN


1. Launch a Terminal and as root, execute /home/oracle/wls11g_advadm/init/browser_plugin.sh.

INSTALL W EBTIER (HTTP SERVER)


1. Extract installer ZIP.
2. Launch a Terminal and execute Disk1/runInstaller.
3. Click Next until the Specify Install Location step. Set the following and click Next:
Oracle Middleware Home = /u01/app/oracle/Middleware/11.1.1
Oracle Home Directory = webtier
4. Select only the Oracle HTTP Server option and click Next.
5. Set the following and click Next:
Instance Home Location = /u01/app/oracle/instances/webtier
Instance Name = webtier
OHS Component Name = ohs1
6. Complete the installer.
7. Add the following lines to /home/oracle/.bash_profile:
WT_HOME=/u01/app/oracle/Middleware/11.1.1/webtier
INSTANCE_HOME=/u01/app/oracle/instances/webtier
export WT_HOME INSTANCE_HOME
PATH=$PATH:$INSTANCE_HOME/bin
8. Launch a Terminal and run opmnctl createcomponent -componentType OHS -componentName ohs2 -listenPort 7778
-sslPort 4444 -proxyPort 9998
9. Execute opmnctl stopall.
10. Copy /home/oracle/wls11g_advadm/init/mod_wl_ohs.conf to /u01/app/oracle/instances/webtier/config/OHS/ohs1 and
overwrite the default version.
11. Copy /home/oracle/wls11g_advadm/init/mod_wl_ohs2.conf to /u01/app/oracle/instances/webtier/config/OHS/ohs2 and
rename it to mod_wl_ohs.conf.

INSTALL OPENMQ
1. Launch a Terminal and set JAVA_HOME to $MIDDLEWARE_HOME/jdk160_18.
2. Extract the installer ZIP and execute installer.
3. Click Next until the Install Home step. Set the installation path to /u01/app/opensource/MessageQueue .
4. Complete the installer. Skip the registration step.
5. Create a folder MessageQueue/jndi-store.
6. Run MessageQueue/mq/bin/imqbrokerd.
7. Run MessageQueue/mq/bin/imqadmin.
8. Right-click Brokers and select Add Broker.
9. Enter these values:
Broker Label = LocalBroker
Host = localhost
Primary Port = 7676
Username/Password = admin
10. Right-click LocalBroker and select Connect to Broker.
11. Right-click Destinations and select Add Broker Destination.
12. Enter the Destination Name "NotificationQueue" and click OK.
13. Right-click Object Stores and select Add Object Store.

7 of 8

14. Set the Object Store Label to "LocalFileJNDIStore".


15. Add the following properties and values and click OK:
java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
java.naming.provider.url=file:///u01/app/opensource/MessageQueue/jndi-store
16. Right-click LocalFileJNDIStore and select Connect to Object Store.
17. Right-click Destinations and select Add Destination Object.
18. Enter these values and click OK:
Lookup Name = NotificationQueue
Destination Name = NotificationQueue
19. Right-click Connection Factories and select Add Connection Factory Object.
20. Enter these values and click OK:
Lookup Name = NotificationFactory
Factory Type = XAConnectionFactory
Message Server Address List = localhost:7676
21. Kill the console and server.
22. Add the following lines to /home/oracle/.bash_profile:
MQ_HOME=/u01/app/opensource/MessageQueue
export MQ_HOME

INSTALL DISTRIBUTOR
1. Extract the ZIP to /u01/app/opensource.
2. Rename the folder "distributor-0.7" to Distributor.
3. Copy /home/oracle/wls11g_advadm/init/distributor.* to /u01/app/opensource/Distributor.
4. Add the following lines to /home/oracle/.bash_profile:
DIST_HOME=/u01/app/opensource/Distributor
export DIST_HOME

INSTALL OPENDS
1. Extract the ZIP to /u01/app/opensource.
2. Rename the folder "OpenDS-2.2.0" to OpenDS.
3. Launch a Terminal and set JAVA_HOME to $MIDDLEWARE_HOME/jdk160_18.
4. Execute the file OpenDS/setup. Click Next.
5. For Server Settings, enter these values:
Host Name = localhost
LDAP Listener Port = 7878
Administration Connector Port = 7879
Root User DN = "cn=Directory Manager"
Password = Welcome1
6. Click Next until the Directory Data step. Set Directory Base DN to "dc=medrec,dc=com" and click Next.
7. Complete the installer. Then click Launch Control Panel and log in.
8. When prompted with the Certificate Not Trusted dialog, click Accept Permanently.
9. Click the Stop button. Exit the control panel.
10. Add the following lines to /home/oracle/.bash_profile:
LDAP_HOME=/u01/app/opensource/OpenDS
export LDAP_HOME

INSTALL GRINDER
1. Extract the ZIP to /u01/app/opensource.
2. Rename the folder "grinder-3.4" to Grinder.
3. Add the following lines to /home/oracle/.bash_profile:
GRINDER_HOME=/u01/app/opensource/Grinder
export GRINDER_HOME

SPECIAL SETUP INSTRUCTIONS


None

8 of 8

Setup Verification
1. Launch a Terminal.
2. Run "opmnctl startall" to launch both OHS instances.
3. Run "opmnctl status" to confirm ohs1 and ohs2 and running.
4. Run /home/oracle/wls11g_advadm/bin/prompt.sh to launch an XTerm window.
5. From the XTerm window, navigate to wls11g_advadm/labs/Lab03_01 and run "ant setup_solution".
6. The script will start the first DB, update the DB, and then create and start two WLS instances (each in their own XTerm
windows).
7. When finished, you can run "opmnctl stopall", close all windows, and delete wls11g_advadm/work.

Copyright 2008, 2010, Oracle and/or its affiliates. All rights reserved.

About Beehive Team Collaboration

Vous aimerez peut-être aussi