Oracledna

Create a Domain in Oracle Weblogic 14c (14.1.1.0.0)

This post demonstrates create domain in Oracle WebLogic 14c (14.1.1.0.0).

A domain in WebLogic is the fundamental administrative unit. It contains the Admin Server, optional Managed Servers, clusters, and resources like JDBC/JMS. After installing WebLogic, we use the Configuration Wizard to define the domain.

We can create a domain along with the WebLogic installation or after the WebLogic installation using config.sh.

1. Start the Configuration Wizard.

 

Create the directory for the domains ouside of the middleware home. It is strongly recommended to create domain directories outside of the Middleware Home (MW_HOME).

 

[oracle@prod ~]$ mkdir -p /u01/app/oracle/product/mwdomains

 

Invoke the config.sh from $MW_HOME/oracle_common/common/bin

 

[oracle@prod ~]$ cd /u01/app/oracle/product/middleware/oracle_common/common/bin

 

[oracle@prod bin]$ ./config.sh

Select “Create a new domain”, select the “Domain Location” and given domain name domain14111, click on Next

 

 

By default, installer selects “Basic WebLogic Server Domain – 14.1.1.1.0 [wlserver]*, click on Next

 

 

 

Provide the password  for the weblogic user and click on Next

The password must be at least 8 alphanumeric characters with at least one number or special character.

 

 

Select “Development” in Domain Mode, select JDK path “Other JDK Location and click on Next

 

 

Select Administrator Server, Node Manager, Topology and click on Next

 

 

Provide Server Name, select Local Machine IP address and Listen Port, Click on Next

 

Select “Per Domain Default Location”, provide the Node Manager Credentials.

 

 

Click on Add, Provide the Managed Server Name (MS1, MS2), select host IP in Listen Address, select Listen Port in Listen port (make sure to give different port number for each managed servers). Click on Next.

 

 

Click on Add, Provide Cluster Name (DevCluster). Click on Next.

 

 

Click n Next

 

 

Click on Next

 

Add the managed servers from Servers pane to Cluster pane. Click on Next.

 

 

Click on Add, provide name for node manager and host IP and port.

 

 

Assign the managed servers to node manager

 

 

 

 

Verify the configuration and click on Create.

 

 

 

Make a note of Domain Location and Admin Server URL. Click on Finish.

Domain Location: /u01/app/oracle/product/mwdomains/domain14111

Admin Server URL: http://192.168.56.169:7001/console

 

 

WebLogic domain with managed servers and node manager have been created successfully.

 

 

Disclaimer:

Please note the above information is only for educational purpose and practised in personal test database only. Always test in test database before implementing in production database. The pre-requisites and ways of implementing may vary from one environment to another. Hence, not providing guarantee that it will work in your environment.