Domain , Administration & Managed Server, Cluster in Oracle WebLogic

This is next post in series “Learn Oracle WebLogic with Us“. Next Step after Oracle WebLogic Installation  is to create Domain.
Before creating domains let us understand Domain, Administration Server, Managed Server and Cluster in Oracle WebLogic.

In next post We’ll learn how to create basic Domain (Administration Server only) and Domain with Managed Server Cluster (one Administration Server and two Managed Server in cluster) using Configuration Manager.
What is domain in WebLogic ?

WebLogic Domain

Domain is logical grouping of resources and services and consist of Administration Server, Managed Server and cluster.  There can only be one administration Server in domain and zero to N Managed Server.

.

.
What is Administration Server ?

Administration Server is WebLogic Server instance that maintains configuration data for a domain. You can deploy your application on administration Server but it is recommended to create managed Server and deploy your application in managed server and leave Administration domain for configuration and maintenance.

—There will always be atleast one Administration Server in a domain.

.

.
What is Managed Server ?

Any WebLogic Server instance apart from Administration Server is called as Managed Servers. This is weblogic server where you deploy your application (Though you can deploy your application in Administration server as well but it is not recommended in production/UAT instance)

.

.

What is Cluster in WebLogic ?

Group of WebLogic Managed Server Instances that work together to provide high availability and scalability for applications is called cluster. WebLogic Servers with in cluster can run on same machine or different machines. These are also called as managed Server cluster.

.

.

Things you should know before creating domain in WebLogic Server ?

You use configuration wizard to create or extend domain but this can be used only in offline mode (when weblogic server is not running)
You can also use WLST (WebLogic Scripting Tool), command line tool to create and extend domains in WebLogic Server.
You can also use unpack command to create new domain. This command can’t be used to extend domain.
Extending a domain means, you already created domain and now wish to extend it (use more application, add managed server, create cluster…)
Configuration wizard can be run in Graphical Mode (interactive GUI) or Console Mode (interactive text based)
For silent mode use WLST (WebLogic Scripting Tool)
While creating domain you specify Startup Mode (Development or Production). In development mode, you get autodeploy option and security is low. In production mode you need username/password to deploy applications.
When you create domain, it creates following directories
i) autodeploy ii) bin iii) config (config.xml for domain sits here)  iv) console-ext v) lib vi) security vii) servers

–You use config.cmd (windows) or config.sh (unix) from $BEA_HOME/ wlserver_<ver>/ common/ bin to start configuration manager to create domain

Below Flowchart (image from Oracle Documentation) displays steps to create domain.
Create WebLogic Domain

Step by Step Weblogic Domain creation (with Managed Server Cluster) coming soon …

 

Learn Oracle Weblogic Server Administration

 

100% Money Back Guarantee

Click here to get Early Bird Discounts

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Oracle Gold Partner specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

80 comments
santosh says July 24, 2008

your blog always motivates me to write/discuss into my blog also..thanks for sharing such a useful info on weblogic.
Wish you to get much more free time so that you can spend same amount of time as always!!..

thank you again!..

Reply
joe says September 10, 2008

Great information and summary! I am new to weblogic, and this is one of the few sites that summarizes consisely the basic information I needed to get started. Thanks!

Reply
sharath says September 25, 2008

Hi Atul,
I had created new domain,server is listening on port 7780,i had not created managed server during installation,now i want to change my listen port from port 7780 to 80,I was following post to configure my weblogic to port 80.
i have created new machine and created new managed server and mapped with machine listening to port 80.

my question is

1.how i can start new managed server.

i have installed my WL server as oracle:dba user and group.

after following your configuration,i have to always start from WL server as root user?.

how it will switch from root user to non root user.

Thanks
Sharath

Reply
Atul says September 25, 2008

To start Managed server in Oracle WebLogic

http://onlineappsdba.com/index.php/2008/08/03/oracle-weblogic-server-startupshutdown/

Reply
saurabh tiwari says November 26, 2008

hi All
i am totally new to Application Server field
this is my first step and i wanna know that if i want to deploy my WAR file as i am working on java j2ee profile
can u tell me what r the necessary step to be take plz
help me
thanks in advance

Reply
Amu says December 29, 2008

Atul,

