This section contains the following topics:
Before you configure a Fusion Middleware Infrastructure domain, you must install the following schemas on a certified database to use them with this Oracle Fusion Middleware release.
Metadata Services (MDS)
Audit Services (IAU)
Audit Services Append (IAU_APPEND)
Audit Services Viewer (IAU_VIEWER)
Oracle Platform Security Services (OPSS)
User Messaging Service (UMS)
WebLogic Services (WLS)
Service Table (STB)
Follow the instructions in this topic to create database schemas:
/oracle_common/bin
directory.Verify that you installed and configured a certified database and that it is up and running.
For more information, see Installing a Database and Database Schemas in Oracle Fusion Middleware Planning an Installation of Oracle Fusion Middleware.
You start RCU from the /oracle_common/bin
directory.
To start the Repository Creation Utility:
Follow this series of steps to create schemas for the Oracle Fusion Middleware Infrastructure domain.
If you have the permission and privileges to perform DBA actions on your database, select System Load and Product Load on the Create Repository screen.
(The procedure in this document assumes that you have the necessary privileges.)
If you do not have the necessary permission or privileges to perform DBA actions, you must select Prepare Scripts for System Load. This option generates a SQL script that you can give to your database administrator. See Understanding System Load and Product Load in Oracle Fusion Middleware Creating Schemas with the Repository Creation Utility.
Tip:
For more about options on this screen, see Create repository in Oracle Fusion Middleware Creating Schemas with the Repository Creation Utility.
On the Database Connection Details screen, enter database connection details for RCU to connect to your database.
Click Next then click OK on the dialog window to confirm a successful database connection.
For more information about options on this screen, see Database Connection Details in Oracle Fusion Middleware Creating Schemas with the Repository Creation Utility.
On the Select Components screen, enter a custom prefix you want to use for your schemas, then select AS Common Schemas.
All schemas in this section are automatically selected. The custom prefix logically groups these schemas together for this domain.
Tip:
For more on custom prefixes, see Understanding Custom Prefixes in Oracle Fusion Middleware Creating Schemas with the Repository Creation Utility.
For more on how to organize schemas in a multi-domain environment, see Planning Your Schema Creation in Oracle Fusion Middleware Creating Schemas with the Repository Creation Utility.
Make a note of the custom prefix that you enter; you need the prefix when you create a domain.
Click Next then click OK on the dialog window to confirm that prerequisite checking for schema creation is successful.
On the Schema Passwords screen, specify how you want to set the schema passwords on your database, then enter and confirm your passwords.
Tip:
You must make a note of the passwords you set on this screen; you will need them later on during the domain creation process.
Navigate through the remaining RCU screens to complete schema creation. When you reach the Completion Summary screen, click Close to dismiss RCU.
For more information about RCU and its features and concepts, see About Repository Creation Utility.
This topic describes how to create a WebLogic domain using the Configuration Wizard.
There are other ways to create a domain; see Additional Tools for Creating, Extending, and Managing WebLogic Domains in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard.
To configure a WebLogic domain, follow these steps:
ORACLE_HOME
/oracle_common/common/bin
directory and start the WebLogic Server Configuration Wizard.To start domain configuration, navigate to the ORACLE_HOME
/oracle_common/common/bin
directory and start the WebLogic Server Configuration Wizard.
On UNIX operating systems:
./config.sh
On Microsoft Windows operating systems:
config.cmd
On Windows operating systems, you can also start the Configuration Wizard from the Start menu: Select All Programs, then Oracle, then OracleHome. Select WebLogic Server 12c (12.2.version
), then Tools, then Configuration Wizard.
In addition to creating and configuring a domain, you can use this procedure to extend an existing domain. If your settings don't match those in the procedure, change your selections as you need to or see supporting documentation for more details.
To configure multiple products in one domain, see Installing Multiple Products in the Same Domain in Oracle Fusion Middleware Planning an Installation of Oracle Fusion Middleware.
You must select a Domain home directory location, optimally outside the Oracle home directory.
To specify the Domain type and Domain home directory:
Oracle recommends that you locate your Domain home in accordance with the directory structure in What are the Key Oracle Fusion Middleware Directories? in Oracle Fusion Middleware Understanding Oracle Fusion Middleware. The Domain home resides outside Oracle home directory. This directory structure helps avoid issues when you upgrade or reinstall software.
Tip:
For more on the Domain home directory, see Choosing a Domain Home in Oracle Fusion Middleware Planning an Installation of Oracle Fusion Middleware.
For more about reinstalling the software, see About Reinstalling the Software.
For more about other options on this screen, see Configuration Type in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard.
A domain template defines the full set of resources within a WebLogic domain, including the Administration Server, clusters, servers, applications, services, security options, and other options.
On the Templates screen, make sure Create Domain Using Product Templates is selected, then select the following templates:
Oracle Enterprise Manager - 12.2.1.2.0 [em]]
Selecting this template automatically selects the following dependencies:
Oracle JRF - 12.2.1.2.0 [oracle_common]
WebLogic Coherence Cluster Extension - 12.2.1.2.0 [wlserver]
Oracle WSM Policy Manager - 12.2.1.2.0 [oracle_common]
Tip:
For more information about options on this screen, see Templates in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard.
On the Application Location screen, select a location to store applications associated with your domain. This location is the Application home directory.
Oracle recommends that you locate your Application home in accordance with the directory structure that What are the Key Oracle Fusion Middleware Directories? in Oracle Fusion Middleware Understanding Oracle Fusion Middleware describes. Oracle recommends that you locate the Application home outside the Oracle home directory. This directory structure helps avoid issues when you upgrade or reinstall your software.
Tip:
For more information about the Application home directory, see Choosing an Application Home in Oracle Fusion Middleware Planning an Installation of Oracle Fusion Middleware.
For more information about reinstalling the software, see About Reinstalling the Software.
For more information about the options on this screen, see Application Location in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard.
Use the Administrator Account screen to specify the user name and password for the default WebLogic Administrator account for the domain.
Oracle recommends that you make a note of the user name and password that you specify; you need these credentials later to boot and connect to the domain's Administration Server.
Use the Domain Mode and JDK screen to specify the domain mode and Java Development Kit (JDK).
Select Production in the Domain Mode field.
Select the Oracle Hotspot JDK in the JDK field.
Select Production Mode to give your environment a higher degree of security. Doing this means that you must enter a user name and password to deploy applications and to start the Administration Server.
Tip:
For details about options on this screen, including differences between development mode and production mode, see Domain Mode and JDK in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard.
In production mode, you can create a boot identity file to bypass the need to enter credentials when you start the Administration Server. See Creating a Boot Identity File for an Administration Server in Oracle Fusion Middleware Administering Server Startup and Shutdown for Oracle WebLogic Server.
Use the Database Configuration type screen to specify details about the database and database schema.
On the Database Configuration type screen, select RCU Data. This option instructs the Configuration Wizard to connect to the database and Service Table (STB) schema to automatically retrieve schema information for schemas needed to configure the domain.
Note:
If you select Manual Configuration on this screen, you must manually fill in parameters for your schema on the next screen.
After selecting RCU Data, fill in the following fields:
Field | Description |
---|---|
DBMS/Service |
Enter the database DBMS name, or service name if you selected a service type driver. Example: |
Host Name |
Enter the name of the server hosting the database. Example: |
Port |
Enter the port number on which the database listens. Example: |
Schema Owner Schema Password |
Enter the username and password for connecting to the database's Service Table schema. This is the schema username and password entered for the Service Table component on the Schema Passwords screen in the RCU (see Specifying Schema Passwords). The default username is |
Click Get RCU Configuration when you finish specifying the database connection information. The following output in the Connection Result Log indicates that the operation succeeded:
Connecting to the database server...OK Retrieving schema data from database server...OK Binding local schema components with retrieved data...OK Successfully Done.
Tip:
For more information about the schema installed when the RCU is run, see About the Service Table Schema in Oracle Fusion Middleware Creating Schemas with the Repository Creation Utility.
For more information about this screen, see Database Configuration Type in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard.
Use the JDBC Component Schema screen to verify or specify details about the database schemas.
Verify that the values populated on the JDBC Component Schema screen are correct for all schemas. If you selected RCU Data on the previous screen, the schema table should already be populated appropriately.
Tip:
For high availability environments, see the following sections in Oracle Fusion Middleware High Availability Guide for additional information on configuring data sources for Oracle RAC databases:
For more information about this screen, see JDBC Component Schema in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard.
Use the JDBC Component Schema Test screen to test datasource connections that you just configured.
A green check mark in the Status column indicates a successful test. If you encounter issues, see the error message in the Connection Result Log section of the screen, fix the problem, then test the connection again.
Tip:
See JDBC Component Schema Test in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard for more information about the other options on this screen.
Use the Advanced Configuration screen to complete the domain configuration.
To complete domain configuration, select these options:
Administration Server
Required to properly configure the Administration Server’s listen address
Node Manager
Required to configure Node Manager
Topology
Required to configure the Managed Servers and cluster, and for configuring the machine and targeting Managed Servers to the machine.
Tip:
To configure dynamic clusters, see:
Overview of Dynamic Clusters in Oracle Fusion Middleware Understanding Oracle WebLogic Server.
Creating Dynamic Clusters in Oracle Fusion Middleware Administering Clusters for Oracle WebLogic Server.
You do not need to select:
Domain Frontend Host Capture
Deployments and Services
JMS File Store
Use the Administration Server screen to select the IP address of the host.
Select the drop-down list next to Listen Address and select the IP address of the host where the Administration Server will reside, or use the system name or DNS name that maps to a single IP address. Do not use All Local Addresses
.
Do not specify any server groups for the Administration Server.
Note:
Use Mozilla Firefox to access Internet Protocol Version 6 (IPv6) URLs. You must enter the Global IPv6 address to create a domain and access URLs. (You should not use the local IPv6 address.)Use the Node Manager screen to select the Node Manager type you want to configure, along with the Node Manager credentials.
Select Per-Domain Default Location as the Node Manager type, then specify Node Manager credentials.
Tip:
See Node Manager in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard for details about options on this screen.
See Node Manager Overview in Oracle Fusion Middleware Administering Node Manager for Oracle WebLogic Server for details about the types of Node Manager.
In this screen, you create Managed Servers.
To create two new Managed Servers:
Tip:
For details about options on this screen, see Managed Servers in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard.
To create a new cluster:
infra_cluster_1
in the Cluster Name field.By default, server instances in a cluster use unicast to communicate with each other. To change your cluster communications to use multicast, see Considerations for Choosing Unicast or Multicast in Oracle Fusion Middleware Administering Clusters for Oracle WebLogic Server.
You can create new clusters using Fusion Middleware Control and configure cluster communication (unicast or multicast) as you go through cluster creation steps. See Create and Configure Clusters in Administration Console Online Help.
Tip:
For more information on options on this screen, see Clusters in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard.
If you are creating dynamic clusters for a high availability setup, use the Server Templates screen to define one or more server templates for domain.
For steps to create a dynamic cluster for a high availability setup, see Using Dynamic Clusters in Oracle Fusion Middleware High Availability Guide.
If you are creating dynamic clusters for a high availability setup, use the Dynamic Servers screen to configure the dynamic servers.
If you are not configuring a dynamic cluster, click Next to continue configuring the domain.
Note:
When you create dynamic clusters, keep in mind that after you assign the Machine Name Match Expression, you do not need to create machines for your dynamic cluster.For steps to create a dynamic cluster for a high availability setup, see Using Dynamic Clusters in Oracle Fusion Middleware High Availability Guide.
To assign infra_server_1
and infra_server_2
to the new cluster infra_cluster_1
, use the Assign Servers to Clusters screen:
Tip:
For more about options on this screen, see Assign Servers to Clusters in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard.
Use the Coherence Clusters screen to configure the Coherence cluster.
Leave the default port number as the Coherence cluster listen port. After configuration, the Coherence cluster is automatically added to the domain.
Note:
Setting the unicast listen port to 0
creates an offset for the Managed Server port numbers. The offset is 5000
, meaning the maximum allowed value that you can assign to a Managed Server port number is 60535
, instead of 65535
.
Note:
For Coherence licensing information, see Oracle Coherence Products in Licensing Information.
You create a new machine in the domain using the Machines screen. You assign servers to this machine in the next screen.
Tip:
If you plan to create a high availability environment and know the list of machines that your target topology requires, you can follow the steps in this topic to create all machines at this time. For more information, see Optional Scale Out Procedure in Oracle Fusion Middleware High Availability Guide.
To create a new machine in the domain:
Note:
If you extend an existing domain, you can assign servers to any existing machine. You don't need to create a new machine unless your situation requires it.
Tip:
See Machines in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard for more information about these options.
In this screen, assign the domain servers to the machine you just created.
To assign the Administration Server and Managed Servers to the new machine:
Tip:
For more information about options on this screen, see Assign Servers to Machines in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard.
If you have a WebLogic Server Multitenant (MT) environment, you use the Virtual Targets screen to add or delete virtual targets. For this installation (not a WebLogic Server MT environment), you do not enter any values; just select Next.
Tip:
For more information about this screen, see Virtual Targets in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard.The Partitions screen is used to configure partitions for virtual targets in WebLogic Server Multitenant (MT) environments. Select Next without selecting any options.
Tip:
For more information about this screen, see Partitions in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard.The Configuration Summary screen shows detailed configuration information for the domain you are about to create.
Review each item on the screen and verify that the information is correct. To make any changes, go back to a screen by clicking the Back button or selecting the screen in the navigation pane. Domain creation does not start until you click Create.
Tip:
For more information about this screen, see Configuration Summary in Oracle Fusion Middleware Creating WebLogic Domains Using the Configuration Wizard.
The Configuration Success screen shows information about the domain you just configured.
Domain Location
Administration Server URL
You must make a note of both items because you need them later; you need the Domain Location to access scripts that start Node Manager and Administration Server. You need Admin Server URL to access the Administration Server.
Click Finish to dismiss the Configuration Wizard.
Server groups target Fusion Middleware applications and services to one or more servers by mapping defined application service groups to each defined server group.
Any application services that map to a server group automatically target all servers assigned to that group. For more information, see Application Service Groups, Server Groups, and Application Service Mappings in Oracle Fusion Middleware Domain Template Reference.
Note:
The WSM-CACHE-SVR server group configures Nonce caching for Oracle Web Services automatically, and is suitable for most applications. Nonce is a unique number that can be used only once in a SOAP request and prevents replay attacks. Nonce caching scales with the number of added Managed Servers running Web service applications.
For advanced caching configurations, see Caching the Nonce with Oracle Coherence in Oracle Fusion Middleware Securing Web Services and Managing Policies with Oracle Web Services Manager.
When you finish configuration, take the following steps to access tools to manage your domain.
Note:
For more on tools you can use to manage a domain, see Overview of Oracle Fusion Middleware Administration Tools in Oracle Fusion Middleware Administering Oracle Fusion Middleware.
Go to the DOMAIN_HOME
/bin
directory.
Enter the following command:
(UNIX) Using nohup
and nm.out
as an example output file:
nohup ./startNodeManager.sh > LOG_DIR/nm.out&
where LOG_DIR
is the location of directory in which you want to store the log files.
(Windows) startNodeManager.cmd
Note:
On Windows operating systems, Oracle recommends that you configure Node Manager to run as a startup service. This allows Node Manager to start up automatically each time the system is restarted.
See Running Node Manager as a Startup Service in Oracle Fusion Middleware Administering Node Manager for Oracle WebLogic Server.
After you finish configuration, you need to start the Administration Server to manage your domain.
To start the Administration Server:
On UNIX operating systems, go the DOMAIN_HOME
/bin
directory and run:
./startWebLogic.sh
On Windows operating systems, run:
startWebLogic.cmd
If you chose Production Mode on the Domain Mode and JDK screen in Specifying the Domain Mode and JDK, you see a prompt for Administrator user login credentials. You provided these in the Administrator Account screen in Configuring the Administrator Account.
Tip:
For more information about starting the Administration Server, see Starting and Stopping Administration Servers in Oracle Fusion Middleware Administering Oracle Fusion Middleware.
In production mode, you can create a boot identity file to bypass the need to enter credentials when starting the Administration Server. See Creating a Boot Identity File for an Administration Server in Oracle Fusion Middleware Administering Server Startup and Shutdown for Oracle WebLogic Server.
To verify that the Administration Server is up and running, open the Administration Server Console. The URL is on the Configuration Success screen in Writing Down Your Domain Name and Administration Server URL.
Note:
Make sure that the database hosting your product schemas is up and running and accessible by the Administration Server.
http://administration_server_host:administration_server_port/console
The default Administration Server port number is 7001
.
For more information about using the Administration Console, see Getting Started Using Oracle WebLogic Server Administration Console in Oracle Fusion Middleware Administering Oracle Fusion Middleware.
You start the Managed Servers from Oracle Fusion Middleware Control.
To start Managed Servers:
Tip:
For more information about managing Oracle Fusion Middleware using Oracle Enterprise Manager Fusion Middleware Control, see Manage Infrastructure in Administering Oracle Fusion Middleware with Fusion Middleware Control .
Oracle recommends that you verify that your domain is configured properly.
See Basic Administrative Tasks for a New Domain to verify your configuration. Familiarize yourself with tasks that this topic describes and run them.