Before You Begin
This tutorial shows you how to run the Repository Creation Utility, and how to create the Oracle Access Management 12c domain. This tutorial takes approximately 15 minutes to complete.
This is the fourth tutorial in the series Getting Started with Oracle Access Management 12c. Read them sequentially.
- Installing Oracle Database for Oracle Access Management 12c
- Creating an Oracle Database for Oracle Access Management 12c
- Installing Oracle Access Management 12c
- Configuring Oracle Access Management 12c
- Configuring Oracle Unified Directory for Oracle Access Management 12c
- Installing and Configuring Oracle HTTP Server
- Creating and Configuring a WebGate
- Protecting an Application Deployed in WebLogic Server
Background
In order to configure Oracle Access Management 12c, a number of schemas need to be loaded into the Oracle Database using the Repository Creation Utility. Once loaded an Oracle Access Management 12c domain needs to be created.
What Do You Need?
- An environment with:
- At least 16 GB of physical memory
- Oracle Enterprise Linux 6.6 or later with access to the Internet
- A running Oracle Database 12.1.0.2 or later
oracle
androot
credentialsSYS
database user credentials- A basic understanding of Linux
Run
the Repository Creation Utility
- Launch a terminal window as
oracle
and enter the following command:cd
/u01/app/oracle/product/middleware
/oracle_common/bin
./rcu - Follow the table below to guide you through the installation
screens:
Step Window Description Choices or Values 1. Welcome1 Click Next 2. Create Repository System Load and Product Load
3. Database Connection Details Database Type: Oracle Database
Host Name:oam.example.com
Port:1521
Service Name:orcl.example.com
Username:sys
Password:Welcome1
Role:SYSDBA
Click OK in Checking Prerequisites window4. Checking Prerequisites Click OK 5. Select Components Create a new prefix: DEV
Select schema:Oracle Access Manager
Click OK in Checking Prerequisites window6. Schema Passwords Use same passwords for all schemas
Password:Welcome1
Confirm Password:Welcome1
7. Map Tablespaces Click Next
Click OK in Confirmation and Creating Tablespaces window
8. Summary Click Create 9. Completion Summary Click Close
Configure
the Oracle Access Management 12c Domain
- Launch a terminal window as
oracle
and enter the following command:cd
/u01/app/oracle/product/middleware
/oracle_common/common/bin
./config.sh - Follow the table below to guide you through the configuration
screens:
Step Window Description Choices or Values 1. Create Domain Select Create a new domain
Domain Location:/u01/app/oracle/admin/domains/oam_domain
2. Templates Create Domain Using Product Templates
Select: Oracle Access Management Suite
3. Application Location Application Location: /u01/app/oracle/admin/applications/oam_domain
4. Administrator Account Name: weblogic
Password:Welcome1
Confirm:Welcome1
5. Domain Mode and JDK Domain Mode: Production
JDK: Oracle Hotspot6. Database Configuration Type Host Name: oam.example.com
DMS/Service:orcl.example.com
Port:1521
Schema Owner:DEV_STB
Schema Password:Welcome1
Click Get RCU Configuration
If successful click Next7. Component Datasources Click Next 8. JDBC Component Schema Test Click Next
9. Advanced Configuration Select Node Manager, and Topology
10. Node Manager Node Manager Type: Per Domain Default Location
Username:weblogic
Password:Welcome1
Confirm Password:Welcome1
11. Managed Servers Click Next 12. Clusters Click Next 13. Server Templates Click Next 14. Coherence Clusters Click Next 15. Machines Click Add
Name:oam_machine
16. Assign Servers to Machines Select Admin Server, oam_server1 and oam_policy_mgr1.
Select oam_machine and click the right arrow to move the servers under oam_machine17. Virtual Targets Click Next 18. Partitions Click Next 19. Configuration Summary Click Create 20. Configuration Progress Click Next 21. End of Configuration Click Finish
Start
the Servers
- Launch a terminal window as
oracle
and enter the following commands to star the Oracle Access Management 12c AdminServer
cd
/u01/app/oracle/admin/domains/oam_domain/
./startWebLogic.sh - If prompted during the startup enter the
WebLogic administrator credentials (
weblogic/Welcome1
). Wait until the terminal displays the message Server started in RUNNING mode. Minimize the window.
- In another terminal window start Node Manager by
running the following command:
mkdir /u01/app/oracle/admin/domains/oam_domain/nodemanager/logs
export LOG_DIR=/u01/app/oracle/admin/domains/oam_domain/nodemanager/logs
cd/u01/app/oracle/admin/domains/oam_domain/bin
nohup ./startNodeManager.sh > $LOG_DIR/nm.out& - Start the OAM Managed Server by starting a
browser and logging into the Oracle Fusion Middleware console
at
http://oam.example.com:7001/em
. Login with username and passwordweblogic/Welcome1
. - Select from the WebLogic Domain menu, Control > Startup. Once started you will see the message:
Completed Successfully
.
Test
the installation
- Start a browser and access the Oracle Access Management Console at
http://oam.example.com:7001/oamconsole
. Login asweblogic/Welcome1
.
- Access
http://oam.example.com:14150/access
and login withweblogic/Welcome1
.
Next
Tutorial
Configuring Oracle Unified Directory for Oracle Access Management 12c