Skip Headers
Oracle® Fusion Middleware Enterprise Deployment Guide for Oracle Identity Management
11g Release 1 (11.1.1)

Part Number E12035-02
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Feedback page
Contact Us

Go to previous page
Go to next page
View PDF

3 Creating the WebLogic Server Domain for Identity Management

This chapter describes how to create the WebLogic Server domain for Identity Management.

This chapter includes the following topics:

3.1 Installing Oracle WebLogic Server

On IDMHOST1 and IDMHOST2, start the Oracle WebLogic Server installation by running the installer executable file.

Start the Oracle WebLogic Server installer as follows:

Then follow these steps in the installer to install Oracle WebLogic Server on the computer:

  1. On the Welcome screen, click Next.

  2. On the Choose Middleware Home Directory screen, choose a directory on your computer into which the Oracle WebLogic software is to be installed.

    For the Middleware Home Directory, specify this value:


    Click Next.

  3. On the Register for Security Updates screen, enter your "My Oracle Support" UserName and Password.

  4. On the Choose Install Type screen, the installation program displays a window in which you are prompted to indicate whether you wish to perform a complete or a custom installation.

    Choose Typical.

    Click Next.

  5. On the Choose Product Installation Directories screen, specify the following value:

    WebLogic Server:


    Click Next.

  6. On the Installation Summary screen, the window contains a list of the components you selected for installation, along with the approximate amount of disk space to be used by the selected components once installation is complete.

    Click Next.

  7. On the Installation Complete screen deselect the Run Quickstart checkbox and then click Done.

3.2 Configuring the WebLogic Server Domain on IDMHOST1

Follow these steps to configure the WebLogic Server domain on IDMHOST1:

  1. Ensure that the system, patch, kernel and other requirements are met. These are listed in the Oracle Fusion Middleware Installation Guide for Oracle Identity Management manual in the Oracle Fusion Middleware documentation library for the platform and version you are using.

  2. Ensure that port numbers 7001 and 5556 are not in use by any service on the computer by issuing these commands for the operating system you are using. If a port is not in use, no output is returned from the command.

    On UNIX:

    netstat -an | grep "7001"
    netstat -an | grep "5556"

    If the ports are in use (if the command returns output identifying the port), you must free them.

    On UNIX:

    Remove the entries for ports 7001 and 5556 in the /etc/services file if the port is in use by a service and restart the services, or restart the computer.

  3. Copy the staticports.ini file from the Disk1/stage/Response directory to a temporary directory.

  4. Edit the staticports.ini file that you copied to the temporary directory to assign the following custom port:

    Domain Port No: 7001

    Node Manager Port No: 5556

  5. Start the Oracle Identity Management 11g Installer as follows:

    On UNIX, issue this command: runInstaller

    The runInstaller file is in the ../install/platform directory where platform is a platform such as Linux or Solaris.

    This displays the Specify Oracle Inventory screen.

  6. On the Specify Inventory Directory screen, enter values for the Oracle Inventory Directory and the Operating System Group Name. For example:

    Specify the Inventory Directory: /u01/app/oraInventory

    Operating System Group Name: oinstall

    A dialog box appears with the following message:

    "Certain actions need to be performed with root privileges before the install can continue. Please execute the script /u01/app/oraInventory/ now from another window and then press "Ok" to continue the install. If you do not have the root privileges and wish to continue the install select the "Continue installation with local inventory" option"

    Login as root and run the "/u01/app/oraInventory/"

    This sets the required permissions for the Oracle Inventory Directory and then brings up the Welcome screen.


    The Oracle Inventory screen is not shown if an Oracle product was previously installed on the host. If the Oracle Inventory screen is not displayed for this installation, make sure to check and see:
    1. If the /etc/oraInst.loc file exists

    2. If the file exists, the Inventory directory listed is valid

    3. The user performing the installation has write permissions for the Inventory directory

  7. On the Welcome screen, click Next.

  8. On the Select Installation Type screen, select the Install & Configure Option, and then click Next.

  9. On the Prerequisite Checks screen, the installer completes the prerequisite check. If any fail, please fix them and restart your installation.

  10. On the Select Domain screen, select Create New Domain.

    Then enter these values for these fields:

    User Name: weblogic

    User Password: <Enter the user password>

    Confirm Password: <Confirm the user password>

    Domain Name: IDMDomain

  11. On the Specify Installation Locations screen, specify the following values:

    Oracle Middleware Home Location:


    Oracle Home Directory: idm

    WebLogic Server Directory:


    Oracle Instance Location:


    Oracle Instance Name: admin_inst

  12. On the Specify Email for Security Updates screen, specify these values:

    • Email Address: Provide the email address for your My Oracle Support account.

    • Oracle Support Password: Provide the password for your My Oracle Support account.

    • Check the checkbox next to the I wish to receive security updates via My Oracle Support field.

    Click Next.

  13. On the Configure Components screen, de-select everything except Enterprise Manager (this is selected by default)

  14. On the Configure Ports screen, select Specify Ports using Configuration file - Path to staticports.ini file and enter the full pathname to the staticports.ini file that you edited in the temporary directory.

  15. On the Installation Summary screen, review the choices you made. If you need to make any changes click Back. If you made the correct selections, click Install.

  16. On the Installation Progress screen, view the progress of the installation.

    Once the installation is done, the confirmation dialog box displays. This dialog box advises you that a configuration script needs to be run as root before installation can proceed.

    Leaving this dialog box open, open another shell window, log in as root, and run the file specified in the dialog box.

  17. On the Configuration Progress screen, view the progress of the configuration.

  18. On the Installation Complete screen, click Finish.

  19. Validate that the domain was created and installed correctly by opening a web browser and accessing the following pages:

    WebLogic Server Administration Console at:

    Oracle Enterprise Manager Fusion Middleware Control at:

    Log into these consoles using the weblogic user credentials.

