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

Did you get a chance to download Free Interview Questions related to WebLogic? If not, download it here http://k21academy.com/weblogic-interview-question

weblogic banner

 

Learn Oracle Weblogic Server Administration

 

If you want to learn Oracle WebLogic Server Administration with tons of additional features like Live Interactive Sessions, Life time access to membership portal, Free re-taking sessions for next one year, Dedicated Machine to practice, On Job Support and much moreClick here to know more

About the Author Masroof Ahmad

Leave a Comment:

83 comments
Add Your Reply