Oracle by Example brandingConfiguring Oracle Access Management 12c

section 0Before 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.

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 and root credentials
    • SYS database user credentials
  • A basic understanding of Linux

section 1Run the Repository Creation Utility

  1. Launch a terminal window as oracle and enter the following command:
    cd /u01/app/oracle/product/middleware/oracle_common/bin
    ./rcu
  2. 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 window
    4. Checking Prerequisites Click OK
    5. Select Components Create a new prefix: DEV
    Select schema: Oracle Access Manager

    Click OK in Checking Prerequisites window
    6. 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

section 2Configure the Oracle Access Management 12c Domain

  1. Launch a terminal window as oracle and enter the following command:
    cd /u01/app/oracle/product/middleware/oracle_common/common/bin
    ./config.sh
  2. 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 Hotspot
    6. 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 Next
    7. 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_machine
    17. Virtual Targets Click Next
    18. Partitions Click Next
    19. Configuration Summary Click Create
    20. Configuration Progress Click Next
    21. End of Configuration Click Finish

section 3Start the Servers

  1. 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
  2. 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.
  3. 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&
  4. 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 password weblogic/Welcome1.
  5. Select from the WebLogic Domain menu, Control > Startup. Once started you will see the message: Completed Successfully.

section 4Test the installation

  1. Start a browser and access the Oracle Access Management Console at http://oam.example.com:7001/oamconsole. Login as weblogic/Welcome1.
  2. Access http://oam.example.com:14150/access and login with weblogic/Welcome1.


next stepNext Tutorial

Configuring Oracle Unified Directory for Oracle Access Management 12c