I have created a domain and it not fetching dats for this domain.Could you please let me know what might be the issues in the weblogics?

thanks

Reply
Shelley says January 20, 2009

Hi Atul

I need to create a new managed server on an existing domain, how? I already have 2 and I’ve added one on the console but its not reflecting on the actual machine domain.

Regards

Reply
» Oracle Fusion Middleware - SOA Suite 11g R1 installation Online Apps DBA: One Stop Shop for Apps DBA’s says July 8, 2009

[…] Oracle Fusion Middleware – SOA Suite 11g R1 installation Posted in July 8th, 2009 byAtul Kumar in fusion, soa, weblogic  Print This Post This post covers installation of SOA Suite component of Oracle Fusion MiddleWare (FMW) 11g R1 (11.1.1.1).          Oracle Fusion Middleware 11g components (SOA, Webcenter, Identity Management….) uses Oracle WebLogic Server 11g R1 (10.3.1) as underlying Application Server. If you are new to WebLogic Server then my recommendation is to know more about Domain, Administration and Managed Server in WebLogic here […]

Reply
» Oracle Fusion Middleware 11g concepts for Apps DBA’s Online Apps DBA: One Stop Shop for Apps DBA’s says July 28, 2009

[…] To know more about Domain in Oracle WebLogic click here […]

Reply
» Installing Oracle Fusion Middleware (FMW) 11g - Identity Management Components (OID, DIP, OVD, OIF) Online Apps DBA: One Stop Shop for Apps DBA’s says August 21, 2009

[…] 2. You can install 11g OID (component in FMW Identity Management) with or without WebLogic domain. For all other 11g IdM (Identity Management) components like OVD/OIF you need WebLogic Domain. For more information on WebLogic Domain click here […]

Reply
» Introduction to Oracle Web Services Manager - OWSM 11g R1 Online Apps DBA: One Stop Shop for Apps DBA’s says October 1, 2009

[…] OWSM is tool to secure Web Services (+ more) and provides centralized management of policies (using OWSM Policy Manager). OWSM agents are already embedded in WebLogic Server (application server in Fusion Middleware 11g – More information on WebLogic click here) […]

Reply
» Oracle Service Bus 10.3.1 Installation Online Apps DBA: One Stop Shop for Apps DBA’s says November 3, 2009

[…] This post covers high level Installation steps for Oracle Service Bus (OSB) 10.3.1 .  Oracle Service Bus 10.3.1 uses Oracle WebLogic Server so make sure you understand WebLogic concepts “Domain, Administration and Managed Server” more information here […]

Reply
indra says November 25, 2009

I have one doubt regarding domains. is it necessary to have all the managed servers with in one domain for deploying an application requiring different services. for example, Oracle Webcenter application requiring webcenter, identity,Soa managed servers services, do they need to be on same domain?

Reply
Atul Kumar says November 25, 2009

@ Indra , No Ypu can deploy applications in different domains like one domain for SOA second for webcenter…

Reply
neworacledba says February 26, 2010

This is again a good quality post on weblogic server basics

Reply
» pack.sh & unpack.sh command - Create Tempalets and Domains in WebLogic Online Apps DBA: One Stop Shop for Apps DBA’s says March 19, 2010

[…] If you are new to Oracle WebLogic Server Server then first read about Domain, Administration Server and Managed Server here […]

Reply
» WebLogic - Error starting managed server from Console : Node Manager associated with this machine is not reachable Online Apps DBA: One Stop Shop for Apps DBA’s says April 10, 2010

[…] are new to WebLogic then first go through WebLogic Domain, Administration Server and Managed Server here , start/stop in Weblogic Server here and Node Manager in WebLogic […]

Reply
Irfan says May 24, 2010

Dear Mr. Atul,

I have created the admin and 2 managed servers and and a redirector., as it was mention in one of the Weblogic documentation for IBM Maximo application load balancing.

When I tried to deploy it says., deployment status – Unavailable and Deferred.

also please let me know how can we manage jvm for each managed server seperately.

Does the managed server starts automatically as soon as the admin server starts.

regards
Irfan

Reply
kishore says June 26, 2010

Dear Atul,

