Académique Documents
Professionnel Documents
Culture Documents
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
General Information
Course Information
Course Title(s)
Course Code(s)
D58686GC20
ILT, LVC
ILT, LVC
Administrator
2 of 8
Contact Information
Curriculum Manager
Rebecca Sly
Curriculum Developer
TJ Palazzolo
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
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
Number of CPUs
Disk Space
Temp Space
__ 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)
Oracle
Database
11g (11.2.0)
Oracle HTTP
Server
11g
(11.1.1.2.0)
WLS
(optional)
OpenMQ
4.3
JDK
OpenDS
2.2
JDK
Grinder
3.4
JDK
Distributor
0.7
JDK
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.
WebLogic Server
/u01/app/oracle/Middleware/11.1.1/wlserver_10.3
/u01/app/oracle/Middleware/11.1.1/webtier
/u01/app/oracle/instances/webtier/OHS/ohs1
/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
/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 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.
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
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
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
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.