Wednesday, May 23, 2018

Creating Weblogic Domain for Fusion Middleware

After we have installed the Fusion Middleware and completed its initial configuration, next step is to configure a weblogic domain. A weblogic domain is a logically related group of weblogic resources. Once we create a domain, and Administration Server instance is also gets created that is used to manage this domain. After this, we can add Managed Servers using this Administration Server by logging into the Administration Server using an admin user account through a console. Web Applications are then deployed on to the managed server(s). We can create multiple managed servers to work as a cluster for load balancing and fault tolerance
In next steps we will create a new domain. Weblogic server is installed during Fusion Middleware installation and we initiate the domain creation wizard by executing following script from Weblogic server home. If you have follow the fusion middleware installation article as mentioned above, $WLS_HOME will be /home/oracle/produce/12.2.1/wlserver.
$WLS_HOME/oracle_common/common/bin/config.sh

1)
$ cd $WLS_HOME/oracle_common/common/bin
$ ./config.sh
First screen of the wizard lets us provide details of a new domain, or update an existing domain. For new domain, we specify the location of the domain. As stated in steps 5 of Fusion Middleware installation article, /home/oracle/config is the directory we will use for our domains and applications. So I select /home/oracle/config/domains/test_domain for my domain’s location.  “test_domain” will be the name of my domain. Click Next
Weblogic domain creation step 1



























2)
On second screen, we select the template to be used for domain creation. “Basic Weblogic Server Domain” is selected by default. I also selected “Oracle Enterprise Manager” so that I can manage my Fusion Middleware using OEM. Click Next
Weblogic domain creation step 2



























3)
Provide location for applications (create directories manually before proceeding). My path is based on /home/oracle/config directory that I have selected for domains and applications. Click Next
Weblogic domain creation step 3




























4)
Provide Admin user name and password, click Next
Weblogic domain creation step 4



























5)
Select Production or Development for Domain Mode and provide path for JDK (I am selecting same JDK that I installed for Fusion Middleware installation. Click Next

Weblogic domain creation step 5



























6)
Provide connection details for the database in which we have already created schemas during the initial configuration, also provide STB schema owner name and password that was also created during initial configuration. My SBT schema name is TEST_SBT. After filling in all the information, click “Get RCU Configuration”.

Weblogic domain creation step 6



























After clicking “Get RCU Configuration” in previous step, wizard validates the connectivity with the schema. Click Next
Weblogic domain creation step 6B



























7)
Click the check boxes if you want to have JDBC data sources created. Click Next

Weblogic domain creation step 7



























8)
Check JDBC connections by clicking all check boxes and then clicking on the button “Test Selected Connections”. Click Next.

Weblogic domain creation step 8



























9)
Select any check box for which you want to do any advanced configuration. For example, select “Administration Server” to set port for Admin Server, and/or configuring SSL. I am selecting “Node Manager” and “Topology” so that I can create node manager and also create and configure managed servers for the domain. Managed servers can also be created later by initiating same wizard and then selecting “update existing domain” option. Click Next

Weblogic domain creation step 9




























10)
Provide Node Manager admin user name and password.

Weblogic domain creation step 10




























11)
Click on “Add” button and provide name and port for Managed Server(s) you want to create. Click Next

Weblogic domain creation step 11



























12)
Click Next on this screen as we don’t want to configure any cluster at the moment.

Weblogic domain creation step 12



























13)
Click Next from this screen as we are not adding any template.

Weblogic domain creation step 13



























14)
Leave default values and click Next

Weblogic domain creation step 14



























15)
Provide any logical name to the machine. Also select IP address of the server from drop down and don’t leave “localhost” selected by default.

Weblogic domain creation step 15




























16)
Select Both Admin Server and Managed Server and assign to the Machine. Click Next after assigning the servers to the machine.

Weblogic domain creation step 16
Weblogic domain creation step 16B




























17)
Click Next as we are not creating any virtual targets.

Weblogic domain creation step 17



























18)
Click Next as we are not creating any partitions.

Weblogic domain creation step 18



























19)
Click Create

Weblogic domain creation step 19



























20)
Click Next after the creation process completes.

Weblogic domain creation step 20



























21)
Domain has been created with Admin server, node manager and a managed server.
Note down URL of admin server, click Finish to close the wizard.

Weblogic domain creation step 21




























Accessing Admin Server Console for Fusion Middleware

Next step is to start weblogic server. Follow th article starting and stopping weblogic server components to know how we start and stop node manager, admin server and managed server. After starting weblogic server, we can access the admin server console as well as Oracle Enterprise Manager. 
Use the URL you noted while creating the domain to log into the Admin Server console. For me, the URL is salman11.salman.com:7001/console. Provide username (weblogic, in my case) and password to log into the admin server console, and then click Login.
Weblogic Admin Server login page















After logging in, start managing your domain and applications.
Manage weblogic domain from admin server console

















Accessing Oracle Enterprise Manager for Fusion Middleware

Please note that if we do a simple weblogic (and coherence) installation, Enterprise Manager domain cannot be configured because configuring enterprise manager needs a repository database that is available only when Fusion Middleware is installed and required schemas are created in the repository database.
To access Oracle Enterprise Manager Fusion Middleware Control 12c, use URL similar to
<host_name:port/em>. For me, the URL is
http://salman11.salman.com:7001/em
Provide username (weblogic, in my case) and password to log into OEM.
Oracle Enterprise Manager for Fusion Middleware Login page
















Oracle Enterprise Manager for Fusion Middleware

No comments:

Post a Comment

Popular Posts - All Times