I want to create weblogic server(managed server) instances should be running on different machines(different physical servers).is it necessary to install weblogic server in all the machines or should i install it on one server and create instance in another machine by using admin console.how can i follow the steps for this kind of setup .please kindly help me for the same.
Regards,
kishore

Reply
imr_8422 says July 20, 2010

Hi Atul,

I upgraded the JDK in oracle weblogic after that I created one more domain but when I start the domain and after login console I’m getting some jsp error when try to data source or any other things.Can U tell how to drop and recreate the domain in oracle weblogic.

Regards,
Imran

Reply
Atul Kumar says July 21, 2010

@ Imran,
To recreate domain – shutdown all managed server and admin server running out of current domain (one which you wish to recreate)

Start config.sh and create domain again .

Reply
afzal says October 25, 2010

Hi,

Can u please tell me if the demand for weblogic admin is good and does it remain good for coming years.

Reply
Atul Kumar says October 26, 2010

@ Afzal,
In my view it is going to be more and more demand atleast for few years as all Oracle components (in Fusion Middlware) are now using WebLogic as application server + Fusion Applications (which is merger of EBS, Peoplesoft, JDEdward and Siebel) will use weblogic .

Reply
» Oracle Enterprise Content Management (ECM) 11g Installation Overview : UCM/ IBR/ IPM/ IRM/ URM Online Apps DBA: One Stop Shop for Apps DBA’s says March 29, 2011

[…] 4. If you are new to WebLogic Server then learn Domain, Admin Server and Managed Server in WebLogic […]

Reply
» How to install Oracle WebCenter 11.1.1.4 (11gR1 PS3) Online Apps DBA: One Stop Shop for Apps DBA’s says April 6, 2011

[…] . If you are new to Oracle Fusion Middleware then first check FMW concepts for apps dba’s , Domain, Admin & Managed Server in WebLogic and Repository Creation Utility in FMW […]

Reply
jfaye777 says May 4, 2011

Hi Atul, can you tell me how to programmatically tell the difference between an AdminServer and a Managed Server please. Programming Java.

Thanks,

jfaye

Reply
» How to integrate WebCenter 11g with Oracle Access Manager 11g for Single Sign-On Online Apps DBA: One Stop Shop for Apps DBA’s says May 16, 2011

[…] By default when you install WebCenter you get WebLogic domain with one Admin Server few Managed Servers(Spaces, Portlet, Services). If you are new to WebLogic then check my post on Domain, Admin & Managed server here […]

Reply
» Oracle Fusion Application for Apps DBAs - Concepts Online Apps DBA: One Stop Shop for Apps DBA’s says June 7, 2011

[…] Note: To understand Fusion Applications Deployment, it is important to understand concept of Domain , Admin Server, Managed Server and Cluster explained here […]

Reply
» Installing ODI 11g (including Agents) in High Availability (Active-Active Cluster) : Overview Online Apps DBA: One Stop Shop for Apps DBA’s says August 24, 2011

[…] If you are new to WebLogic Domain or WebLogic Cluster feature then first check WebLogic Domain, Managed Server, and Cluster here […]

Reply
» Installing ODI 11g (including Agents) in High Availability (Active-Active Cluster) : Overview Online Apps DBA: One Stop Shop for Apps DBA’s says August 24, 2011

[…] If you are new to WebLogic Domain or WebLogic Cluster feature then first check WebLogic Domain, Managed Server, and Cluster here […]

Reply
Prabhu says September 20, 2011

I have installed Oracle UCM11g and extended the same domain to install I/PM11g.I have not created any cluster.After the installation i could not able see the I/PM directory and manager server under weblogic server.Please advise me to solve this?

Reply
Atul Kumar says September 20, 2011

@ Prabhu, it should create folders after starting managed server for IPM.
Please start IPM and then check again

Reply
Prabhu says September 20, 2011