3.3 Creating for the Administration Server

This section describes how to create a file for the Administration Server on IDMHOST1. The file enables the Administration Server to start without prompting for the administrator username and password.

Follow these steps to create the file:

  1. On IDMHOST1, go the MW_HOME/user_projects/domains/domainName/servers/AdminServer/security directory. For example:

    cd /u01/app/oracle/product/fmw/user_projects/domains/IDMDomain/servers/AdminServer/security/
  2. Use a text editor to create a file called under the security directory. Enter the following lines in the file:



    When you start the Administration Server, the username and password entries in the file get encrypted.

    For security reasons, minimize the time the entries in the file are left unencrypted. After you edit the file, you should start the server as soon as possible so that the entries get encrypted.

  3. Stop the Administration Server if it is running.

    See the "Starting and Stopping Oracle Fusion Middleware" chapter of the Oracle Fusion Middleware Administrator's Guide for information on starting and stopping WebLogic Servers.

  4. Start the Administration Server on IDMHOST1 using the script located under the MW_HOME/user_projects/domains/domainName/bin directory.

  5. Validate that the changes made were successful by opening a web browser and accessing the following pages:

    • WebLogic Server Administration Console at:

    • Oracle Enterprise Manager Fusion Middleware Control at:

    Log into these consoles using the weblogic user credentials.

3.4 Backing Up the WebLogic Server Domain Configuration

It is an Oracle best practices recommendation to create a backup file after successfully completing the installation and configuration of each tier or a logical point. Create a backup of the installation after verifying that the install so far is successful. This is a quick backup for the express purpose of immediate restore in case of problems in later steps. The backup destination is the local disk. This backup can be discarded once the enterprise deployment setup is complete. After the enterprise deployment setup is complete, the regular deployment-specific Backup and Recovery process can be initiated. More details are described in the Oracle Fusion Middleware Administrator's Guide.

To back up the installation to this point, back up the Administration Server domain directory. All the configuration files exist under the MW_HOME/user_projects/domains/domainName directory. To create a backup to save your domain configuration, use the tar command as shown below:

IDMHOST1> tar cvf edgdomainback.tar MW_HOME/user_projects/domains/domainName

For more information about backing up the Oracle WebLogic Server domain configuration, see Section 10.4, "Performing Backups and Recoveries."