Friday, April 29

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_/ 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 …

3 comments:

  1. I found your website perfect for my needs. It contains wonderful and helpful posts. I have read most of them and got a lot from them.Thanks to sharing the wonderful information ..
    domain and hosting services india

    ReplyDelete
  2. This one article alone shows off your excellent writing skills. I am very impressed with your views and interesting content. I hope you intend to continue writing more informational articles.web hosting in india

    ReplyDelete
  3. http://weblogicanalyst.blogspot.in/2012/11/weblogic-domain-configuration.html

    ReplyDelete