thanks for the reply Atul,but i could not see the managed server for I/PM under weblogic console.During the I/PM installation i did not modify any optional configurations(like managed server,cluster and Deployment and Services.Is that i have to create managed server manually?

Reply
» Oracle Enterprise Manager (OEM) 12C (12.1.0.1 Cloud) #em12c : Overview and Installation Online Apps DBA: One Stop Shop for Apps DBA’s says October 13, 2011

[…] 6. OEM 12c Installer creates WebLogic domain with Admin Server (EMGC_ADMINSERVER) and Managed Server (EMGC_OMS1). To know more about WebLogic Domain, Admin, and Managed Server click here […]

Reply
» Fusion Applications : 128 GB memory and 500 GB Disk space : Are you ready Online Apps DBA: One Stop Shop for Apps DBA’s says November 2, 2011

[…] Note: If you are not familiar with WebLogic Domain then check my post here […]

Reply
» How to Install WebLogic 12C (12.1.1) on Mac Online Apps DBA: One Stop Shop for Apps DBA’s says December 11, 2011

[…] Create WebLogic Domain http://onlineappsdba.com/index.php/2008/07/24/domain-administration-managed-server-cluster-in-oracle… […]

Reply
» Install Oracle Identity Analytics (OIA) 11gR1 PS1 (11.1.1.5) Online Apps DBA: One Stop Shop for Apps DBA’s says December 16, 2011

[…] Install WebLogic Server and create WebLogic Domain  (OIA Application will run on on this […]

Reply
Kanna says January 19, 2012

HI Atul,

i have two individual Discoverer environment servers ( application installed on physical servers called sev1 and sev2 which has a weblogic, one domain and one managed server) . Please tell me if i can just cluster these two environment into one domain in the sev1

thanks

Reply
Atul Kumar says January 20, 2012

@ Kanna,
Are they current in different domain or same domain ?

Are they both connected to same schema or different schema (each to their own schema ) ?

What version of Discoverer you are running ?

Reply
Kanna says January 20, 2012

Hi Atul, thanks for the reply

Are they current in different domain or same domain ?
Yes they are in two domains(d1 and d2) in two diff servers

Are they both connected to same schema or different schema (each to their own schema ) ?
Yes both connected to same schema called pref_Discoverer and pref_discoverer_ps

What version of Discoverer you are running ?
we just installed the basic 11.1.1.2 version last week and now trying to cluster them

ours is a standalone peace where only discoverer will be used to query the DB

thanks
Naga

Reply
Atul Kumar says January 24, 2012

@ Kanna,

1. Stop services on d2 and then from domain d1 create another managed server (listen address as server2). Put managed server 1 and managed server 2 in cluster from console.

2. Target all modules/library/JDBC to second managed server as assigned to first managed server.

3 Stop Admin Server and run pack on machine1

4. copy generated jar file to machine 2

5. Run unpack on machine2

Use pack & unpack from
http://onlineappsdba.com/index.php/2010/03/19/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic/

6. Start Discoverer managed server on machine 2

7. Check any HA specific steps for discoverer (HA guide from fusion middleware documentation – Do let me know if you can’t find it)

Reply
» Install Oracle Enterprise Manager (OEM) 12c : 12.1.0.1 #em12c Online Apps DBA: One Stop Shop for Apps DBA’s says February 10, 2012

[…] WebLogic Admin Server (EMGC_ADMINSERVER) & Managed Server (EMGC_OMS1) – To know more about WebLogic Domain, Admin Server and Managed Server click here […]

Reply
» Integrate E-Business Suite with Oracle WebCenter (11.1.1.5) using OID and OAM (11g) as SSO Online Apps DBA: One Stop Shop for Apps DBA’s says February 15, 2012

[…] 1.6 Configure WebLogic Domain ($MW_HOME/ oracle_common/ common/ bin/config.sh ) and create WebCenter Managed Servers. More on WebLogic Domain, Admin and Managed Server here […]

Reply
» Oracle Identity Federation (OIF) for beginners : IdP / SP Online Apps DBA: One Stop Shop for Apps DBA’s says April 1, 2012

[…] OIF 11g is J2EE application deployed on WebLogic Server. OIF is deployed under managed server in WebLogic Domain and is tightly integrated with Fusion Middleware Enterprise Manager Control […]

Reply
avi says June 11, 2012

If admin server is down will the managed instances will go down?

Reply
samer says July 9, 2012

hi
i have a question ,
if we have a clustered environment and we need to reset weblogic password ,we have to reset admin server to take the changes .question is :should we stop all servers before stopping admin server ? or we can stop admin server first then restart all managed servers one by one ?

Reply
    Atul Kumar says July 10, 2012

    @ Samer,
    I am assuming weblogic user is stored in embedded LDAP server. You don’t have to start any server to change weblogic password. Please suggest which doc suggest to restart admin or managed server ?

    Reply
samer says July 10, 2012

no actually there is no document mentioned this ,but i have concerns regarding this task ,the environment was created by someone else (not me ) ,he uses ADProvider to import users ,there are 2 (weblogic users ) one is the local which comes by default ,and the other is imported from AD ,but all configurations depends on another user (Logicadmin) ,it is created in AD with high privileges .and there is OAM in the topology .so i am asking about the best way to do this ,noting that the servers is production now !!

Reply
sahil says August 27, 2012

Hei,i want to add managed server to existing weblogic domain in windows (commond promt),

Enter the location of domain template

please enter the absolute path to the location of
domain template

i have gicen the path but it is not accepting the below path

c:\oracle\middleware\user_projects.

let me know how to add the managed server to existing weblogic domain in command promt

Thanking You,
Sahil.

Reply
    Atul Kumar says August 28, 2012

    If this is normal managed server without any specific template then use weblogic console /console (after creating weblogic domain). If you need managed server based on a existing template then you need to point to location of an existing domain template

    Reply
chinni says September 7, 2012

Hi,

can we do

Managed servers in a domain may run a different OS version of Oracle WebLogic Server (for example, Windows + Linux) ?

Reply
arun shinde says November 14, 2012

hello

i m new in fusion middleware world i want know about every thing in middleware technology but i m confused where to start and how in my project following is requrement

webcache
fusion middleware forms,report
weblogic
database

which technology shold a start first?

Reply
Shashank says February 6, 2013

Hi,

I have a cluster spanning 2 machines A & B.
A has one managed server M1, B has other managed server M2.

Now, how do I add a new managed server M3 in B.

Thanks

Reply
    Atul Kumar says February 6, 2013

    @ Shashank,
    Create a new managed server M3 from console on machine B.

    Then from console go to “Clusters” -> Select your cluster -> Under tab “configuration” select sub tab “servers” and click Add .

    Select your managed server M3 .

    Reply
Shashank says February 7, 2013

@Atul,

Thanks.

The admin server is on Machine A. The console is http://xxxx:7001/console, where xxxx is the ip address of A. So,if I a add a managed server from console, it would get added in A & not B – correct?

How do I add it to Machine B.

Reply
» Install and Configure Oracle Entitlement Server (OES) 11gR2 (11.1.2) Part II Online Apps DBA: One Stop Shop for Apps DBA’s says March 29, 2013

[…] 6. Run Fusion Middleware configuration wizard to configure Weblogic Domain (More on WebLogic Domain here ) […]

Reply
tarun says July 5, 2013

Hi Atul,

I am new to this weblogic i need to do production from scratch and i dont know how to do clustering in different machines.Please guide me .

Regards,
Tarun

Reply
tarun says July 5, 2013

Hi atul,
I need to deploy a EAR file in weblogic,before deploying i have to do settings in console for deploying EAR.

Regards,
Tarun

Reply
» Dynamic Cluster in WebLogic 12.1.2 : New Features in WebLogic 12c Online Apps DBA: One Stop Shop for Apps DBA’s says August 26, 2013

[…] If you are new to WebLogic Server then I highly recommend you to read my previous post on WebLogic Domain, Admin & Managed Server […]

Reply
» Install Oracle E-Business Suite 12.2 on Linux – Part I : Download, Stage & Start Oracle Apps 12.2 software installation Online Apps DBA: One Stop Shop for Apps DBA’s says September 23, 2013

[…] Installation is more or less similar to previous R12 version (with few additional screens for WebLogic Server). […]

Reply
» Identity Propagation between two WebLogic Domains : Cross Domain Security VS Global Trust Online Apps DBA: One Stop Shop for Apps DBA’s says November 4, 2013

[…] VS Global Trust Posted in November 4th, 2013 byAtul Kumar in weblogic I discussed about WebLogic Domain earlier, In this post I am going to discuss on configuring trust between two WebLogic Domains i.e. […]

Reply
Luis says December 4, 2013

Hi Atul,

I’m doing an exercise by setting up a cluster with the admin on Linux, a managed on the same Linux box and the second managed on Windows, problem is that when I start the managed 2 (on Win) it bring the configuration from the admin (linux) and the paths for the Apps like B2B does not exist, looking at the logs it is trying the Linux path. Any ideas?

Reply
    Atul Kumar says December 4, 2013

    @ Luis,
    Are you deploying COTS products on this cluster ? If this is the case then some FMW products doesn’t support cluster across different O.S. Check with product team and see if they support it.

    Reply
Luis says December 6, 2013

@Atul

Thanks for your response, I do not know what COTS means, just working with the default domain, but in the logs while starting the second managed on windows it shows paths as they are on the linux admin ex. /opt/app/etc…. I guess because when executing the startManaged it goes and takes the configuration from the Admin…

Reply
Luis says December 6, 2013

@Atul

Got both managed servers running, Undeploy the DefaultB2BWebApp and the restart everything, admin and managed servers.

It works.

Thanks

Reply
» WLST connecting to WebLogic Admin Server failed : Bootstrap to [IP:Port] failed. It is likely that the remote side declared peer gone on this JVM Online Apps DBA: One Stop Shop for Apps DBA’s says February 18, 2014

[…] WLST connecting to WebLogic Admin Server failed : Bootstrap to [IP:Port] failed. It is likely that the remote side declared peer gone on this JVM Posted in February 18th, 2014 byAtul Kumar in troubleshooting, weblogic WebLogic Scripting Tool (WLST) is a command-line scripting environment that you can use to create, manage, and monitor WebLogic Server domains . […]

Reply
Abhi says February 23, 2014

Hi Atul,
Thanks for maintaining a great website for weblogic.

I have a adminserver and a maneged server running soa suite on a single machine. Now I need to add another managed server with soa suite on the same machine. I donot have clustering license so it is not a option.

Could you throw a few pointers on how to proceed. I searched on google but all say about extending the domain. All I need is to add a managed server to the same domain and this managed server should be running the soa suite as the exisiting managed server

Reply
Feroj says November 14, 2014

hi Atul,

hope you are doing well and thanks for sharing your knowledge.

I need a script to get the every details or assess
the existing weblogic server environment .

please help me here

thanks
feroj

Reply
Oracle Enterprise Manager (OEM) 12C (12.1.0.1 Cloud) #em12c : Overview and Installation | TechnologyLearning says February 21, 2015

[…] 6. OEM 12c Installer creates WebLogic domain with Admin Server (EMGC_ADMINSERVER) and Managed Server (EMGC_OMS1). To know more about WebLogic Domain, Admin, and Managed Server click here […]

Reply
TechnologyLearning says February 21, 2015

[…] WebLogic Admin Server (EMGC_ADMINSERVER) & Managed Server (EMGC_OMS1) – To know more about WebLogic Domain, Admin Server and Managed Server click here […]

Reply
kalyan says May 14, 2015

hello sir,
i am a starter in WLS ..i have installed wls in rhel 5.8 machine and a simple j2ee application is running on it.
i am accesing the admin console from a local windows machine.
if any condition that Admin console failed or any misorder that i unbale to access the admin console.
the only weay is to use RHEL terminal right!!1

SO I WANT to know how to stop any managed server insatnce and start – withhout any impact on admin srever ,..pls reply me the cmds …thank you sir…

Reply
Gaurav says January 12, 2016

Hi Atul,

Thanks for such a wonderful platfor for knowledge sharing.
Need your advice ,need to high available weblogic , though with the help of horizontal clustering able to achieve ha of managed servers , now stuck with high availability on administration server on windows platform for weblogic 12.1.2.
Please provide your inputs. Thanks

Regards,
Guarav Gupta

Reply
    Atul Kumar says January 20, 2016

    @Gaurav which document you are following for HA on weblogic 12.1.2 on Windows and what is your doubt ?

    Reply
Shakeel says June 27, 2016

Hi, a couple of questions plz:
1. if in case the Weblogic is in Cluster Configuration, Machine 1 had a disaster & corrupt which is having the Administration Server. How can we get the Administration Console?
2. How many Weblogic Cluster Nodes can work in a Cluster?

Reply
Add Your Reply